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
Activated the virtual environment and ran ilab serve:
cd C:\Users\hamza\Desktop\MeowVC\instructlab
.\venv\Scripts\Activate
ilab serve
Monitored GPU Utilization:
Ran nvidia-smi -l 5 to monitor GPU utilization.
Despite these efforts, the model only uses the CPU. The GPU utilization remains at 0% according to nvidia-smi.
Additional Information:
NVIDIA Driver Version: 555.85
PyTorch Version: 2.3.1+cu121
I would greatly appreciate any guidance or suggestions to resolve this issue. Has anyone successfully run InstructLab with GPU utilization on a similar setup? Are there any specific configurations or steps I might be missing?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm trying to get InstructLab to utilize my GPU, but so far, it's only using the CPU. Here are the details of my setup and the steps I've taken:
System Configuration:
Steps Taken:
Installed CUDA and cuDNN:
bin,include, andlibdirectories to the corresponding CUDA directories.Verified CUDA Installation:
nvcc --versionto check the CUDA installation.Installed PyTorch with CUDA Support:
Verified GPU Access in PyTorch:
check_cuda.pyscript to verify that PyTorch can access the GPU:Updated InstructLab Configuration:
config.yamlto setgpu_layersfor GPU utilization:Served the Model:
ilab serve:Monitored GPU Utilization:
nvidia-smi -l 5to monitor GPU utilization.Despite these efforts, the model only uses the CPU. The GPU utilization remains at 0% according to
nvidia-smi.Additional Information:
I would greatly appreciate any guidance or suggestions to resolve this issue. Has anyone successfully run InstructLab with GPU utilization on a similar setup? Are there any specific configurations or steps I might be missing?
Thank you in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions