0

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

@jashamaraposted 8/22/2026, 6:02:24 PM·0 replies

App: Wan2GP (wan.git)
Repo: https://github.com/pinokiofactory/wan.git
Generated: 2026-08-22T18:01:28.175Z
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": "intel corporation",
    "gpu_model": "intel(r) arc(tm) 140v gpu (16gb)",
    "ram_gb": 32,
    "vram_gb": 2
  },
  "os": {
    "platform": "Windows",
    "distro": "Microsoft Windows 11 Home Single Language",
    "release": "10.0.26200",
    "codename": "25H2",
    "kernel": "10.0.26200",
    "arch": "x64",
    "build": "26200",
    "servicepack": "0.0",
    "uefi": true
  },
  "system": {
    "manufacturer": "LENOVO",
    "model": "83HM",
    "version": "Yoga Slim 7 15ILL9",
    "virtual": false
  },
  "cpu": {
    "manufacturer": "Intel",
    "brand": "Core™ Ultra 7 258V",
    "vendor": "GenuineIntel",
    "family": "6",
    "model": "189",
    "stepping": "1",
    "speed": 2.2,
    "speedMin": 2.2,
    "speedMax": 2.2,
    "cores": 8,
    "physicalCores": 8,
    "processors": 1,
    "performanceCores": 8,
    "efficiencyCores": 0,
    "virtualization": true,
    "cache": {
      "l1d": 327680,
      "l1i": 524288,
      "l2": 14680064,
      "l3": 12582912
    }
  },
  "memory": {
    "total": 33873780736,
    "free": 7935983616,
    "used": 25937801216,
    "active": 25937813504,
    "available": 7935967232,
    "buffers": 0,
    "cached": 0,
    "slab": 0,
    "buffcache": 0,
    "swaptotal": 7247757312,
    "swapused": 51380224,
    "swapfree": 7196377088
  },
  "gpus": [
    {
      "model": "intel(r) arc(tm) 140v gpu (16gb)"
    }
  ],
  "graphics": {
    "controllers": [
      {
        "vendor": "Intel Corporation",
        "model": "Intel(R) Arc(TM) 140V GPU (16GB)",
        "bus": "PCI",
        "vram": 2047.99609375,
        "vramDynamic": true
      }
    ],
    "displays": [
      {
        "model": "Lenovo HDR Display",
        "main": true,
        "builtin": true,
        "connection": "INTERNAL",
        "currentResX": 1440,
        "currentResY": 900,
        "resolutionX": 2880,
        "resolutionY": 1800,
        "pixelDepth": 32,
        "currentRefreshRate": 60
      }
    ]
  }
}

Logs

logs/api/start.js/1787421504785

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

[api shell.run]
Microsoft Windows [Version 10.0.26200.9168]
(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\venv\Scripts\activate C:\pinokio\api\wan.git\app\venv && python wgp.py --multiple-images --advanced   
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 70, 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 (0)
Up to 10 files, 25MB each. Images are optimized; GIFs -> MP4; videos 720p (max 120s).