0

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

@juliocesaralmeidaposted 8/17/2026, 5:05:40 PM·0 replies

App: FramePack (Frame-Pack.git)
Repo: https://github.com/pinokiofactory/Frame-Pack.git
Generated: 2026-08-17T17:05:17.760Z
Pinokio: 8.0.40
Platform: darwin arm64
Node: v22.21.1

Summary

System

{
  "pinokio": {
    "version": "8.0.40",
    "node": "v22.21.1",
    "platform": "darwin",
    "arch": "arm64"
  },
  "hardware": {
    "gpu": "apple",
    "gpu_model": "apple m4 pro",
    "ram_gb": 24,
    "vram_gb": 0
  },
  "os": {
    "platform": "darwin",
    "distro": "macOS",
    "release": "26.5.2",
    "codename": "Tahoe",
    "kernel": "25.5.0",
    "arch": "arm64",
    "build": "25F84",
    "uefi": true
  },
  "system": {
    "manufacturer": "Apple Inc.",
    "model": "Mac16,11",
    "version": "Mac mini (M4 Pro, 2024)",
    "virtual": false
  },
  "cpu": {
    "manufacturer": "Apple",
    "brand": "M4 Pro",
    "vendor": "Apple",
    "family": "399882554",
    "stepping": "4",
    "speed": 2.4,
    "speedMin": 2.4,
    "speedMax": 2.4,
    "cores": 12,
    "physicalCores": 12,
    "processors": 1,
    "performanceCores": 8,
    "efficiencyCores": 4,
    "virtualization": true,
    "cache": {
      "l1d": 65536,
      "l1i": 131072,
      "l2": 4194304
    }
  },
  "memory": {
    "total": 25769803776,
    "free": 2699182080,
    "used": 23070621696,
    "active": 10790961152,
    "available": 14978842624,
    "buffers": 0,
    "cached": 0,
    "slab": 0,
    "buffcache": 12279660544,
    "swaptotal": 0,
    "swapused": 0,
    "swapfree": 0
  },
  "gpus": [
    {
      "model": "apple m4 pro"
    }
  ],
  "graphics": {
    "controllers": [
      {
        "vendor": "Apple",
        "model": "Apple M4 Pro",
        "bus": "Built-In",
        "vramDynamic": true,
        "cores": "16"
      }
    ],
    "displays": [
      {
        "model": "72667",
        "main": true,
        "builtin": false,
        "currentResX": 1920,
        "currentResY": 1080,
        "resolutionX": 1920,
        "resolutionY": 1080,
        "currentRefreshRate": 120
      },
      {
        "model": "72667",
        "main": false,
        "builtin": false,
        "currentResX": 1920,
        "currentResY": 1080,
        "resolutionX": 1920,
        "resolutionY": 1080,
        "currentRefreshRate": 120
      }
    ]
  }
}

Logs

logs/api/start.js/1786986233316

Source: api / start.js
Lines: 20 total, last 20 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/editoradinamica-criacao/pinokio/api/Frame-Pack.git/app/env/bin/activate /Users/editoradinamica-criacao/pinokio/api/Frame-Pack.git/app/env && python demo_gradio.py --server 127.0.0.1 --port 42003
Currently enabled native sdp backends: ['flash', 'math', 'mem_efficient', 'cudnn']
Xformers is not installed!
Flash Attn is not installed!
Sage Attn is not installed!
Traceback (most recent call last):
  File "/Users/editoradinamica-criacao/pinokio/api/Frame-Pack.git/app/demo_gradio.py", line 23, in <module>
    from diffusers_helper.memory import cpu, gpu, get_cuda_free_memory_gb, move_model_to_device_with_memory_preservation, offload_model_from_device_for_memory_preservation, fake_diffusers_current_device, DynamicSwapInstaller, unload_complete_models, load_model_as_complete
  File "/Users/editoradinamica-criacao/pinokio/api/Frame-Pack.git/app/diffusers_helper/memory.py", line 8, in <module>
    gpu = torch.device(f'cuda:{torch.cuda.current_device()}')
  File "/Users/editoradinamica-criacao/pinokio/api/Frame-Pack.git/app/env/lib/python3.10/site-packages/torch/cuda/__init__.py", line 1026, in current_device
    _lazy_init()
  File "/Users/editoradinamica-criacao/pinokio/api/Frame-Pack.git/app/env/lib/python3.10/site-packages/torch/cuda/__init__.py", line 363, 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).