Repository navigation
Add a Cosmos 3 Transfer README for the Shadow Hand camera task #8731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
pbarejko
merged 246 commits into
isaac-sim:exp/cosmos
from
temiroff:atemirov/cosmos-demo
Oct 20, 2026
Merged
Changes from all commits
Commits
Show all changes
246 commits
Select commit
Hold shift + click to select a range
9036232
Batch Cosmos camera views and follow the Sim-Transfer recipe in the s…
temiroff b1050c2
Warm the Cosmos service through its full history window
temiroff 624b2dc
Verify Cosmos cache release and simplify prompt handling
temiroff d19d3e3
Initialize Cosmos view caches once and organize control documentation
temiroff 2017beb
Keep Cosmos images on the GPU with CUDA IPC and serve on a private Un…
temiroff a1ee880
Release partial CUDA IPC channels and focus transport coverage
temiroff 687fc86
Clarify CUDA IPC transfer guarantees and view limits
temiroff dbd6c8c
Document service-side CUDA synchronization accurately
temiroff 2d3a4e7
Run any camera task with Cosmos through --cosmos
temiroff 43bab9a
Test Cosmos image publication and document supported cameras
temiroff 0ec63a9
Clarify Cosmos camera support and derive shared configuration values
temiroff a8539f0
Derive Cosmos view counts and episode budgets per session
temiroff 1f57461
Merge service review fixes into Cosmos transport
temiroff 50d6a38
Sync Cosmos service fixes and preserve camera preset settings
temiroff 101af11
Support several environments in the Shadow Hand Cosmos presets
temiroff badcb48
Require per-step captures for several Cosmos environments
temiroff 7e5fadf
Queue image transfer controls only for the views a capture covers
temiroff a258568
Merge per-capture image transfer queueing into Cosmos transport
temiroff 3743d61
Drop the per-step capture requirement for several Cosmos environments
temiroff 7c4b0a8
Merge per-capture image transfer queueing into Cosmos camera
temiroff 26458c9
Document recording several Cosmos environments during headless training
temiroff 2b0bb1a
Explain the Shadow Hand Cosmos frame budget in the docs
temiroff ab54cb0
Merge Shadow Hand frame budget docs into Cosmos transport
temiroff b74562c
Merge Shadow Hand frame budget docs into Cosmos camera
temiroff 66f0a62
Leave the episode budget out of the Cosmos prompt example
temiroff 0fba320
Explain which canvas the Cosmos warmup compiles
temiroff ea78168
Default the Cosmos control to depth
temiroff fab989a
Name the replaced Cosmos frame-budget default in the changelog
temiroff a5c6e14
Merge service review fixes into Cosmos transport
temiroff 9c3e185
Merge service review fixes into Cosmos camera
temiroff ded12b3
Capture every step in the Shadow Hand Cosmos presets
temiroff 6242a76
Remove the Cosmos server's episode length cap
temiroff 69f3f18
Merge branch 'atemirov/review-service-publish' into atemirov/review-t…
temiroff 49f8abf
Drop the removed episode cap from the transport test service
temiroff 4f1752d
Merge service cap removal into Cosmos camera
temiroff 1f44b41
Remove the episode cap from the Cosmos camera client
temiroff ef35574
Describe per-view frame budgets in the batch length comment
temiroff ceef4b8
Merge service comment fix into Cosmos transport
temiroff 1d267d9
Merge service comment fix into Cosmos camera
temiroff 9ad89a9
Share Cosmos CUDA IPC buffers between peer GPUs
temiroff 2462bf0
Mention peer GPUs in the Cosmos transport option help
temiroff 33e1f47
Wrap a long line in the Cosmos transport docs
temiroff 0c35890
Split a Cosmos camera's environments across several services
temiroff 559af38
Import Cosmos CUDA IPC events on the waiting GPU
temiroff f387e2a
Merge branch 'atemirov/cosmos-gpu-peer' into atemirov/cosmos-multi-gpu
temiroff 09656da
Check that restart seeds reach the Cosmos generation iterator
temiroff 0a180fc
Count Cosmos episode frames in one helper that matches the environmen…
temiroff 45906ae
Merge Cosmos frame budget helper and seeds test into Cosmos transport
temiroff c00f7b6
Describe both Cosmos stream input kinds in the service protocol
temiroff 5067e8a
Use CUDA IPC in auto only for a Cosmos service on this machine
temiroff 55f239d
Merge frame budget helper, stream types, and host check into Cosmos c…
temiroff 4b0e635
Size the --cosmos frame budget with the shared episode helper
temiroff aaaa4a3
Say that feature extraction only distinguishes one image update frame…
temiroff 439e85d
Merge frame budget helper, stream types, and host check into Cosmos p…
temiroff e054461
Select the Cosmos peer GPU test's service device through the test dev…
temiroff f67abe2
Merge frame budget helper, host check, and peer test devices into Cos…
temiroff c6633e8
Let each Cosmos IPC process own the buffer it writes and free it only…
temiroff f02dfc9
Replace a Cosmos Unix socket file only when nothing listens on it
temiroff 647f0a4
Merge IPC buffer ownership and socket replacement fixes into Cosmos c…
temiroff de67a3a
Merge IPC buffer ownership and socket replacement fixes into Cosmos p…
temiroff 1d4ab49
Keep Cosmos protocol version 2 for sessions on peer GPUs
temiroff 0c063da
Merge IPC buffer ownership, socket replacement, and protocol fixes in…
temiroff c29648d
Update the sharded failure comment and the release test for direct st…
temiroff 1ea0e97
Format the Cosmos peer GPU test module
temiroff 5496ade
Merge peer GPU test formatting into Cosmos multi-GPU
temiroff 76a90e7
Merge exp/cosmos after the Cosmos service PR
temiroff 2353acc
Merge exp/cosmos after the Cosmos service PR
temiroff 0380386
Merge exp/cosmos after the Cosmos service PR
temiroff a22a7ef
Merge exp/cosmos after the Cosmos service PR
temiroff ecdb49f
Read Cosmos prompts from text and JSON files
temiroff 9d07039
Serialize structured JSON prompt captions once
temiroff f447268
Keep the merged Cosmos session changelog fragments unchanged
temiroff a94e5d4
Merge the camera changelog fix
temiroff 20570e9
Merge the camera changelog fix
temiroff 4c346e9
Merge the camera changelog fix
temiroff 452d4e7
Share one Cosmos session across several cameras
temiroff 6c5656a
Keep Cosmos IPC buffers until release is confirmed
temiroff 87e038c
Merge the transport review fixes
temiroff 32d23fe
Merge the transport review fixes
temiroff 4376b88
Merge the transport review fixes
temiroff 87ebadf
Merge the transport review fixes
temiroff 2ff5c34
Merge the transport review fixes
temiroff 6d9b0a3
Accept comma-separated Cosmos camera names
temiroff e781b80
Correct the Cosmos docs on view-count changes and reset-free clips
temiroff b9e458f
Merge the Cosmos doc corrections
temiroff 5ad7f31
Merge the Cosmos doc corrections
temiroff 3b63142
Merge the Cosmos doc corrections
temiroff 7ec4b7c
Merge the Cosmos doc corrections
temiroff 13e7bd3
Name the command-line form of the Cosmos camera overrides
temiroff 97a4115
Merge the camera branch's command-line override wording
temiroff 2aa2c8f
Merge the peer-GPU branch's command-line override wording
temiroff 7b8e9cd
Merge the multi-GPU branch's command-line override wording
temiroff d64ed96
Merge the camera branch's command-line override wording
temiroff 19835cf
Explain why the blur control accepts arrays and device tensors
temiroff 5f03dc5
Remove the unused blur control from the Cosmos service
temiroff ec5fc69
Merge the blur removal into the Cosmos transport PR
temiroff 96e704d
Merge the transport PR and remove the blur control from the camera in…
temiroff 865def1
Merge the camera PR and remove the blur control from the GPU peer tra…
temiroff c0660b6
Merge the GPU peer PR and remove the blur control from the multi-GPU …
temiroff e9805d8
Merge the multi-GPU PR and remove the blur control from the multi-cam…
temiroff c0c47d2
Escape the control choices in the Cosmos options table
temiroff d1d803d
Escape the control choices in the Cosmos options table
temiroff b4e3682
Escape the control choices in the Cosmos options table
temiroff 99772fe
Escape the control choices in the Cosmos options table
temiroff 7a72dfe
Merge branch 'wip/camera-fix' into wip/prompt-fix
temiroff a859a07
Record the blur removal in a new changelog fragment
temiroff 47894ba
Merge branch 'wip/transport-fix' into wip/camera-fix
temiroff 832f1cf
Merge branch 'wip/camera-fix' into wip/gpu-peer-fix
temiroff 8765351
Merge branch 'wip/gpu-peer-fix' into wip/multi-gpu-fix
temiroff e23cd15
Merge branch 'wip/camera-fix' into wip/prompt-fix
temiroff c2151a5
Merge the multi-GPU PR with the changelog fix
temiroff 30b1166
Merge the prompt files PR with the multi-camera session
temiroff 3c451d4
Add the Cosmos 3 Transfer Shadow Hand quick start
temiroff bee69bd
Register the causal model aliases in setup instead of vendoring a patch
temiroff 19ec660
Reduce the Cosmos quick start to the built-in commands
temiroff 78ba025
Explain the Isaac Lab options in the Cosmos Shadow Hand README
temiroff 901baac
Set the Cosmos options in a config file instead of command-line flags
temiroff c6acd06
Merge the camera PR and set the GPU peer transport in the Cosmos config
temiroff dbb7e4f
Merge the GPU peer PR and list the service endpoints in the Cosmos co…
temiroff 8b44bc3
Merge the multi-GPU PR and name the shared cameras in the Cosmos config
temiroff a2da33d
Merge the camera PR and read prompt files from the Cosmos config
temiroff 6b1c326
Merge the multi-camera PR with the Cosmos config file
temiroff fb764fe
Merge the prompt files PR with the Cosmos config file
temiroff 1168fef
Use the Cosmos config file in the Shadow Hand README
temiroff 1264134
Remove the GPU requirement and the checkpoint link from the Cosmos RE…
temiroff faf7ca8
Add an example Cosmos config for the Shadow Hand task
temiroff 4118fed
Configure Cosmos through presets and overrides instead of command-lin…
temiroff 4c140db
Merge branch 'wip/camera-fix' into wip/gpu-peer-fix
temiroff f2985d2
Set the peer GPU transport with an override
temiroff 75ea52e
Merge the GPU peer PR and set the service endpoints with an override
temiroff 63b1c01
Merge the multi-GPU PR and pass the shared cameras to apply_cosmos
temiroff 5771461
Merge the camera PR and keep prompt files as a helper for configurations
temiroff 5cf39a9
Merge the multi-camera PR with the override-based Cosmos options
temiroff e0cf304
Merge the prompt files PR
temiroff b73d101
Use Isaac Lab overrides for the Cosmos options in the Shadow Hand README
temiroff 9410613
Keep the recorded Shadow Hand clip free of mid-episode resets
temiroff b83349c
Remove the unused existing-camera update path and trim the apply_cosm…
temiroff 8403637
Merge branch 'wip/camera-fix' into wip/gpu-peer-fix
temiroff 69ab790
Merge the camera PR and state when the peer GPU transport is rejected
temiroff cc258b9
Merge the GPU peer PR and remove the unused sharded transport property
temiroff 2c6ad85
Merge the multi-GPU PR, check every shared camera renders synchronous…
temiroff 5178a18
Merge branch 'wip/camera-fix' into wip/prompt-fix
temiroff e67a809
Merge the camera PR, drop the bracketed prompt-file lists, and fix th…
temiroff dad1393
Merge branch 'wip/multi-camera-fix' into atemirov/cosmos-demo
temiroff eaaef3f
Merge branch 'wip/prompt-fix' into atemirov/cosmos-demo
temiroff 598f6e6
Split training from recording in the Cosmos README and define the che…
temiroff 099a28d
Identify the service's machine by boot ID only and trim repeated tran…
temiroff 8dc5e97
Reject misspelled override fields and say which Cosmos control the ch…
temiroff 6af0701
Merge branch 'wip/transport-fix' into wip/camera-fix
temiroff 49c8ba9
Merge the camera PR with the boot-ID transport check and trimmed tran…
temiroff c586ca2
Merge the GPU peer PR with the boot-ID transport check
temiroff e9d91af
Merge branch 'wip/multi-gpu-fix' into wip/multi-camera-fix
temiroff b0c72fc
Merge the multi-GPU PR and select shared cameras only by name
temiroff d1b42d1
Merge the camera PR with the boot-ID transport check and the override…
temiroff 3f0d280
Merge the updated Cosmos stack
temiroff 8034cc1
Merge the updated Cosmos stack
temiroff 7c706de
Say that misspelled overrides are rejected
temiroff 42cb5fa
Keep the Cosmos camera helpers and docs to depth control
temiroff ffd2501
Merge the camera PR with depth-only camera helpers
temiroff ece0477
Merge the GPU peer PR with depth-only camera helpers
temiroff 0315957
Merge the multi-GPU PR with depth-only camera helpers
temiroff 11a47d5
Merge the camera PR with depth-only camera helpers
temiroff 74a843b
Merge the updated Cosmos stack
temiroff 2bab5fe
Merge the updated Cosmos stack
temiroff f3b9cfe
Expose the Shadow Hand preset's Cosmos settings as env.cosmos
temiroff 71dce69
Merge the camera PR with env.cosmos
temiroff 99a98c7
Set the peer GPU transport with env.cosmos
temiroff c73eaf0
Merge the GPU peer PR with env.cosmos
temiroff 7c2d098
List the service endpoints with env.cosmos
temiroff 89ee6e2
Merge the camera PR with env.cosmos
temiroff e6cad13
Merge the multi-GPU PR with env.cosmos
temiroff 16fce14
Merge the updated Cosmos stack
temiroff e059d02
Merge the updated Cosmos stack
temiroff b09053e
Set the Cosmos prompts with env.cosmos in the README
temiroff db7bb4d
Use a misspelling codespell accepts in the override test
temiroff ff65e83
Merge the override test spelling fix
temiroff 2e34229
Merge the override test spelling fix
temiroff 5633c21
Merge the override test spelling fix
temiroff 4234635
Merge the override test spelling fix
temiroff a79503a
Merge the updated Cosmos stack
temiroff 2c10739
Merge the updated Cosmos stack
temiroff ed04a20
Point the contributing guide's pull request link at main, as on main
temiroff 8d9a7ed
Merge the contributing guide link fix
temiroff 14c6e2a
Merge the contributing guide link fix
temiroff 5d7beaf
Merge the contributing guide link fix
temiroff 7d30c7c
Merge the contributing guide link fix
temiroff 1abe13c
Merge the contributing guide link fix
temiroff dc68789
Merge the updated Cosmos stack
temiroff 09e3f77
Merge the updated Cosmos stack
temiroff 0bcf2f6
Keep env.cosmos working in derived configs, require depth after overr…
temiroff ddc3caa
Merge the camera PR review fixes
temiroff 00e39a8
Merge the GPU peer PR with the review fixes
temiroff 4a3d643
Merge the camera PR review fixes
temiroff bb08fce
Merge the camera PR review fixes and drop a stale test comment
temiroff aef22d0
Merge the multi-GPU PR with the review fixes
temiroff 7d7fb26
Say that several cameras are configured in code and share a session o…
temiroff 0422c16
Merge the updated Cosmos stack
temiroff f3d68fa
Merge the updated Cosmos stack
temiroff a0e286e
Scope the typo note to env.cosmos and qualify the default-history advice
temiroff ce79d26
Move the canvas crop into the Cosmos camera, its only user
temiroff 42523f9
Merge the updated Cosmos camera
temiroff 8b3f573
Merge the updated Cosmos camera
temiroff 08d983c
Merge the updated Cosmos camera
temiroff a41e243
Merge the updated Cosmos camera
temiroff 9f59ae6
Merge the updated Cosmos camera
temiroff 5d527d5
Merge the updated Cosmos camera
temiroff 8229a92
Keep only depth control for Cosmos and drop the modality setting
temiroff d698fd5
Merge the depth-only Cosmos service and drop the depth checks it make…
temiroff fb91ad3
Merge the depth-only Cosmos camera
temiroff 7cc9228
Merge the depth-only Cosmos camera
temiroff 6af7da2
Merge the depth-only Cosmos camera
temiroff 49fc9f2
Merge the depth-only Cosmos camera
temiroff 58103c7
Merge the depth-only Cosmos stack
temiroff 0146164
Merge the depth-only Cosmos stack
temiroff 81cc5e0
Skip the isaaclab_tasks changelog for the preset's removed modality a…
temiroff 5cb32ec
Merge the depth-only Cosmos changelog fragment
temiroff 393a836
Merge the depth-only Cosmos changelog fragment
temiroff 388ed96
Merge the depth-only Cosmos changelog fragment
temiroff 2e283f7
Merge the depth-only Cosmos changelog fragment
temiroff 50a81af
Merge the depth-only Cosmos changelog fragment
temiroff 01e6372
Merge the depth-only Cosmos changelog fragment
temiroff 57d5936
Merge the depth-only Cosmos changelog fragment
temiroff 60e4796
Drop list indexes from override paths, which only reached the Cosmos …
temiroff 7ccb26c
Merge override paths without list indexes
temiroff ee9cd7a
Merge override paths without list indexes
temiroff dee709a
Merge override paths without list indexes
temiroff 37b675e
Merge override paths without list indexes
temiroff e3c3467
Merge override paths without list indexes
temiroff 9f4de93
Merge override paths without list indexes
temiroff 373c45f
Use the task's environment count in apply_cosmos instead of a num_env…
temiroff 8d9824f
Merge apply_cosmos without a num_envs argument
temiroff c4be526
Merge apply_cosmos without a num_envs argument
temiroff c7ba951
Merge apply_cosmos without a num_envs argument
temiroff f63aa58
Merge apply_cosmos without a num_envs argument
temiroff c63cc01
Merge apply_cosmos without a num_envs argument
temiroff f0da5f4
Merge apply_cosmos without a num_envs argument
temiroff b3207c4
Add CosmosModelCfg.prompt_files so prompt files are set like any over…
temiroff 15b532c
Merge prompt files as their own field
temiroff 11ef3f3
Keep the Cosmos service's default history in the docs
temiroff f5b7872
Merge the default-history docs
temiroff 1c1763f
Merge the default-history docs
temiroff 8430854
Keep the Cosmos service's default history in the demo
temiroff e0abc0f
Merge the default-history docs
temiroff 2fc66db
Merge the default-history docs
temiroff b03cd4f
Merge the default-history docs
temiroff fd78cdd
Merge the default-history docs
temiroff File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| # Cosmos 3 Transfer on the Shadow Hand camera task | ||
|
|
||
| Isaac Lab renders the Shadow Hand camera's depth, Cosmos turns it into a realistic image, and the policy trains on that | ||
| image. Run the Cosmos service in one terminal and `isaaclab train` in another. These are the commands from | ||
| [Serving Cosmos](../../source/isaaclab_experimental/docs/cosmos_service.md) and | ||
| [Cosmos camera integration](../../source/isaaclab_experimental/docs/cosmos.md); see those pages for every option. | ||
|
|
||
| ## 1. Start the Cosmos service | ||
|
|
||
| In its own terminal, with the paths of your Isaac Lab checkout, the | ||
| [Cosmos Framework](https://github.com/NVIDIA/cosmos-framework) checkout and the checkpoint folder: | ||
|
|
||
| ```bash | ||
| export ISAAC_LAB_ROOT=/absolute/path/to/IsaacLab | ||
| export COSMOS_FRAMEWORK_ROOT=/absolute/path/to/cosmos-framework | ||
| export COSMOS_CHECKPOINT=/absolute/path/to/Cosmos3-Nano-Sim-Transfer | ||
|
|
||
| cd "$COSMOS_FRAMEWORK_ROOT" | ||
| uv sync --locked --all-extras --group=cu130-train | ||
| uv run --no-sync uv pip install --editable "$ISAAC_LAB_ROOT/source/isaaclab_experimental/isaaclab_experimental/cosmos" | ||
| uv run --no-sync hf download nvidia/Cosmos3-Nano-Sim-Transfer --local-dir "$COSMOS_CHECKPOINT" | ||
|
|
||
| export LD_LIBRARY_PATH= | ||
| uv run --no-sync isaaclab-cosmos-server --checkpoint "$COSMOS_CHECKPOINT" | ||
| ``` | ||
|
|
||
| The `uv sync`, `uv pip install`, and `hf download` commands are one-time setup. Wait for `Cosmos ready at ...`. | ||
| If two environments do not fit beside Isaac Sim, run the service on a GPU of its own with `--device cuda:1`. | ||
|
|
||
| ## 2. Train with Cosmos on the camera | ||
|
|
||
| In a second terminal: | ||
|
|
||
| ```bash | ||
| export ISAAC_LAB_ROOT=/absolute/path/to/IsaacLab | ||
| cd "$ISAAC_LAB_ROOT" | ||
| uv run isaaclab cosmos status # expect "ready": true and "session_active": false | ||
|
|
||
| uv run isaaclab train --task Isaac-Reorient-Cube-Shadow-Camera-Direct --rl_library rsl_rl --num_envs 2 \ | ||
| presets=cosmos \ | ||
| env.cosmos.prompt="['A close-up overhead view of a robotic Shadow Hand turning a red cube on a wooden workbench.', 'A close-up overhead view of a robotic Shadow Hand turning a blue cube in a bright white lab.']" | ||
| ``` | ||
|
|
||
| - `presets=cosmos` selects the task's Cosmos camera: depth goes to the service and the generated image replaces the | ||
| camera's `rgb`. | ||
| - `env.cosmos` holds the camera's Cosmos settings, set with ordinary Isaac Lab overrides. `env.cosmos.prompt` | ||
| describes the scene of each environment: with `--num_envs 2` the first prompt is environment 0 and the second is | ||
| environment 1. `env.cosmos.endpoint` and `env.cosmos.transport` work the same way; see the | ||
| [camera integration guide](../../source/isaaclab_experimental/docs/cosmos.md). A misspelled `env.cosmos` field stops | ||
| the run with an error naming it. | ||
|
|
||
| ## 3. Record a clip | ||
|
|
||
| The same training run, recording both environments side by side: | ||
|
|
||
| ```bash | ||
| uv run --extra video isaaclab train --task Isaac-Reorient-Cube-Shadow-Camera-Direct --rl_library rsl_rl --num_envs 2 \ | ||
| --max_iterations 20 \ | ||
| --viz newton_gl --video viz:newton_gl:streaming_view --video_length 600 \ | ||
| presets=cosmos env.fall_dist=1000.0 agent.init_at_random_ep_len=false \ | ||
| env.cosmos.prompt="['A close-up overhead view of a robotic Shadow Hand turning a red cube on a wooden workbench.', 'A close-up overhead view of a robotic Shadow Hand turning a blue cube in a bright white lab.']" | ||
| ``` | ||
|
|
||
| - `--viz newton_gl --video viz:newton_gl:streaming_view --video_length 600` records 600 steps (one episode) of the | ||
| generated images. The run prints the folder with the clip. Without a screen, for example over SSH, run | ||
| `unset DISPLAY` first. | ||
| - A reset shows black until the environment's next chunk. `env.fall_dist=1000.0` and | ||
| `agent.init_at_random_ep_len=false` keep the clip free of mid-episode resets: a dropped cube does not end the | ||
| episode, and both environments run to the time limit together. | ||
|
|
||
| Press Ctrl+C in the first terminal to stop the service. |
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
3 changes: 3 additions & 0 deletions
3
source/isaaclab_experimental/changelog.d/atemirov-cosmos-camera.added.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| * Added :func:`~isaaclab_experimental.cosmos.cosmos_camera` and :func:`~isaaclab_experimental.cosmos.apply_cosmos` | ||
| to put Cosmos on compatible RGB-only pinhole cameras at a Cosmos canvas with the same view and original output | ||
| size. ``apply_cosmos`` rejects a missing or busy service before the simulation is set up. |
Empty file.
3 changes: 3 additions & 0 deletions
3
source/isaaclab_experimental/changelog.d/atemirov-cosmos-gpu-peer.added.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| * Added CUDA IPC between GPUs for the Cosmos service: the service can run on another GPU of the same machine that | ||
| can access the camera's GPU directly, over NVLink or PCIe, and images still move without host copies. Both | ||
| processes must see both GPUs; ``auto`` uses the socket otherwise, and ``cuda_ipc`` fails instead. |
Empty file.
4 changes: 4 additions & 0 deletions
4
source/isaaclab_experimental/changelog.d/atemirov-cosmos-multi-camera.added.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| * Added :attr:`~isaaclab_experimental.cosmos.CosmosModelCfg.cameras` so several cameras share one Cosmos session: | ||
| each capture generates all their environments as one batch, and each camera publishes its own views at its own | ||
| output size. :func:`~isaaclab_experimental.cosmos.apply_cosmos` takes a list of camera names and renders them at one | ||
| canvas; :func:`~isaaclab_experimental.cosmos.cosmos_camera` takes the canvas to use. |
Empty file.
4 changes: 4 additions & 0 deletions
4
source/isaaclab_experimental/changelog.d/atemirov-cosmos-multi-gpu.added.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| * Added splitting a Cosmos camera's environments across several services, for example one per GPU: | ||
| :attr:`~isaaclab_experimental.cosmos.CosmosModelCfg.endpoint` takes a list, and the environments are split into | ||
| contiguous shares of near-equal size, one per service. Each step sends every service its share before waiting | ||
| for any reply, so the services generate at the same time. A failure on any service closes every session. |
Empty file.
4 changes: 4 additions & 0 deletions
4
source/isaaclab_experimental/changelog.d/atemirov-cosmos-prompt-files.added.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| * Added :attr:`~isaaclab_experimental.cosmos.CosmosModelCfg.prompt_files` and | ||
| :func:`~isaaclab_experimental.cosmos.read_prompt_files`, which read one Cosmos prompt per file: ``.txt`` text | ||
| without leading and trailing whitespace, and ``.json`` structured captions serialized once, keeping their | ||
| structure. Patterns expand in sorted order. Paths have their own field, so ``prompt`` is always text. |
Empty file.
11 changes: 11 additions & 0 deletions
11
source/isaaclab_experimental/changelog.d/atemirov-cosmos-transport.added.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| * Added a CUDA IPC transport to the Cosmos service: on the same Linux machine and GPU, controls and generated images | ||
| move between the camera and service through shared GPU memory, ordered by interprocess CUDA events, without | ||
| host copies for that transfer. The camera-side IPC handoff uses events; the service synchronizes its CUDA | ||
| stream before replying to report GPU faults. | ||
| :attr:`~isaaclab_experimental.cosmos.CosmosModelCfg.transport` selects ``auto`` (default), ``cuda_ipc`` or | ||
| ``socket``; ``auto`` uses CUDA IPC only when the service's ``status`` reports this machine's boot ID and the | ||
| camera's GPU. Each process allocates the buffer it writes and frees it only after the other process released | ||
| it. | ||
| * Added Unix socket endpoints (``unix:///path``) to the Cosmos service. On Linux the service and cameras default | ||
| to ``/tmp/isaaclab-cosmos-<uid>.sock``, which only the user can open; ``tcp://host:port`` remains available for | ||
| Isaac Lab on another machine. ``isaaclab-cosmos-server --endpoint`` replaces ``--host`` and ``--port``. |
5 changes: 5 additions & 0 deletions
5
source/isaaclab_experimental/changelog.d/atemirov-cosmos-transport.fixed.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| * Fixed delays of small Cosmos messages over TCP: each message was written in two parts without | ||
| ``TCP_NODELAY``, so it could wait 40 ms for a delayed acknowledgment. Messages are now written at once with | ||
| ``TCP_NODELAY`` on both ends. | ||
| * Fixed the Cosmos connection error to name the endpoint and how to start the server. | ||
| * Fixed CUDA IPC session setup leaking buffers and events when a later resource could not be created or opened. |
Empty file.
6 changes: 6 additions & 0 deletions
6
source/isaaclab_experimental/changelog.d/atemirov-cosmos-transport.removed.rst
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| * Removed the ``blur`` Cosmos control and ``blur_processor``, which no workflow used: the current Sim-Transfer | ||
| checkpoint is depth-trained, and blur was the only control the service had to copy between GPU and CPU. | ||
| * Removed the ``edge`` and ``seg`` Cosmos controls with their recipes and helpers (``edge_processor``, | ||
| ``regional_edge_processor``, ``segmentation_processor``, ``edge_control``, ``region_control``, | ||
| ``regional_edges``, ``RegionalEdgeControl``) and ``CosmosModelCfg.modality``: the checkpoint is depth-trained, | ||
| so Cosmos uses depth control only. The service protocol is now version 3. | ||
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we keep this information about edge, segment etc. This doesn't exist yet.