lllyasviel / lllyasviel/FramePack

ImportError: DLL load failed while importing libtriton: A dynamic link library (DLL) initialization routine failed. Triton and SageAttention failed.

Open
#390 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
17.3k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Failed to start with SageAttention below:
```

A matching Triton is not available, some optimizations will not be enabled
Traceback (most recent call last):
File "F:\AI\framepack_cu126_torch26\system\python\lib\site-packages\xformers\__init__.py", line 57, in _is_triton_available
import triton # noqa
File "C:\Users\MyName\AppData\Roaming\Python\Python310\site-packages\triton\__init__.py", line 8, in
from .runtime import (
File "C:\Users\MyName\AppData\Roaming\Python\Python310\site-packages\triton\runtime\__init__.py", line 1, in
from .autotuner import (Autotuner, Config, Heuristics, autotune, heuristics)
File "C:\Users\MyName\AppData\Roaming\Python\Python310\site-packages\triton\runtime\autotuner.py", line 9, in
from .jit import KernelInterface
File "C:\Users\MyName\AppData\Roaming\Python\Python310\site-packages\triton\runtime\jit.py", line 12, in
from ..runtime.driver import driver
File "C:\Users\MyName\AppData\Roaming\Python\Python310\site-packages\triton\runtime\driver.py", line 1, in
from ..backends import backends
File "C:\Users\MyName\AppData\Roaming\Python\Python310\site-packages\triton\backends\__init__.py", line 50, in
backends = _discover_backends()
File "C:\Users\MyName\AppData\Roaming\Python\Python310\site-packages\triton\backends\__init__.py", line 43, in _discover_backends
compiler = _load_module(name, os.path.join(root, name, 'compiler.py'))
File "C:\Users\MyName\AppData\Roaming\Python\Python310\site-packages\triton\backends\__init__.py", line 12, in _load_module
spec.loader.exec_module(module)
File "C:\Users\MyName\AppData\Roaming\Python\Python310\site-packages\triton\backends\amd\compiler.py", line 2, in
from triton._C.libtriton import ir, passes, llvm, amd
ImportError: DLL load failed while importing libtriton: A dynamic link library (DLL) initialization routine failed.
Currently enabled native sdp backends: ['flash', 'math', 'mem_efficient', 'cudnn']
Xformers is installed!
Flash Attn is installed!
Sage Attn is not installed!
```

Tried removing and reinstalling triton, tried other version, this error keep appearing.
My specs: Win11, 32 RAM, RTX4070ti 12 VRAM, using framepack windows zip.

Contributor guide

No contributing guide indexed for this repository

Research direction

No repository source file or test is named; start by reproducing the traceback in the Windows zip setup and checking the reported Python, Triton, xformers, and SageAttention installation context. Done would require identifying a repository-level compatibility fix or documenting the supported Windows dependency combination, which the issue does not currently specify.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.