0

Wan2GP: ImportError: DLL load failed while importing _regex: An Application Control policy has blocked…

@rt10posted Wed, 23 Sep 2026 16:56:48 GMT·0 replies

App: Wan2GP (wan.git)
Repo: https://github.com/pinokiofactory/wan.git
Generated: 2026-09-23T16:56:36.939Z
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": "nvidia",
    "gpu_model": "nvidia geforce rtx 5080 laptop gpu",
    "ram_gb": 63,
    "vram_gb": 16,
    "gpu_driver": "616.56",
    "gpu_target": "sm_120"
  },
  "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": "Micro-Star International Co., Ltd.",
    "model": "Raider 18 HX AI A2XWIG",
    "version": "REV:1.0",
    "virtual": false
  },
  "cpu": {
    "manufacturer": "Intel",
    "brand": "Core™ Ultra 9 285HX",
    "vendor": "GenuineIntel",
    "family": "6",
    "model": "198",
    "stepping": "2",
    "speed": 2.8,
    "speedMin": 2.8,
    "speedMax": 2.8,
    "cores": 24,
    "physicalCores": 24,
    "processors": 1,
    "performanceCores": 24,
    "efficiencyCores": 0,
    "virtualization": true,
    "cache": {
      "l1d": 917504,
      "l1i": 1572864,
      "l2": 41943040,
      "l3": 37748736
    }
  },
  "memory": {
    "total": 68116660224,
    "free": 52766920704,
    "used": 15349735424,
    "active": 15349719040,
    "available": 52766941184,
    "buffers": 0,
    "cached": 0,
    "slab": 0,
    "buffcache": 0,
    "swaptotal": 14495514624,
    "swapused": 0,
    "swapfree": 14495514624
  },
  "gpus": [
    {
      "model": "intel(r) graphics"
    },
    {
      "model": "nvidia geforce rtx 5080 laptop gpu"
    }
  ],
  "graphics": {
    "controllers": [
      {
        "vendor": "Intel Corporation",
        "model": "Intel(R) Graphics",
        "bus": "PCI",
        "vram": 2047.99609375,
        "vramDynamic": true
      },
      {
        "vendor": "NVIDIA",
        "model": "NVIDIA GeForce RTX 5080 Laptop GPU",
        "bus": "PCI",
        "vram": 16303,
        "vramDynamic": false,
        "driverVersion": "616.56"
      }
    ],
    "displays": [
      {
        "model": "Generic PnP Monitor",
        "main": true,
        "builtin": true,
        "connection": "INTERNAL",
        "currentResX": 1920,
        "currentResY": 1200,
        "resolutionX": 3840,
        "resolutionY": 2400,
        "pixelDepth": 32,
        "currentRefreshRate": 120
      }
    ]
  },
  "diagnostics": {
    "platform": "win32",
    "arch": "x64",
    "running": {},
    "home": "C:\\pinokio",
    "vars": {
      "pip": {
        "install": {
          "torch": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118"
        }
      }
    },
    "memory": {
      "local": {},
      "global": {},
      "rpc": {
        "C:\\pinokio\\api\\wan.git\\start.js": {
          "method": "shell.run",
          "params": {
            "venv": "venv",
            "env": {
              "SERVER_NAME": "127.0.0.1",
              "SERVER_PORT": 42003
            },
            "path": "app",
            "message": [
              "python wgp.py --multiple-images --advanced {{args.compile ? '--compile' : ''}}"
            ],
            "on": [
              {
                "event": "/http://[0-9.:]+/",
                "done": true
              }
            ]
          }
        }
      },
      "input": {
        "C:\\pinokio\\api\\wan.git\\start.js": {}
      },
      "args": {
        "C:\\pinokio\\api\\wan.git\\start.js": {}
      }
    },
    "procs": {},
    "gpu": "nvidia",
    "gpus": [
      {
        "name": "intel corporation",
        "model": "intel(r) graphics",
        "driver": null
      },
      {
        "name": "nvidia",
        "model": "nvidia geforce rtx 5080 laptop gpu",
        "driver": "616.56"
      }
    ],
    "gpu_model": "nvidia geforce rtx 5080 laptop gpu",
    "gpu_driver": "616.56",
    "gpu_target": "sm_120",
    "ram": 63,
    "vram": 16,
    "version": "8.2.0",
    "audio": [
      {
        "id": "INTELAUDIO\\CTLR_DEV_7F50&LINKTYPE_06&DEVTYPE_06&VEN_8086&DEV_AE50&SUBSYS_145C1462&REV_0001\\0605DIF_000B&",
        "name": "Intel® Smart Sound Technology for USB Audio",
        "manufacturer": "Intel(R) Corporation",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "Digital Signal Processor",
        "in": null,
        "out": null,
        "status": "enabled"
      },
      {
        "id": "INTELAUDIO\\CTLR_DEV_7F50&LINKTYPE_02&DEVTYPE_00&VEN_8086&DEV_AE20&SUBSYS_14751462&REV_10EC\\5&30204C6B&0&",
        "name": "Intel® Smart Sound Technology for Digital Microphones",
        "manufacturer": "Intel(R) Corporation",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "Digital Signal Processor",
        "in": null,
        "out": null,
        "status": "enabled"
      },
      {
        "id": "INTELAUDIO\\CTLR_DEV_7F50&LINKTYPE_03&DEVTYPE_00&VEN_8086&DEV_AE30&SUBSYS_145C1462&REV_0001\\5&30204C6B&0&",
        "name": "Intel® Smart Sound Technology for Bluetooth® Audio",
        "manufacturer": "Intel(R) Corporation",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "Digital Signal Processor",
        "in": null,
        "out": null,
        "status": "enabled"
      },
      {
        "id": "INTELAUDIO\\FUNC_01&VEN_10EC&DEV_0274&SUBSYS_14621475&REV_1000\\5&30204C6B&0&0001DIF_000B&UIF_0000",
        "name": "Realtek High Definition Audio",
        "manufacturer": "Realtek",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "Sound Driver",
        "in": null,
        "out": null,
        "status": "enabled"
      },
      {
        "id": "HDAUDIO\\FUNC_01&VEN_10DE&DEV_00AB&SUBSYS_10DE0000&REV_1001\\5&1C447465&0&0001",
        "name": "NVIDIA High Definition Audio",
        "manufacturer": "NVIDIA",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "Sound Driver",
        "in": null,
        "out": null,
        "status": "enabled"
      },
      {
        "id": "ROOT\\UNNAMED_DEVICE\\0000",
        "name": "NVIDIA Virtual Audio Device (Wave Extensible) (WDM)",
        "manufacturer": "NVIDIA",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "",
        "in": null,
        "out": null,
        "status": "enabled"
      },
      {
        "id": "SWD\\DRIVERENUM\\{DD052805-D06A-4AC5-9629-329FF6A861E5}#NAHIMIC_BTLINK&6&19FD44C&1",
        "name": "Nahimic Easy Surround device",
        "manufacturer": "Nahimic",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "Microphone",
        "in": null,
        "out": null,
        "status": "enabled"
      },
      {
        "id": "ROOT\\MEDIA\\0000",
        "name": "Nahimic mirroring device",
        "manufacturer": "Nahimic",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "Microphone",
        "in": null,
        "out": null,
        "status": "enabled"
      },
      {
        "id": "ROOT\\MEDIA\\0001",
        "name": "SteelSeries Sonar Virtual Audio Device",
        "manufacturer": "SteelSeries ApS",
        "revision": null,
        "driver": null,
        "default": null,
        "channel": null,
        "type": "",
        "in": null,
        "out": null,
        "status": "enabled"
      }
    ],
    "mem": {
      "total": 68116660224,
      "free": 52766920704,
      "used": 15349735424,
      "active": 15349719040,
      "available": 52766941184,
      "buffers": 0,
      "cached": 0,
      "slab": 0,
      "buffcache": 0,
      "reclaimable": 0,
      "swaptotal": 14495514624,
      "swapused": 0,
      "swapfree": 14495514624,
      "writeback": null,
      "dirty": null
    },
    "graphics": {
      "controllers": [
        {
          "vendor": "Intel Corporation",
          "model": "Intel(R) Graphics",
          "bus": "PCI",
          "vram": 2047.99609375,
          "vramDynamic": true,
          "subDeviceId": "14561462"
        },
        {
          "vendor": "NVIDIA",
          "model": "NVIDIA GeForce RTX 5080 Laptop GPU",
          "bus": "PCI",
          "vram": 16303,
          "vramDynamic": false,
          "subDeviceId": "0x14561462",
          "driverVersion": "616.56",
          "name": "NVIDIA GeForce RTX 5080 Laptop GPU",
          "pciBus": "00000000:01:00.0",
          "memoryTotal": 16303,
          "memoryUsed": 69,
          "memoryFree": 15935,
          "temperatureGpu": 49,
          "powerDraw": 9.01,
          "clockCore": 180,
          "clockMemory": 405
        }
      ],
      "displays": [
        {
          "vendor": "(Standard monitor types)",
          "model": "Generic PnP Monitor",
          "serial": null,
          "productionYear": null,
          "displayId": "display\\auoc5ac\\4&2fcd65f7&0&uid8388688_0",
          "deviceName": "\\\\.\\DISPLAY1",
          "main": true,
          "builtin": true,
          "connection": "INTERNAL",
          "resolutionX": 3840,
          "resolutionY": 2400,
          "sizeX": 39,
          "sizeY": 24,
          "pixelDepth": 32,
          "currentResX": 1920,
          "currentResY": 1200,
          "positionX": 0,
          "positionY": 0,
          "currentRefreshRate": 120
        }
      ]
    },
    "osInfo": {
      "platform": "Windows",
      "distro": "Microsoft Windows 11 Home",
      "release": "10.0.26200",
      "codename": "25H2",
      "kernel": "10.0.26200",
      "arch": "x64",
      "hostname": "WIN-C2ANEVBHN6Q",
      "fqdn": "MSI",
      "codepage": "437",
      "logofile": "windows",
      "serial": "00342-21445-09134-AAOEM",
      "build": "26200",
      "servicepack": "0.0",
      "uefi": true,
      "hypervisor": true,
      "remoteSession": false
    },
    "shell": "CMD",
    "system": {
      "manufacturer": "Micro-Star International Co., Ltd.",
      "model": "Raider 18 HX AI A2XWIG",
      "version": "REV:1.0",
      "serial": "9S7182462693ZS6000056",
      "uuid": "c1937730-5c17-4d46-be48-65dd59d221c1",
      "sku": "1824.3",
      "virtual": false
    },
    "cpu": {
      "manufacturer": "Intel",
      "brand": "Core™ Ultra 9 285HX",
      "vendor": "GenuineIntel",
      "family": "6",
      "model": "198",
      "stepping": "2",
      "revision": "",
      "voltage": "",
      "speed": 2.8,
      "speedMin": 2.8,
      "speedMax": 2.8,
      "governor": "",
      "cores": 24,
      "physicalCores": 24,
      "performanceCores": 24,
      "efficiencyCores": 0,
      "processors": 1,
      "socket": "BGA2114",
      "flags": "de pse mce sep mtrr mca cmov psn clfsh ds mmx fxsr sse sse2 ss htt tm ia64 pbe",
      "virtualization": true,
      "cache": {
        "l1d": 917504,
        "l1i": 1572864,
        "l2": 41943040,
        "l3": 37748736
      }
    }
  }
}

Logs

logs/api/start.js/1790182521972

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

[api shell.run]
Microsoft Windows [Version 10.0.26200.9457]
(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 
Traceback (most recent call last):
  File "C:\pinokio\api\wan.git\app\wgp.py", line 43, in <module>
    from mmgp import offload, safetensors2, profile_type , quant_router
  File "C:\pinokio\api\wan.git\app\venv\Lib\site-packages\mmgp\offload.py", line 78, in <module>
    from .quant_router import (
  File "C:\pinokio\api\wan.git\app\venv\Lib\site-packages\mmgp\quant_router.py", line 7, in <module>
    from optimum.quanto import QModuleMixin, register_qmodule
  File "C:\pinokio\api\wan.git\app\venv\Lib\site-packages\optimum\quanto\__init__.py", line 19, in <module>
    from .models import *
  File "C:\pinokio\api\wan.git\app\venv\Lib\site-packages\optimum\quanto\models\__init__.py", line 30, in <module>
    from .transformers_models import *
  File "C:\pinokio\api\wan.git\app\venv\Lib\site-packages\optimum\quanto\models\transformers_models.py", line 33, in <module>
    from transformers import AutoConfig, AutoModelForCausalLM, PreTrainedModel
  File "C:\pinokio\api\wan.git\app\venv\Lib\site-packages\transformers\__init__.py", line 27, in <module>
    from . import dependency_versions_check
  File "C:\pinokio\api\wan.git\app\venv\Lib\site-packages\transformers\dependency_versions_check.py", line 16, in <module>
    from .utils.versions import require_version, require_version_core
  File "C:\pinokio\api\wan.git\app\venv\Lib\site-packages\transformers\utils\__init__.py", line 24, in <module>
    from .auto_docstring import (
  File "C:\pinokio\api\wan.git\app\venv\Lib\site-packages\transformers\utils\auto_docstring.py", line 22, in <module>
    import regex as re
  File "C:\pinokio\api\wan.git\app\venv\Lib\site-packages\regex\__init__.py", line 1, in <module>
    import regex._main
  File "C:\pinokio\api\wan.git\app\venv\Lib\site-packages\regex\_main.py", line 428, in <module>
    from regex import _regex_core
  File "C:\pinokio\api\wan.git\app\venv\Lib\site-packages\regex\_regex_core.py", line 21, in <module>
    from regex import _regex
ImportError: DLL load failed while importing _regex: An Application Control policy has blocked this file.
Replies (0)
Up to 10 files, 25MB each. Images are optimized; GIFs -> MP4; videos 720p (max 120s).
Wan2GP: ImportError: DLL load failed while importing _regex: An Application Control policy has blocked… · Pinokio