mani-skill-nightly 2025.6.15.2223__py3-none-any.whl → 2025.6.15.2226__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,21 +57,31 @@ def parse_sim_and_render_backend(sim_backend: str, render_backend: str) -> Backe
57
57
  else:
58
58
  raise ValueError(f"Invalid simulation backend: {sim_backend}")
59
59
 
60
- if platform.system() == "Darwin":
61
- render_device = sapien.Device("cpu")
62
- render_backend = "sapien_cpu"
63
- logger.warning(
64
- "Detected MacOS system, forcing render backend to be sapien_cpu and render device to be MacOS compatible."
65
- )
66
- elif render_backend == "sapien_cuda":
67
- render_device = sapien.Device("cuda")
68
- elif render_backend == "sapien_cpu":
69
- render_device = sapien.Device("cpu")
70
- elif render_backend[:4] == "cuda":
71
- render_device = sapien.Device(render_backend)
72
- else:
73
- # handle special cases such as for AMD gpus, render_backend must be defined as pci:... instead as cuda is not available.
74
- render_device = sapien.Device(render_backend)
60
+ try:
61
+ if platform.system() == "Darwin":
62
+ render_device = sapien.Device("cpu")
63
+ render_backend = "sapien_cpu"
64
+ logger.warning(
65
+ "Detected MacOS system, forcing render backend to be sapien_cpu and render device to be MacOS compatible."
66
+ )
67
+ elif render_backend == "sapien_cuda":
68
+ render_device = sapien.Device("cuda")
69
+ elif render_backend == "sapien_cpu":
70
+ render_device = sapien.Device("cpu")
71
+ elif render_backend[:4] == "cuda":
72
+ render_device = sapien.Device(render_backend)
73
+ else:
74
+ # handle special cases such as for AMD gpus, render_backend must be defined as pci:... instead as cuda is not available.
75
+ render_device = sapien.Device(render_backend)
76
+ except RuntimeError as e:
77
+ if str(e) == 'failed to find device "cuda"':
78
+ logger.warning(
79
+ f"Requested to use render device {render_backend}, but CUDA device was not found. Falling back to cpu device. Rendering might be disabled."
80
+ )
81
+ render_device = sapien.Device("cpu")
82
+ render_backend = "sapien_cpu"
83
+ else:
84
+ raise
75
85
  return BackendInfo(
76
86
  device=device,
77
87
  sim_device=sim_device,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mani-skill-nightly
3
- Version: 2025.6.15.2223
3
+ Version: 2025.6.15.2226
4
4
  Summary: ManiSkill3: A Unified Benchmark for Generalizable Manipulation Skills
5
5
  Home-page: https://github.com/haosulab/ManiSkill
6
6
  Author: ManiSkill contributors
@@ -636,7 +636,7 @@ mani_skill/envs/utils/randomization/pose.py,sha256=9PPg-QMorHVe3fV4e3T-BRYu0E_8I
636
636
  mani_skill/envs/utils/randomization/samplers.py,sha256=EOkF18mmDC7fA2hgj8QC2Ag0gnf4H-4MIjOCDvTMpCE,3665
637
637
  mani_skill/envs/utils/rewards/__init__.py,sha256=66MV5YCbnpF4ac_SvTVJ000RxM1AIsclX7OatiA-Wak,22
638
638
  mani_skill/envs/utils/rewards/common.py,sha256=1lfJNWG3x7UjarHLteLXa8DCzbe_L7nYBMOBo5D9CRQ,3647
639
- mani_skill/envs/utils/system/backend.py,sha256=f8eaCmaYcXGrNQuuDK2fYji-cHxyBB6PbxKlKo7W6gQ,2660
639
+ mani_skill/envs/utils/system/backend.py,sha256=E6vUq2QqUUbLndxDlv5B_Jkk_mRdKTybBLN0gOjVXwE,3133
640
640
  mani_skill/evaluation/__init__.py,sha256=PCMN6dc9zgFKuXTPmkAUEahP3XG65cKRLGMXrk5IeXY,33
641
641
  mani_skill/evaluation/evaluator.py,sha256=1EN6qAiGx3taB4vCeArUp33UZjLvBt1Ke6iUW8Z8aV0,4493
642
642
  mani_skill/evaluation/run_evaluation.py,sha256=yorphrlJKEGycHfQS8equnJHRsyjDuv77ZGNpg9wvCs,4780
@@ -824,8 +824,8 @@ mani_skill/vector/wrappers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
824
824
  mani_skill/vector/wrappers/gymnasium.py,sha256=0kNe_iquf8J3503obkbmCKNaYr5m3cPrC_hBZS0Nl9Y,7408
825
825
  mani_skill/vector/wrappers/sb3.py,sha256=SlXdiEPqcNHYMhJCzA29kBU6zK7DKTe1nc0L6Z3QQtY,4722
826
826
  mani_skill/viewer/__init__.py,sha256=srvDBsk4LQU75K2VIttrhiQ68p_ro7PSDqQRls2PY5c,1722
827
- mani_skill_nightly-2025.6.15.2223.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
828
- mani_skill_nightly-2025.6.15.2223.dist-info/METADATA,sha256=Pqmxr5pMUY9mIq10F0gW9GlI7aQc0GF78W7vlCUGaO0,9272
829
- mani_skill_nightly-2025.6.15.2223.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
830
- mani_skill_nightly-2025.6.15.2223.dist-info/top_level.txt,sha256=bkBgOVl_MZMoQx2aRFsSFEYlZLxjWlip5vtJ39FB3jA,11
831
- mani_skill_nightly-2025.6.15.2223.dist-info/RECORD,,
827
+ mani_skill_nightly-2025.6.15.2226.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
828
+ mani_skill_nightly-2025.6.15.2226.dist-info/METADATA,sha256=uTzXdbYN_PI0rEtbbSAY2V52zSzwGu3q7YMFBrJ2dZo,9272
829
+ mani_skill_nightly-2025.6.15.2226.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
830
+ mani_skill_nightly-2025.6.15.2226.dist-info/top_level.txt,sha256=bkBgOVl_MZMoQx2aRFsSFEYlZLxjWlip5vtJ39FB3jA,11
831
+ mani_skill_nightly-2025.6.15.2226.dist-info/RECORD,,