0

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

@notkrisposted Mon, 07 Sep 2026 17:09:39 GMT·0 replies

App: Wan2GP (wan.git)
Repo: https://github.com/pinokiofactory/wan.git
Generated: 2026-09-07T17:09:08.114Z
Pinokio: 8.2.0
Platform: win32 x64
Node: v22.21.1

Summary

System

{
  "pinokio": {
    "version": "8.2.0",
    "node": "v22.21.1",
    "platform": "win32",
    "arch": "x64"
  },
  "hardware": {
    "gpu": "intel corporation",
    "gpu_model": "intel(r) uhd graphics",
    "ram_gb": 8,
    "vram_gb": 1,
    "gpu_driver": null,
    "gpu_target": null
  },
  "os": {
    "platform": "Windows",
    "distro": "Microsoft Windows 11 Home",
    "release": "10.0.22000",
    "codename": "21H2",
    "kernel": "10.0.22000",
    "arch": "x64",
    "build": "22000",
    "servicepack": "0.0",
    "uefi": true
  },
  "system": {
    "manufacturer": "ASUSTeK COMPUTER INC.",
    "model": "VivoBook_ASUSLaptop X515JAB_F515JA",
    "version": "1.0",
    "virtual": false
  },
  "cpu": {
    "manufacturer": "Intel",
    "brand": "Core™ i3-1005G1",
    "vendor": "GenuineIntel",
    "family": "6",
    "model": "126",
    "stepping": "5",
    "revision": "32261",
    "speed": 1.2,
    "speedMin": 1.2,
    "speedMax": 1.2,
    "cores": 4,
    "physicalCores": 2,
    "processors": 1,
    "performanceCores": 4,
    "efficiencyCores": 0,
    "virtualization": false,
    "cache": {
      "l1d": 98304,
      "l1i": 65536,
      "l2": 1048576,
      "l3": 4194304
    }
  },
  "memory": {
    "total": 8316432384,
    "free": 3034517504,
    "used": 5281914880,
    "active": 5281914880,
    "available": 3034517504,
    "buffers": 0,
    "cached": 0,
    "slab": 0,
    "buffcache": 0,
    "swaptotal": 2058354688,
    "swapused": 727711744,
    "swapfree": 1330642944
  },
  "gpus": [
    {
      "model": "intel(r) uhd graphics"
    }
  ],
  "graphics": {
    "controllers": [
      {
        "vendor": "Intel Corporation",
        "model": "Intel(R) UHD Graphics",
        "bus": "PCI",
        "vram": 1024,
        "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
      }
    ]
  },
  "diagnostics": {
    "platform": "win32",
    "arch": "x64",
    "running": {
      "C:\\Users\\CHRIS\\AppData\\Local\\Programs\\Pinokio\\resources\\app.asar\\node_modules\\pinokiod\\system\\plugin\\claude\\pinokio.js?cwd=C:\\pinokio\\api\\wan.git": true
    },
    "home": "C:\\pinokio",
    "vars": {
      "pip": {
        "install": {
          "torch": "pip3 install torch torchvision torchaudio"
        }
      }
    },
    "memory": {
      "local": {},
      "global": {},
      "rpc": {
        "C:\\pinokio\\api\\wan.git\\install.js": {
          "method": "notify",
          "params": {
            "html": "Installation completed"
          }
        },
        "C:\\pinokio\\api\\wan.git\\torch.js": null,
        "C:\\pinokio\\api\\wan.git\\start.js": {
          "method": "shell.run",
          "params": {
            "venv": "venv",
            "env": {
              "SERVER_NAME": "127.0.0.1",
              "SERVER_PORT": 42006
            },
            "path": "app",
            "message": [
              "python wgp.py --multiple-images --advanced {{args.compile ? '--compile' : ''}}"
            ],
            "on": [
              {
                "event": "/http://[0-9.:]+/",
                "done": true
              }
            ]
          }
        },
        "C:\\Users\\CHRIS\\AppData\\Local\\Programs\\Pinokio\\resources\\app.asar\\node_modules\\pinokiod\\system\\plugin\\claude\\pinokio.js?cwd=C:\\pinokio\\api\\wan.git": {
          "when": "{{platform === 'win32'}}",
          "id": "run",
          "method": "shell.run",
          "params": {
            "shell": "{{kernel.path('bin/miniforge/Library/bin/bash.exe')}}",
            "conda": {
              "skip": true
            },
            "env": {
              "CLAUDE_CODE_GIT_BASH_PATH": "{{kernel.path('bin/miniforge/Library/bin/bash.exe')}}"
            },
            "message": {
              "_": [
                "npx",
                "-y",
                "@anthropic-ai/claude-code@latest",
                "{{args.prompt || undefined}}"
              ]
            },
            "path": "{{args.cwd}}",
            "input": true,
            "buffer": 1024
          },
          "current": 0,
          "total": 2
        },
        "C:\\Users\\CHRIS\\AppData\\Local\\Programs\\Pinokio\\resources\\app.asar\\node_modules\\pinokiod\\system\\plugin\\claude\\pinokio.js": {
          "current": 0,
          "total": 2
        },
        "C:\\pinokio\\api\\wan.git\\update.js": null,
        "C:\\pinokio\\api\\wan.git\\reset.js": {
          "method": "fs.rm",
          "params": {
            "path": "app"
          }
        },
        "C:\\Users\\CHRIS\\AppData\\Local\\Programs\\Pinokio\\resources\\app.asar\\node_modules\\pinokiod\\system\\plugin\\cursor\\pinokio.js?cwd=C:\\pinokio\\api\\wan.git": {
          "when": "{{!which('cursor')}}",
          "method": "notify",
          "params": {
            "html": "Cursor is not installed. Click to visit the Cursor homepage to download",
            "href": "https://cursor.com",
            "target": "_blank"
          },
          "current": 1,
          "total": 2
        },
        "C:\\Users\\CHRIS\\AppData\\Local\\Programs\\Pinokio\\resources\\app.asar\\node_modules\\pinokiod\\system\\plugin\\cursor\\pinokio.js": {}
      },
      "input": {
        "C:\\pinokio\\api\\wan.git\\install.js": null,
        "C:\\pinokio\\api\\wan.git\\torch.js": null,
        "C:\\pinokio\\api\\wan.git\\start.js": {},
        "C:\\Users\\CHRIS\\AppData\\Local\\Programs\\Pinokio\\resources\\app.asar\\node_modules\\pinokiod\\system\\plugin\\claude\\pinokio.js?cwd=C:\\pinokio\\api\\wan.git": {
          "cwd": "C:\\pinokio\\api\\wan.git",
          "ask_ai": "1",
          "prompt": "Investigate what went wrong. Inspect the app logs and explain the likely root cause and next fix."
        },
        "C:\\pinokio\\api\\wan.git\\update.js": null,
        "C:\\pinokio\\api\\wan.git\\reset.js": {},
        "C:\\Users\\CHRIS\\AppData\\Local\\Programs\\Pinokio\\resources\\app.asar\\node_modules\\pinokiod\\system\\plugin\\cursor\\pinokio.js?cwd=C:\\pinokio\\api\\wan.git": null
      },
      "args": {
        "C:\\pinokio\\api\\wan.git\\install.js": {},
        "C:\\pinokio\\api\\wan.git\\torch.js": null,
        "C:\\pinokio\\api\\wan.git\\start.js": {},
        "C:\\Users\\CHRIS\\AppData\\Local\\Programs\\Pinokio\\resources\\app.asar\\node_modules\\pinokiod\\system\\plugin\\claude\\pinokio.js?cwd=C:\\pinokio\\api\\wan.git": {
          "cwd": "C:\\pinokio\\api\\wan.git",
          "ask_ai": "1",
          "prompt": "Investigate what went wrong. Inspect the app logs and explain the likely root cause and next fix."
        },
        "C:\\pinokio\\api\\wan.git\\update.js": null,
        "C:\\pinokio\\api\\wan.git\\reset.js": {},
        "C:\\Users\\CHRIS\\AppData\\Local\\Programs\\Pinokio\\resources\\app.asar\\node_modules\\pinokiod\\system\\plugin\\cursor\\pinokio.js?cwd=C:\\pinokio\\api\\wan.git": {
          "cwd": "C:\\pinokio\\api\\wan.git",
          "ask_ai": "1",
          "prompt": "Investigate what went wrong. Inspect the app logs and explain the likely root cause and next fix."
        }
      }
    },
    "procs": {},
    "gpu": "intel corporation",
    "gpus": [
      {
        "name": "intel corporation",
        "model": "intel(r) uhd graphics",
        "driver": null
      }
    ],
    "gpu_model": "intel(r) uhd graphics",
    "gpu_driver": null,
    "gpu_target": null,
    "ram": 8,
    "vram": 1,
    "version": "8.2.0",
    "mem": {
      "total": 8316432384,
      "free": 3034517504,
      "used": 5281914880,
      "active": 5281914880,
      "available": 3034517504,
      "buffers": 0,
      "cached": 0,
      "slab": 0,
      "buffcache": 0,
      "reclaimable": 0,
      "swaptotal": 2058354688,
      "swapused": 727711744,
      "swapfree": 1330642944,
      "writeback": null,
      "dirty": null
    },
    "audio": [
      {
        "id": "INTELAUDIO\\FUNC_01&VEN_8086&DEV_280F&SUBSYS_80860101&REV_1000\\5&DD2F11F&0&0201",
        "name": "Intel(R) Display Audio",
        "manufacturer": "Intel(R) Corporation",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "Speaker",
        "in": null,
        "out": null,
        "status": "enabled"
      },
      {
        "id": "INTELAUDIO\\FUNC_01&VEN_10EC&DEV_0256&SUBSYS_104314F2&REV_1000\\5&DD2F11F&0&0001",
        "name": "Realtek High Definition Audio",
        "manufacturer": "Realtek",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "Sound Driver",
        "in": null,
        "out": null,
        "status": "enabled"
      }
    ],
    "osInfo": {
      "platform": "Windows",
      "distro": "Microsoft Windows 11 Home",
      "release": "10.0.22000",
      "codename": "21H2",
      "kernel": "10.0.22000",
      "arch": "x64",
      "hostname": "DESKTOP-AKA4G8C",
      "fqdn": "DESKTOP-AKA4G8C",
      "codepage": "850",
      "logofile": "windows",
      "serial": "00342-20740-34370-AAOEM",
      "build": "22000",
      "servicepack": "0.0",
      "uefi": true,
      "hypervisor": false,
      "remoteSession": false
    },
    "graphics": {
      "controllers": [
        {
          "vendor": "Intel Corporation",
          "model": "Intel(R) UHD Graphics",
          "bus": "PCI",
          "vram": 1024,
          "vramDynamic": true,
          "subDeviceId": "1F9C1043"
        }
      ],
      "displays": [
        {
          "vendor": "(Standard monitor types)",
          "model": "Generic PnP Monitor",
          "serial": null,
          "productionYear": null,
          "displayId": "display\\auo61ed\\4&357bb99&0&uid8388688_0",
          "deviceName": "\\\\.\\DISPLAY1",
          "main": true,
          "builtin": true,
          "connection": "INTERNAL",
          "resolutionX": 1920,
          "resolutionY": 1080,
          "sizeX": 34,
          "sizeY": 19,
          "pixelDepth": 32,
          "currentResX": 1536,
          "currentResY": 864,
          "positionX": 0,
          "positionY": 0,
          "currentRefreshRate": 60
        }
      ]
    },
    "shell": "CMD",
    "system": {
      "manufacturer": "ASUSTeK COMPUTER INC.",
      "model": "VivoBook_ASUSLaptop X515JAB_F515JA",
      "version": "1.0",
      "serial": "MBN0CX061046442",
      "uuid": "155f6bf4-3d9b-8147-a757-7ea112521204",
      "sku": "",
      "virtual": false
    },
    "cpu": {
      "manufacturer": "Intel",
      "brand": "Core™ i3-1005G1",
      "vendor": "GenuineIntel",
      "family": "6",
      "model": "126",
      "stepping": "5",
      "revision": "32261",
      "voltage": "",
      "speed": 1.2,
      "speedMin": 1.2,
      "speedMax": 1.2,
      "governor": "",
      "cores": 4,
      "physicalCores": 2,
      "performanceCores": 4,
      "efficiencyCores": 0,
      "processors": 1,
      "socket": "Other",
      "flags": "de pse tsc msr mce sep mtrr mca cmov psn clfsh ds acpi mmx fxsr sse sse2 ss htt tm ia64 pbe",
      "virtualization": false,
      "cache": {
        "l1d": 98304,
        "l1i": 65536,
        "l2": 1048576,
        "l3": 4194304
      }
    }
  }
}

Logs

logs/api/start.js/1788800916612

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

[api shell.run]
Microsoft Windows [Version 10.0.22000.2538]
(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 71, 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 782, 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 799, 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 584, 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