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 / kl /graph.json
hletrd's picture
Update model files
e9113c0 verified
Raw History Blame Contribute Delete
5.84 kB
{
"release": "v0.8.3",
"codename": "KL",
"graphs": [
{
"name": "model",
"prefix": "",
"inputs": [
{
"name": "input_imgs",
"dtype": "float32",
"shape": [
1,
12,
128,
256
]
},
{
"name": "desire",
"dtype": "float32",
"shape": [
1,
8
]
},
{
"name": "traffic_convention",
"dtype": "float32",
"shape": [
1,
2
]
},
{
"name": "initial_state",
"dtype": "float32",
"shape": [
1,
512
]
}
],
"outputs": [
{
"name": "outputs",
"dtype": "float32",
"shape": [
1,
11327
]
}
],
"heads": [
{
"name": "plan",
"start": 0,
"stop": 9905,
"tensor": "outputs"
},
{
"name": "lane_lines",
"start": 9905,
"stop": 10433,
"tensor": "outputs"
},
{
"name": "lane_lines_prob",
"start": 10433,
"stop": 10437,
"tensor": "outputs"
},
{
"name": "road_edges",
"start": 10437,
"stop": 10701,
"tensor": "outputs"
},
{
"name": "lead",
"start": 10701,
"stop": 10756,
"tensor": "outputs"
},
{
"name": "lead_prob",
"start": 10756,
"stop": 10759,
"tensor": "outputs"
},
{
"name": "desire_state",
"start": 10759,
"stop": 10767,
"tensor": "outputs"
},
{
"name": "meta",
"start": 10767,
"stop": 10771,
"tensor": "outputs"
},
{
"name": "desire_pred",
"start": 10771,
"stop": 10803,
"tensor": "outputs"
},
{
"name": "pose",
"start": 10803,
"stop": 10815,
"tensor": "outputs"
},
{
"name": "hidden_state",
"start": 10815,
"stop": 11327,
"tensor": "outputs"
},
{
"name": "full_output",
"start": 0,
"stop": 11327,
"tensor": "outputs"
}
],
"slices_source": "Release runner",
"source": {
"link": "https://github.com/commaai/openpilot/blob/3766830f6588df6a1fee3e0295c689f9de364476/models/supercombo.onnx",
"sha256": "f3c6f00e1e847a285fc0b834f610f4064d682d3e9f0878ba11fccb4e43692b4c",
"bytes": 63313286,
"revision": "3766830f6588df6a1fee3e0295c689f9de364476",
"path": "models/supercombo.onnx"
},
"runner": "https://github.com/commaai/openpilot/tree/3766830f6588df6a1fee3e0295c689f9de364476/selfdrive/modeld"
}
],
"inputs": [
{
"name": "input_imgs",
"dtype": "float32",
"shape": [
1,
12,
128,
256
]
},
{
"name": "desire",
"dtype": "float32",
"shape": [
1,
8
]
},
{
"name": "traffic_convention",
"dtype": "float32",
"shape": [
1,
2
]
},
{
"name": "state_hidden",
"dtype": "float32",
"shape": [
1,
512
]
}
],
"outputs": [
{
"name": "outputs",
"dtype": "float32",
"shape": [
1,
11327
]
},
{
"name": "next_state_hidden",
"dtype": "float32",
"shape": [
1,
512
]
}
],
"output_slices": [
{
"name": "plan",
"start": 0,
"stop": 9905,
"tensor": "outputs"
},
{
"name": "lane_lines",
"start": 9905,
"stop": 10433,
"tensor": "outputs"
},
{
"name": "lane_lines_prob",
"start": 10433,
"stop": 10437,
"tensor": "outputs"
},
{
"name": "road_edges",
"start": 10437,
"stop": 10701,
"tensor": "outputs"
},
{
"name": "lead",
"start": 10701,
"stop": 10756,
"tensor": "outputs"
},
{
"name": "lead_prob",
"start": 10756,
"stop": 10759,
"tensor": "outputs"
},
{
"name": "desire_state",
"start": 10759,
"stop": 10767,
"tensor": "outputs"
},
{
"name": "meta",
"start": 10767,
"stop": 10771,
"tensor": "outputs"
},
{
"name": "desire_pred",
"start": 10771,
"stop": 10803,
"tensor": "outputs"
},
{
"name": "pose",
"start": 10803,
"stop": 10815,
"tensor": "outputs"
},
{
"name": "hidden_state",
"start": 10815,
"stop": 11327,
"tensor": "outputs"
},
{
"name": "full_output",
"start": 0,
"stop": 11327,
"tensor": "outputs"
}
],
"state_rules": {
"state_hidden": {
"input": "initial_state",
"after": "model",
"source": "outputs",
"head": [
10815,
11327
],
"queue": false,
"stride": 1,
"input_reduce": "take"
}
},
"reference_onnx": {
"sha256": "f3c6f00e1e847a285fc0b834f610f4064d682d3e9f0878ba11fccb4e43692b4c",
"bytes": 63313286
},
"node_count": 282,
"op_histogram": {
"Add": 34,
"Concat": 5,
"Conv": 70,
"Elu": 48,
"Flatten": 3,
"Gemm": 61,
"Identity": 1,
"Mul": 2,
"Relu": 45,
"Reshape": 6,
"Sigmoid": 2,
"Slice": 1,
"Split": 2,
"Sub": 1,
"Tanh": 1
}
}