mani-skill-nightly 2025.7.27.104__py3-none-any.whl → 2025.8.1.229__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.

Potentially problematic release.


This version of mani-skill-nightly might be problematic. Click here for more details.

@@ -264,7 +264,16 @@ class BaseEnv(gym.Env):
264
264
  common.dict_merge(merged_gpu_sim_config, sim_config)
265
265
  self.sim_config = dacite.from_dict(data_class=SimConfig, data=merged_gpu_sim_config, config=dacite.Config(strict=True))
266
266
  """the final sim config after merging user overrides with the environment default"""
267
- physx.set_gpu_memory_config(**self.sim_config.gpu_memory_config.dict())
267
+ gpu_mem_config = self.sim_config.gpu_memory_config.dict()
268
+
269
+ # NOTE (stao): there isn't a easy way to check of collision_stack_size is supported for the installed sapien3 version
270
+ # to get around that we just try and except. To be removed once mac/windows platforms can upgrade to latest sapien versions
271
+ try:
272
+ physx.set_gpu_memory_config(**gpu_mem_config)
273
+ except TypeError:
274
+ gpu_mem_config.pop("collision_stack_size")
275
+ physx.set_gpu_memory_config(**gpu_mem_config)
276
+
268
277
  sapien.render.set_log_level(os.getenv("MS_RENDERER_LOG_LEVEL", "warn"))
269
278
 
270
279
  # Set simulation and control frequency
@@ -160,6 +160,7 @@ class ActorBuilder(SAPIENActorBuilder):
160
160
  component.cmass_local_pose = self._cmass_local_pose
161
161
  component.inertia = self._inertia
162
162
 
163
+ component.name = self.name
163
164
  return component
164
165
 
165
166
  def build_dynamic(self, name):
@@ -206,9 +206,6 @@ class PhysxRigidBodyComponentStruct(PhysxRigidBaseComponentStruct[T], Generic[T]
206
206
  @property
207
207
  def angular_velocity(self) -> torch.Tensor:
208
208
  if self.scene.gpu_sim_enabled:
209
- # NOTE (stao): Currently physx has a bug that sapien inherits where link bodies on the GPU put linear/angular velocities in the wrong order...
210
- if isinstance(self._objs[0], physx.PhysxArticulationLinkComponent):
211
- return self._body_data[self._body_data_index, 7:10]
212
209
  return self._body_data[self._body_data_index, 10:13]
213
210
  else:
214
211
  return torch.tensor(
@@ -263,9 +260,8 @@ class PhysxRigidBodyComponentStruct(PhysxRigidBaseComponentStruct[T], Generic[T]
263
260
  @property
264
261
  def linear_velocity(self) -> torch.Tensor:
265
262
  if self.scene.gpu_sim_enabled:
266
- # NOTE (stao): Currently physx has a bug that sapien inherits where link bodies on the GPU put linear/angular velocities in the wrong order...
267
- if isinstance(self._objs[0], physx.PhysxArticulationLinkComponent):
268
- return self._body_data[self._body_data_index, 10:13]
263
+ # NOTE (stao): SAPIEN version 3.0.0b1 gpu sim has a bug inherited from physx where linear/angular velocities are in the wrong order
264
+ # for link entities, namely 7:10 was angular velocity and 10:13 was linear velocity. SAPIEN 3.0.0 and above fixes this
269
265
  return self._body_data[self._body_data_index, 7:10]
270
266
  else:
271
267
  return torch.from_numpy(self._bodies[0].linear_velocity[None, :])
@@ -358,9 +354,6 @@ class PhysxRigidDynamicComponentStruct(PhysxRigidBodyComponentStruct[T], Generic
358
354
  @property
359
355
  def angular_velocity(self) -> torch.Tensor:
360
356
  if self.scene.gpu_sim_enabled:
361
- # NOTE (stao): Currently physx has a bug that sapien inherits where link bodies on the GPU put linear/angular velocities in the wrong order...
362
- if isinstance(self._objs[0], physx.PhysxArticulationLinkComponent):
363
- return self._body_data[self._body_data_index, 7:10]
364
357
  return self._body_data[self._body_data_index, 10:13]
365
358
  else:
366
359
  return torch.from_numpy(self._bodies[0].angular_velocity[None, :])
@@ -429,9 +422,6 @@ class PhysxRigidDynamicComponentStruct(PhysxRigidBodyComponentStruct[T], Generic
429
422
  @property
430
423
  def linear_velocity(self) -> torch.Tensor:
431
424
  if self.scene.gpu_sim_enabled:
432
- # NOTE (stao): Currently physx has a bug that sapien inherits where link bodies on the GPU put linear/angular velocities in the wrong order...
433
- if isinstance(self._objs[0], physx.PhysxArticulationLinkComponent):
434
- return self._body_data[self._body_data_index, 10:13]
435
425
  return self._body_data[self._body_data_index, 7:10]
436
426
  else:
437
427
  return torch.tensor(
@@ -27,6 +27,8 @@ class GPUMemoryConfig:
27
27
  ) # 262144 is SAPIEN default but most tasks work with 2**25
28
28
  found_lost_aggregate_pairs_capacity: int = 2**10
29
29
  total_aggregate_pairs_capacity: int = 2**10
30
+ collision_stack_size: int = 64 * 64 * 1024 # this is the same default as SAPIEN
31
+ """Increase this if you get 'Collision stack overflow detected'"""
30
32
 
31
33
  def dict(self):
32
34
  return {k: v for k, v in asdict(self).items()}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mani-skill-nightly
3
- Version: 2025.7.27.104
3
+ Version: 2025.8.1.229
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
@@ -27,7 +27,7 @@ Requires-Dist: tyro>=0.8.5
27
27
  Requires-Dist: huggingface-hub
28
28
  Requires-Dist: mplib==0.1.1; platform_system == "Linux"
29
29
  Requires-Dist: fast-kinematics==0.2.2; platform_system == "Linux"
30
- Requires-Dist: sapien>=3.0.0.b1; platform_system == "Linux"
30
+ Requires-Dist: sapien>=3.0.0; platform_system == "Linux"
31
31
  Requires-Dist: sapien>=3.0.0.b1; platform_system == "Windows"
32
32
  Provides-Extra: dev
33
33
  Requires-Dist: pytest; extra == "dev"
@@ -539,7 +539,7 @@ mani_skill/assets/robots/xarm7/meshes/visual/link7.glb,sha256=aZatACOv20VJbi2tOE
539
539
  mani_skill/assets/robots/xarm7/meshes/visual/link_base.glb,sha256=vcy2lN1V72jIsSDRT0ZKVskR_0pVOXtDvBkxO2GENWs,467668
540
540
  mani_skill/envs/__init__.py,sha256=YPlttBErTcf9vSnkZ54EQ8vTABSfFFrBdUY0AkF4vmg,43
541
541
  mani_skill/envs/minimal_template.py,sha256=9THHWA1vkHatptc9g5Ojh-UBUKWQmLHVeq4fcaqv2aY,2200
542
- mani_skill/envs/sapien_env.py,sha256=jjA3wjqjTeB7C4tUKZEE5vSAVf1qPcYw5ARD3ItybfA,75226
542
+ mani_skill/envs/sapien_env.py,sha256=uaRiPL6srGB3ZAGC791HiT8RYmDYhBxvOuDy7dwGags,75682
543
543
  mani_skill/envs/scene.py,sha256=4ZAIJs61fwPPhfDvc3v845sj_Ftsd1sSYaju10KnXbQ,48465
544
544
  mani_skill/envs/sim2real_env.py,sha256=3mkQX4TonE2pUC5_Atmx0IYDH2_v6GSwOPJvQMEvCNY,19214
545
545
  mani_skill/envs/template.py,sha256=0wnwKjnGOF7RvTR5Gz4VopaUiFxnIioXwmb4nPVxAs8,11939
@@ -722,7 +722,7 @@ mani_skill/utils/assets/__init__.py,sha256=gQVKwAczcImTXArSltBWKlSUUuguO12sZYO3J
722
722
  mani_skill/utils/assets/data.py,sha256=xEuibRoEPBDN_vEU-MM5UWf6VDb1omE6BfZKPvlMPdI,8807
723
723
  mani_skill/utils/building/__init__.py,sha256=quCI5WYGhzGLMVg_NDyYv2G_MxRTBL8R6XD4a6iY8qc,218
724
724
  mani_skill/utils/building/_mjcf_loader.py,sha256=SqzSoRootFvItHrzwrDuSHScePxbaPqWb7262M7HzIU,37011
725
- mani_skill/utils/building/actor_builder.py,sha256=BKfGpqsvwE1nTQqpMUiq36NQyLB6mga0OqYYnwR0fWw,14971
725
+ mani_skill/utils/building/actor_builder.py,sha256=WHaJKmN9FsIOPjUYnRrOsaD5jhWN_EnncOPOxE1lz-c,15006
726
726
  mani_skill/utils/building/articulation_builder.py,sha256=ubRJYjINo7XTQ9IfE45Ie3CZGl79rmzYi_Kpq86Czrs,8492
727
727
  mani_skill/utils/building/ground.py,sha256=YaVt9xQfsqG0GRjKWe0o1e7pdPzmN-PN8FQOdzdargU,4365
728
728
  mani_skill/utils/building/mjcf_loader.py,sha256=FY--8z4JWjDHCM6XYLSC8W14MHVywV0SzOTiHzWafbs,4452
@@ -802,13 +802,13 @@ mani_skill/utils/structs/__init__.py,sha256=BItR3Xe0z6xCrMHAEaH0AAAVyeonsQ3q-DJU
802
802
  mani_skill/utils/structs/actor.py,sha256=L0p6vkr8rGtJmF22xAq8Q7nhXKnDD5dahzODSAko0bg,17394
803
803
  mani_skill/utils/structs/articulation.py,sha256=QvWQsHdgCUCiGHVfUzZOeEqJ_OQsbi7CrxkCgjy3wyM,38491
804
804
  mani_skill/utils/structs/articulation_joint.py,sha256=xDQkCAXM3XZ56YgFqLwH5Ec8aFqhR5BqMSvDYCS0bzw,12972
805
- mani_skill/utils/structs/base.py,sha256=meGQK5Y4KtHKLnp9VeOZS2gtwg9tE55whuEeqOguBaI,19465
805
+ mani_skill/utils/structs/base.py,sha256=R3L8s3acMUmzQTeP5iYISHp3CXVeJFg1Nml8wF0Zm40,18526
806
806
  mani_skill/utils/structs/decorators.py,sha256=Lv6wQ989dOnreo2tB-qopDnkeBp_jsn1pmfUR-OY8VQ,535
807
807
  mani_skill/utils/structs/drive.py,sha256=UPQDkGbXS-CMRsZ1MHCb9s1vfAo5nqsywF83wKBVzSY,7505
808
808
  mani_skill/utils/structs/link.py,sha256=Syq2_PSwmQGj1KOkmRjmDETIus_SR6qXorc2mnsDq38,13792
809
809
  mani_skill/utils/structs/pose.py,sha256=76Sjrs-y3f8YhnuqMZNih-NxcnhnfomIbnNW1SWqK6A,11938
810
810
  mani_skill/utils/structs/render_camera.py,sha256=cNdi_DMsrHDqO-vHjwEIMVFxVvPHNTmVZe0sCQ1XMbI,12599
811
- mani_skill/utils/structs/types.py,sha256=eDezQSxtu8IyjIe4k6m8amQn7eYIuP9iLatXbr7FYH8,3810
811
+ mani_skill/utils/structs/types.py,sha256=XnrIjvv-W41iNDVkCzXdHXa7SogfZMLaKozK213zSJ8,3966
812
812
  mani_skill/utils/visualization/UbuntuSansMono-Regular.ttf,sha256=y_4ls2KucNhIA6CDNgSSAjUxGGSvLQqRrzacKfdpW-0,118780
813
813
  mani_skill/utils/visualization/__init__.py,sha256=0QF97UR8d7poMHo6m52DsAUXAmUb3SDr1B21bx33EEU,163
814
814
  mani_skill/utils/visualization/jupyter_utils.py,sha256=dXXUQz-rFTOV_Xq5yA6YE6cXg7DPw15YStw37NgB5Qc,1322
@@ -826,8 +826,8 @@ mani_skill/vector/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
826
826
  mani_skill/vector/wrappers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
827
827
  mani_skill/vector/wrappers/gymnasium.py,sha256=voHNmYg5Jyy-laMSC2Fd8VggQvhXw3NnfYLbD9QDXAc,7305
828
828
  mani_skill/vector/wrappers/sb3.py,sha256=SlXdiEPqcNHYMhJCzA29kBU6zK7DKTe1nc0L6Z3QQtY,4722
829
- mani_skill_nightly-2025.7.27.104.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
830
- mani_skill_nightly-2025.7.27.104.dist-info/METADATA,sha256=4hFvpXpBe32gKSjBcFIvT4UjJCORr8wxCvMeMuApQeg,9318
831
- mani_skill_nightly-2025.7.27.104.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
832
- mani_skill_nightly-2025.7.27.104.dist-info/top_level.txt,sha256=bkBgOVl_MZMoQx2aRFsSFEYlZLxjWlip5vtJ39FB3jA,11
833
- mani_skill_nightly-2025.7.27.104.dist-info/RECORD,,
829
+ mani_skill_nightly-2025.8.1.229.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
830
+ mani_skill_nightly-2025.8.1.229.dist-info/METADATA,sha256=hvtmxCMssOwGhFzznHugJZwYMCMvtyPz0X-XTYMxFd4,9314
831
+ mani_skill_nightly-2025.8.1.229.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
832
+ mani_skill_nightly-2025.8.1.229.dist-info/top_level.txt,sha256=bkBgOVl_MZMoQx2aRFsSFEYlZLxjWlip5vtJ39FB3jA,11
833
+ mani_skill_nightly-2025.8.1.229.dist-info/RECORD,,