-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARM (and YARR) conflicts with current RLBench (1.2.0) #8
Comments
Hi Alexander! I have the same problem. Were you able to fix it?. I have another error about "CUDA out of memory", does anyone know which are the hardware requirements? |
I encountered the "RuntimeError: Attempted to send CUDA tensor received from another process; this is not currently supported. Consider cloning before sending." problem as well. I think this is because some of the items in summaries are cuda tensors. I solve this error by converting them to numpy arrays. |
@jianingq Hi, jianingq. I also meet this problem. I would be grateful if you can provide details of your solution. |
So I think the error message happens when it collects new transitions. So double check elements in the summaries and make sure they are on cpu instead of gpu. For example, I changed ARM/arm/custom_rlbench_env.py line 123 from action = act_result.action to action = act_result.action.cpu().numpy() |
Thank you so much! It helps me solve the problem. |
@weixiang-smart @jianingq , I modify |
The error happens when collecting new transitions, so it is not about the training process. Therefore, for example, consider a BCAgent, I check the code again and find that the error seems to be related with this line. I modify this line into |
I met this kind of issues too even with '.cpu().numpy()', might be somewhere else that I forget to change?
|
@yananliusdu you can try the above method |
Hi,
can you help me and tell me which rlbench and yarr versions/tags are compatible with each other?
For most of the problems I believe that pytorch is the issue and I don't find in any requirements.txt which one you use to make things work.
I observe this error
I pulled the current version of RLbench and YARR and did a re-install of all packages in a new conda environment.
I am wondering if you use a different torch version that can handle tensor to numpy automatically better.
Currently I fixed this by adding .cpu() in a few files
YARR
(Side note: Also observe that with the recent changes in folder structure in RLbench I changed the import for ActionMode.)
RLBench
I believe that the error comes from a change somewhere else though, or that you use a torch version that can deal with this? Can you please help me? I don't know which pyorch version you are using. It is missing in the requirements.txt. I installed pytorch with conda.
conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
An error that I am unable to fix is this one
Do you have advice? It seems to me like pytorch is the issue for most of the problems I mentioned.
using: Python 3.9.12
The text was updated successfully, but these errors were encountered: