0

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

@tousifhamed0820posted 8/20/2026, 6:07:37 AM·0 replies

App: Wan2GP (wan.git)
Repo: https://github.com/pinokiofactory/wan.git
Generated: 2026-08-20T06:04:39.386Z
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) iris(r) xe graphics",
    "ram_gb": 8,
    "vram_gb": 4
  },
  "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": "HP",
    "model": "HP Laptop 15s-fr5xxx",
    "virtual": false
  },
  "cpu": {
    "manufacturer": "Intel",
    "brand": "Gen Intel® Core™ i5-1235U",
    "vendor": "GenuineIntel",
    "family": "6",
    "model": "154",
    "stepping": "4",
    "speed": 1.3,
    "speedMin": 1.3,
    "speedMax": 1.3,
    "cores": 12,
    "physicalCores": 10,
    "processors": 1,
    "performanceCores": 12,
    "efficiencyCores": 0,
    "virtualization": true,
    "cache": {
      "l1d": 360448,
      "l1i": 589824,
      "l2": 6815744,
      "l3": 12582912
    }
  },
  "memory": {
    "total": 8245346304,
    "free": 964214784,
    "used": 7281131520,
    "active": 7281131520,
    "available": 964214784,
    "buffers": 0,
    "cached": 0,
    "slab": 0,
    "buffcache": 0,
    "swaptotal": 12884901888,
    "swapused": 1842348032,
    "swapfree": 11042553856
  },
  "gpus": [
    {
      "model": "intel(r) iris(r) xe graphics"
    }
  ],
  "graphics": {
    "controllers": [
      {
        "vendor": "Intel Corporation",
        "model": "Intel(R) Iris(R) Xe Graphics",
        "bus": "PCI",
        "vram": 3931.6875,
        "vramDynamic": true
      }
    ],
    "displays": [
      {
        "model": "Generic PnP Monitor",
        "main": true,
        "builtin": true,
        "connection": "INTERNAL",
        "currentResX": 1536,
        "currentResY": 864,
        "resolutionX": 1920,
        "resolutionY": 1080,
        "pixelDepth": 32,
        "currentRefreshRate": 60
      }
    ]
  }
}

Logs

logs/api/deepy.js/1787205530585

Source: api / deepy.js
Lines: 23 total, last 23 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 --ask-deepy
C:\pinokio\api\wan.git\app\venv\lib\site-packages\diffusers\models\transformers\transformer[private_person].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_kand[private_person].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

(venv) (base) C:\pinokio\api\wan.git\app>
Replies (0)
Up to 10 files, 25MB each. Images are optimized; GIFs -> MP4; videos 720p (max 120s).