auto_e2e-p150 / tt_kernel_manifest.json
changh95's picture
tt-model push auto_e2e-p150 (container)
31ffdfe verified
Raw History Blame Contribute Delete
11.4 kB
{
"schema_version": "5.1",
"name": "auto_e2e-p150",
"tt_metal_version": "0.0.0.dev0",
"arch": "blackhole",
"device_count": 1,
"producer": {
"tt_kernel_version": "0.1.0",
"created_at": "2026-12-05T01:28:17.487945+00:00",
"hostname": "deepgadget"
},
"weights": {
"repo_id": "AutowareFoundation/auto_e2e",
"revision": "881e6a8367746da1eaae044a68077d0e7ce6fc1b",
"allow_patterns": [
"models/kitscenes-epoch-5/checkpoint.pt",
"README.md"
],
"ignore_patterns": null,
"repo_type": "model"
},
"auxiliary_weights": [],
"mesh": null,
"entrypoint": null,
"resources": null,
"capabilities": null,
"env": {},
"bundled": null,
"deps": null,
"container": {
"image": {
"registry": "hf",
"repository": "auto_e2e-p150",
"tag": "tt-model/auto_e2e-p150:b6f032f80564",
"digest": "sha256:b6f032f805643a5cfbff7f37465397d45451a9734cec1b25800bd7199080277d"
},
"kind": "tt-dit-server",
"runtime": {
"app": "tt_autoe2e.server.app:app",
"mesh_shape_env": "TT_MESH_SHAPE",
"packages": [
"numpy>=1.24.4,<2",
"huggingface_hub",
"pillow"
],
"lock": "requirements.lock"
},
"serve": {
"hardware": "p150",
"mesh_device": "P150",
"port": 20000,
"max_model_len": null,
"max_num_seqs": null,
"block_size": null,
"server_timeout": null,
"capabilities": null,
"additional_config": {},
"args": [],
"env": {
"TT_METAL_VISIBLE_DEVICES": "0",
"HF_HUB_DISABLE_IMPLICIT_TOKEN": "1",
"AUTOE2E_DISPATCH": "eth",
"AUTOE2E_NUM_CQS": "1"
}
},
"serve_profiles": [
{
"hardware": null,
"mesh_device": null,
"port": null,
"max_model_len": null,
"max_num_seqs": null,
"block_size": null,
"server_timeout": null,
"capabilities": null,
"additional_config": {},
"args": [],
"env": {
"AUTOE2E_DISPATCH": "eth"
},
"name": "default",
"description": "AutoE2E Reactive v1.0 (KITScenes checkpoint): image branch, 8 BEV frames, T8 and map fusion on the device (bf16 activations, fp32 accumulation, one trace per step); navigation encoder and GRU planner on the host (fp32)"
}
],
"default_profile": "default",
"code_dir": "code",
"verify": [
"assert 'single_chip_arch_1cq_no_dispatch_s' in open('/opt/tt-metal/tt_metal/impl/dispatch/topology.cpp').read()",
"from tt_autoe2e.ttaw.device import eth_dispatch_patch_present as p; assert p(), 'ttaw does not see the ETH patch'",
"assert 'dual_kernel_min_dram_dest_page_bytes' in open('/opt/tt-metal/ttnn/cpp/ttnn/operations/data_movement/reshape_view/device/reshape_rm_program_factory.cpp').read()",
"import tt_autoe2e.server.app as a; assert a.app and a.SPEC.model_name == 'auto_e2e-p150'",
"import numpy; assert int(numpy.__version__.split('.')[0]) < 2, numpy.__version__",
"import torch, PIL, huggingface_hub",
"from pathlib import Path; p = Path('/opt/tt-metal/tt_autoe2e'); assert (p / 'samples/synthetic_drive.reference.json').is_file() and (p / 'calib/synthetic_rig.json').is_file() and (p / 'tt/kernels/msda_k_reader.cpp').is_file()",
"import ttnn; assert hasattr(ttnn, 'begin_trace_capture') and hasattr(ttnn, 'execute_trace') and hasattr(ttnn, 'generic_op')"
],
"built": {
"image": "tt-model/auto_e2e-p150:b6f032f80564",
"repo": "changh95/auto_e2e-p150",
"tt_model_version": "0.1.0",
"created_at": "2026-12-05T01:17:56+00:00",
"tt_metal": {
"sha": "44d66500520fda9f2c7060c0f6b41ec48f7ab37e",
"describe": null,
"dirty": true,
"scm_version": "0.0.0.dev0",
"mode": "local",
"remote": "https://github.com/tenstorrent/tt-metal.git",
"branch": "HEAD",
"pushed": false
},
"code_sha256": "7ef6b9a0d647149f93f5241fc8c1c27b7ca1f774f80e331ab613fc2e03f96c1a",
"image_digest": "sha256:b6f032f805643a5cfbff7f37465397d45451a9734cec1b25800bd7199080277d"
},
"card": {
"description": "AutoE2E (Autoware Foundation), an end-to-end driving model (79.9M parameters): ResNet-50 + FPN on 6 cameras at 512 px and the front camera at 1024 px, a 6-layer BEVFormer-style encoder (300 x 200 BEV, 0.6 m cells) run on the current frame and the 7 previous frames of a 500 ms grid, T8 temporal fusion, navigation-raster encoders (Lanelet2 map and route) with a deformable map-BEV fusion, and a GRU planner that outputs 64 steps of acceleration and curvature (6.4 s at 10 Hz), rolled out to a trajectory. This package runs it on one Tenstorrent Blackhole p150, stateful per stream (the last 7 steps' image features stay on the device), behind the HTTP contract of the Autoware collection.",
"attribution": "Derived from [AutowareFoundation/auto_e2e](https://huggingface.co/AutowareFoundation/auto_e2e) (the Reactive v1.0 `kitscenes-epoch-5` checkpoint, trained on KITScenes Multimodal) and the code of [autowarefoundation/auto_e2e](https://github.com/autowarefoundation/auto_e2e) (commit `4dfe81e9`). The weights are read from the upstream repository at the pinned commit, unmodified; this repository does not contain them.",
"prerequisites": "- One p150 (Blackhole), the tt-model runtime. First start downloads the 0.9 GB checkpoint and compiles the\n kernels (a few minutes); later starts are ready in about a minute.\n- The model's camera rig and frames: 6 cameras (front, front_left, front_right, rear_left, rear, rear_right) with\n calibration into its ego frame (x forward, y left, z up, origin 2.1 m above the road: KITScenes' reference\n frame), one call per 500 ms step of a stream.\n",
"quickstart": "Send the synthetic sample shipped in this repo (a straight road seen by a synthetic rig) to `/predict` on the\nport `tt serve` reported:\n\n```bash\nhf download changh95/auto_e2e-p150 --include \"code/tt_autoe2e/*\" --local-dir auto_e2e-p150 && cd auto_e2e-p150\npython3 code/tt_autoe2e/server/smoke_test.py --url http://127.0.0.1:20000 --wait 900\n```\n",
"architecture": null,
"status": null,
"intended_use": "Research and demonstration of camera-based end-to-end planning on Tenstorrent hardware: offline replay of recorded drives (KITScenes-like 6-camera rigs) and side-by-side demos next to Autoware. Non-commercial (the weights' licence).",
"out_of_scope_use": null,
"usage": "`POST /predict` takes one step of a stream as JSON (`code/tt_autoe2e/SERVING.md`); `GET /health` and `GET /info` report the server\nand device state.\n\n| request field | meaning |\n| --- | --- |\n| `images` | the 6 cameras `{\"camera\": \"<name>\", \"data\": \"<base64 PNG / JPEG / .npy>\"}`, RGB, any size (the front camera resized to 1024 x 1024 and its 512 view taken from that, the others to 512 x 512: upstream's KITScenes loader) |\n| `calibration` | per camera `intrinsics` (K of the image as sent) and `T_ref_from_camera` (camera optical frame -> the model's ego frame), or `{\"preset\": \"synthetic_rig\"}` |\n| `stream` | `id`, `reset`, `T_world_from_ego` (4 x 4): the history projections are built from the poses of the last 7 steps |\n| `inputs` | `egomotion_history` [256] (64 x [speed m/s, acceleration m/s^2, yaw rate rad/s, curvature 1/m] at 10 Hz, oldest first); optional `map_context` [14, 450, 300] and `route_mask` [2, 450, 300] (upstream's navigation rasters, 0.4 m/px) as an npz |\n\nResponse: `trajectory` [64, 6] with `columns` x, y, yaw, speed, accel, curvature (ego frame, 10 Hz), `meta.history_steps`\n(real past steps used: a new or reset stream starts with the current step copied into the history, upstream's\nbehaviour without history).\n",
"performance": "KITScenes Multimodal val (KIT-MRT), 12 scenes not in AutoE2E's training split, 626 steps (one evaluator lane: every 500 ms of each scene, the stateful stream of the upstream evaluator), through AutoE2E's own preprocessed `kitscenes-val/v3.5` shards; references: upstream `predict_control` on an RTX 5090 in fp32 (TF32 off) and in upstream's bf16 autocast, the precision of the published metrics.\n\n| | this package (p150) | upstream's own bf16 autocast (CUDA) |\n| --- | --- | --- |\n| Controls (acceleration, curvature), relative L2 to the fp32 reference, median / p95 | 0.93% / 4.32% | 1.40% / 5.08% |\n| Trajectory distance to the fp32 reference's at 1 / 3 / 5 s, median (m) | 0.001 / 0.011 / 0.034 | 0.004 / 0.036 / 0.103 |\n| Same, p95 (m) | 0.006 / 0.034 / 0.108 | 0.013 / 0.097 / 0.272 |\n\n| ADE against the logged trajectory at 1 / 3 / 5 s (m) | value |\n| --- | --- |\n| this package | 0.136 / 0.708 / 1.814 |\n| upstream fp32 | 0.137 / 0.708 / 1.815 |\n| upstream bf16 autocast | 0.137 / 0.714 / 1.827 |\n\n| speed (one stream, warm) | value |\n| --- | --- |\n| One step on the device (traced replay: image branch, 8 BEV frames, fusion) | 1.76 s |\n| Served `POST /predict` (decode, pre-processing, device, planner) | 3.30 s |\n\nThe spread of upstream's own bf16 run from fp32 is the scale of a bf16 implementation's differences. Measured with this package's code on one p150a (32-thread AMD host shared with an Autoware simulation).\n",
"limitations": "- Do not use it to drive or control a vehicle or as any safety function: AutoE2E is research software and this\n is not a certified component.\n- About 3.3 s per step on one p150 (the model's design cadence is 2 Hz): the 8 BEV frames are\n recomputed every step (each step rebuilds the history BEVs in the current ego frame), 1.8 s of device time.\n- One stream at a time (a new stream id restarts the history); batch 1.\n- Trained on KITScenes (Karlsruhe, Frankfurt): other rigs and regions are out of distribution.\n- bf16 activations with fp32 accumulation (see the performance table for the spread).\n",
"risks": null,
"licensing": "- Weights: [AutowareFoundation/auto_e2e](https://huggingface.co/AutowareFoundation/auto_e2e) at commit `881e6a8367746da1eaae044a68077d0e7ce6fc1b`\n (`models/kitscenes-epoch-5/checkpoint.pt`, sha256 `120a2163...`), **CC BY-NC-SA 4.0** per its model card:\n non-commercial; downloaded by `tt serve` at that commit, not redistributed here.\n- Port and serving code (`code/`) and the tt-metal patches in `patches/`: Apache-2.0. The deformable-attention\n kernels extend those of the BEVFormer p150 port (Apache-2.0).\n- Samples `code/tt_autoe2e/samples/synthetic_drive*` and `calib/synthetic_rig.json`: generated by\n `tools/make_sample.py` (no third-party data), Apache-2.0.\n",
"related": "- The VisionPilot networks on the p150 (the camera-only ADAS stack of the Autoware Foundation): [changh95/auto_steer-p150](https://huggingface.co/changh95/auto_steer-p150), [changh95/auto_speed-p150](https://huggingface.co/changh95/auto_speed-p150), [changh95/auto_drive-p150](https://huggingface.co/changh95/auto_drive-p150).\n- The [Autoware collection](https://huggingface.co/collections/changh95/autoware-6ac890f41c8ca4ad23b6ef55).\n",
"license": {
"id": "other",
"name": "Apache-2.0 (code) / CC BY-NC-SA 4.0 (weights)",
"link": "https://huggingface.co/AutowareFoundation/auto_e2e"
},
"pipeline_tag": "robotics",
"base_model": [
"AutowareFoundation/auto_e2e"
]
}
}
}