Skip to content

Error when Starting via Pinokio: AssertionError: Torch not compiled with CUDA enabled #1060

Description

@ShelbyGT2112

Running Win11Pro w/RTX 5090, CUDA v13.0

I installed Wan 2.1 via Pinokio. When I go and click "Start", I do not get the UI. Rather, I get the following message...


Start View File
(1/2) shell.run
{"venv":"env","env":{"SERVER_NAME":"127.0.0.1","SERVER_PORT":42003},"path":"app","message":["python wgp.py --multiple-images "],"on":[{"event":"/http://[0-9.:]+/","done":true}]}
ERROR
Microsoft Windows [Version 10.0.26100.6899]
(c) Microsoft Corporation. All rights reserved.

C:\pinokio\api\wan.git\app>conda_hook && conda deactivate && conda deactivate && conda deactivate && conda activate base && C:\pinokio\api\wan.git\app\env\Scripts\activate C:\pinokio\api\wan.git\app\env && python wgp.py --multiple-images
Traceback (most recent call last):
File "C:\pinokio\api\wan.git\app\wgp.py", line 39, in
from shared.attention import get_attention_modes, get_supported_attention_modes
File "C:\pinokio\api\wan.git\app\shared\attention.py", line 8, in
major, minor = torch.cuda.get_device_capability(None)
File "C:\pinokio\api\wan.git\app\env\lib\site-packages\torch\cuda_init_.py", line 598, in get_device_capability
prop = get_device_properties(device)
File "C:\pinokio\api\wan.git\app\env\lib\site-packages\torch\cuda_init_.py", line 614, in get_device_properties
_lazy_init() # will define get_device_properties
File "C:\pinokio\api\wan.git\app\env\lib\site-packages\torch\cuda_init
.py", line 403, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

(env) (base) C:\pinokio\api\wan.git\app>


When I try the Installation instructions via the github page, I run into a problem at Step 2: Install PyTorch.

pip install torch==2.8.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu13
Looking in indexes: https://download.pytorch.org/whl/test/cu13
ERROR: Could not find a version that satisfies the requirement torch==2.8.0 (from versions: none)
ERROR: No matching distribution found for torch==2.8.0


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions