Skip to content

Instantly share code, notes, and snippets.

@rhaleblian
Last active June 9, 2026 16:57
Show Gist options
  • Select an option

  • Save rhaleblian/97a234de67f0a9430e759b59f4ca4fc6 to your computer and use it in GitHub Desktop.

Select an option

Save rhaleblian/97a234de67f0a9430e759b59f4ca4fc6 to your computer and use it in GitHub Desktop.
ComfyUI: Assuring a CUDA-enabled pytorch
# Problem: ComfyUI doesn't see your NVIDIA hardware.
# Say you are using `uv`:
uv pip install -r requirements --extra-index-url https://download.pytorch.org/whl/cu132
# where you match the suffixed number with your CUDA version:
nvidia-smi
# A flavor of this will work in non-uv cases (conda, venv) too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment