Run this model with HF Jobs
Run Xylolabs/openpilot-Chestnut-MLX on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Xylolabs/openpilot-Chestnut-MLX. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Xylolabs/openpilot-Chestnut-MLX on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Xylolabs/openpilot-Chestnut-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Xylolabs/openpilot-Chestnut-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download Xylolabs/openpilot-Chestnut-MLX --local-dir openpilot-Chestnut-MLX
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
|
Download README.md from Xylolabs/openpilot-Chestnut-MLX: direct link, hf CLI and curl.
- Browser
- Download file 4.13 kB
-
https://huggingface.co/Xylolabs/openpilot-Chestnut-MLX/resolve/main/README.md
- Command line
-
hf download hf://Xylolabs/openpilot-Chestnut-MLX/README.md
-
curl -L -o README.md https://huggingface.co/Xylolabs/openpilot-Chestnut-MLX/resolve/main/README.md
4.13 kB
| license: mit | |
| library_name: mlx | |
| # openpilot Chestnut MLX | |
|  | |
| This MLX port of comma.ai’s Mountain Dew driving model for Chestnut in openpilot v0.11.2 includes the released FP16 weights, inference code, and parity archives and omits the ONNX model files. | |
| ## How to run | |
| Minimum MLX version is `0.32.5`. Run from the repository directory with Python 3.14. | |
| ```sh | |
| python -m pip install -r requirements.txt | |
| python example.py | |
| python parity.py | |
| ``` | |
| ## Versions | |
| Dates show the release notes and GitHub publication dates. Build and branch dates are labeled. | |
| | Codename | openpilot release | Date | Folder | | |
| | --- | --- | --- | --- | | |
| | [Mountain Dew](https://github.com/commaai/openpilot/commit/6f4c0faf1f85132734e94aa39c67143f823b9324) | [v0.11.2 prebuilt](https://github.com/commaai/openpilot/commit/3273b97113edfb8272ee34390f562d0a71900d9d) | 2026-10-14 / 2026-10-23 | [Root](README.md) | | |
| | [`v0.11.1`](https://github.com/commaai/openpilot/commit/52e182611d3f150ec620a7b9d08ddcb4322ab17b) | [v0.11.1 source tag](https://github.com/commaai/openpilot/commit/4df40d2c1946a57242230186edd073c4073060a6) | 2026-05-18 / 2026-06-05 | [egpu-v0-11-1/](egpu-v0-11-1/README.md) | | |
| Every version carries the same parity reference as the root: four seeds of 12 frames. | |
| ## Accuracy | |
| Across 48 frames, the reference is comma.ai’s ONNX run in ONNX Runtime CPU with FP16 weights widened to FP32, and relative error uses a denominator floor of `1e-8`. | |
| | File or output | Weight bytes | Max abs error | Max rel error | Queue check | | |
| | --- | ---: | ---: | ---: | --- | | |
| | `model.safetensors` | 789,684,452 | | | | | |
| | `lane_lines` | | 0.0000605583191 | 0.0186793172 | | | |
| | `lane_lines_prob` | | 0.0000638961792 | 0.0000568953433 | | | |
| | `road_edges` | | 0.0000605583191 | 0.00723317617 | | | |
| | `meta` | | 0.0000469684601 | 0.00465749123 | | | |
| | `desire_pred` | | 0.0000534057617 | 0.0000944027737 | | | |
| | `pose` | | 0.0000127553940 | 0.00136108265 | | | |
| | `wide_from_device_euler` | | 0.0000214576721 | 0.00211069775 | | | |
| | `road_transform` | | 0.0000228881836 | 0.00578999019 | | | |
| | `plan` | | 0.000320434570 | 0.00753979335 | | | |
| | `lead` | | 0.000495910645 | 0.000854554777 | | | |
| | `lead_prob` | | 0.0000199079514 | 0.0000372351663 | | | |
| | `desire_state` | | 0.0000991821289 | 0.0000674327557 | | | |
| | `action` | | 0.00000572204590 | 0.000100662543 | | | |
| | `hidden_state` | | 0.000111103058 | 17.4186047 | | | |
| | `pad` | | 0 | 0 | | | |
| | `next_state_img_q` | | 0 | 0 | Bitwise match to reference on all 48 frames | | |
| | `next_state_desire_q` | | 0 | 0 | Bitwise match to reference on all 48 frames | | |
| | `next_state_feat_q` (four final queues) | | 0.000111103058 | 17.4186047 | Shift and append bitwise exact on all 48 frames | | |
| ## Hardware | |
| Estimated fit using host RAM. | |
| | Hardware | Memory | File | Context | | |
| | --- | ---: | --- | --- | | |
| | Linux CPU | 8 GB | `model.safetensors` | 1 frame and recurrent queues | | |
| ## License and credits | |
| At revision `ea306f534159ac9a3caab0ac3bd4a5f82f9cd805`, `commaai/openpilot_driving_models` declares `license: mit` only in its model card front matter. That revision ships no `LICENSE` file, `NOTICE` file, or copyright line. The included `LICENSE` reproduces the MIT notice and `Copyright (c) 2018, Comma.ai, Inc.` from `commaai/openpilot` `v0.11.2`. [Checkpoint repository](https://huggingface.co/commaai/openpilot_driving_models/tree/ea306f534159ac9a3caab0ac3bd4a5f82f9cd805), [Upstream model card](https://huggingface.co/commaai/openpilot_driving_models/raw/ea306f534159ac9a3caab0ac3bd4a5f82f9cd805/README.md), [Openpilot notice](https://github.com/commaai/openpilot/blob/6939d172e85e3b91f16d90cc8de72e8f938cc196/LICENSE), [Included license](LICENSE) | |
| The Chestnut release and the Mountain Dew prebuilt above ship the same compiled model. [Openpilot release revision](https://github.com/commaai/openpilot/commit/68400059d4389d12137fb25bb63126fe3f52fac3) | |
| ## Updates | |
| - 2026-12-04: Updated the model cards with upstream codenames and checkpoint identifiers. | |
| - 2026-12-03: Added the openpilot v0.11.1 USB GPU precursor. | |
| - 2026-12-03: Initial release. | |