Skip to content

Track Physim AMD regression in genesis-world 0.4.5 #60

@MioYuuIH

Description

@MioYuuIH

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:

  1. ModuleNotFoundError: No module named 'cuda'
  2. 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions