Hi! I’m wondering how important it is to import isaac-gym before torch. I’m trying to use it with ray[rllib], which has a
register_env() function that get’s called multiple times deep in the weeds by rollout workers and unfortunately by the time it creates these envs internally, torch is already loaded, resulting in the below error:
File "/home/code/isaacgym/python/isaacgym/gymdeps.py", line 21, in _import_deps (pid=151175) raise ImportError("PyTorch was imported before isaacgym modules. Please import torch after isaacgym modules.")
Any suggestions how I can make sure isaac-gym is imported before, even with more involved libraries and env-factories?
And thanks so much for this great simulator!