Repository navigation
Conversation
[Medium impact] The changes reach offline app packaging and the Crazy Robotaxi simulation workflow. Fix the custom native build-directory path before merging so completed performance bundles can start reliably. Findings
SummaryThis PR changes offline bundles to ship as a complete raw folder. It adds working-directory assets, a configurable writable cache, console-free logging, and direct loading of prepared native extensions.
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart LR
A[Application command and working files] --> B[Preload and prepare caches]
B --> C[Build executable and runtime folder]
C --> D[Ship complete bundle]
D --> E[Copy seed into writable user cache]
D --> F[Load prepared native binaries]
E --> G[Run application]
F --> G
Reviews (6) · Last reviewed commit: "fix formatting" · Reviewed by Greptile |
45e2498 to
823038c
Compare
|
/ok to test 823038c |
Comments Outside DiffThese findings could not be posted inline.
|
b176b29 to
de8beb5
Compare
|
/ok to test f35a9ad |
|
/ok to test 1cc0010 |
…ory: `--working-dir`
…for windows to hit 28-29fps on 6000 pro
1cc0010 to
d068528
Compare
|
/ok to test d068528 |
|
|
||
| def _load_prebuilt_extension() -> ModuleType: | ||
| """Load the extension prepared in an offline bundle without build sources.""" | ||
| build_root = Path(os.environ["TORCH_EXTENSIONS_DIR"]) / "torch_extensions" |
There was a problem hiding this comment.
If the packaging host has OMNIDREAMS_SINGLEVIEW_NATIVE_BUILD_ROOT set, preload builds the extension outside the bundle. _cache_environment() keeps that variable, and _default_build_root() gives it priority over TORCH_EXTENSIONS_DIR.
The new frozen loader searches only TORCH_EXTENSIONS_DIR/torch_extensions. Packaging can therefore finish successfully, but the deployed performance app cannot start because its required binary was not shipped. Force preload to build into the bundle cache, or copy the selected binary into the directory this loader searches.
Knowledge Base Used: Interactive world-model integrations
Resolves: #716
Changes:
Taxi demo
Offline packaging
uv, or network access.--working-dirto include application assets and resolve relative paths consistently.--unpack-dirto control the writable runtime cache location, with Windows long-path support.Fixes and diagnostics
--noconsolesupport with persistent runtime logs