-
Notifications
You must be signed in to change notification settings - Fork 3
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
Having cuda error when applying custom features #2
Comments
I didn't meet this problem before. Could you try reducing the batch size to see if it is relevant to GPU memory? If not, could you try different number of GPUs to see if it is relevant to the number of GPUs? |
Thank you for quick response! I tried to reduce batch size to 4 but also didn't work. (I am using 8 Quadro RTX 8000 so I don't think the memory might cause the issue) Also, I tried to allocate different number of gpus like 1, 2, 4, 8 ... all returned same error. And assigning different gpus like (CUDA_VISIBLE_DEVICES=0,1,2,3 vs CUDA_VISIBLE_DEVICES=4,5,6,7) also didn't solved my problem :( |
Hi, @Sy-Zhang and team.
First of all, thank you for sharing your work!
I have a question using your code.
I am trying to use your model with my visual and text features (using clip)
For charades dataset, it worked well.
However for TACoS, the cuda error occurs as below
and when i pass CUDA_LAUNCH_BLOCKING=1,
I changed config file like below
this type of changing config also worked well on charades.
for loading a features, i am using code like this in
./lib/dataset/tacos.py
Also this code worked well when applying to charades.
the code snippet given in error code do not produce any problem
Is there any problem you might think that occurs?
as charades works well, I think it is not my gpu or system problem.
Thank you in advance!
The text was updated successfully, but these errors were encountered: