lllyasviel / lllyasviel/FramePack
failed to run
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
RTX 4060 8GB VRAM
drivers up-to-date
-----------------------
I've got this error:
D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\schedulers\scheduling_dpmsolver_multistep.py:30: UserWarning: A NumPy version >=1.22.4 and <1.29.0 is required for this version of SciPy (detected version 2.2.6)
import scipy.stats
Traceback (most recent call last):
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\utils\import_utils.py", line 820, in _get_module
return importlib.import_module("." + module_name, self.__name__)
File "importlib\__init__.py", line 126, in import_module
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\schedulers\scheduling_dpmsolver_multistep.py", line 30, in
import scipy.stats
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\scipy\stats\__init__.py", line 605, in
from ._stats_py import *
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\scipy\stats\_stats_py.py", line 37, in
from scipy.spatial.distance import cdist
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\scipy\spatial\__init__.py", line 110, in
from ._kdtree import *
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\scipy\spatial\_kdtree.py", line 4, in
from ._ckdtree import cKDTree, cKDTreeNode
File "_ckdtree.pyx", line 1, in init scipy.spatial._ckdtree
ValueError: numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\utils\import_utils.py", line 820, in _get_module
return importlib.import_module("." + module_name, self.__name__)
File "importlib\__init__.py", line 126, in import_module
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\loaders\single_file_model.py", line 26, in
from .single_file_utils import (
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\loaders\single_file_utils.py", line 29, in
from ..schedulers import (
File "", line 1075, in _handle_fromlist
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\utils\import_utils.py", line 810, in __getattr__
module = self._get_module(self._class_to_module[name])
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\utils\import_utils.py", line 822, in _get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.schedulers.scheduling_dpmsolver_multistep because of the following error (look up to see its traceback):
numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\utils\import_utils.py", line 820, in _get_module
return importlib.import_module("." + module_name, self.__name__)
File "importlib\__init__.py", line 126, in import_module
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 992, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\models\autoencoders\__init__.py", line 1, in
from .autoencoder_asym_kl import AsymmetricAutoencoderKL
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\models\autoencoders\autoencoder_asym_kl.py", line 23, in
from .vae import DecoderOutput, DiagonalGaussianDistribution, Encoder, MaskConditionDecoder
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\models\autoencoders\vae.py", line 25, in
from ..unets.unet_2d_blocks import (
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\models\unets\__init__.py", line 6, in
from .unet_2d import UNet2DModel
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\models\unets\unet_2d.py", line 24, in
from .unet_2d_blocks import UNetMidBlock2D, get_down_block, get_up_block
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\models\unets\unet_2d_blocks.py", line 36, in
from ..transformers.dual_transformer_2d import DualTransformer2DModel
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\models\transformers\__init__.py", line 5, in
from .auraflow_transformer_2d import AuraFlowTransformer2DModel
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\models\transformers\auraflow_transformer_2d.py", line 23, in
from ...loaders import FromOriginalModelMixin
File "", line 1075, in _handle_fromlist
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\utils\import_utils.py", line 810, in __getattr__
module = self._get_module(self._class_to_module[name])
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\utils\import_utils.py", line 822, in _get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.loaders.single_file_model because of the following error (look up to see its traceback):
Failed to import diffusers.schedulers.scheduling_dpmsolver_multistep because of the following error (look up to see its traceback):
numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\webui\demo_gradio.py", line 17, in
from diffusers import AutoencoderKLHunyuanVideo
File "", line 1075, in _handle_fromlist
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\utils\import_utils.py", line 811, in __getattr__
value = getattr(module, name)
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\utils\import_utils.py", line 810, in __getattr__
module = self._get_module(self._class_to_module[name])
File "D:\AI\FramePack\framepack_cu126_torch26\framepack_cu126_torch26\system\python\lib\site-packages\diffusers\utils\import_utils.py", line 822, in _get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.models.autoencoders.autoencoder_kl_hunyuan_video because of the following error (look up to see its traceback):
Failed to import diffusers.loaders.single_file_model because of the following error (look up to see its traceback):
Failed to import diffusers.schedulers.scheduling_dpmsolver_multistep because of the following error (look up to see its traceback):
numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
Press any key to continue . . .
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with webui/demo_gradio.py and the traceback into diffusers' scheduling_dpmsolver_multistep.py. Reproduce the import failure in the reported Python environment and inspect the project's dependency configuration for the NumPy/SciPy incompatibility. The issue does not define a requested project change, so confirm the intended fix and completion criteria before editing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100