0

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

@wildreaverposted Mon, 14 Sep 2026 01:00:49 GMT·0 replies

App: Wan2GP - AMD (wan2gp-amd.git)
Repo: https://github.com/6Morpheus6/wan2gp-amd.git
Generated: 2026-09-14T00:59:22.137Z
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": "amd",
    "gpu_model": "amd radeon rx 580 2048sp",
    "ram_gb": 16,
    "vram_gb": 8,
    "gpu_driver": null,
    "gpu_target": "gfx803"
  },
  "os": {
    "platform": "Windows",
    "distro": "Microsoft Windows 11 Home",
    "release": "10.0.26200",
    "codename": "25H2",
    "kernel": "10.0.26200",
    "arch": "x64",
    "build": "26200",
    "servicepack": "0.0",
    "uefi": true
  },
  "system": {
    "manufacturer": "System manufacturer",
    "model": "System Product Name",
    "version": "System Version",
    "virtual": false
  },
  "cpu": {
    "manufacturer": "AMD",
    "brand": "Ryzen 3 PRO 4350G with Radeon Graphics",
    "vendor": "AuthenticAMD",
    "family": "23",
    "model": "96",
    "stepping": "1",
    "revision": "24577",
    "speed": 2,
    "speedMin": 2,
    "speedMax": 3.9,
    "cores": 8,
    "physicalCores": 4,
    "processors": 1,
    "performanceCores": 8,
    "efficiencyCores": 0,
    "virtualization": false,
    "cache": {
      "l1d": 128,
      "l1i": 128,
      "l2": 2097152,
      "l3": 4194304
    }
  },
  "memory": {
    "total": 16959352832,
    "free": 7839797248,
    "used": 9119555584,
    "active": 9119555584,
    "available": 7839797248,
    "buffers": 0,
    "cached": 0,
    "slab": 0,
    "buffcache": 0,
    "swaptotal": 17179869184,
    "swapused": 125829120,
    "swapfree": 17054040064
  },
  "gpus": [
    {
      "model": "amd radeon rx 580 2048sp"
    }
  ],
  "graphics": {
    "controllers": [
      {
        "vendor": "Advanced Micro Devices, Inc.",
        "model": "AMD Radeon RX 580 2048SP",
        "bus": "PCI",
        "vram": 8192,
        "vramDynamic": true
      }
    ],
    "displays": [
      {
        "model": "LED MONITOR",
        "main": true,
        "builtin": false,
        "connection": "HDMI",
        "currentResX": 1920,
        "currentResY": 1080,
        "resolutionX": 1920,
        "resolutionY": 1080,
        "pixelDepth": 32,
        "currentRefreshRate": 60
      }
    ]
  },
  "diagnostics": {
    "platform": "win32",
    "arch": "x64",
    "running": {
      "C:\\pinokio\\api\\wan2gp-amd.git\\start.js": true,
      "shell//c/pinokio/api/wan2gp-amd.git_dev.cmd.venv.0?session=ce94d15d-e65b-4952-b28e-f4b44efdbed4": true
    },
    "home": "C:\\pinokio",
    "vars": {
      "pip": {
        "install": {
          "torch": "pip3 install torch torchvision torchaudio"
        }
      }
    },
    "memory": {
      "local": {
        "C:\\pinokio\\api\\wan2gp-amd.git\\start.js": {
          "url": "{{input.event[0]}}"
        }
      },
      "global": {},
      "rpc": {
        "C:\\pinokio\\api\\wan2gp-amd.git\\start.js": {
          "method": "local.set",
          "params": {
            "url": "{{input.event[0]}}"
          }
        }
      },
      "input": {
        "C:\\pinokio\\api\\wan2gp-amd.git\\start.js": {
          "id": "b2d9d815-e26c-4036-875b-82fa184240c0",
          "response": "Microsoft Windows [Version 10.0.26200.9445]\r\n(c) Microsoft Corporation. All rights reserved.\r\n\r\nC:\\pinokio\\api\\wan2gp-amd.git\\app>conda_hook & conda deactivate & conda deactivate & conda deactivate & conda activate base & C:\\pinokio\\api\\wan2gp-amd.git\\app\\env\\Scripts\\activate C:\\pinokio\\api\\wan2gp-amd.git\\app\\env & bluefairy-activate.cmd && python wgp.py\r\n[OK] bluefairy active: uv/npm/bun protection enabled\r\nC:\\pinokio\\api\\wan2gp-amd.git\\app\\env\\lib\\site-packages\\diffusers\\models\\transformers\\transformer_kandinsky.py:168: UserWarning: CUDA is not available or torch_xla is imported. Disabling autocast.\r\n  @torch.autocast(device_type=\"cuda\", dtype=torch.float32)\r\nC:\\pinokio\\api\\wan2gp-amd.git\\app\\env\\lib\\site-packages\\diffusers\\models\\transformers\\transformer_kandinsky.py:272: UserWarning: CUDA is not available or torch_xla is imported. Disabling autocast.\r\n  @torch.autocast(device_type=\"cuda\", dtype=torch.float32)\r\nTraceback (most recent call last):\r\n  File \"C:\\pinokio\\api\\wan2gp-amd.git\\app\\wgp.py\", line 75, in <module>\r\n    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\r\n  File \"C:\\pinokio\\api\\wan2gp-amd.git\\app\\shared\\attention.py\", line 14, in <module>\r\n    major, minor = (0, 0) if _is_mps else torch.cuda.get_device_capability(None)\r\n  File \"C:\\pinokio\\api\\wan2gp-amd.git\\app\\env\\lib\\site-packages\\torch\\cuda\\__init__.py\", line 782, in get_device_capability\r\n    prop = get_device_properties(device)\r\n  File \"C:\\pinokio\\api\\wan2gp-amd.git\\app\\env\\lib\\site-packages\\torch\\cuda\\__init__.py\", line 799, in get_device_properties\r\n    _lazy_init()  # will define _get_device_properties\r\n  File \"C:\\pinokio\\api\\wan2gp-amd.git\\app\\env\\lib\\site-packages\\torch\\cuda\\__init__.py\", line 584, in _lazy_init\r\n    raise AssertionError(\"Torch not compiled with CUDA enabled\")\r\nAssertionError: Torch not compiled with CUDA enabled\r\n\r\n(env) (base) C:\\pinokio\\api\\wan2gp-amd.git\\app>",
          "stdout": "Microsoft Windows [Version 10.0.26200.9445]\r\n(c) Microsoft Corporation. All rights reserved.\r\n\r\nC:\\pinokio\\api\\wan2gp-amd.git\\app>conda_hook & conda deactivate & conda deactivate & conda deactivate & conda activate base & C:\\pinokio\\api\\wan2gp-amd.git\\app\\env\\Scripts\\activate C:\\pinokio\\api\\wan2gp-amd.git\\app\\env & bluefairy-activate.cmd && python wgp.py\r\n[OK] bluefairy active: uv/npm/bun protection enabled\r\nC:\\pinokio\\api\\wan2gp-amd.git\\app\\env\\lib\\site-packages\\diffusers\\models\\transformers\\transformer_kandinsky.py:168: UserWarning: CUDA is not available or torch_xla is imported. Disabling autocast.\r\n  @torch.autocast(device_type=\"cuda\", dtype=torch.float32)\r\nC:\\pinokio\\api\\wan2gp-amd.git\\app\\env\\lib\\site-packages\\diffusers\\models\\transformers\\transformer_kandinsky.py:272: UserWarning: CUDA is not available or torch_xla is imported. Disabling autocast.\r\n  @torch.autocast(device_type=\"cuda\", dtype=torch.float32)\r\nTraceback (most recent call last):\r\n  File \"C:\\pinokio\\api\\wan2gp-amd.git\\app\\wgp.py\", line 75, in <module>\r\n    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\r\n  File \"C:\\pinokio\\api\\wan2gp-amd.git\\app\\shared\\attention.py\", line 14, in <module>\r\n    major, minor = (0, 0) if _is_mps else torch.cuda.get_device_capability(None)\r\n  File \"C:\\pinokio\\api\\wan2gp-amd.git\\app\\env\\lib\\site-packages\\torch\\cuda\\__init__.py\", line 782, in get_device_capability\r\n    prop = get_device_properties(device)\r\n  File \"C:\\pinokio\\api\\wan2gp-amd.git\\app\\env\\lib\\site-packages\\torch\\cuda\\__init__.py\", line 799, in get_device_properties\r\n    _lazy_init()  # will define _get_device_properties\r\n  File \"C:\\pinokio\\api\\wan2gp-amd.git\\app\\env\\lib\\site-packages\\torch\\cuda\\__init__.py\", line 584, in _lazy_init\r\n    raise AssertionError(\"Torch not compiled with CUDA enabled\")\r\nAssertionError: Torch not compiled with CUDA enabled\r\n\r\n(env) (base) C:\\pinokio\\api\\wan2gp-amd.git\\app>"
        }
      },
      "args": {
        "C:\\pinokio\\api\\wan2gp-amd.git\\start.js": {}
      }
    },
    "procs": {},
    "gpu": "amd",
    "gpus": [
      {
        "name": "advanced micro devices, inc.",
        "model": "amd radeon rx 580 2048sp",
        "driver": null
      }
    ],
    "gpu_model": "amd radeon rx 580 2048sp",
    "gpu_driver": null,
    "gpu_target": "gfx803",
    "ram": 16,
    "vram": 8,
    "version": "8.2.0",
    "audio": [
      {
        "id": "USB\\VID_0C76&PID_1618&MI_00\\7&11E364E8&0&0000",
        "name": "USB Audio Device",
        "manufacturer": "(Generic USB Audio)",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "",
        "in": null,
        "out": null,
        "status": "enabled"
      },
      {
        "id": "ROOT\\AMDSAFD&FUN_01&REV_01\\0000",
        "name": "AMD Streaming Audio Device",
        "manufacturer": "AMD",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "",
        "in": null,
        "out": null,
        "status": "enabled"
      },
      {
        "id": "HDAUDIO\\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\\5&2625F90E&0&0001",
        "name": "AMD High Definition Audio Device",
        "manufacturer": "Advanced Micro Devices",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "Sound Driver",
        "in": null,
        "out": null,
        "status": "enabled"
      },
      {
        "id": "HDAUDIO\\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1007\\5&1F5A5B17&0&0001",
        "name": "AMD High Definition Audio Device",
        "manufacturer": "Advanced Micro Devices",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "Sound Driver",
        "in": null,
        "out": null,
        "status": "enabled"
      },
      {
        "id": "USB\\VID_1130&PID_1620&MI_00\\9&982D630&0&0000",
        "name": "USB Audio Device",
        "manufacturer": "(Generic USB Audio)",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "",
        "in": null,
        "out": null,
        "status": "enabled"
      },
      {
        "id": "HDAUDIO\\FUNC_01&VEN_10EC&DEV_1168&SUBSYS_10438723&REV_1001\\5&1953D9D3&0&0001",
        "name": "High Definition Audio Device",
        "manufacturer": "Microsoft",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "Sound Driver",
        "in": null,
        "out": null,
        "status": "enabled"
      }
    ],
    "mem": {
      "total": 16959352832,
      "free": 7839797248,
      "used": 9119555584,
      "active": 9119555584,
      "available": 7839797248,
      "buffers": 0,
      "cached": 0,
      "slab": 0,
      "buffcache": 0,
      "reclaimable": 0,
      "swaptotal": 17179869184,
      "swapused": 125829120,
      "swapfree": 17054040064,
      "writeback": null,
      "dirty": null
    },
    "osInfo": {
      "platform": "Windows",
      "distro": "Microsoft Windows 11 Home",
      "release": "10.0.26200",
      "codename": "25H2",
      "kernel": "10.0.26200",
      "arch": "x64",
      "hostname": "DESKTOP-442E2TS",
      "fqdn": "DESKTOP-442E2TS",
      "codepage": "437",
      "logofile": "windows",
      "serial": "00326-30000-00001-AA387",
      "build": "26200",
      "servicepack": "0.0",
      "uefi": true,
      "hypervisor": false,
      "remoteSession": false
    },
    "cpu": {
      "manufacturer": "AMD",
      "brand": "Ryzen 3 PRO 4350G with Radeon Graphics",
      "vendor": "AuthenticAMD",
      "family": "23",
      "model": "96",
      "stepping": "1",
      "revision": "24577",
      "voltage": "",
      "speed": 2,
      "speedMin": 2,
      "speedMax": 3.9,
      "governor": "",
      "cores": 8,
      "physicalCores": 4,
      "performanceCores": 8,
      "efficiencyCores": 0,
      "processors": 1,
      "socket": "AM4",
      "flags": "de pse msr sep mtrr mca cmov psn clfsh ds mmx fxsr sse sse2 ss htt tm ia64 pbe",
      "virtualization": false,
      "cache": {
        "l1d": 128,
        "l1i": 128,
        "l2": 2097152,
        "l3": 4194304
      }
    },
    "graphics": {
      "controllers": [
        {
          "vendor": "Advanced Micro Devices, Inc.",
          "model": "AMD Radeon RX 580 2048SP",
          "bus": "PCI",
          "vram": 8192,
          "vramDynamic": true,
          "subDeviceId": "E3961DA2"
        }
      ],
      "displays": [
        {
          "vendor": "SAC",
          "model": "LED MONITOR",
          "serial": "000000010000",
          "productionYear": 2021,
          "displayId": "display\\sac952d\\5&77f1974&0&uid1546_0",
          "deviceName": "\\\\.\\DISPLAY1",
          "main": true,
          "builtin": false,
          "connection": "HDMI",
          "resolutionX": 1920,
          "resolutionY": 1080,
          "sizeX": 60,
          "sizeY": 34,
          "pixelDepth": 32,
          "currentResX": 1920,
          "currentResY": 1080,
          "positionX": 0,
          "positionY": 0,
          "currentRefreshRate": 60
        }
      ]
    },
    "shell": "CMD",
    "system": {
      "manufacturer": "System manufacturer",
      "model": "System Product Name",
      "version": "System Version",
      "serial": "System Serial Number",
      "uuid": "6c9b314d-a85b-6cdf-bd9d-04d4c458e2ce",
      "sku": "SKU",
      "virtual": false
    }
  }
}

Logs

logs/api/start.js/1789347266649

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

[api shell.run]
Microsoft Windows [Version 10.0.26200.9445]
(c) Microsoft Corporation. All rights reserved.

C:\pinokio\api\wan2gp-amd.git\app>conda_hook & conda deactivate & conda deactivate & conda deactivate & conda activate base & C:\pinokio\api\wan2gp-amd.git\app\env\Scripts\activate C:\pinokio\api\wan2gp-amd.git\app\env & bluefairy-activate.cmd && python wgp.py
[OK] bluefairy active: uv/npm/bun protection enabled
C:\pinokio\api\wan2gp-amd.git\app\env\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\wan2gp-amd.git\app\env\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\wan2gp-amd.git\app\wgp.py", line 75, 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\wan2gp-amd.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\wan2gp-amd.git\app\env\lib\site-packages\torch\cuda\__init__.py", line 782, in get_device_capability
    prop = get_device_properties(device)
  File "C:\pinokio\api\wan2gp-amd.git\app\env\lib\site-packages\torch\cuda\__init__.py", line 799, in get_device_properties
    _lazy_init()  # will define _get_device_properties
  File "C:\pinokio\api\wan2gp-amd.git\app\env\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

(env) (base) C:\pinokio\api\wan2gp-amd.git\app>

logs/api/start.js/1789347310759

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

[memory]
{"ts":1789347310759,"step":1,"input":{"id":"b2d9d815-e26c-4036-875b-82fa184240c0"},"args":{},"global":{},"local":{},"port":42010}

[api local.set]


===================================================

[api local.set]
# local variables

[api local.set]
{
  "url": "{{input.event[0]}}"
}
[api local.set]

===================================================
Replies (0)
Up to 10 files, 25MB each. Images are optimized; GIFs -> MP4; videos 720p (max 120s).
Wan2GP - AMD: raise AssertionError("Torch not compiled with CUDA enabled") · Pinokio