Repository navigation
fix(runtime): honor host-bridge manager Torch devices - #2084
Merged
Merged
Conversation
Collaborator
Author
|
CI link for the current head: https://github.com/Motphys/UniLab/actions/runs/37776382218 |
TATP-233
force-pushed
the
fix/host-bridge-manager-tensors
branch
from
October 8, 2026 12:24
9551cb2 to
fa89b76
Compare
Collaborator
Author
|
Final-head CI for |
Collaborator
Author
|
Correction: final-head CI run is https://github.com/Motphys/UniLab/actions/runs/37776693104 for |
TATP-233
force-pushed
the
fix/host-bridge-manager-tensors
branch
from
October 8, 2026 12:35
fa89b76 to
c3e0d59
Compare
Collaborator
Author
|
Current-head CI for |
TATP-233
force-pushed
the
fix/host-bridge-manager-tensors
branch
from
October 8, 2026 12:47
c3e0d59 to
ae7396b
Compare
Collaborator
Author
|
Current-head CI for |
Collaborator
Author
|
Current-head CI passed: https://github.com/Motphys/UniLab/actions/runs/37779358883. Current-head Docs passed: https://github.com/Motphys/UniLab/actions/runs/37779358609. |
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.
Summary
ManagerBasedRlEnv/TorchEnv placement from the backend's declaredHOST_BRIDGETorch-device capability. A capable host bridge now uses the current GPU (including ROCm PyTorch'scudanamespace); CPU-only capabilities stay on CPU even when a GPU is visible.DrakeEnvPool batch extensionwording emitted by this UniSim profile.CPU-authoritative physics is unchanged. This affects MuJoCo/Motrix/Drake/SuperDex host-bridge execution on Linux CUDA/ROCm and CPU; device-resident backends retain their existing CUDA-only lifecycle.
Linked Work
mainValidation
make test-allpassed on the final local head before this PR was created or updatedCommands actually run:
Final local result:
make check: passed (ruff format,ruff check,mypy,pyright, focused test lint).make test-all: passed (1854 passed, 17 skipped, 489 deselected, benchmark smoke imports 34/34 module-mode and 35/35 script-mode).Remote CI route:
main: current-head remote CI requested below; status will be recorded after it reports.Impact
mujoco/motrix/drake/superdex(HOST_BRIDGE only; device-resident paths unchanged)Artifacts
make test-all)Checklist
No unresolved follow-up is known. The remote CUDA/ROCm-specific hardware coverage remains dependent on CI runners.