Reduce size of bundled assets #571
Open
Yadunund wants to merge 5 commits into
Open
Conversation
Signed-off-by: Yadunund <yadunund@intrinsic.ai>
Signed-off-by: Yadunund <yadunund@intrinsic.ai>
Signed-off-by: Yadunund <yadunund@intrinsic.ai>
Signed-off-by: Yadunund <yadunund@intrinsic.ai>
trushant05
approved these changes
Jun 8, 2026
Collaborator
There was a problem hiding this comment.
Build Performance & Artifact Sizes
| Target | Build Time | Bundle Size | Docker Image Size | Cache Status |
|---|---|---|---|---|
| All 3 Skills | 19m 34s | 307 MB for each skill bundle | 1.2 GB for each skill bundle | Initial build (no cache) |
aic_flowstate_ros_bridge |
3m 48s | 307 MB | 1.19 GB | Cached |
aic_adapter |
3m 19s | 1.2 GB | 1.19 GB | Cached |
@Yadunund could you please verify the aic_adapter bundle size was bloated because there is no compression in the build_aic_adapter.sh script. I pushed a commit with the same and now the bundle size is 338 MB.
The PR LGTM after that verification from your end.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR #564 updated our assetization workflows to rely on pixi to pull in vendor packages to skip builds of
intrinsic_sdk_cmakedeps from source. However since we were still using the samepixi.tomlfile from quals, copying in the installed pixi environment into the docker container resulted in us copying all deps from quals includinglerobot,pytorch, etc which bloated the image sizes.With this PR asset bundles sizes are reduced from couple gigabytes down to ~300 MB
Key Changes
pixi.toml): Split dependencies intodefault,skill-build, andskill-runtimeenvironments. Movedpixi_env_setup.shactivation under theskill-runtimefeature so it executes upon container activation.Dockerfile.skill,Dockerfile.service): Configured builder stages to copy only the target.pixi/envs/skill-runtimedirectory to the runtime image, stripping out the 3.7 GB build cache (.pixi/build), compilers, and development tools.flowstate/README.md.