-
Notifications
You must be signed in to change notification settings - Fork 23
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
Is there any modification that is required to be done in the program to make it run on GPU ? #12
Comments
Hi @Deepika1498 My best bet is to install conda and follow the pytorch installation for "windows + conda + CUDA": |
Hi @Deepika1498, There is no need to make any modifications to the I think @YHRen is correct and your pytorch got installed without the CUDA support. Unfortunately, I do not have a Windows machine to test the exact fix procedure, but I think I would to the following to solve the problem:
python -c 'import torch; print(torch.cuda.is_available())' If the output is
conda install tqdm pillow pandas
|
I am running the code on VS code with i7 CPU and getting the following output and in the last process is killed How can i fix this /usr/local/lib/python3.10/dist-packages/torch/functional.py:504: 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:3483.) |
Hi @hrituraj-hr,
It looks like an Out of Memory (OOM) situation to me, but it is hard to tell from the log itself. We could try to diagnose the situation if you like. For that, I would need to ask a few questions about your system, starting with what is your operating system (OS) is? Which script are you trying to run? Whether you have a GPU? And how much RAM do you have? |
My laptop has GPU but the program is still running on CPU . Could you please help me solve this? My laptop configuration is attached in the pictures below.
![hw1](https://user-images.githubusercontent.com/60127339/207500232-f04a3834-5443-4062-8c13-c3ebf22b846d.PNG)
![hw2](https://user-images.githubusercontent.com/60127339/207500237-ff917e47-db28-47ce-a5a3-f443bd05a10a.PNG)
The text was updated successfully, but these errors were encountered: