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 graph.json from Xylolabs/openpilot-Chestnut-MLX: direct link, hf CLI and curl.
- Browser
- Download file 6.71 kB
-
https://huggingface.co/Xylolabs/openpilot-Chestnut-MLX/resolve/main/graph.json
- Command line
-
hf download hf://Xylolabs/openpilot-Chestnut-MLX/graph.json
-
curl -L -o graph.json https://huggingface.co/Xylolabs/openpilot-Chestnut-MLX/resolve/main/graph.json
6.71 kB
| { | |
| "source": { | |
| "repository": "https://huggingface.co/commaai/openpilot_driving_models", | |
| "commit": "ea306f534159ac9a3caab0ac3bd4a5f82f9cd805", | |
| "tag": null, | |
| "path": "8d736683-fed4-4e48-96fd-eae5d9d5bc56/12864/big_driving_supercombo.onnx", | |
| "pointer_url": "https://huggingface.co/commaai/openpilot_driving_models/raw/ea306f534159ac9a3caab0ac3bd4a5f82f9cd805/8d736683-fed4-4e48-96fd-eae5d9d5bc56/12864/big_driving_supercombo.onnx", | |
| "media_url": "https://huggingface.co/commaai/openpilot_driving_models/resolve/ea306f534159ac9a3caab0ac3bd4a5f82f9cd805/8d736683-fed4-4e48-96fd-eae5d9d5bc56/12864/big_driving_supercombo.onnx", | |
| "lfs_oid": "sha256:87fe86ca0813c099efddf9173ba503be2e40ea4c5362c36812a44141f4cb07d4" | |
| }, | |
| "original_onnx": { | |
| "bytes": 792430559, | |
| "sha256": "87fe86ca0813c099efddf9173ba503be2e40ea4c5362c36812a44141f4cb07d4" | |
| }, | |
| "reference_onnx": { | |
| "bytes": 1581043641, | |
| "sha256": "6812af08b17d5bec557670580e0f7445bf1841ce96a0912e1b74d27739ffd061" | |
| }, | |
| "safetensors": { | |
| "bytes": 789684452, | |
| "sha256": "7b804f57b573bf7ec399d2f5c07b87708906d1fcf4237cf00ab1f5b21eec2099", | |
| "initializer_count": 652, | |
| "dtypes": "Original initializer dtypes, including stored FP16." | |
| }, | |
| "widened_fp16": { | |
| "initializers": 615, | |
| "cast_targets": 5, | |
| "type_annotations": 1607 | |
| }, | |
| "inputs": [ | |
| { | |
| "name": "new_img", | |
| "dtype": "uint8", | |
| "shape": [ | |
| 2, | |
| 6, | |
| 128, | |
| 256 | |
| ] | |
| }, | |
| { | |
| "name": "desire", | |
| "dtype": "float32", | |
| "shape": [ | |
| 8 | |
| ] | |
| }, | |
| { | |
| "name": "traffic_convention", | |
| "dtype": "float32", | |
| "shape": [ | |
| 1, | |
| 2 | |
| ] | |
| }, | |
| { | |
| "name": "action_t", | |
| "dtype": "float32", | |
| "shape": [ | |
| 1, | |
| 2 | |
| ] | |
| }, | |
| { | |
| "name": "state_img_q", | |
| "dtype": "uint8", | |
| "shape": [ | |
| 2, | |
| 5, | |
| 6, | |
| 128, | |
| 256 | |
| ] | |
| }, | |
| { | |
| "name": "state_desire_q", | |
| "dtype": "float32", | |
| "shape": [ | |
| 132, | |
| 1, | |
| 8 | |
| ] | |
| }, | |
| { | |
| "name": "state_feat_q", | |
| "dtype": "float32", | |
| "shape": [ | |
| 128, | |
| 1, | |
| 16384 | |
| ] | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "outputs", | |
| "dtype": "float32", | |
| "shape": [ | |
| 1, | |
| 18452 | |
| ] | |
| }, | |
| { | |
| "name": "next_state_img_q", | |
| "dtype": "uint8", | |
| "shape": [ | |
| 2, | |
| 5, | |
| 6, | |
| 128, | |
| 256 | |
| ] | |
| }, | |
| { | |
| "name": "next_state_desire_q", | |
| "dtype": "float32", | |
| "shape": [ | |
| 132, | |
| 1, | |
| 8 | |
| ] | |
| }, | |
| { | |
| "name": "next_state_feat_q", | |
| "dtype": "float32", | |
| "shape": [ | |
| 128, | |
| 1, | |
| 16384 | |
| ] | |
| } | |
| ], | |
| "original_outputs": [ | |
| { | |
| "name": "outputs", | |
| "dtype": "float32", | |
| "shape": [ | |
| 1, | |
| 18452 | |
| ] | |
| }, | |
| { | |
| "name": "next_state_img_q", | |
| "dtype": "uint8", | |
| "shape": [ | |
| 2, | |
| 5, | |
| 6, | |
| 128, | |
| 256 | |
| ] | |
| }, | |
| { | |
| "name": "next_state_desire_q", | |
| "dtype": "float32", | |
| "shape": [ | |
| 132, | |
| 1, | |
| 8 | |
| ] | |
| }, | |
| { | |
| "name": "next_state_feat_q", | |
| "dtype": "float32", | |
| "shape": [ | |
| 128, | |
| 1, | |
| 16384 | |
| ] | |
| } | |
| ], | |
| "node_count": 1004, | |
| "op_histogram": { | |
| "Add": 215, | |
| "Cast": 6, | |
| "Concat": 7, | |
| "Conv": 41, | |
| "Div": 1, | |
| "Expand": 3, | |
| "Gather": 11, | |
| "GatherND": 1, | |
| "Gelu": 63, | |
| "Gemm": 44, | |
| "LayerNormalization": 103, | |
| "MatMul": 162, | |
| "Mul": 60, | |
| "Not": 12, | |
| "ReduceMax": 1, | |
| "ReduceMean": 1, | |
| "Reshape": 47, | |
| "Sigmoid": 8, | |
| "Slice": 9, | |
| "Softmax": 12, | |
| "Split": 12, | |
| "Squeeze": 36, | |
| "Sub": 1, | |
| "Tanh": 1, | |
| "Transpose": 123, | |
| "Unsqueeze": 11, | |
| "Where": 12, | |
| "org.tinygrad::Contiguous": 1 | |
| }, | |
| "output_slices_source": { | |
| "onnx_metadata_key": "output_slices", | |
| "upstream_reader": "https://github.com/commaai/openpilot/blob/6939d172e85e3b91f16d90cc8de72e8f938cc196/openpilot/selfdrive/modeld/modeld.py#L150" | |
| }, | |
| "output_slices": [ | |
| { | |
| "name": "lane_lines", | |
| "start": 0, | |
| "stop": 528, | |
| "width": 528, | |
| "onnx_slice": [ | |
| 0, | |
| 528, | |
| null | |
| ] | |
| }, | |
| { | |
| "name": "lane_lines_prob", | |
| "start": 528, | |
| "stop": 536, | |
| "width": 8, | |
| "onnx_slice": [ | |
| 528, | |
| 536, | |
| null | |
| ] | |
| }, | |
| { | |
| "name": "road_edges", | |
| "start": 536, | |
| "stop": 800, | |
| "width": 264, | |
| "onnx_slice": [ | |
| 536, | |
| 800, | |
| null | |
| ] | |
| }, | |
| { | |
| "name": "meta", | |
| "start": 800, | |
| "stop": 855, | |
| "width": 55, | |
| "onnx_slice": [ | |
| 800, | |
| 855, | |
| null | |
| ] | |
| }, | |
| { | |
| "name": "desire_pred", | |
| "start": 855, | |
| "stop": 887, | |
| "width": 32, | |
| "onnx_slice": [ | |
| 855, | |
| 887, | |
| null | |
| ] | |
| }, | |
| { | |
| "name": "pose", | |
| "start": 887, | |
| "stop": 899, | |
| "width": 12, | |
| "onnx_slice": [ | |
| 887, | |
| 899, | |
| null | |
| ] | |
| }, | |
| { | |
| "name": "wide_from_device_euler", | |
| "start": 899, | |
| "stop": 905, | |
| "width": 6, | |
| "onnx_slice": [ | |
| 899, | |
| 905, | |
| null | |
| ] | |
| }, | |
| { | |
| "name": "road_transform", | |
| "start": 905, | |
| "stop": 917, | |
| "width": 12, | |
| "onnx_slice": [ | |
| 905, | |
| 917, | |
| null | |
| ] | |
| }, | |
| { | |
| "name": "plan", | |
| "start": 917, | |
| "stop": 1907, | |
| "width": 990, | |
| "onnx_slice": [ | |
| 917, | |
| 1907, | |
| null | |
| ] | |
| }, | |
| { | |
| "name": "lead", | |
| "start": 1907, | |
| "stop": 2051, | |
| "width": 144, | |
| "onnx_slice": [ | |
| 1907, | |
| 2051, | |
| null | |
| ] | |
| }, | |
| { | |
| "name": "lead_prob", | |
| "start": 2051, | |
| "stop": 2054, | |
| "width": 3, | |
| "onnx_slice": [ | |
| 2051, | |
| 2054, | |
| null | |
| ] | |
| }, | |
| { | |
| "name": "desire_state", | |
| "start": 2054, | |
| "stop": 2062, | |
| "width": 8, | |
| "onnx_slice": [ | |
| 2054, | |
| 2062, | |
| null | |
| ] | |
| }, | |
| { | |
| "name": "action", | |
| "start": 2062, | |
| "stop": 2066, | |
| "width": 4, | |
| "onnx_slice": [ | |
| 2062, | |
| 2066, | |
| null | |
| ] | |
| }, | |
| { | |
| "name": "hidden_state", | |
| "start": 2066, | |
| "stop": 18450, | |
| "width": 16384, | |
| "onnx_slice": [ | |
| 2066, | |
| 18450, | |
| null | |
| ] | |
| }, | |
| { | |
| "name": "pad", | |
| "start": 18450, | |
| "stop": 18452, | |
| "width": 2, | |
| "onnx_slice": [ | |
| 18450, | |
| 18452, | |
| null | |
| ] | |
| } | |
| ] | |
| } | |