MLX
Safetensors

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.
openpilot-driving-MLX / graph.json
hletrd's picture
Stage graph.json
8c3704d verified
Raw History Blame Contribute Delete
6.41 kB
{
"source": {
"repository": "https://github.com/commaai/openpilot",
"commit": "6939d172e85e3b91f16d90cc8de72e8f938cc196",
"tag": "v0.11.2",
"path": "openpilot/selfdrive/modeld/models/driving_supercombo.onnx",
"pointer_url": "https://raw.githubusercontent.com/commaai/openpilot/6939d172e85e3b91f16d90cc8de72e8f938cc196/openpilot/selfdrive/modeld/models/driving_supercombo.onnx",
"media_url": "https://media.githubusercontent.com/media/commaai/openpilot/6939d172e85e3b91f16d90cc8de72e8f938cc196/openpilot/selfdrive/modeld/models/driving_supercombo.onnx",
"lfs_oid": "sha256:65a08adc31d5c456219687d99b7bf5e44d61dae2d49ea67850e76105c7248cce"
},
"original_onnx": {
"bytes": 60918562,
"sha256": "65a08adc31d5c456219687d99b7bf5e44d61dae2d49ea67850e76105c7248cce"
},
"reference_onnx": {
"bytes": 120925368,
"sha256": "7576aca220f6e475903e0146df7068901400f60094ed16198f439c1cb2b9186e"
},
"safetensors": {
"bytes": 60050883,
"sha256": "d8e0d88443e90eb9f14c9e4f3d99931e6c25ae872fb0a212a695ca6d93463bd3",
"initializer_count": 345,
"dtypes": "Original initializer dtypes, including stored FP16."
},
"widened_fp16": {
"initializers": 315,
"cast_targets": 6,
"type_annotations": 662
},
"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": [
100,
1,
8
]
},
{
"name": "state_feat_q",
"dtype": "float32",
"shape": [
96,
1,
512
]
}
],
"outputs": [
{
"name": "outputs",
"dtype": "float32",
"shape": [
1,
2576
]
},
{
"name": "next_state_img_q",
"dtype": "uint8",
"shape": [
2,
5,
6,
128,
256
]
},
{
"name": "next_state_desire_q",
"dtype": "float32",
"shape": [
100,
1,
8
]
},
{
"name": "next_state_feat_q",
"dtype": "float32",
"shape": [
96,
1,
512
]
}
],
"original_outputs": [
{
"name": "outputs",
"dtype": "float32",
"shape": [
1,
2576
]
},
{
"name": "next_state_img_q",
"dtype": "uint8",
"shape": [
2,
5,
6,
128,
256
]
},
{
"name": "next_state_desire_q",
"dtype": "float32",
"shape": [
100,
1,
8
]
},
{
"name": "next_state_feat_q",
"dtype": "float32",
"shape": [
96,
1,
512
]
}
],
"node_count": 377,
"op_histogram": {
"Add": 47,
"Cast": 7,
"Clip": 2,
"Concat": 8,
"Conv": 60,
"Div": 3,
"Expand": 2,
"Gather": 3,
"GatherND": 1,
"Gelu": 20,
"Gemm": 82,
"Identity": 3,
"LayerNormalization": 2,
"MatMul": 8,
"Mul": 19,
"ReduceL2": 2,
"ReduceMax": 1,
"ReduceMean": 2,
"Relu": 64,
"Reshape": 9,
"Sigmoid": 4,
"Slice": 11,
"Softmax": 1,
"Squeeze": 3,
"Sub": 1,
"Transpose": 7,
"Unsqueeze": 4,
"Where": 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": "meta",
"start": 0,
"stop": 55,
"width": 55,
"onnx_slice": [
0,
55,
null
]
},
{
"name": "desire_pred",
"start": 55,
"stop": 87,
"width": 32,
"onnx_slice": [
55,
87,
null
]
},
{
"name": "pose",
"start": 87,
"stop": 99,
"width": 12,
"onnx_slice": [
87,
99,
null
]
},
{
"name": "wide_from_device_euler",
"start": 99,
"stop": 105,
"width": 6,
"onnx_slice": [
99,
105,
null
]
},
{
"name": "road_transform",
"start": 105,
"stop": 117,
"width": 12,
"onnx_slice": [
105,
117,
null
]
},
{
"name": "lane_lines",
"start": 117,
"stop": 645,
"width": 528,
"onnx_slice": [
117,
645,
null
]
},
{
"name": "lane_lines_prob",
"start": 645,
"stop": 653,
"width": 8,
"onnx_slice": [
645,
653,
null
]
},
{
"name": "road_edges",
"start": 653,
"stop": 917,
"width": 264,
"onnx_slice": [
653,
917,
null
]
},
{
"name": "lead",
"start": 917,
"stop": 1061,
"width": 144,
"onnx_slice": [
917,
1061,
null
]
},
{
"name": "lead_prob",
"start": 1061,
"stop": 1064,
"width": 3,
"onnx_slice": [
1061,
1064,
null
]
},
{
"name": "hidden_state",
"start": 1064,
"stop": 1576,
"width": 512,
"onnx_slice": [
1064,
1576,
null
]
},
{
"name": "plan",
"start": 1576,
"stop": 2566,
"width": 990,
"onnx_slice": [
1576,
2566,
null
]
},
{
"name": "desire_state",
"start": 2566,
"stop": 2574,
"width": 8,
"onnx_slice": [
2566,
2574,
null
]
},
{
"name": "pad",
"start": 2574,
"stop": 2576,
"width": 2,
"onnx_slice": [
-2,
null,
null
]
}
]
}