Gym cuda error: invalid resource handle
*** Warning: failed to preload CUDA lib *** Warning: failed to preload PhysX libs Importing module 'gym_38' (/home/jqr/robot/isaacgym/python/isaacgym/_bindings/linux-x86_64/gym_38.so) Setting GYM_USD_PLUG_INFO_PATH to /home/jqr/robot/isaacgym/python/isaacgym/_bindings/linux-x86_64/usd/plugInfo.json PyTorch version 2.4.1+cu121 Device count 1 /home/jqr/robot/isaacgym/python/isaacgym/_bindings/src/gymtorch Using /home/jqr/.cache/torch_extensions/py38_cu121 as PyTorch extensions root... Emitting ninja build file /home/jqr/.cache/torch_extensions/py38_cu121/gymtorch/build.ninja... Building extension module gymtorch... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) ninja: no work to do. Loading extension module gymtorch... Setting seed: 1 Not connected to PVD /buildAgent/work/99bede84aa0a52c2/source/physx/src/gpu/PxPhysXGpuModuleLoader.cpp (148) : internal error : libcuda.so!
[Warning] [carb.gym.plugin] Failed to create a PhysX CUDA Context Manager. Falling back to CPU.
Physics Engine: PhysX
Physics Device: cpu
GPU Pipeline: disabled
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
/home/jqr/miniconda3/envs/unitree-rl/lib/python3.8/site-packages/torch/functional.py:513: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3609.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
[Error] [carb.gym.plugin] Gym cuda error: invalid resource handle: ../../../source/plugins/carb/gym/impl/Gym/GymPhysX.cpp: 6137
[Error] [carb.gym.plugin] Must enable GPU pipeline to use state tensors
Traceback (most recent call last):
File "legged_gym/scripts/train.py", line 18, in TORCH_USE_CUDA_DSA to enable device-side assertions.
(unitree-rl2) jqr@ty:~/robot/unitree_rl_gym$ python legged_gym/scripts/train.py --task=g1
Importing module 'gym_38' (/home/jqr/robot/isaacgym/python/isaacgym/_bindings/linux-x86_64/gym_38.so)
Setting GYM_USD_PLUG_INFO_PATH to /home/jqr/robot/isaacgym/python/isaacgym/_bindings/linux-x86_64/usd/plugInfo.json
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda-12.1'
PyTorch version 2.3.1
Device count 1
/home/jqr/robot/isaacgym/python/isaacgym/_bindings/src/gymtorch
Using /home/jqr/.cache/torch_extensions/py38_cu121 as PyTorch extensions root...
Emitting ninja build file /home/jqr/.cache/torch_extensions/py38_cu121/gymtorch/build.ninja...
Building extension module gymtorch...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
ninja: no work to do.
Loading extension module gymtorch...
Setting seed: 1
Traceback (most recent call last):
File "legged_gym/scripts/train.py", line 18, in
hello,could you tell if you have solved this question?if it is, can you tell me how to solve it?