0

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

@mithriwanposted 8/11/2026, 9:38:52 AM·1 reply

App: Wan2GP (wan.git)
Repo: https://github.com/pinokiofactory/wan.git
Generated: 2026-08-11T09:37:03.032Z
Pinokio: 8.0.40
Platform: win32 x64
Node: v22.21.1

Summary

System

{
  "pinokio": {
    "version": "8.0.40",
    "node": "v22.21.1",
    "platform": "win32",
    "arch": "x64"
  },
  "hardware": {
    "gpu": "nvidia",
    "gpu_model": "nvidia geforce rtx 4070 ti",
    "ram_gb": 32,
    "vram_gb": 12
  },
  "os": {
    "platform": "Windows",
    "distro": "Microsoft Windows 11 Pro",
    "release": "10.0.26200",
    "codename": "25H2",
    "kernel": "10.0.26200",
    "arch": "x64",
    "build": "26200",
    "servicepack": "0.0",
    "uefi": true
  },
  "system": {
    "manufacturer": "Gigabyte Technology Co., Ltd.",
    "model": "B760 GAMING X DDR4",
    "version": "Default string",
    "virtual": false
  },
  "cpu": {
    "manufacturer": "Intel",
    "brand": "Gen Intel® Core™ i5-13500",
    "vendor": "GenuineIntel",
    "family": "6",
    "model": "191",
    "stepping": "2",
    "speed": 2.5,
    "speedMin": 2.5,
    "speedMax": 2.5,
    "cores": 20,
    "physicalCores": 14,
    "processors": 1,
    "performanceCores": 20,
    "efficiencyCores": 0,
    "virtualization": false,
    "cache": {
      "l1d": 557056,
      "l1i": 720896,
      "l2": 12058624,
      "l3": 25165824
    }
  },
  "memory": {
    "total": 34118721536,
    "free": 25487974400,
    "used": 8630747136,
    "active": 8630747136,
    "available": 25487974400,
    "buffers": 0,
    "cached": 0,
    "slab": 0,
    "buffcache": 0,
    "swaptotal": 21474836480,
    "swapused": 0,
    "swapfree": 21474836480
  },
  "gpus": [
    {
      "model": "nvidia geforce rtx 4070 ti"
    },
    {
      "model": "intel(r) uhd graphics 770"
    }
  ],
  "graphics": {
    "controllers": [
      {
        "vendor": "NVIDIA",
        "model": "NVIDIA GeForce RTX 4070 Ti",
        "bus": "PCI",
        "vram": 12282,
        "vramDynamic": false,
        "driverVersion": "610.88"
      },
      {
        "vendor": "Intel Corporation",
        "model": "Intel(R) UHD Graphics 770",
        "bus": "PCI",
        "vram": 2047.99609375,
        "vramDynamic": true
      }
    ],
    "displays": [
      {
        "model": "BWG5",
        "main": true,
        "builtin": false,
        "connection": "HDMI",
        "currentResX": 2560,
        "currentResY": 1440,
        "resolutionX": 2560,
        "resolutionY": 1440,
        "pixelDepth": 32,
        "currentRefreshRate": 164
      },
      {
        "model": "LG ULTRAGEAR",
        "main": false,
        "builtin": false,
        "connection": "DP",
        "currentResX": 1920,
        "currentResY": 1080,
        "resolutionX": 1920,
        "resolutionY": 1080,
        "pixelDepth": 32,
        "currentRefreshRate": 164
      }
    ]
  }
}

Logs

logs/api/start.js/1786440940730

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

[api shell.run]
Microsoft Windows [Version 10.0.26200.8875]
(c) Microsoft Corporation. Alle Rechte vorbehalten.

C:\pinokio\api\wan.git\app>conda_hook & conda deactivate & conda deactivate & conda deactivate & conda activate base & C:\pinokio\api\wan.git\app\venv\Scripts\activate C:\pinokio\api\wan.git\app\venv & bluefairy-activate.cmd && python wgp.py --multiple-images --advanced 
[OK] bluefairy active: uv/npm/bun protection enabled
C:\pinokio\api\wan.git\app\venv\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\wan.git\app\venv\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\wan.git\app\wgp.py", line 69, in <module>
    from shared.attention import ATTENTION_MODE_AVAILABILITY, get_attention_modes, get_supported_attention_modes, get_default_attention_mode, get_override_attention_modes, get_supported_override_attention_modes
  File "C:\pinokio\api\wan.git\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\wan.git\app\venv\lib\site-packages\torch\cuda\__init__.py", line 720, in get_device_capability
    prop = get_device_properties(device)
  File "C:\pinokio\api\wan.git\app\venv\lib\site-packages\torch\cuda\__init__.py", line 737, in get_device_properties
    _lazy_init()  # will define _get_device_properties
  File "C:\pinokio\api\wan.git\app\venv\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 (1)
Up to 10 files, 25MB each. Images are optimized; GIFs -> MP4; videos 720p (max 120s).