Pinokio
FeedAppsRemote
Download Pinokio
Sign inCreate accountJoin
Sign inCreate accountJoin

Post

Conversation

Wan2GP: error = torch.cuda.cudart().cudaHostRegister(self.pointer, self.size, self.flags)

@arslan1070·52m

App: Wan2GP (wan.git)
Repo: https://github.com/pinokiofactory/wan.git
Generated: 2026-11-11T08:53:17.606Z
Pinokio: 8.3.7
Platform: darwin arm64
Node: v24.22.1

Summary

System

{
  "pinokio": {
    "version": "8.3.7",
    "node": "v24.22.1",
    "platform": "darwin",
    "arch": "arm64"
  },
  "hardware": {
    "gpu": "apple",
    "gpu_model": "apple m1 pro",
    "ram_gb": 16,
    "vram_gb": 0,
    "gpu_driver": null,
    "gpu_target": null
  },
  "os": {
    "platform": "darwin",
    "distro": "macOS",
    "release": "15.6.1",
    "codename": "Sequoia",
    "kernel": "24.6.0",
    "arch": "arm64",
    "build": "24G90",
    "uefi": true
  },
  "system": {
    "manufacturer": "Apple Inc.",
    "model": "MacBookPro18,3",
    "version": "MacBook Pro (14-inch, M1 Pro, 2021)",
    "virtual": false
  },
  "cpu": {
    "manufacturer": "Apple",
    "brand": "M1 Pro",
    "vendor": "Apple",
    "family": "458787763",
    "stepping": "4",
    "speed": 2.4,
    "speedMin": 2.4,
    "speedMax": 2.4,
    "cores": 10,
    "physicalCores": 10,
    "processors": 1,
    "performanceCores": 8,
    "efficiencyCores": 2,
    "virtualization": true,
    "cache": {
      "l1d": 65536,
      "l1i": 131072,
      "l2": 4194304
    }
  },
  "memory": {
    "total": 17179869184,
    "free": 224886784,
    "used": 16954982400,
    "active": 14104379392,
    "available": 3075489792,
    "buffers": 0,
    "cached": 0,
    "slab": 0,
    "buffcache": 2850603008,
    "swaptotal": 4294967296,
    "swapused": 3794010112,
    "swapfree": 500957184
  },
  "gpus": [
    {
      "model": "apple m1 pro"
    }
  ],
  "graphics": {
    "controllers": [
      {
        "vendor": "Apple",
        "model": "Apple M1 Pro",
        "bus": "Built-In",
        "vramDynamic": true,
        "cores": "16"
      }
    ],
    "displays": [
      {
        "model": "Color LCD",
        "main": true,
        "builtin": true,
        "connection": "Internal",
        "currentResX": 1512,
        "currentResY": 982,
        "resolutionX": 3024,
        "resolutionY": 1964,
        "currentRefreshRate": 120
      },
      {
        "model": "DELL U2722D",
        "main": false,
        "builtin": false,
        "currentResX": 2560,
        "currentResY": 1440,
        "resolutionX": 2560,
        "resolutionY": 1440,
        "currentRefreshRate": 60
      }
    ]
  },
  "diagnostics": {
    "platform": "darwin",
    "arch": "arm64",
    "running": {
      "/Users/arsalanfarooq/pinokio/api/wan.git/start.js": true
    },
    "home": "/Users/arsalanfarooq/pinokio",
    "vars": {
      "pip": {
        "install": {
          "torch": "pip3 install torch torchvision torchaudio"
        }
      }
    },
    "memory": {
      "local": {
        "/Users/arsalanfarooq/pinokio/api/wan.git/start.js": {
          "url": "http://127.0.0.1:42003"
        }
      },
      "global": {},
      "rpc": {
        "/Users/arsalanfarooq/pinokio/api/wan.git/install.js": {
          "method": "shell.run",
          "params": {
            "venv": "venv",
            "path": "app",
            "message": [
              "uv pip install -r requirements.txt --index-strategy unsafe-best-match",
              "uv pip install hf-xet pip comtypes"
            ]
          }
        },
        "/Users/arsalanfarooq/pinokio/api/wan.git/torch.js": {
          "when": "{{platform === 'darwin' && arch === 'arm64'}}",
          "method": "shell.run",
          "params": {
            "venv_python": "{{args && args.venv_python ? args.venv_python : null}}",
            "venv": "{{args && args.venv ? args.venv : null}}",
            "path": "{{args && args.path ? args.path : '.'}}",
            "message": "uv pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu --force-reinstall --no-deps"
          }
        },
        "/Users/arsalanfarooq/pinokio/api/wan.git/start.js": {
          "method": "local.set",
          "params": {
            "url": "{{input.event[0]}}"
          }
        }
      },
      "input": {
        "/Users/arsalanfarooq/pinokio/api/wan.git/install.js": {
          "id": "793c8f50-6fce-4d34-9c37-ed6d13eb1809",
          "response": "\r\nThe default interactive shell is now zsh.\r\nTo update your account to use zsh, please run `chsh -s /bin/zsh`.\r\nFor more details, please visit https://support.apple.com/kb/HT208050.\r\n<<PINOKIO_SHELL>>eval \"$(conda shell.bash hook)\" ; conda deactivate ; conda deactivate ; conda deactivate ; conda activate base ; source /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/bin/activate /Users/arsalanfarooq/pinokio/api/wan.git/app/venv && uv pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu --force-reinstall --no-deps\r\nUsing Python 3.11.17 environment at: venv\r\nResolved 3 packages in 152ms\r\nPrepared 3 packages in 1ms\r\nUninstalled 3 packages in 915ms\r\nInstalled 3 packages in 193ms\r\n ~ torch==2.15.0\r\n ~ torchaudio==2.11.1\r\n ~ torchvision==0.29.2\r\n(venv) (base) <<PINOKIO_SHELL>>",
          "stdout": "\r\nThe default interactive shell is now zsh.\r\nTo update your account to use zsh, please run `chsh -s /bin/zsh`.\r\nFor more details, please visit https://support.apple.com/kb/HT208050.\r\n<<PINOKIO_SHELL>>eval \"$(conda shell.bash hook)\" ; conda deactivate ; conda deactivate ; conda deactivate ; conda activate base ; source /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/bin/activate /Users/arsalanfarooq/pinokio/api/wan.git/app/venv && uv pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu --force-reinstall --no-deps\r\nUsing Python 3.11.17 environment at: venv\r\nResolved 3 packages in 152ms\r\nPrepared 3 packages in 1ms\r\nUninstalled 3 packages in 915ms\r\nInstalled 3 packages in 193ms\r\n ~ torch==2.15.0\r\n ~ torchaudio==2.11.1\r\n ~ torchvision==0.29.2\r\n(venv) (base) <<PINOKIO_SHELL>>"
        },
        "/Users/arsalanfarooq/pinokio/api/wan.git/torch.js": null,
        "/Users/arsalanfarooq/pinokio/api/wan.git/start.js": {
          "id": "cfdaff59-c85e-4b3f-badc-b93f25ac9293",
          "response": "\r\nThe default interactive shell is now zsh.\r\nTo update your account to use zsh, please run `chsh -s /bin/zsh`.\r\nFor more details, please visit https://support.apple.com/kb/HT208050.\r\n<<PINOKIO_SHELL>>eval \"$(conda shell.bash hook)\" ; conda deactivate ; conda deactivate ; conda deactivate ; conda activate base ; source /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/bin/activate /Users/arsalanfarooq/pinokio/api/wan.git/app/venv && python wgp.py --multiple-images --advanced \r\n*********************** WanGP v19.29 - Copyright (c) 2024-2026 DeepBeepMeep ************************\r\n[MPS Patch] Detected: Apple M1 Pro, 16GB RAM\r\n[MPS Patch] Device capability: (7, 0), BF16: False\r\n[MPS Patch] Applied successfully\r\n[MPS Patch] BF16 supported: False\r\n[MPS Patch] Available system RAM: 16GB\r\n[MPS Patch] Detected: Apple M1 Pro, 16GB RAM\r\n[MPS Patch] Device capability: (7, 0), BF16: False\r\n[MPS Patch] Applied successfully\r\n[MPS Patch] BF16 supported: False\r\n[MPS Patch] Available system RAM: 16GB\r\n****** Memory Management for the GPU Poor (mmgp 4.6.1) - Copyright (c) 2024-2026 DeepBeepMeep ******\r\n[RAM] MMGP RAM Allocator not available (The MMGP RAM allocator cannot be used: no library for darwin arm64.): PyTorch's CPU allocator is used\r\n/Users/arsalanfarooq/pinokio/api/wan.git/app/shared/mps/device_patch.py:193: UserWarning: In MPS autocast, but the target dtype is not supported. Disabling autocast.\r\nMPS Autocast only supports dtypes of torch.bfloat16, torch.float16 currently.\r\n  return _orig_autocast(device_type, *args, **kwargs)\r\nSwitching to FP16 models when possible as GPU architecture doesn't support optimed BF16 Kernels\r\nobjc[13817]: Class AVFFrameReceiver is implemented in both /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1655f43a8) and /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/av/.dylibs/libavdevice.62.3.102.dylib (0x3515903a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.\r\nobjc[13817]: Class AVFAudioReceiver is implemented in both /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1655f43f8) and /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/av/.dylibs/libavdevice.62.3.102.dylib (0x3515903f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.\r\n[INT8] Backend: PyTorch (setting: auto).\r\n[FP8] Backend: PyTorch (setting: auto; Triton is unavailable (No module named 'triton')).\r\nLoaded App: Media Flow (from media_flow)\r\nLoaded App: Motion Designer (from motion_designer)\r\nLoaded App: Showrunner (from showrunner)\r\n/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/jit/_script.py:1491: FutureWarning: `torch.jit.script` is deprecated. Please switch to `torch.compile` or `torch.export`.\r\n  warnings.warn(\r\nWanGP web authentication disabled.\r\nDeepy Web app: http://127.0.0.1:42003/deepy/",
          "stdout": "\r\nThe default interactive shell is now zsh.\r\nTo update your account to use zsh, please run `chsh -s /bin/zsh`.\r\nFor more details, please visit https://support.apple.com/kb/HT208050.\r\n<<PINOKIO_SHELL>>eval \"$(conda shell.bash hook)\" ; conda deactivate ; conda deactivate ; conda deactivate ; conda activate base ; source /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/bin/activate /Users/arsalanfarooq/pinokio/api/wan.git/app/venv && python wgp.py --multiple-images --advanced \r\n*********************** WanGP v19.29 - Copyright (c) 2024-2026 DeepBeepMeep ************************\r\n[MPS Patch] Detected: Apple M1 Pro, 16GB RAM\r\n[MPS Patch] Device capability: (7, 0), BF16: False\r\n[MPS Patch] Applied successfully\r\n[MPS Patch] BF16 supported: False\r\n[MPS Patch] Available system RAM: 16GB\r\n[MPS Patch] Detected: Apple M1 Pro, 16GB RAM\r\n[MPS Patch] Device capability: (7, 0), BF16: False\r\n[MPS Patch] Applied successfully\r\n[MPS Patch] BF16 supported: False\r\n[MPS Patch] Available system RAM: 16GB\r\n****** Memory Management for the GPU Poor (mmgp 4.6.1) - Copyright (c) 2024-2026 DeepBeepMeep ******\r\n[RAM] MMGP RAM Allocator not available (The MMGP RAM allocator cannot be used: no library for darwin arm64.): PyTorch's CPU allocator is used\r\n/Users/arsalanfarooq/pinokio/api/wan.git/app/shared/mps/device_patch.py:193: UserWarning: In MPS autocast, but the target dtype is not supported. Disabling autocast.\r\nMPS Autocast only supports dtypes of torch.bfloat16, torch.float16 currently.\r\n  return _orig_autocast(device_type, *args, **kwargs)\r\nSwitching to FP16 models when possible as GPU architecture doesn't support optimed BF16 Kernels\r\nobjc[13817]: Class AVFFrameReceiver is implemented in both /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1655f43a8) and /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/av/.dylibs/libavdevice.62.3.102.dylib (0x3515903a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.\r\nobjc[13817]: Class AVFAudioReceiver is implemented in both /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1655f43f8) and /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/av/.dylibs/libavdevice.62.3.102.dylib (0x3515903f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.\r\n[INT8] Backend: PyTorch (setting: auto).\r\n[FP8] Backend: PyTorch (setting: auto; Triton is unavailable (No module named 'triton')).\r\nLoaded App: Media Flow (from media_flow)\r\nLoaded App: Motion Designer (from motion_designer)\r\nLoaded App: Showrunner (from showrunner)\r\n/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/jit/_script.py:1491: FutureWarning: `torch.jit.script` is deprecated. Please switch to `torch.compile` or `torch.export`.\r\n  warnings.warn(\r\nWanGP web authentication disabled.\r\nDeepy Web app: http://127.0.0.1:42003/deepy/",
          "event": [
            "http://127.0.0.1:42003"
          ]
        }
      },
      "args": {
        "/Users/arsalanfarooq/pinokio/api/wan.git/install.js": {},
        "/Users/arsalanfarooq/pinokio/api/wan.git/torch.js": {
          "venv_python": "3.11",
          "venv": "venv",
          "path": "app",
          "xformers": true
        },
        "/Users/arsalanfarooq/pinokio/api/wan.git/start.js": {}
      }
    },
    "procs": {},
    "gpu": "apple",
    "gpus": [
      {
        "name": "apple",
        "model": "apple m1 pro",
        "driver": null
      }
    ],
    "gpu_model": "apple m1 pro",
    "gpu_driver": null,
    "gpu_target": null,
    "ram": 16,
    "vram": 0,
    "version": "8.3.7",
    "system": {
      "manufacturer": "Apple Inc.",
      "model": "MacBookPro18,3",
      "version": "MacBook Pro (14-inch, M1 Pro, 2021)",
      "serial": "H9H6HL49YX",
      "uuid": "cb6083a2-19a0-5cca-807c-885028999382",
      "sku": "J314sAP",
      "virtual": false,
      "type": "Notebook"
    },
    "osInfo": {
      "platform": "darwin",
      "distro": "macOS",
      "release": "15.6.1",
      "codename": "Sequoia",
      "kernel": "24.6.0",
      "arch": "arm64",
      "hostname": "192.168.1.150",
      "fqdn": "192.168.1.150",
      "codepage": "UTF-8",
      "logofile": "apple",
      "serial": "D013020A-F19B-3730-8283-F7E47107D27A",
      "build": "24G90",
      "servicepack": "",
      "uefi": true
    },
    "shell": "/bin/zsh",
    "mem": {
      "total": 17179869184,
      "free": 224886784,
      "used": 16954982400,
      "active": 14104379392,
      "available": 3075489792,
      "buffers": 0,
      "cached": 0,
      "slab": 0,
      "buffcache": 2850603008,
      "reclaimable": 3158261760,
      "swaptotal": 4294967296,
      "swapused": 3794010112,
      "swapfree": 500957184,
      "writeback": null,
      "dirty": null
    },
    "cpu": {
      "manufacturer": "Apple",
      "brand": "M1 Pro",
      "vendor": "Apple",
      "family": "458787763",
      "model": "",
      "stepping": "4",
      "revision": "",
      "voltage": "",
      "speed": 2.4,
      "speedMin": 2.4,
      "speedMax": 2.4,
      "governor": "",
      "cores": 10,
      "physicalCores": 10,
      "performanceCores": 8,
      "efficiencyCores": 2,
      "processors": 1,
      "socket": "SOC",
      "flags": "",
      "virtualization": true,
      "cache": {
        "l1d": 65536,
        "l1i": 131072,
        "l2": 4194304,
        "l3": null
      }
    },
    "audio": [
      {
        "id": 0,
        "name": "DELL U2722D",
        "manufacturer": "DEL",
        "revision": null,
        "driver": null,
        "default": false,
        "channel": "HDMI",
        "type": "Speaker",
        "in": false,
        "out": true,
        "status": "online"
      },
      {
        "id": 1,
        "name": "Arslan’s iPhone 14 Microphone",
        "manufacturer": "Apple Inc.",
        "revision": null,
        "driver": null,
        "default": false,
        "channel": "",
        "type": "Phone",
        "in": true,
        "out": false,
        "status": "online"
      },
      {
        "id": 2,
        "name": "MacBook Pro Microphone",
        "manufacturer": "Apple Inc.",
        "revision": null,
        "driver": null,
        "default": true,
        "channel": "Built-In",
        "type": "Phone",
        "in": true,
        "out": false,
        "status": "online"
      },
      {
        "id": 3,
        "name": "MacBook Pro Speakers",
        "manufacturer": "Apple Inc.",
        "revision": null,
        "driver": null,
        "default": true,
        "channel": "Built-In",
        "type": "Speaker",
        "in": false,
        "out": true,
        "status": "online"
      },
      {
        "id": 4,
        "name": "Microsoft Teams Audio",
        "manufacturer": "Microsoft Corp.",
        "revision": null,
        "driver": null,
        "default": false,
        "channel": "",
        "type": "Microphone",
        "in": true,
        "out": true,
        "status": "online"
      }
    ],
    "graphics": {
      "controllers": [
        {
          "vendor": "Apple",
          "model": "Apple M1 Pro",
          "bus": "Built-In",
          "vramDynamic": true,
          "vram": null,
          "deviceId": "",
          "vendorId": "0x05ac",
          "external": false,
          "cores": "16",
          "metalVersion": ""
        }
      ],
      "displays": [
        {
          "vendor": "Apple",
          "vendorId": "610",
          "model": "Color LCD",
          "productionYear": "0",
          "serial": "fd626d62",
          "displayId": "1",
          "main": true,
          "builtin": true,
          "connection": "Internal",
          "sizeX": null,
          "sizeY": null,
          "pixelDepth": null,
          "resolutionX": 3024,
          "resolutionY": 1964,
          "currentResX": 1512,
          "currentResY": 982,
          "positionX": 0,
          "positionY": 0,
          "currentRefreshRate": 120
        },
        {
          "vendor": "DELL",
          "vendorId": "10ac",
          "model": "DELL U2722D",
          "productionYear": "2023",
          "serial": "4237424c",
          "displayId": "2",
          "main": false,
          "builtin": false,
          "connection": null,
          "sizeX": null,
          "sizeY": null,
          "pixelDepth": null,
          "resolutionX": 2560,
          "resolutionY": 1440,
          "currentResX": 2560,
          "currentResY": 1440,
          "positionX": -548,
          "positionY": -1440,
          "currentRefreshRate": 60
        }
      ]
    }
  }
}

Logs

logs/api/start.js/1794385392560

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

[api shell.run]

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
<<PINOKIO_SHELL>>eval "$(conda shell.bash hook)" ; conda deactivate ; conda deactivate ; conda deactivate ; conda activate base ; source /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/bin/activate /Users/arsalanfarooq/pinokio/api/wan.git/app/venv && python wgp.py --multiple-images --advanced 
*********************** WanGP v19.29 - Copyright (c) 2024-2026 DeepBeepMeep ************************
[MPS Patch] Detected: Apple M1 Pro, 16GB RAM
[MPS Patch] Device capability: (7, 0), BF16: False
[MPS Patch] Applied successfully
[MPS Patch] BF16 supported: False
[MPS Patch] Available system RAM: 16GB
[MPS Patch] Detected: Apple M1 Pro, 16GB RAM
[MPS Patch] Device capability: (7, 0), BF16: False
[MPS Patch] Applied successfully
[MPS Patch] BF16 supported: False
[MPS Patch] Available system RAM: 16GB
****** Memory Management for the GPU Poor (mmgp 4.6.1) - Copyright (c) 2024-2026 DeepBeepMeep ******
[RAM] MMGP RAM Allocator not available (The MMGP RAM allocator cannot be used: no library for darwin arm64.): PyTorch's CPU allocator is used
/Users/arsalanfarooq/pinokio/api/wan.git/app/shared/mps/device_patch.py:193: UserWarning: In MPS autocast, but the target dtype is not supported. Disabling autocast.
MPS Autocast only supports dtypes of torch.bfloat16, torch.float16 currently.
  return _orig_autocast(device_type, *args, **kwargs)
Switching to FP16 models when possible as GPU architecture doesn't support optimed BF16 Kernels
objc[13817]: Class AVFFrameReceiver is implemented in both /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1655f43a8) and /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/av/.dylibs/libavdevice.62.3.102.dylib (0x3515903a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[13817]: Class AVFAudioReceiver is implemented in both /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1655f43f8) and /Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/av/.dylibs/libavdevice.62.3.102.dylib (0x3515903f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
[INT8] Backend: PyTorch (setting: auto).
[FP8] Backend: PyTorch (setting: auto; Triton is unavailable (No module named 'triton')).
Loaded App: Media Flow (from media_flow)
Loaded App: Motion Designer (from motion_designer)
Loaded App: Showrunner (from showrunner)
/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/jit/_script.py:1491: FutureWarning: `torch.jit.script` is deprecated. Please switch to `torch.compile` or `torch.export`.
  warnings.warn(
WanGP web authentication disabled.
Deepy Web app: http://127.0.0.1:42003/deepy/
Showrunner App: http://127.0.0.1:42003/showrunner/
Media Flow App: http://127.0.0.1:42003/media-flow/
* Running on local URL:  http://127.0.0.1:42003
* To create a public link, set `share=True` in `launch()`.
ltx-2-19b-distilled-fp8_diffusion_model.safetensors: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 21.6G/21.6G [04:21<00:00, 82.3MB/s]
ltx-2-spatial-upscaler-x2-1.0.safetensors: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 996M/996M [00:12<00:00, 77.7MB/s]
ltx-2-temporal-upscaler-x2-1.0.safetensors: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 262M/262M [00:04<00:00, 60.3MB/s]
ltx-2-19b_vae.safetensors: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2.45G/2.45G [00:29<00:00, 82.9MB/s]
ltx-2-19b_audio_vae.safetensors: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 107M/107M [00:02<00:00, 44.6MB/s]
ltx-2-19b_vocoder.safetensors: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 111M/111M [00:02<00:00, 51.5MB/s]
ltx-2-19b_text_embedding_projection.safetensors: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1.45G/1.45G [00:17<00:00, 82.3MB/s]
ltx-2-19b-distilled_embeddings_connector.safetensors: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1.42G/1.42G [00:17<00:00, 82.3MB/s]
added_tokens.json: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 35.0/35.0 [00:00<00:00, 777kB/s]
chat_template.json: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1.61k/1.61k [00:00<00:00, 17.6MB/s]
config_light.json: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 907/907 [00:00<00:00, 21.6MB/s]
generation_config.json: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 173/173 [00:00<00:00, 3.59MB/s]
preprocessor_config.json: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 570/570 [00:00<00:00, 10.3MB/s]
processor_config.json: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 70.0/70.0 [00:00<00:00, 1.37MB/s]
special_tokens_map.json: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 662/662 [00:00<00:00, 12.5MB/s]
gemma-3-12b-it-qat-q4_0-unquantized/tokenizer.json: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 33.4M/33.4M [00:00<00:00, 40.3MB/s]
gemma-3-12b-it-qat-q4_0-unquantized/tokenizer.model: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4.69M/4.69M [00:00<00:00, 7.47MB/s]
tokenizer_config.json: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1.16M/1.16M [00:00<00:00, 894MB/s]
Loading Model 'ckpts/ltx-2-19b-distilled-fp8_diffusion_model.safetensors' ...
gemma-3-12b-it-qat-q4_0-unquantized/gemma-3-12b-it-qat-q4_0-unquantized_quanto_bf16_int8.safetensors: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 13.2G/13.2G [02:31<00:00, 87.3MB/s]
Loading Text Encoder 'ckpts/gemma-3-12b-it-qat-q4_0-unquantized/gemma-3-12b-it-qat-q4_0-unquantized_quanto_bf16_int8.safetensors' ...
********************* Applying MMGP Memory Profile 4 - LowRAM_LowVRAM (v4.6.1) *********************
Hooked to model 'transformer' (X0Model)
Hooked to model 'text_encoder' (Gemma3ForCausalLM)
Hooked to model 'text_embedding_projection' (GemmaFeaturesExtractorProjLinear)
Hooked to model 'vae' (VideoDecoder)
Hooked to model 'video_encoder' (VideoEncoder)
Hooked to model 'audio_encoder' (AudioEncoder)
Hooked to model 'audio_decoder' (AudioDecoder)
Hooked to model 'vocoder' (Vocoder)
Hooked to model 'spatial_upsampler' (LatentUpsampler)
Hooked to model 'text_embeddings_connector' (GemmaTextEmbeddingsConnectorModel)
Traceback (most recent call last):                                                                                                                                                                                                                                                                                                                          
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/wgp.py", line 8743, in generate_media
    samples = call_with_default_device(model_def, model_type, wan_model.generate,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/shared/utils/default_device.py", line 85, in call_with_default_device
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/shared/utils/phase_progress.py", line 54, in wrapped
    result = method(self, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 158, in inference_mode
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/models/ltx2/ltx2.py", line 1945, in generate
    pipeline_output = run_ltx2_pipeline(
                      ^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/models/ltx2/ltx2.py", line 1872, in run_ltx2_pipeline
    return self.pipeline(**pipeline_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/models/ltx2/ltx_pipelines/distilled.py", line 720, in __call__
    contexts = self.text_encoder_cache.encode(encode_fn, [prompt], device=self.device, parallel=True)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/shared/utils/text_encoder_cache.py", line 84, in encode
    encoded_batch = encode_fn(missing_prompts)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/models/ltx2/ltx_pipelines/distilled.py", line 687, in <lambda>
    encode_text(text_encoder, prompts=prompts),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/models/ltx2/ltx_core/text_encoders/gemma/encoders/base_encoder.py", line 525, in encode_text
    result.append(text_encoder.encode_raw(prompt))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/models/ltx2/ltx_core/text_encoders/gemma/encoders/base_encoder.py", line 59, in encode_raw
    outputs = language_model(input_ids=input_ids, attention_mask=attention_mask, output_hidden_states=True, use_cache=False)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1787, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1798, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 6284, in check_change_module
    return previous_method(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/transformers/utils/generic.py", line 1069, in wrapper
    outputs = func(self, *args, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/transformers/models/gemma3/modeling_gemma3.py", line 559, in forward
    layer_outputs = decoder_layer(
                    ^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/transformers/modeling_layers.py", line 94, in __call__
    return super().__call__(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1787, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1893, in _call_impl
    return inner()
           ^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1841, in inner
    result = forward_call(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/transformers/utils/generic.py", line 1037, in wrapped_forward
    output = orig_forward(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 6208, in check_load_into_GPU_needed_other
    check_load_into_GPU_needed()
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 6197, in check_load_into_GPU_needed
    self.gpu_load_blocks(model_id, blocks_name)
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/_dynamo/eval_frame.py", line 1552, in _fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 5245, in gpu_load_blocks
    cpu_to_gpu(self.default_stream, self.blocks_of_modules[entry_name])
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 5178, in cpu_to_gpu
    return copy_block(stream_to_use, blocks_params, parallel_staging, moved)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 5162, in copy_block
    q = self.stager.to_gpu(p, parallel_staging, model_id not in self.pool_models) # the pool's blocks enter it locked in place
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 851, in to_gpu
    slot = self._acquire(nbytes)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 800, in _acquire
    slot = self.slots[slot_no].get(nbytes) # exact multiples of STAGING_CHUNK_SIZE, an outgrown slot unlocked at the next quiet point
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/pinned.py", line 224, in get
    self.tensor = empty(-(-nbytes // self.granularity) * self.granularity, self.kind, cap, self.flags)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/pinned.py", line 194, in empty
    owner.registration = lock(owner.base, tensor.data_ptr(), size, kind, flags)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/pinned.py", line 179, in lock
    return registration if int(_registrar.submit(registration.register).result()) == 0 else None
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/cache/XDG_DATA_HOME/uv/python/cpython-3.11.17-macos-aarch64-none/lib/python3.11/concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/cache/XDG_DATA_HOME/uv/python/cpython-3.11.17-macos-aarch64-none/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/Users/arsalanfarooq/pinokio/cache/XDG_DATA_HOME/uv/python/cpython-3.11.17-macos-aarch64-none/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/pinned.py", line 56, in register
    error = torch.cuda.cudart().cudaHostRegister(self.pointer, self.size, self.flags)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'cudaHostRegister'
Error Queue autosaved successfully to error_queue.zip
Traceback (most recent call last):                                                                                                                                                                                                                                                                                                                          
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/wgp.py", line 8743, in generate_media
    samples = call_with_default_device(model_def, model_type, wan_model.generate,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/shared/utils/default_device.py", line 85, in call_with_default_device
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/shared/utils/phase_progress.py", line 54, in wrapped
    result = method(self, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 158, in inference_mode
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/models/ltx2/ltx2.py", line 1945, in generate
    pipeline_output = run_ltx2_pipeline(
                      ^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/models/ltx2/ltx2.py", line 1872, in run_ltx2_pipeline
    return self.pipeline(**pipeline_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/models/ltx2/ltx_pipelines/distilled.py", line 720, in __call__
    contexts = self.text_encoder_cache.encode(encode_fn, [prompt], device=self.device, parallel=True)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/shared/utils/text_encoder_cache.py", line 84, in encode
    encoded_batch = encode_fn(missing_prompts)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/models/ltx2/ltx_pipelines/distilled.py", line 687, in <lambda>
    encode_text(text_encoder, prompts=prompts),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/models/ltx2/ltx_core/text_encoders/gemma/encoders/base_encoder.py", line 525, in encode_text
    result.append(text_encoder.encode_raw(prompt))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/models/ltx2/ltx_core/text_encoders/gemma/encoders/base_encoder.py", line 59, in encode_raw
    outputs = language_model(input_ids=input_ids, attention_mask=attention_mask, output_hidden_states=True, use_cache=False)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1787, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1798, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 6284, in check_change_module
    return previous_method(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/transformers/utils/generic.py", line 1069, in wrapper
    outputs = func(self, *args, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/transformers/models/gemma3/modeling_gemma3.py", line 559, in forward
    layer_outputs = decoder_layer(
                    ^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/transformers/modeling_layers.py", line 94, in __call__
    return super().__call__(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1787, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1893, in _call_impl
    return inner()
           ^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1841, in inner
    result = forward_call(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/transformers/utils/generic.py", line 1037, in wrapped_forward
    output = orig_forward(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/transformers/utils/generic.py", line 1037, in wrapped_forward
    output = orig_forward(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 6208, in check_load_into_GPU_needed_other
    check_load_into_GPU_needed()
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 6197, in check_load_into_GPU_needed
    self.gpu_load_blocks(model_id, blocks_name)
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/_dynamo/eval_frame.py", line 1552, in _fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 5245, in gpu_load_blocks
    cpu_to_gpu(self.default_stream, self.blocks_of_modules[entry_name])
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 5178, in cpu_to_gpu
    return copy_block(stream_to_use, blocks_params, parallel_staging, moved)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 5162, in copy_block
    q = self.stager.to_gpu(p, parallel_staging, model_id not in self.pool_models) # the pool's blocks enter it locked in place
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 851, in to_gpu
    slot = self._acquire(nbytes)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 800, in _acquire
    slot = self.slots[slot_no].get(nbytes) # exact multiples of STAGING_CHUNK_SIZE, an outgrown slot unlocked at the next quiet point
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/pinned.py", line 224, in get
    self.tensor = empty(-(-nbytes // self.granularity) * self.granularity, self.kind, cap, self.flags)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/pinned.py", line 194, in empty
    owner.registration = lock(owner.base, tensor.data_ptr(), size, kind, flags)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/pinned.py", line 179, in lock
    return registration if int(_registrar.submit(registration.register).result()) == 0 else None
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/cache/XDG_DATA_HOME/uv/python/cpython-3.11.17-macos-aarch64-none/lib/python3.11/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/cache/XDG_DATA_HOME/uv/python/cpython-3.11.17-macos-aarch64-none/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/Users/arsalanfarooq/pinokio/cache/XDG_DATA_HOME/uv/python/cpython-3.11.17-macos-aarch64-none/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/pinned.py", line 56, in register
    error = torch.cuda.cudart().cudaHostRegister(self.pointer, self.size, self.flags)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'cudaHostRegister'
Error Queue autosaved successfully to error_queue.zip
wan2.1_text2video_14B_quanto_mfp16_int8.safetensors: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 14.9G/14.9G [02:59<00:00, 82.8MB/s]
special_tokens_map.json: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 6.62k/6.62k [00:00<00:00, 9.22MB/s]
umt5-xxl/spiece.model: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4.55M/4.55M [00:00<00:00, 6.23MB/s]
umt5-xxl/tokenizer.json: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 16.8M/16.8M [00:00<00:00, 20.2MB/s]
tokenizer_config.json: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 61.7k/61.7k [00:00<00:00, 257MB/s]
xlm-roberta-large/models_clip_open-clip-xlm-roberta-large-vit-huge-14-bf16.safetensors: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2.39G/2.39G [00:26<00:00, 91.0MB/s]
xlm-roberta-large/sentencepiece.bpe.model: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 5.07M/5.07M [00:00<00:00, 6.03MB/s]
special_tokens_map.json: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 280/280 [00:00<00:00, 4.81MB/s]
xlm-roberta-large/tokenizer.json: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 17.1M/17.1M [00:00<00:00, 18.3MB/s]
tokenizer_config.json: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 418/418 [00:00<00:00, 6.64MB/s]
Wan2.1_VAE.safetensors: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 508M/508M [00:06<00:00, 82.8MB/s]
Wan2.1_VAE_upscale2x_imageonly_real_v1.safetensors: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 508M/508M [00:06<00:00, 73.5MB/s]
Loading Model 'ckpts/wan2.1_text2video_14B_quanto_mfp16_int8.safetensors' ...
umt5-xxl/models_t5_umt5-xxl-enc-quanto_int8.safetensors: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 6.73G/6.73G [01:14<00:00, 91.0MB/s]
Loading Text Encoder 'ckpts/umt5-xxl/models_t5_umt5-xxl-enc-quanto_int8.safetensors' ...
********************* Applying MMGP Memory Profile 4 - LowRAM_LowVRAM (v4.6.1) *********************
Hooked to model 'transformer' (WanModel)
Hooked to model 'vae' (WanVAE_)
Hooked to model 'text_encoder' (T5Encoder)
Traceback (most recent call last):                                                                                                                                                                                                                                                                                                                          
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/wgp.py", line 8743, in generate_media
    samples = call_with_default_device(model_def, model_type, wan_model.generate,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/shared/utils/default_device.py", line 85, in call_with_default_device
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/shared/utils/phase_progress.py", line 54, in wrapped
    result = method(self, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/models/wan/any2video.py", line 621, in generate
    contexts = iter(self.text_encoder_cache.encode(encode_fn, prompts, device=self.device))
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/shared/utils/text_encoder_cache.py", line 57, in encode
    encoded = encode_fn([prompt])
              ^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/models/wan/any2video.py", line 615, in <lambda>
    encode_fn = lambda prompts: self.text_encoder(prompts, self.device)
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/models/wan/modules/t5.py", line 719, in __call__
    context = self.model(ids, mask)
              ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1787, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1798, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 6284, in check_change_module
    return previous_method(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/models/wan/modules/t5.py", line 313, in forward
    x = block(x, mask, pos_bias=e)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1787, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1893, in _call_impl
    return inner()
           ^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1841, in inner
    result = forward_call(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 6208, in check_load_into_GPU_needed_other
    check_load_into_GPU_needed()
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 6197, in check_load_into_GPU_needed
    self.gpu_load_blocks(model_id, blocks_name)
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/venv/lib/python3.11/site-packages/torch/_dynamo/eval_frame.py", line 1552, in _fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 5245, in gpu_load_blocks
    cpu_to_gpu(self.default_stream, self.blocks_of_modules[entry_name])
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 5178, in cpu_to_gpu
    return copy_block(stream_to_use, blocks_params, parallel_staging, moved)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 5162, in copy_block
    q = self.stager.to_gpu(p, parallel_staging, model_id not in self.pool_models) # the pool's blocks enter it locked in place
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 851, in to_gpu
    slot = self._acquire(nbytes)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/offload.py", line 800, in _acquire
    slot = self.slots[slot_no].get(nbytes) # exact multiples of STAGING_CHUNK_SIZE, an outgrown slot unlocked at the next quiet point
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/pinned.py", line 224, in get
    self.tensor = empty(-(-nbytes // self.granularity) * self.granularity, self.kind, cap, self.flags)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/pinned.py", line 194, in empty
    owner.registration = lock(owner.base, tensor.data_ptr(), size, kind, flags)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/pinned.py", line 179, in lock
    return registration if int(_registrar.submit(registration.register).result()) == 0 else None
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/cache/XDG_DATA_HOME/uv/python/cpython-3.11.17-macos-aarch64-none/lib/python3.11/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/cache/XDG_DATA_HOME/uv/python/cpython-3.11.17-macos-aarch64-none/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/Users/arsalanfarooq/pinokio/cache/XDG_DATA_HOME/uv/python/cpython-3.11.17-macos-aarch64-none/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/arsalanfarooq/pinokio/api/wan.git/app/mmgp/pinned.py", line 56, in register
    error = torch.cuda.cudart().cudaHostRegister(self.pointer, self.size, self.flags)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'cudaHostRegister'
Error Queue autosaved successfully to error_queue.zip
Wan2GPpinokiofactory/wan
#bug#logs
Loading conversation…

Replies

Post context

App used

Wan2GPpinokiofactory/wan

1-click WanGP Launcher. Super Optimized Gradio UI for AI video creation for GPU poor machines (6GB+ VRAM). Supports Wan 2.1/2.2, Qwen, Hunyuan Vide...

View app

Published by

@arslan107052 min ago
#bug#logs
Pinokio
PrivacyTerms
FeedAppsRemote

Post context

App used

Wan2GPpinokiofactory/wan

1-click WanGP Launcher. Super Optimized Gradio UI for AI video creation for GPU poor machines (6GB+ VRAM). Supports Wan 2.1/2.2, Qwen, Hunyuan Vide...

View app

Published by

@arslan107052 min ago
#bug#logs

Related posts

Qwen3-TTS: Error: Command '['C:\\pinokio\\api\\Qwen3-TTS-Pinokio.git\\app\\venv\\Scripts\\python.exe', '-m…@terryb0913 · 1d agoWan2GP: error: Failed to inspect Python interpreter from active virtual environment at `venv\Scripts\py…@mlbbenhancer07 · 14h agoWan2GP: OSError: [WinError 1114] Devingen bağlantı kitaplığını (DLL) başlatma işlemi başarısız. Error l…@20685454bg · 3d ago