Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Fails for ComfyUI-3D-Pack #7

Open
encoded-evolution opened this issue Jan 18, 2025 · 0 comments
Open

Import Fails for ComfyUI-3D-Pack #7

encoded-evolution opened this issue Jan 18, 2025 · 0 comments

Comments

@encoded-evolution
Copy link

encoded-evolution commented Jan 18, 2025

Win 10, 4080 Super, 128 GB RAM, cu124, pytorch 2.5.1, CUDA and Visual Studio installed per instructions. All of the precursors are good and check out. No errors.

Install of the portable goes ok, after updating TORCH_CUDA_ARCH_LIST=8.9 in the first time installer and in the run.bat
Only "issue" is installer complaining about rocm, which I don't have because I have Nvidia.

Everything else goes ok.

But when I run comfyUI and check the manager, the 3d pack import failed.

After trying 3 clean installs, I tried the things I am not supposed to do. What I have tried:

  • force updating
  • downloading the win pytorch version: 2.5.1+cu124 wheels manually and installing them for 3d pack
  • clean installing the 3d pack from git clone in custom_nodes
  • "try fix" in the manager

The start up log follows. Let me know if there are additional steps I can follow.

## ComfyUI-Manager: installing dependencies done.
[2025-01-18 15:35:12.203] ** ComfyUI startup time: 2025-01-18 15:35:12.203004
[2025-01-18 15:35:12.244] ** Platform: Windows
[2025-01-18 15:35:12.245] ** Python version: 3.12.8 (tags/v3.12.8:2dc476b, Dec  3 2024, 19:30:04) [MSC v.1942 64 bit (AMD64)]
[2025-01-18 15:35:12.245] ** Python executable: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\python_embeded\python.exe
[2025-01-18 15:35:12.246] ** ComfyUI Path: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI
[2025-01-18 15:35:12.247] ** Log path: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\comfyui.log

Prestartup times for custom nodes:
[2025-01-18 15:35:13.860]    3.1 seconds: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-Manager
[2025-01-18 15:35:13.861] 
[2025-01-18 15:35:15.808] Total VRAM 16375 MB, total RAM 131010 MB
[2025-01-18 15:35:15.809] pytorch version: 2.5.1+cu124
[2025-01-18 15:35:17.275] xformers version: 0.0.28.post3
[2025-01-18 15:35:17.276] Set vram state to: NORMAL_VRAM
[2025-01-18 15:35:17.276] Device: cuda:0 NVIDIA GeForce RTX 4080 SUPER : cudaMallocAsync
[2025-01-18 15:35:17.461] Using xformers attention
[2025-01-18 15:35:19.209] [Prompt Server] web root: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\web
[2025-01-18 15:35:20.605] E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\python_embeded\Lib\site-packages\diffusers\models\transformers\transformer_2d.py:34: FutureWarning: `Transformer2DModelOutput` is deprecated and will be removed in version 1.0.0. Importing `Transformer2DModelOutput` from `diffusers.models.transformer_2d` is deprecated and this will be removed in a future version. Please use `from diffusers.models.modeling_outputs import Transformer2DModelOutput`, instead.
  deprecate("Transformer2DModelOutput", "1.0.0", deprecation_message)

[2025-01-18 15:35:22.251] No ROCm runtime is found, using ROCM_HOME='C:\Program Files\AMD\ROCm\6.2'
[2025-01-18 15:35:22.256] Traceback (most recent call last):
  File "E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\nodes.py", line 2089, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\__init__.py", line 53, in <module>
    module = importlib.import_module(f".{nodes_filename}", package=__name__)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "importlib\__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  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 "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\nodes.py", line 50, in <module>
    from FlexiCubes.flexicubes_trainer import FlexiCubesTrainer
  File "E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\MVs_Algorithms\FlexiCubes\flexicubes_trainer.py", line 10, in <module>
    from .flexicubes_renderer import FlexiCubesRenderer
  File "E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-3D-Pack\MVs_Algorithms\FlexiCubes\flexicubes_renderer.py", line 5, in <module>
    import nvdiffrast.torch as dr
  File "E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\python_embeded\Lib\site-packages\nvdiffrast\torch\__init__.py", line 9, in <module>
    from .ops import RasterizeCudaContext, RasterizeGLContext, get_log_level, set_log_level, rasterize, DepthPeeler, interpolate, texture, texture_construct_mip, antialias, antialias_construct_topology_hash
  File "E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\python_embeded\Lib\site-packages\nvdiffrast\torch\ops.py", line 14, in <module>
    import torch.utils.cpp_extension
  File "E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 202, in <module>
    HIP_HOME = _join_rocm_home('hip') if ROCM_HOME else None
               ^^^^^^^^^^^^^^^^^^^^^^
  File "E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\python_embeded\Lib\site-packages\torch\utils\cpp_extension.py", line 155, in _join_rocm_home
    raise OSError('Building PyTorch extensions using '
OSError: Building PyTorch extensions using ROCm and Windows is not supported.

[2025-01-18 15:35:22.256] Cannot import E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-3D-Pack module for custom nodes: Building PyTorch extensions using ROCm and Windows is not supported.
[2025-01-18 15:35:22.259] ### Loading: ComfyUI-Impact-Pack (V8.1.6)
[2025-01-18 15:35:22.317] [Impact Pack] Wildcards loading done.
[2025-01-18 15:35:22.323] ### Loading: ComfyUI-Impact-Subpack (V1.1)
[2025-01-18 15:35:22.892] [Impact Subpack] ultralytics_bbox: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\models\ultralytics\bbox
[2025-01-18 15:35:22.893] [Impact Subpack] ultralytics_segm: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\models\ultralytics\segm
[2025-01-18 15:35:22.894] ### Loading: ComfyUI-Inspire-Pack (V1.9.1)
[2025-01-18 15:35:22.956] Total VRAM 16375 MB, total RAM 131010 MB
[2025-01-18 15:35:22.956] pytorch version: 2.5.1+cu124
[2025-01-18 15:35:22.957] xformers version: 0.0.28.post3
[2025-01-18 15:35:22.957] Set vram state to: NORMAL_VRAM
[2025-01-18 15:35:22.957] Device: cuda:0 NVIDIA GeForce RTX 4080 SUPER : cudaMallocAsync
[2025-01-18 15:35:22.993] ### Loading: ComfyUI-Manager (V2.55.5)
[2025-01-18 15:35:23.229] ### ComfyUI Version: v0.3.10 | Released on '2024-12-26'
[2025-01-18 15:35:23.837] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
[2025-01-18 15:35:23.855] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
[2025-01-18 15:35:23.889] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
[2025-01-18 15:35:23.903] E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\python_embeded\Lib\site-packages\timm\models\layers\__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
  warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning)

[2025-01-18 15:35:23.948] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
[2025-01-18 15:35:24.045] [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
[2025-01-18 15:35:24.749] Eden_Comfy_Pipelines: WARNING: Could not find OPENAI_API_KEY in .env, disabling gpt prompt generation.
[2025-01-18 15:35:26.718] �[34mWAS Node Suite: �[0mOpenCV Python FFMPEG support is enabled�[0m
[2025-01-18 15:35:26.719] �[34mWAS Node Suite �[93mWarning: �[0m`ffmpeg_bin_path` is not set in `E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.�[0m
[2025-01-18 15:35:27.458] �[34mWAS Node Suite: �[0mFinished.�[0m �[32mLoaded�[0m �[0m220�[0m �[32mnodes successfully.�[0m
[2025-01-18 15:35:27.459] 
	�[3m�[93m"Art is the magic that brings beauty into the world."�[0m�[3m - Unknown�[0m
[2025-01-18 15:35:27.459] 
[2025-01-18 15:35:27.467] 
Import times for custom nodes:
[2025-01-18 15:35:27.468]    0.0 seconds: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\websocket_image_save.py
[2025-01-18 15:35:27.468]    0.0 seconds: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI_IPAdapter_plus
[2025-01-18 15:35:27.468]    0.0 seconds: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI_UltimateSDUpscale
[2025-01-18 15:35:27.469]    0.0 seconds: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-KJNodes
[2025-01-18 15:35:27.470]    0.0 seconds: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-Inspire-Pack
[2025-01-18 15:35:27.470]    0.1 seconds: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-Impact-Pack
[2025-01-18 15:35:27.470]    0.1 seconds: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite
[2025-01-18 15:35:27.471]    0.6 seconds: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-Manager
[2025-01-18 15:35:27.471]    0.6 seconds: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-Impact-Subpack
[2025-01-18 15:35:27.471]    1.1 seconds: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\eden_comfy_pipelines
[2025-01-18 15:35:27.471]    1.2 seconds: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\stable-fast-3d
[2025-01-18 15:35:27.472]    1.5 seconds: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\was-node-suite-comfyui
[2025-01-18 15:35:27.472]    2.4 seconds (IMPORT FAILED): E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-3D-Pack
[2025-01-18 15:35:27.473] 
[2025-01-18 15:35:27.479] Starting server

[2025-01-18 15:35:27.481] To see the GUI go to: http://0.0.0.0:8188
[2025-01-18 15:35:28.303] FETCH DATA from: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE]
[2025-01-18 15:35:32.754] FETCH DATA from: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-Manager\.cache\1742899825_extension-node-map.json [DONE]
[2025-01-18 15:35:32.779] FETCH DATA from: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-Manager\.cache\1514988643_custom-node-list.json [DONE]
[2025-01-18 15:35:32.785] FETCH DATA from: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-Manager\.cache\746607195_github-stats.json [DONE]
[2025-01-18 15:39:10.720] FETCH DATA from: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-Manager\.cache\1742899825_extension-node-map.json [DONE]
[2025-01-18 15:39:10.761] FETCH DATA from: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-Manager\.cache\1514988643_custom-node-list.json [DONE]
[2025-01-18 15:39:10.766] FETCH DATA from: E:\SD\NVIDIA\ComfyUI\Trellis-Hunyan\Comfy3D_WinPortable\ComfyUI\custom_nodes\ComfyUI-Manager\.cache\746607195_github-stats.json [DONE]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant