0

Wan2GP: raise AssertionError("Torch not compiled with CUDA enabled")

@advika_123posted 7/9/2026, 11:37:50 PM·0 replies

App: Wan2GP (wan2gp-2)
Repo: https://github.com/shadowburn0/wan2gp
Generated: 2026-07-09T23:37:12.621Z
Pinokio: 8.0.0
Platform: win32 x64
Node: v22.21.1

Summary

System

{
  "pinokio": {
    "version": "8.0.0",
    "node": "v22.21.1",
    "platform": "win32",
    "arch": "x64"
  },
  "hardware": {
    "gpu": "intel corporation",
    "gpu_model": "intel(r) uhd graphics 630",
    "ram_gb": 4,
    "vram_gb": 1
  },
  "os": {
    "platform": "Windows",
    "distro": "Microsoft Windows 11 Home Single Language",
    "release": "10.0.21996",
    "codename": "Dev",
    "kernel": "10.0.21996",
    "arch": "x64",
    "build": "21996",
    "servicepack": "0.0",
    "uefi": true
  },
  "system": {
    "manufacturer": "LENOVO",
    "model": "10T8S6HL00",
    "version": "ThinkCentre M720q",
    "virtual": false
  },
  "cpu": {
    "manufacturer": "Intel",
    "brand": "Core™ i3-9100T",
    "vendor": "GenuineIntel",
    "family": "6",
    "model": "158",
    "stepping": "11",
    "speed": 3.1,
    "speedMin": 3.1,
    "speedMax": 3.1,
    "cores": 4,
    "physicalCores": 4,
    "processors": 1,
    "performanceCores": 4,
    "efficiencyCores": 0,
    "virtualization": false,
    "cache": {
      "l1d": 128,
      "l1i": 128,
      "l2": 1048576,
      "l3": 6291456
    }
  },
  "memory": {
    "total": 4155858944,
    "free": 357859328,
    "used": 3797938176,
    "active": 3797696512,
    "available": 358318080,
    "buffers": 0,
    "cached": 0,
    "slab": 0,
    "buffcache": 0,
    "swaptotal": 5905580032,
    "swapused": 1731198976,
    "swapfree": 4174381056
  },
  "gpus": [
    {
      "model": "intel(r) uhd graphics 630"
    }
  ],
  "graphics": {
    "controllers": [
      {
        "vendor": "Intel Corporation",
        "model": "Intel(R) UHD Graphics 630",
        "bus": "PCI",
        "vram": 1024,
        "vramDynamic": true
      }
    ],
    "displays": [
      {
        "model": "Generic PnP Monitor",
        "main": true,
        "builtin": false,
        "connection": "HDMI",
        "currentResX": 1366,
        "currentResY": 768,
        "resolutionX": 1366,
        "resolutionY": 768,
        "pixelDepth": 32,
        "currentRefreshRate": 59
      }
    ]
  }
}

Logs

logs/api/start.js/1783639953258

Source: api / start.js
Lines: 21 total, last 21 included

[api shell.run]
Microsoft Windows [Version 10.0.21996.1]
(c) Microsoft Corporation. All rights reserved.

C:\pinokio\api\wan2gp-2\app>conda_hook & conda deactivate & conda deactivate & conda deactivate & conda activate base & C:\pinokio\api\wan2gp-2\app\env\Scripts\activate C:\pinokio\api\wan2gp-2\app\env && python wgp.py --multiple-images 
C:\pinokio\api\wan2gp-2\app\env\lib\site-packages\diffusers\models\transformers\transformer_kandinsky.py:168: UserWarning: CUDA is not available or torch_xla is imported. Disabling autocast.
  @torch.autocast(device_type="cuda", dtype=torch.float32)
C:\pinokio\api\wan2gp-2\app\env\lib\site-packages\diffusers\models\transformers\transformer_kandinsky.py:272: UserWarning: CUDA is not available or torch_xla is imported. Disabling autocast.
  @torch.autocast(device_type="cuda", dtype=torch.float32)
Traceback (most recent call last):
  File "C:\pinokio\api\wan2gp-2\app\wgp.py", line 69, in <module>
    from shared.attention import get_attention_modes, get_supported_attention_modes, get_default_attention_mode
  File "C:\pinokio\api\wan2gp-2\app\shared\attention.py", line 14, in <module>
    major, minor = (0, 0) if _is_mps else torch.cuda.get_device_capability(None)
  File "C:\pinokio\api\wan2gp-2\app\env\lib\site-packages\torch\cuda\__init__.py", line 720, in get_device_capability
    prop = get_device_properties(device)
  File "C:\pinokio\api\wan2gp-2\app\env\lib\site-packages\torch\cuda\__init__.py", line 737, in get_device_properties
    _lazy_init()  # will define _get_device_properties
  File "C:\pinokio\api\wan2gp-2\app\env\lib\site-packages\torch\cuda\__init__.py", line 522, in _lazy_init
    raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
Replies (0)
Up to 10 files, 25MB each. Images are optimized; GIFs -> MP4; videos 720p (max 120s).
Wan2GP: raise AssertionError("Torch not compiled with CUDA enabled") · Pinokio