Summary
Physim Lab 1 fails on AMD/ROCm when genesis-world==0.4.5 is used.
Reproduction
In the Physim image, the following sequence reproduces the failure on AMD GPUs:
gs.init(backend=gs.amdgpu, theme=\"light\") succeeds
scene = gs.Scene(show_viewer=False) succeeds
scene.build() fails
Observed errors
With genesis-world==0.4.5:
ModuleNotFoundError: No module named 'cuda'
- After installing
cuda-python, scene.build() still fails with:
TypeError: unsupported operand type(s) for /=: 'NoneType' and 'float'
Traceback points to genesis/engine/solvers/rigid/rigid_solver.py, where cuda.bindings.runtime is queried during scene.build().
Validation
- The same Physim pod works with:
torch==2.9.1+rocm7.11.0
torchvision==0.24.0+rocm7.11.0
torchaudio==2.9.0+rocm7.11.0
- Downgrading only
genesis-world from 0.4.5 to 0.4.3 makes scene.build() succeed.
Upstream context
Current workaround
Pin Physim to genesis-world==0.4.3 until an upstream Genesis release includes the fix from PR #2664.
Follow-up
- Track the first upstream Genesis release that includes PR #2664
- Re-test Physim on AMD/ROCm when that release is available
- Remove the temporary
0.4.3 pin after validation
Summary
Physim Lab 1 fails on AMD/ROCm when
genesis-world==0.4.5is used.Reproduction
In the Physim image, the following sequence reproduces the failure on AMD GPUs:
gs.init(backend=gs.amdgpu, theme=\"light\")succeedsscene = gs.Scene(show_viewer=False)succeedsscene.build()failsObserved errors
With
genesis-world==0.4.5:ModuleNotFoundError: No module named 'cuda'cuda-python,scene.build()still fails with:TypeError: unsupported operand type(s) for /=: 'NoneType' and 'float'Traceback points to
genesis/engine/solvers/rigid/rigid_solver.py, wherecuda.bindings.runtimeis queried duringscene.build().Validation
torch==2.9.1+rocm7.11.0torchvision==0.24.0+rocm7.11.0torchaudio==2.9.0+rocm7.11.0genesis-worldfrom0.4.5to0.4.3makesscene.build()succeed.Upstream context
Current workaround
Pin Physim to
genesis-world==0.4.3until an upstream Genesis release includes the fix from PR #2664.Follow-up
0.4.3pin after validation