How codecrafters-io/build-your-own-inference-engine works
This repository is challenge content for “Build your own Inference Engine,” not a standalone inference-engine service. The intended learner workflow is to work through staged requirements, implement the command-line tensor-inspection task in a language starter, and compare against provided solutions. The sampled implementations read safetensors data and emit tensor summaries; starter versions leave that command incomplete. Stage descriptions and most language assets were not sampled, so their detailed sequencing and wiring are not asserted.
Main entry points: stage_descriptions Stage Descriptions · README.md Challenge Overview · course-definition.yml Course Definition · main.go Go Starter
Components 16
Challenge Content
- Challenge Overview
README.md - Course Definition
course-definition.yml
Language Assets
- Shared Starter Files
starter_templates/all/code - Go Starter
starter_templates/go/code/app/main.go - Python Starter
starter_templates/python/code/app/main.py - Rust Starter
starter_templates/rust/code/src/main.rs - Compiled Go Starter
compiled_starters/go/app/main.go - Compiled Python Starter
compiled_starters/python/app/main.py - Compiled Rust Starter
compiled_starters/rust/src/main.rs - Go Solution
solutions/go/01-zf8/code/app/main.go - Python Solution
solutions/python/01-zf8/code/app/main.py - Rust Solution
solutions/rust/01-zf8/code/src/main.rs
Learning Progression
- Stage Descriptions
stage_descriptions - Initial Stage
stage_descriptions/base-01-zf8.md - Later Stages
stage_descriptions
Other components
- Learner
Connections 10
- Challenge Overview → Course Definition: describes challenge
README.md - Learner → Go Starter: implements
- Learner → Python Starter: implements
- Learner → Rust Starter: implements
- Learner → Stage Descriptions: follows stages
- Learner → Go Solution: compares with
- Learner → Python Solution: compares with
- Learner → Rust Solution: compares with
- Stage Descriptions → Initial Stage: includes
- Stage Descriptions → Later Stages: includes