{ "release": "v0.11.0", "codename": "CD210", "graphs": [ { "name": "vision", "prefix": "vision.", "inputs": [ { "name": "img", "dtype": "uint8", "shape": [ 1, 12, 128, 256 ] }, { "name": "big_img", "dtype": "uint8", "shape": [ 1, 12, 128, 256 ] } ], "outputs": [ { "name": "outputs", "dtype": "float32", "shape": [ 1, 1576 ] } ], "heads": [ { "name": "vision.meta", "start": 0, "stop": 55, "tensor": "vision.outputs" }, { "name": "vision.desire_pred", "start": 55, "stop": 87, "tensor": "vision.outputs" }, { "name": "vision.pose", "start": 87, "stop": 99, "tensor": "vision.outputs" }, { "name": "vision.wide_from_device_euler", "start": 99, "stop": 105, "tensor": "vision.outputs" }, { "name": "vision.road_transform", "start": 105, "stop": 117, "tensor": "vision.outputs" }, { "name": "vision.lane_lines", "start": 117, "stop": 645, "tensor": "vision.outputs" }, { "name": "vision.lane_lines_prob", "start": 645, "stop": 653, "tensor": "vision.outputs" }, { "name": "vision.road_edges", "start": 653, "stop": 917, "tensor": "vision.outputs" }, { "name": "vision.lead", "start": 917, "stop": 1061, "tensor": "vision.outputs" }, { "name": "vision.lead_prob", "start": 1061, "stop": 1064, "tensor": "vision.outputs" }, { "name": "vision.hidden_state", "start": 1064, "stop": 1576, "tensor": "vision.outputs" }, { "name": "vision.full_output", "start": 0, "stop": 1576, "tensor": "vision.outputs" } ], "slices_source": "ONNX output_slices", "source": { "link": "https://github.com/commaai/openpilot/blob/3469d9aadbc16eb854bad3d851bd580d2b8f132e/selfdrive/modeld/models/driving_vision.onnx", "sha256": "ee29ee5bce84d1ce23e9ff381280de9b4e4d96d2934cd751740354884e112c66", "bytes": 46877473, "revision": "3469d9aadbc16eb854bad3d851bd580d2b8f132e", "path": "selfdrive/modeld/models/driving_vision.onnx" }, "runner": "https://github.com/commaai/openpilot/tree/3469d9aadbc16eb854bad3d851bd580d2b8f132e/selfdrive/modeld" }, { "name": "policy", "prefix": "policy.", "inputs": [ { "name": "desire_pulse", "dtype": "float32", "shape": [ 1, 25, 8 ] }, { "name": "traffic_convention", "dtype": "float32", "shape": [ 1, 2 ] }, { "name": "features_buffer", "dtype": "float32", "shape": [ 1, 25, 512 ] } ], "outputs": [ { "name": "outputs", "dtype": "float32", "shape": [ 1, 1000 ] } ], "heads": [ { "name": "policy.plan", "start": 0, "stop": 990, "tensor": "policy.outputs" }, { "name": "policy.desire_state", "start": 990, "stop": 998, "tensor": "policy.outputs" }, { "name": "policy.pad", "start": 998, "stop": 1000, "tensor": "policy.outputs" }, { "name": "policy.full_output", "start": 0, "stop": 1000, "tensor": "policy.outputs" } ], "slices_source": "ONNX output_slices", "source": { "link": "https://github.com/commaai/openpilot/blob/3469d9aadbc16eb854bad3d851bd580d2b8f132e/selfdrive/modeld/models/driving_policy.onnx", "sha256": "78477124cbf3ffe30fa951ebada8410b43c4242c6054584d656f1d329b067e15", "bytes": 14060847, "revision": "3469d9aadbc16eb854bad3d851bd580d2b8f132e", "path": "selfdrive/modeld/models/driving_policy.onnx" }, "runner": "https://github.com/commaai/openpilot/tree/3469d9aadbc16eb854bad3d851bd580d2b8f132e/selfdrive/modeld" } ], "inputs": [ { "name": "img", "dtype": "uint8", "shape": [ 1, 12, 128, 256 ] }, { "name": "big_img", "dtype": "uint8", "shape": [ 1, 12, 128, 256 ] }, { "name": "traffic_convention", "dtype": "float32", "shape": [ 1, 2 ] }, { "name": "state_features", "dtype": "float32", "shape": [ 1, 100, 512 ] }, { "name": "state_desire", "dtype": "float32", "shape": [ 1, 100, 8 ] }, { "name": "desire_pulse", "dtype": "float32", "shape": [ 1, 8 ] } ], "outputs": [ { "name": "vision.outputs", "dtype": "float32", "shape": [ 1, 1576 ] }, { "name": "policy.outputs", "dtype": "float32", "shape": [ 1, 1000 ] }, { "name": "next_state_features", "dtype": "float32", "shape": [ 1, 100, 512 ] }, { "name": "next_state_desire", "dtype": "float32", "shape": [ 1, 100, 8 ] } ], "output_slices": [ { "name": "vision.meta", "start": 0, "stop": 55, "tensor": "vision.outputs" }, { "name": "vision.desire_pred", "start": 55, "stop": 87, "tensor": "vision.outputs" }, { "name": "vision.pose", "start": 87, "stop": 99, "tensor": "vision.outputs" }, { "name": "vision.wide_from_device_euler", "start": 99, "stop": 105, "tensor": "vision.outputs" }, { "name": "vision.road_transform", "start": 105, "stop": 117, "tensor": "vision.outputs" }, { "name": "vision.lane_lines", "start": 117, "stop": 645, "tensor": "vision.outputs" }, { "name": "vision.lane_lines_prob", "start": 645, "stop": 653, "tensor": "vision.outputs" }, { "name": "vision.road_edges", "start": 653, "stop": 917, "tensor": "vision.outputs" }, { "name": "vision.lead", "start": 917, "stop": 1061, "tensor": "vision.outputs" }, { "name": "vision.lead_prob", "start": 1061, "stop": 1064, "tensor": "vision.outputs" }, { "name": "vision.hidden_state", "start": 1064, "stop": 1576, "tensor": "vision.outputs" }, { "name": "vision.full_output", "start": 0, "stop": 1576, "tensor": "vision.outputs" }, { "name": "policy.plan", "start": 0, "stop": 990, "tensor": "policy.outputs" }, { "name": "policy.desire_state", "start": 990, "stop": 998, "tensor": "policy.outputs" }, { "name": "policy.pad", "start": 998, "stop": 1000, "tensor": "policy.outputs" }, { "name": "policy.full_output", "start": 0, "stop": 1000, "tensor": "policy.outputs" } ], "state_rules": { "state_features": { "input": "features_buffer", "after": "vision", "source": "vision.outputs", "head": [ 1064, 1576 ], "queue": true, "stride": 4, "input_reduce": "take" }, "state_desire": { "input": "desire_pulse", "after": "input", "source": "desire_pulse", "head": null, "queue": true, "stride": 4, "input_reduce": "max" } }, "reference_onnx": { "bytes": 120944835, "sha256": "78cbe23f11acbf1a9f766058430db79cc3ede5fb93182a74ca10d522ac81a6d7", "components": [ { "file": "vision.fp32.onnx", "bytes": 92985140, "sha256": "183f63637d300eb1242294c64b9c529b3e09c266a65414622cc227f783a2de57" }, { "file": "policy.fp32.onnx", "bytes": 27959695, "sha256": "be1235de2eab03297f4d93f38ace8b5aa2f725fe7adee6ad2fcdc6becec0042a" } ] }, "node_count": 356, "op_histogram": { "Add": 47, "Cast": 2, "Clip": 2, "Concat": 5, "Conv": 60, "Div": 3, "Expand": 2, "Gather": 1, "GatherND": 1, "Gelu": 20, "Gemm": 82, "Identity": 2, "LayerNormalization": 2, "MatMul": 8, "Mul": 19, "ReduceL2": 2, "ReduceMax": 1, "ReduceMean": 2, "Relu": 64, "Reshape": 7, "Sigmoid": 4, "Slice": 7, "Softmax": 1, "Squeeze": 3, "Sub": 1, "Transpose": 5, "Unsqueeze": 2, "Where": 1 } }