-
Notifications
You must be signed in to change notification settings - Fork 15
3d pack conflicts with unique3d #19
Comments
I reinstalled torch and solved this problem, but when I ran it. got prompt Prompt executed in 141.05 seconds |
(Due the latest diffusers is not compatible to the code of repo, we MUST install this for diffusers manually) pip install diffusers==0.27.2 |
Reinstalling Torch reminded me, |
After installing 3d pack, the production model can run normally. After installing unique 3d, the node reports an error and prompts the following log.
(env pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu121
Log
[START] Security scan
[DONE] Security scan
ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2024-07-15 12:01:03.566499
** Platform: Windows
** Python version: 3.11.9 | packaged by Anaconda, Inc. | (main, Apr 19 2024, 16:40:41) [MSC v.1916 64 bit (AMD64)]
** Python executable: D:\Unique3D\manage\python_embeded\python.exe
** ComfyUI Path: D:\Unique3D\manage\ComfyUI
** Log path: D:\Unique3D\manage\comfyui.log
Prestartup times for custom nodes:
0.8 seconds: D:\Unique3D\manage\ComfyUI\custom_nodes\ComfyUI-Manager
Total VRAM 24564 MB, total RAM 65277 MB
pytorch version: 2.3.0+cu121
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
Using pytorch cross attention
Traceback (most recent call last):
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 718, in get_module
return importlib.import_module("." + module_name, self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Unique3D\manage\python_embeded\Lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1126, in _find_and_load_unlocked
File "", line 241, in call_with_frames_removed
File "", line 1204, in gcd_import
File "", line 1176, in find_and_load
File "", line 1147, in find_and_load_unlocked
File "", line 690, in load_unlocked
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\diffusers\models\autoencoders_init.py", line 1, in
from .autoencoder_asym_kl import AsymmetricAutoencoderKL
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\diffusers\models\autoencoders\autoencoder_asym_kl.py", line 23, in
from .vae import DecoderOutput, DiagonalGaussianDistribution, Encoder, MaskConditionDecoder
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\diffusers\models\autoencoders\vae.py", line 24, in
from ..attention_processor import SpatialNorm
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\diffusers\models\attention_processor.py", line 34, in
import xformers.ops
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\xformers\ops_init.py", line 8, in
from .fmha import (
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\xformers\ops\fmha_init.py", line 10, in
from . import (
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\xformers\ops\fmha\triton_splitk.py", line 54, in
if TYPE_CHECKING or has_triton21():
^^^^^^^^^^^^^^^
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\xformers\ops\common.py", line 185, in has_triton21
if not is_triton_available():
^^^^^^^^^^^^^^^^^^^^^^
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\xformers_init.py", line 38, in func_wrapper
value = func()
^^^^^^
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\xformers_init.py", line 55, in is_triton_available
from xformers.triton.softmax import softmax as triton_softmax # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\xformers\triton_init.py", line 12, in
from .dropout import FusedDropoutBias, dropout # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\xformers\triton\dropout.py", line 13, in
import triton
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\triton_init.py", line 8, in
from .runtime import (
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\triton\runtime_init.py", line 1, in
from .autotuner import (Autotuner, Config, Heuristics, OutOfResources, autotune, heuristics)
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\triton\runtime\autotuner.py", line 7, in
from ..testing import do_bench
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\triton\testing.py", line 7, in
from . import language as tl
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\triton\language_init.py", line 6, in
from .standard import (
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\triton\language\standard.py", line 3, in
from ..runtime.jit import jit
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\triton\runtime\jit.py", line 10, in
from ..runtime.driver import driver
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\triton\runtime\driver.py", line 1, in
from ..backends import backends
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\triton\backends_init.py", line 50, in
backends = discover_backends()
^^^^^^^^^^^^^^^^^^^^
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\triton\backends_init.py", line 44, in _discover_backends
driver = load_module(name, os.path.join(root, name, 'driver.py'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\triton\backends_init.py", line 12, in _load_module
spec.loader.exec_module(module)
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\triton\backends\nvidia\driver.py", line 18, in
library_dir += [os.path.join(os.environ.get("CUDA_PATH"), "lib", "x64")]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 108, in join
TypeError: expected str, bytes or os.PathLike object, not NoneType
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 718, in get_module
return importlib.import_module("." + module_name, self.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Unique3D\manage\python_embeded\Lib\importlib_init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\diffusers\pipelines\pipeline_utils.py", line 44, in
from ..models import AutoencoderKL
File "", line 1229, in _handle_fromlist
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 708, in getattr
module = self._get_module(self._class_to_module[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 720, in _get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.models.autoencoders.autoencoder_kl because of the following error (look up to see its traceback):
expected str, bytes or os.PathLike object, not NoneType
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\Unique3D\manage\ComfyUI\nodes.py", line 1931, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "D:\Unique3D\manage\ComfyUI\custom_nodes\ComfyUI-3D-Pack_init.py", line 47, in
module = importlib.import_module(f".{nodes_filename}", package=name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Unique3D\manage\python_embeded\Lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "D:\Unique3D\manage\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 18, in
from diffusers import (
File "", line 1229, in _handle_fromlist
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 709, in getattr
value = getattr(module, name)
^^^^^^^^^^^^^^^^^^^^^
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 708, in getattr
module = self._get_module(self._class_to_module[name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Unique3D\manage\python_embeded\Lib\site-packages\diffusers\utils\import_utils.py", line 720, in _get_module
raise RuntimeError(
RuntimeError: Failed to import diffusers.pipelines.pipeline_utils because of the following error (look up to see its traceback):
Failed to import diffusers.models.autoencoders.autoencoder_kl because of the following error (look up to see its traceback):
expected str, bytes or os.PathLike object, not NoneType
Cannot import D:\Unique3D\manage\ComfyUI\custom_nodes\ComfyUI-3D-Pack module for custom nodes: Failed to import diffusers.pipelines.pipeline_utils because of the following error (look up to see its traceback):
Failed to import diffusers.models.autoencoders.autoencoder_kl because of the following error (look up to see its traceback):
expected str, bytes or os.PathLike object, not NoneType
Loading: ComfyUI-Manager (V2.46.3)
ComfyUI Revision: 2364 [7914c47d] | Released on '2024-07-14'
python_executable_path: D:\Unique3D\manage\python_embeded\python.exe
python_embeded_path: D:\Unique3D\manage\python_embeded
Import times for custom nodes:
0.0 seconds: D:\Unique3D\manage\ComfyUI\custom_nodes\websocket_image_save.py
0.0 seconds: D:\Unique3D\manage\ComfyUI\custom_nodes\ComfyUI-Unique3D
0.2 seconds (IMPORT FAILED): D:\Unique3D\manage\ComfyUI\custom_nodes\ComfyUI-3D-Pack
0.2 seconds: D:\Unique3D\manage\ComfyUI\custom_nodes\ComfyUI-Manager
Starting server
To see the GUI go to: http://127.0.0.1:8188
FETCH DATA from: D:\Unique3D\manage\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE]
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
The text was updated successfully, but these errors were encountered: