auto_drive-p150 on Tenstorrent p150
Derived from autowarefoundation/auto_drive (trained on the Zenseact Open Dataset with a 50 deg centre crop): the fp32 ONNX file VisionPilot itself loads, with unmodified weights. VisionPilot (autowarefoundation/vision_pilot) is the Autoware Foundation's camera-only ADAS stack; it has no Autoware node. See the upstream repositories for training details.
AutoDrive (VisionPilot), a 10.6M-parameter temporal model: the same backbone on two consecutive front frames (t-1, t), a fusion head and an MLP that predict the normalised distance to the closest in-path object (CIPO), the road curvature and the probability that a CIPO is present. This package runs the published graph on one Tenstorrent Blackhole p150 (bf16 activations, fp32 accumulation, one captured trace per frame) behind the HTTP contract of the Autoware collection.
Runs on Tenstorrent p150 (mesh P150).
Packaged and published with tt-model-manager 0.1.0 (manifest schema 5.1).
At a glance
| Hardware | p150 |
| License | apache-2.0 |
Intended use
Distance to the closest in-path object, road curvature and object presence from two frames for camera-only driver-assistance research with VisionPilot: prototyping, offline processing of recorded drives and live demos next to Autoware.
Prerequisites
- The Tenstorrent CLI,
tt:uv tool install tenstorrent(or use tt-model alone, see the Quickstart) - Docker
- Tenstorrent hardware: p150
- One p150 (Blackhole), the tt-model runtime. First start on an empty kernel cache compiles the kernels (about a minute); later starts are ready in a few seconds.
Quickstart
tt serve changh95/auto_drive-p150
tt serve downloads the Docker image and the changh95/auto_drive-p150 at 541c0fdd0e09f5967f05918a0442c6b7f2bb992e weights (into your HF cache; they are not in the image), then starts the model's own HTTP server on port 20000 (or the next free port, if that one is busy). The first start compiles kernels for your device, which takes several minutes; the server is ready when it logs Application startup complete.
Without tt-cli: tt-model serve changh95/auto_drive-p150.
Send the synthetic sample shipped in this repo to /predict on the port tt serve reported:
hf download changh95/auto_drive-p150 --include "code/tt_visionpilot/*" --local-dir auto_drive-p150 && cd auto_drive-p150
python3 code/tt_visionpilot/server/smoke_test.py --url http://127.0.0.1:20000 --wait 600
Capabilities
This package exposes the model's own HTTP server on port 20000, not an OpenAI-compatible chat API β its request and response shapes are the model's own. See the author's notes for the payload it expects.
POST /predict takes one request as JSON (SERVING.md); GET /health and GET /info report the server and
device state; GET /v1/models is a stub.
| request field | meaning |
|---|---|
images |
two frames {"camera": "prev", ...}, {"camera": "curr", ...}: already warped to 1024x512, or raw frames with homography |
homography (optional) |
9 numbers, VisionPilot's C (raw pixel -> warped 1024x512, applied with cv::warpPerspective, INTER_LINEAR, BORDER_REFLECT_101); AutoDrive's training crop is the 50 deg centre of the camera |
Response: dist_normalized, distance_m = 150 (1 - dist_normalized), curvature_raw, curvature_per_m = 0.21 curvature_raw, flag_logit, flag_prob = sigmoid(flag_logit) (VisionPilot auto_drive.cpp, longitudinal_fusion.cpp, load_data_auto_drive.py).
Expected performance
Agreement with the fp32 onnxruntime run of the same published file, frame by frame on KITScenes Multimodal (KIT-MRT, val scenes not in AutoE2E's training split; 12 scenes, 4210 frames at 10 Hz) through a virtual 54 deg / 1920x1080 front camera cut from the rectified camera_ring_front:
| eval | value |
|---|---|
| Distance difference, median / p99 | 0.111 / 0.726 m |
| Curvature difference, p99 | 0.00175 1/m |
| CIPO presence (probability >= 0.5) equal to the reference | 99.90% |
| speed (batch 1, warm) | value |
|---|---|
| Traced graph on the device (replay) | 4.23 ms |
| Network call on a KITScenes frame (upload, device, readback, host tail), median | 7.9 ms |
| Same, stream form (one frame per call, the previous backbone output kept on the device) | 4.5 ms |
Measured with this package's code on one p150a (32-thread AMD host shared with an Autoware simulation). KITScenes has no labels for these tasks, so the numbers measure parity with the fp32 network, not accuracy.
Limitations
- Do not use it to drive or control a vehicle or as any safety function: VisionPilot is research software and this is not a certified component.
- bf16 activations with fp32 accumulation: values near a decision threshold can flip (see the performance table).
- Batch 1, one request at a time; the network input is fixed at 1024x512.
- One p150 only (device dispatch on the chip's Ethernet cores).
Licensing
- Weights: the published ONNX file of autowarefoundation/vision_pilot (commit
87a82ec8,VisionPilot/modules/models/weights/autodrive_fp32.onnx; the same file as the Google Drive link of the AutoDrive README), Apache-2.0 (VisionPilot README: "We offer the complete codebase as free and fully open-source, including AI model weights" and "available under the permissive Apache 2.0 license"). Copied unmodified toweights/of this repository (Hugging Face hosts no copy of it), sha256 inweights/SOURCE.md. - Port and serving code (
code/) and the tt-metal patches inpatches/: Apache-2.0. - Samples
code/tt_visionpilot/samples/synthetic_road_*: drawn bytools/make_samples.py(no third-party data), Apache-2.0.
Related packages
- The other VisionPilot networks on the p150: changh95/auto_steer-p150, changh95/auto_speed-p150, changh95/auto_drive-p150.
- The Autoware collection: the other Autoware perception and planning models packaged for the p150.
Feedback
Questions or problems with this package: open a discussion at https://huggingface.co/changh95/auto_drive-p150/discussions β that is what reaches its author. A problem with the tt tooling itself: tt report issue (collects your environment and opens a prefilled issue against tenstorrent/tt-cli). Product feedback: support@tenstorrent.com.
Provenance
The exact sources the image was built from β code/ in this repo is byte-identical to the model code inside the image:
| component | built from |
|---|---|
| tt-metal | a local checkout β commit not published (dirty tree β the image includes uncommitted changes) |
code/ digest |
42b4eae881fe9a32 (sha256, first 16 hex digits) |
| built | 2026-12-04T21:34:24+00:00 by tt-model 0.1.0 |