|
Download code/scripts/README.md from changh95/transfusion-p150: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/changh95/transfusion-p150/resolve/main/code/scripts/README.md
- Command line
-
hf download hf://changh95/transfusion-p150/code/scripts/README.md
-
curl -L -o README.md https://huggingface.co/changh95/transfusion-p150/resolve/main/code/scripts/README.md
1.16 kB
| # code/scripts | |
| | script | purpose | device | | |
| |---|---|---| | |
| | `fetch_samples.sh` | downloads the public sample data that is not redistributable (sha256-checked) | no | | |
| | `bench.py` | stage breakdown of a warm forward (the card / OPT numbers) | yes, via `bin/devrun` | | |
| | `profile_ops.py` | one eager forward + one traced replay between signposts under the device profiler (`python -m tracy -r -p -v ...`) | yes | | |
| | `container_smoke.sh` | serve ONE serve profile of the built package (`--profile NAME`; default profile otherwise), run `server/smoke_test.py` against it (asserts ETH dispatch, the 12x10 grid and the profile's pins; compares with the stored CPU reference), keep the evidence (container log, `/info`, the `/predict` output and the result, in `logs/smoke/` of the repo or `--log-dir DIR`), always stop it; one `bin/devrun -t 3600 -k 150` window per profile | yes | | |
| | `make_demo.py` | renders `media/*.png` (BEV / overlay views) from the shipped sample | yes | | |
| | `ref_golden.py` | CPU reference (+ ONNX Runtime) goldens for the tests | no | | |
| Everything here ships in `code/` on the Hub and inside the image (`source.extra_code` lists `scripts`). | |