mirror of
https://github.com/karpathy/nanochat.git
synced 2026-01-11 05:53:42 +00:00
This commit fixes a build failure in the Docker image by implementing a more robust build process for the `rustbpe` tokenizer. The `Dockerfile` now explicitly creates a `uv` virtual environment, adds its `bin` directory to the `PATH`, installs `maturin` into the environment, and then runs the `maturin develop` command. This ensures that the build command executes within a fully configured environment with all necessary tools available on the `PATH`, resolving the "No such file or directory" error. |
||
|---|---|---|
| .. | ||
| cloudbuild.yaml | ||
| Dockerfile | ||
| midtraining_step.py | ||
| pipeline.py | ||
| pretraining_step.py | ||
| report_step.py | ||
| run_pipeline.sh | ||
| sft_step.py | ||
| tokenizer_step.py | ||