Run this model with HF Jobs
Run Xylolabs/openpilot-driving-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-driving-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-driving-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-driving-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Xylolabs/openpilot-driving-MLX with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download Xylolabs/openpilot-driving-MLX --local-dir openpilot-driving-MLX
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Stage README.md
Browse files12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061---license: mitlibrary_name: mlx---
# openpilot Small Driving MLX

This MLX port of comma.ai’s openpilot v0.11.2 small driving model 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.
```shpython -m pip install -r requirements.txtpython example.pypython parity.py```
## 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` | 60,050,883 | | | || `meta` | | 0.0000133514404 | 0.000175072444 | || `desire_pred` | | 0.0000238418579 | 0.000102114753 | || `pose` | | 0.0000486373901 | 0.000111178387 | || `wide_from_device_euler` | | 0.0000233650208 | 0.000828500414 | || `road_transform` | | 0.00000476837158 | 0.00145560408 | || `lane_lines` | | 0.000290870667 | 0.0202727608 | || `lane_lines_prob` | | 0.0000138282776 | 0.0000765747769 | || `road_edges` | | 0.000210762024 | 0.0177705977 | || `lead` | | 0.0000991821289 | 0.000425319790 | || `lead_prob` | | 0.0000133514404 | 0.000310064726 | || `hidden_state` | | 5.88595867e-7 | 0.0230125527 | || `plan` | | 0.000228881836 | 0.0109688534 | || `desire_state` | | 0.0000267028809 | 0.0000253179726 | || `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) | | 5.88595867e-7 | 0.0230125527 | 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
The included MIT license carries `Copyright (c) 2018, Comma.ai, Inc.`. The model comes from `commaai/openpilot` `v0.11.2` at commit `6939d172e85e3b91f16d90cc8de72e8f938cc196`. [Openpilot source](https://github.com/commaai/openpilot/tree/6939d172e85e3b91f16d90cc8de72e8f938cc196), [Openpilot notice](https://github.com/commaai/openpilot/blob/6939d172e85e3b91f16d90cc8de72e8f938cc196/LICENSE), [Included license](LICENSE)
## Updates
2026-12-03: Initial release.README.mdAdded+61