老显卡启动报错有大佬会解决的吗
comfyui吧
全部回复
仅看楼主
level 1
glhfnoob 楼主
AttributeError: module 'torch.library' has no attribute 'custom_op'
用的是秋叶包,显卡GTX1080ti,pytorch2.3.1+cu118
整了好久实在没辙了,按AI搞的也搞不了
2026年02月01日 22点02分 1
level 1
glhfnoob 楼主
2026年02月01日 22点02分 2
怎么解决的
2026年03月24日 10点03分
@407987538 看最底下一楼,我是换了v0.27内核,但是我后面换回最新版又没这个问题能正常用了,我也不知道为什么
2026年03月24日 16点03分
level 1
glhfnoob 楼主
或者有没有大佬推荐一下老版本的秋叶包,感谢
2026年02月01日 22点02分 3
level 1
glhfnoob 楼主
豆包给的方案
一个pytorch找不到2.4.0
一个numpy不懂那里出错了
2026年02月01日 22点02分 4
level 1
glhfnoob 楼主
报错日志全文
ComfyUI Launcher Diagnostic File
Date: 2026-02-02 06:10:41
Launcher Version: 2.8.14.415
Data File Version: 2026-01-28 12:20
ComfyUI Version: 667a1b8878187f7a5c8955b272e33c16e4c46bb7 (2026-02-01 14:55:18)
Working Directory: C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2
App Directory: C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\ComfyUI
------------------------
System Information:
OS: Microsoft Windows NT 10.0.19044.0
CPU: 8 cores
Memory Size: 16384 MB Total, 2061 MB Free
Allocated Page File Size: 15360 MB Total, 12643 MB Free
Page File Settings: 0 MB Initial, 50 MB Maximum
NVIDIA Management Library:
NVIDIA Driver Version: 581.80
NVIDIA Management Library Version: 13.581.80
CUDA Driver:
Version: 13000
Devices:
00000000:01:00.0 0: NVIDIA GeForce GTX 1080 Ti [61] 11 GB
NvApi:
Version: 58180 r581_66
HIP Driver:
Driver Version: 50221021
Runtime Version: 50221021
Devices:
DirectML Driver:
Devices:
6918 0: NVIDIA GeForce GTX 1080 Ti 10 GB
Intel Level Zero Driver:
Not Available
------------------------
Environment Variables:
USERDOMAIN=PC-202201010114
CommonProgramW6432=C:\Program Files\Common Files
USERPROFILE=C:\Users\Administrator
KMP_DUPLICATE_LIB_OK=TRUE
LOCALAPPDATA=C:\Users\Administrator\AppData\Local
Path=C:\Users\Administrator\AppData\Local\Programs\Python\Python314\Scripts\;C:\Users\Administrator\AppData\Local\Programs\Python\Python314\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Local\Python\bin
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 151 Stepping 5, GenuineIntel
PROCESSOR_LEVEL=6
CommonProgramFiles=C:\Program Files\Common Files
HOMEPATH=\Users\Administrator
ProgramFiles(x86)=C:\Program Files (x86)
ComSpec=C:\windows\system32\cmd.exe
ProgramFiles=C:\Program Files
PROCESSOR_ARCHITECTURE=AMD64
windir=C:\windows
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
QUARTUS_ROOTDIR=d:\quartus\quartus
USERDOMAIN_ROAMINGPROFILE=PC-202201010114
SystemRoot=C:\windows
PROCESSOR_REVISION=9705
OS=Windows_NT
MKL_SERIAL=YES
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\windows\system32\WindowsPowerShell\v1.0\Modules
iGame=E:\iGame\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
TMP=C:\Users\ADMINI~1\AppData\Local\Temp
DriverData=C:\Windows\System32\Drivers\DriverData
LOGONSERVER=\\PC-202201010114
FPS_BROWSER_USER_PROFILE_STRING=Default
ALLUSERSPROFILE=C:\ProgramData
USERNAME=Administrator
TEMP=C:\Users\ADMINI~1\AppData\Local\Temp
ProgramData=C:\ProgramData
FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer
COMPUTERNAME=PC-202201010114
SESSIONNAME=Console
APPDATA=C:\Users\Administrator\AppData\Roaming
HOMEDRIVE=C:
PUBLIC=C:\Users\Public
NUMBER_OF_PROCESSORS=8
SystemDrive=C:
ProgramW6432=C:\Program Files
------------------------
2026年02月01日 22点02分 5
level 1
glhfnoob 楼主
Paths:
Python: C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\python.exe
- Python Paths:
- C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\DLLs
- C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\Lib
- C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python
- C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\Lib\site-packages
- C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\Lib\site-packages\win32
- C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\Lib\site-packages\win32\lib
- C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\Lib\site-packages\Pythonwin
- Python Packages:
- absl_py 2.3.0
- accelerate 1.12.0
- addict 2.4.0
- aiofiles 24.1.0
- aiohappyeyeballs 2.6.1
- aiohttp 3.12.13
- aiohttp_socks 0.10.1
- aiosignal 1.3.2
- albucore 0.0.24
- albumentations 2.0.8
- alembic 1.16.2
- annotated_types 0.7.0
- antlr4_python3_runtime 4.9.3
- anyio 4.12.1
- argostranslate 1.9.6
- attrs 25.3.0
- av 14.4.0
- beautifulsoup4 4.13.4
- cachetools 6.1.0
- certifi 2026.1.4
- cffi 1.17.1
- chardet 5.2.0
- charset_normalizer 3.4.4
- click 8.3.1
- clip_interrogator 0.6.0
- colorama 0.4.6
- coloredlogs 15.0.1
- colorlog 6.9.0
- color_matcher 0.6.0
- colour_science 0.4.6
- comfyui_embedded_docs 0.4.0
- comfyui_frontend_package 1.37.11
- comfyui_workflow_templates 0.8.27
- comfyui_workflow_templates_core 0.3.115
- comfyui_workflow_templates_media_api 0.3.47
- comfyui_workflow_templates_media_image 0.3.75
- comfyui_workflow_templates_media_other 0.3.98
- comfyui_workflow_templates_media_video 0.3.42
- comfy_aimdo 0.1.7
- comfy_kitchen 0.2.7
- contourpy 1.3.2
- cryptography 45.0.4
- cssselect2 0.8.0
- ctranslate2 4.6.0
- cycler 0.12.1
- cython 3.1.2
- ddt 1.7.2
- deep_translator 1.11.4
- Deprecated 1.2.18
- diffusers 0.36.0
- dill 0.4.0
- docutils 0.21.2
- easydict 1.13
- einops 0.8.2
- facexlib 0.3.0
- filelock 3.20.3
- filterpy 1.4.5
- flatbuffers 25.12.19
- fonttools 4.58.4
- frozenlist 1.7.0
- fsspec 2026.1.0
- ftfy 6.3.1
- future 1.0.0
- fvcore 0.1.5.post20221221
- gdown 5.2.0
- gguf 0.17.1
- gitdb 4.0.12
- GitPython 3.1.44
- googletrans_py 4.0.0
- greenlet 3.2.3
- h11 0.16.0
- h2 4.2.0
- hf_xet 1.2.0
- hpack 4.1.0
- httpcore 1.0.9
- httpx 0.28.1
- huggingface_hub 1.3.5
- humanfriendly 10.0
- hydra_core 1.3.2
- hyperframe 6.1.0
- idna 3.11
- imageio 2.37.0
- imageio_ffmpeg 0.6.0
- importlib_metadata 8.7.1
- insightface 0.7.3
- intel_openmp 2021.4.0
- iopath 0.1.10
- jax 0.9.0
- jaxlib 0.9.0
- jinja2 3.1.6
- joblib 1.5.1
- jsonschema 4.24.0
- jsonschema_specifications 2025.4.1
- kiwisolver 1.4.8
- kornia 0.8.1
- kornia_rs 0.1.9
- lazy_loader 0.4
- llvmlite 0.44.0
- lxml 6.0.0
- mako 1.3.10
- manifold3d 3.1.1
- mapbox_earcut 1.0.3
- markdown_it_py 3.0.0
- markupsafe 3.0.3
- matplotlib 3.10.3
- matrix_client 0.4.0
- matrix_nio 0.25.2
- mdurl 0.1.2
- mediapipe 0.10.21
- mkl 2021.4.0
- ml_dtypes 0.5.4
- mpmath 1.3.0
- mss 10.0.0
- multidict 6.6.2
- networkx 3.6.1
- numba 0.61.2
- numpy 2.4.2
- omegaconf 2.3.0
- onnx 1.18.0
- onnxruntime 1.22.0
- onnxruntime_gpu 1.18.1
- opencv_contrib_python_headless 4.13.0.90
- open_clip_torch 3.2.0
- opt_einsum 3.4.0
- packaging 26.0
- peft 0.18.1
- piexif 1.1.3
- pillow 12.1.0
- pip 25.2
- pixeloe 0.1.4
- platformdirs 4.3.8
- pooch 1.8.2
- portalocker 3.2.0
- prettytable 3.16.0
- propcache 0.3.2
- protobuf 6.33.5
- psutil 7.2.2
- pycollada 0.9.1
- pycparser 2.22
- pycryptodome 3.23.0
- pydantic 2.11.7
- pydantic_core 2.33.2
- pydantic_settings 2.10.1
- PyGithub 2.6.1
- pygments 2.19.2
- PyJWT 2.10.1
- pyloudnorm 0.2.0
- pymatting 1.1.14
- PyNaCl 1.5.0
- pyparsing 3.2.3
- pyreadline3 3.5.4
- PySocks 1.7.1
- python_dateutil 2.9.0.post0
- python_dotenv 1.1.1
- python_socks 2.7.1
- pywin32 310
- pyyaml 6.0.3
- referencing 0.36.2
- regex 2026.1.15
- rembg 2.0.66
- reportlab 4.4.2
- requests 2.32.5
- rich 14.0.0
- rpds_py 0.25.1
- rtree 1.4.0
- sacremoses 0.0.53
- safetensors 0.7.0
- sam_2 1.0
- scikit_image 0.25.2
- scikit_learn 1.7.0
- scipy 1.17.0
- segment_anything 1.0
- send2trash 2.1.0
- sentencepiece 0.2.1
- setuptools 70.2.0
- shapely 2.1.1
- shellingham 1.5.4
- simpleeval 1.0.3
- simsimd 6.4.9
- six 1.17.0
- smmap 5.0.2
- sniffio 1.3.1
- sounddevice 0.5.2
- soundfile 0.13.1
- soupsieve 2.7
- spandrel 0.4.1
- sqlalchemy 2.0.41
- stanza 1.1.1
- stringzilla 3.12.5
- svg.path 6.3
- svglib 1.5.1
- sympy 1.14.0
- tabulate 0.9.0
- tbb 2021.13.1
- termcolor 3.1.0
- threadpoolctl 3.6.0
- tifffile 2025.6.11
- timm 1.0.24
- tinycss2 1.4.0
- tokenizers 0.22.2
- toml 0.10.2
- tomli 2.2.1
- torch 2.3.1+cu118
- torchaudio 2.3.1+cu118
- torchsde 0.2.6
- torchvision 0.18.1+cu118
- tqdm 4.67.2
- trampoline 0.1.2
- transformers 5.0.0
- transparent_background 1.3.4
- trimesh 4.6.13
- typer 0.16.0
- typer_slim 0.21.1
- typing_extensions 4.15.0
- typing_inspection 0.4.1
- unpaddedbase64 2.1.0
- urllib3 2.6.3
- uv 0.7.17
- vhacdx 0.0.8.post2
- wcwidth 0.5.3
- webcolors 24.11.1
- webencodings 0.5.1
- wget 3.2
- wrapt 1.17.2
- xformers 0.0.27+cu118
- xxhash 3.5.0
- yacs 0.1.8
- yapf 0.43.0
- yarl 1.20.1
- zipp 3.23.0
Git: C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\git\cmd\git.exe
Shell: C:\windows\system32\cmd.exe
Cache Path: C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\.cache
------------------------
2026年02月01日 22点02分 6
level 1
glhfnoob 楼主
Engine Validator:
PyTorch: 2.3.1+cu118 C(11080)____
OnnxRuntime: CUDA(11080)
------------------------
Port Info:
Exclusion List:
Non-administered:
5357..1
Administered:
In Use (v4):
135 => 1188
139 => 4
445 => 4
5037 => 14356
5040 => 6696
5283 => 2064
5354 => 4760
5357 => 4
7680 => 3380
10000 => 9516
10078 => 11556
10808 => 17444
10810 => 14912
14013 => 22848
14016 => 22848
14019 => 22848
14022 => 22848
14023 => 22848
22331 => 3312
22885 => 2180
27036 => 4392
27060 => 4392
33609 => 11216
49188 => 4392
49250 => 4908
49664 => 1012
49665 => 924
49666 => 1512
49667 => 1568
49668 => 3724
49669 => 4444
49671 => 1004
49853 => 12628
54022 => 3312
54360 => 11556
54421 => 11556
60048 => 4392
In Use (v6):
135 => 1188
445 => 4
5357 => 4
7680 => 3380
22331 => 3312
49664 => 1012
49665 => 924
49666 => 1512
49667 => 1568
49668 => 3724
49669 => 4444
49670 => 4948
49671 => 1004
54022 => 3312
------------------------
Config:
Audience Type: 新手
Lock Engine: True
Engine: CUDA GPU 0: NVIDIA GeForce GTX 1080 Ti (11 GB) [0]
VRAM Optimization: Auto [Auto]
Port: 8188 [8188]
XAttn Optimization: Xformers [Xformers]
CPU VAE: False [False]
Upcast Attention: True [True]
Precision: Auto [Auto]
Text Encoder Precision: Auto [Auto]
UNet Precision: Auto [Auto]
VAE Precision: Auto [Auto]
Force Channels Last: False [False]
Preview Method: Auto [Auto]
Smart Memory: True [True]
Deterministic: False [False]
Multi User: False [False]
Fast: False [False]
Listen: False [False]
Server Name: []
HF Offline Mode: False [False]
Cuda Allocator Backend: Native [Native]
Prevent Sysmem Fallback: False
Extra Args:
------------------------
Network Preferences:
Proxy Address: http://127.0.0.1:10810
Proxy Git: False
Proxy Pip: False
Proxy Model Download: False
Proxy Env: False
Mirror Pypi: True
Mirror Git: True
Mirror ExtensionList: True
Mirror Huggingface: True
Github Acceleration: False
------------------------
Log:
AttributeError: module 'torch.library' has no attribute 'custom_op'
[START] Security scan
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2026-02-02 06:09:54.270
** Platform: Windows
** Python version:
3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
** Python executable: C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\python.exe
** ComfyUI Path: C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\ComfyUI
** ComfyUI Base Folder Path:
C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\ComfyUI
** User directory: C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\ComfyUI\user
** ComfyUI-Manager config path: C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\ComfyUI\user\__manager\config.ini
** Log path:
C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\ComfyUI\user\comfyui.log
Prestartup times for custom nodes:
0.0 seconds: C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\ComfyUI\custom_nodes\rgthree-comfy
9.4 seconds: C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\ComfyUI\custom_nodes\ComfyUI-Manager
Warning, you are using an old pytorch version and some ckpt/pt files might be loaded unsafely. Upgrading to 2.4 or above is recommended as older versions of pytorch are no longer supported.
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.4.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\ComfyUI\main.py", line 179, in <module>
import execution
File "<enhanced_experience utils.hook>", line 352, in exec_module
File "C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\ComfyUI\execution.py", line 16, in <module>
import comfy.memory_management
File "C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\ComfyUI\comfy\memory_management.py", line 5, in <module>
from comfy.quant_ops import QuantizedTensor
File "C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\ComfyUI\comfy\quant_ops.py", line 5, in <module>
import comfy_kitchen as ck
File "C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\Lib\site-packages\comfy_kitchen\__init__.py", line 3, in <module>
from .backends import cuda as _cuda_backend # noqa: F401
File "C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\Lib\site-packages\comfy_kitchen\backends\cuda\__init__.py", line 101, in <module>
from comfy_kitchen.backends.eager.quantization import DTYPE_TO_CODE # noqa: E402
File "C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\Lib\site-packages\comfy_kitchen\backends\eager\__init__.py", line 11, in <module>
from .quantization import (
File "C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\Lib\site-packages\comfy_kitchen\backends\eager\quantization.py", line 107, in <module>
E2M1_LUT = torch.tensor([
C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\Lib\site-packages\comfy_kitchen\backends\eager\quantization.py:107: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:84.)
E2M1_LUT = torch.tensor([
Traceback (most recent call last):
File "C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\ComfyUI\main.py", line 179, in <module>
import execution
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<enhanced_experience utils.hook>", line 352, in exec_module
File "C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\ComfyUI\execution.py", line 16, in <module>
import comfy.memory_management
File "C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\ComfyUI\comfy\memory_management.py", line 5, in <module>
from comfy.quant_ops import QuantizedTensor
File "C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\ComfyUI\comfy\quant_ops.py", line 5, in <module>
import comfy_kitchen as ck
File "C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\Lib\site-packages\comfy_kitchen\__init__.py", line 3, in <module>
from .backends import cuda as _cuda_backend # noqa: F401
^^^^^
^^^^^^
^^^^^^
^^^^^^
^^^^^^
^^^^^^
^^^^^^
^^
File "C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\Lib\site-packages\comfy_kitchen\backends\cuda\__init__.py", line 101, in <module>
from comfy_kitchen.backends.eager.quantization import DTYPE_TO_CODE # noqa: E402
^
^^^^^^
^^^^^^
^^^^^^
^^^^^^
^^^^^^
^^^^^^
^^^^^^
^^^^^^
^^^^^^
^^^^^^
^^^^^^
File "C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\Lib\site-packages\comfy_kitchen\backends\eager\__init__.py", line 11, in <module>
from .quantization import (
File "C:\秋叶comfyui整合包\ComfyUI-aki-v2\ComfyUI-aki-v2\python\Lib\site-packages\comfy_kitchen\backends\eager\quantization.py", line 201, in <module>
@torch.library.custom_op("comfy_kitchen::quantize_fp8", mutates_args=())
^^^^
^^^^^^
^^^^^^
^^^^^^
^
AttributeError: module 'torch.library' has no attribute 'custom_op'
[Exited, code 1 (0x00000001)]
------------------------
Fault Traceback:
Not Available
2026年02月01日 22点02分 7
level 1
内核 更换027版本
2026年02月02日 01点02分 8
谢谢大佬已解决[吐舌]
2026年02月02日 14点02分
@glhfnoob 目录好像🙅🏻能用中文滴
2026年04月10日 02点04分
1