Closed Ma-Weijian closed 2 years ago
Hello @Ma-Weijian
Thank you for trying WarpDrive and we are glad to hear you like it. Regarding this error, it is most likely caused by some bug from the latest version of pytorch (e.g., version 1.11.0), and we can reproduce your error as well
File "/warp_drive/lib/python3.7/site-packages/torch/autograd/__init__.py", line 175, in backward
allow_unreachable=True, accumulate_grad=True) # Calls into the C++ engine to run the backward pass
Since in our installation requirements, torch >= 1.9, you might therefore have installed the latest 1.11 version that seems to have this issue in the backward() function. I suggest you downgrade torch to version 1.9.0 and that should solve your problem. We will also update the requirements soon.
Please let us know if this can resolve your problem. Thank you.
Regards,
Hi, @Emerald01 thanks for the solution, I changed my pytorch version into 1.10 and it works.
It seems that the official pytorch installation guide of version 1.9 is faulty and my rtx 3090 is not supported.
Anyway, as pytorch has changed their mainstream version into 1.11, I think you'd better check the reason for this pytorch error if you have time.
Thanks and best regards.
Hello WarpDrive Team,
A good MARL library indeed. I have tried this library on an old machine and it works fine.
However, when I moved to a new machine, I met the following error.
And my nvidia-smi command looks like this.
The result of running run_unittest.py looks like this.
As the unit tests have passed, I think the cuda version mismatch may not be an issue.
Also, as there are many other environments on this machine, I wonder if there exists a solution to change my environment as little as possible.
So what can I do to fix this issue? Any idea helps.
Many thanks!