You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description
I have noticed that when running the program, the CPU usage reaches 100%, while the GPU (NVIDIA GeForce RTX 3060) only uses 1.2GB of memory. Despite specifying the device as cuda:0 in the command, it seems that the program is still utilizing the CPU for computation.
Environment Information
Operating System: Windows 11
Python Version: 3.x (please replace with the actual version)
Running Environment: Using a virtual environment (e.g., Anaconda) Solutions Attempted
Ensured that the device is correctly specified as cuda:0.
Verified that CUDA and PyTorch are properly installed.
I am a beginner in federated learning and would appreciate any further suggestions or possible solutions. Thank you!
The text was updated successfully, but these errors were encountered:
I haven't tested the code in Windows, and I'm not familiar with running pytorch on Windows. I'm not sure whether cuda:0 is your 3060 GPU. Maybe you can try cuda:1. Also, you may check whether there is a clear difference on the GPU memory usage before and after running the program. Our code still performs some computations on CPUs and high CPU utilization may be normal.
Issue Description
I have noticed that when running the program, the CPU usage reaches 100%, while the GPU (NVIDIA GeForce RTX 3060) only uses 1.2GB of memory. Despite specifying the device as cuda:0 in the command, it seems that the program is still utilizing the CPU for computation.
Environment Information
Operating System: Windows 11
Python Version: 3.x (please replace with the actual version)
Running Environment: Using a virtual environment (e.g., Anaconda)
Solutions Attempted
Ensured that the device is correctly specified as cuda:0.
Verified that CUDA and PyTorch are properly installed.
I am a beginner in federated learning and would appreciate any further suggestions or possible solutions. Thank you!
The text was updated successfully, but these errors were encountered: