0

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

@zigfrid27posted 8/24/2026, 11:31:03 PM·0 replies

App: Wan2GP (wan.git)
Repo: https://github.com/pinokiofactory/wan.git
Generated: 2026-08-24T23:27:22.262Z
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": "luminoncore",
    "gpu_model": "luminoncore iddcx adapter",
    "ram_gb": 8,
    "vram_gb": 0
  },
  "os": {
    "platform": "Windows",
    "distro": "Microsoft Windows 11 Home Single Language",
    "release": "10.0.22621",
    "codename": "22H2",
    "kernel": "10.0.22621",
    "arch": "x64",
    "build": "22621",
    "servicepack": "0.0",
    "uefi": true
  },
  "system": {
    "manufacturer": "HP",
    "model": "HP 240 G6 Notebook PC",
    "version": "Type1ProductConfigId",
    "virtual": false
  },
  "cpu": {
    "manufacturer": "Intel",
    "brand": "Core™ i5-7200U",
    "vendor": "GenuineIntel",
    "family": "6",
    "model": "142",
    "stepping": "9",
    "speed": 2.5,
    "speedMin": 2.5,
    "speedMax": 2.71,
    "cores": 4,
    "physicalCores": 2,
    "processors": 1,
    "performanceCores": 4,
    "efficiencyCores": 0,
    "virtualization": false,
    "cache": {
      "l1d": 64,
      "l1i": 64,
      "l2": 524288,
      "l3": 3145728
    }
  },
  "memory": {
    "total": 8470630400,
    "free": 563433472,
    "used": 7907196928,
    "active": 7907196928,
    "available": 563433472,
    "buffers": 0,
    "cached": 0,
    "slab": 0,
    "buffcache": 0,
    "swaptotal": 17498636288,
    "swapused": 2086666240,
    "swapfree": 15411970048
  },
  "gpus": [
    {
      "model": "luminoncore iddcx adapter"
    },
    {
      "model": "intel(r) hd graphics 620"
    }
  ],
  "graphics": {
    "controllers": [
      {
        "vendor": "LuminonCore",
        "model": "LuminonCore IDDCX Adapter",
        "vram": 0,
        "vramDynamic": true
      },
      {
        "vendor": "Intel Corporation",
        "model": "Intel(R) HD Graphics 620",
        "bus": "PCI",
        "vram": 1024,
        "vramDynamic": true
      }
    ],
    "displays": [
      {
        "model": "Monitor predeterminado",
        "main": true,
        "builtin": true,
        "connection": "INTERNAL",
        "currentResX": 1366,
        "currentResY": 768,
        "resolutionX": 1366,
        "resolutionY": 768,
        "pixelDepth": 32,
        "currentRefreshRate": 60
      }
    ]
  }
}

Logs

logs/api/start.js/1787611955600

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

[api shell.run]
Microsoft Windows [Versión 10.0.22621.4317]
(c) Microsoft Corporation. Todos los derechos reservados.

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

(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).