[Enhancement]CUDA 12.8
## ComfyUI-Manager: EXECUTE => ['/opt/comfyui/ComfyUI/venv/bin/python', 'install.py']
[!] Traceback (most recent call last):
[!] File "/opt/comfyui/ComfyUI/custom_nodes/comfyui-3d-pack/install.py", line 19, in <module>
[!] from build_utils import (
[!] File "/opt/comfyui/ComfyUI/custom_nodes/comfyui-3d-pack/_Pre_Builds/_Build_Scripts/build_utils.py", line 54, in <module>
[!] CUDA_VERSION = get_cuda_version()
[!] ^^^^^^^^^^^^^^^^^^
[!] File "/opt/comfyui/ComfyUI/custom_nodes/comfyui-3d-pack/_Pre_Builds/_Build_Scripts/build_utils.py", line 49, in get_cuda_version
[!] raise RuntimeError(f"Please install/reinstall CUDA tookit with any of the following supported version: {build_config.supported_cuda_versions}")
[!] RuntimeError: Please install/reinstall CUDA tookit with any of the following supported version: ['12.4', '12.1', '11.8']
[!] Traceback (most recent call last):
[!] File "/opt/comfyui/ComfyUI/custom_nodes/comfyui-3d-pack/install.py", line 19, in <module>
[!] from build_utils import (
[!] File "/opt/comfyui/ComfyUI/custom_nodes/comfyui-3d-pack/_Pre_Builds/_Build_Scripts/build_utils.py", line 54, in <module>
[!] CUDA_VERSION = get_cuda_version()
[!] ^^^^^^^^^^^^^^^^^^
[!] File "/opt/comfyui/ComfyUI/custom_nodes/comfyui-3d-pack/_Pre_Builds/_Build_Scripts/build_utils.py", line 49, in get_cuda_version
[!] raise RuntimeError(f"Please install/reinstall CUDA tookit with any of the following supported version: {build_config.supported_cuda_versions}")
[!] RuntimeError: Please install/reinstall CUDA tookit with any of the following supported version: ['12.4', '12.1', '11.8']
[!]
[!] During handling of the above exception, another exception occurred:
[!]
[!] Traceback (most recent call last):
[!] File "/opt/comfyui/ComfyUI/custom_nodes/comfyui-3d-pack/install.py", line 84, in <module>
[!] cstr("Comfy3D install failed: Dependency installation has failed. Please install manually: https://github.com/MrForExample/ComfyUI-3D-Pack/tree/main/_Pre_Builds/README.md.").error.print()
[!] ^^^^
[!] NameError: name 'cstr' is not defined. Did you mean: 'str'?
install script failed: comfyui-3d-pack
[ComfyUI-Manager] Installation failed:
Failed to execute install script: [email protected]
[ComfyUI-Manager] Queued works are completed.
{'install': 1}
After restarting ComfyUI, please refresh the browser.
same problem
Same problem here did you find a solution ?
i think you can't compile pytorch3d with versions higher than cuda 12.4. so that would be the limit for this package
I mean the relevant config in _Pre_Builds/_Build_Scripts/build_utils.py dedicate the incompatible version of cuda
add 12.8 to build_config.yaml file inside Build_Scripts folder
supported_cuda_versions: ["12.8","12.4", "12.1", "11.8"]
i was able to build
add 12.8 to build_config.yaml file inside Build_Scripts folder
supported_cuda_versions: ["12.8","12.4", "12.1", "11.8"]
i was able to build
so did you run this node with cu128 successfully? can you provide more specific steps please
This worked for me on Ubuntu 24.04 (with patience!)...obviously this is my paths, etc:
cd ~/code/ComfyUI/custom_nodes
git clone [email protected]:MrForExample/ComfyUI-3D-Pack.git
vi ComfyUI-3D-Pack/_Pre_Builds/_Build_Scripts/build_config.yaml
supported_cuda_versions: ["12.8", "12.4", "12.1", "11.8"]
cuda_version: "12.8"
torch:
version: "2.7.0"
torchvision:
version: "0.22.0"
xformers:
version: "0.0.30"
source ~/code/ComfyUI/.venv/bin/activate
python ComfyUI-3D-Pack/_Pre_Builds/_Build_Scripts/auto_build_all.py
cd ~/code
git clone [email protected]:traveller59/spconv.git
cd spconv
uv pip install -e .
uv pip install kiui
cd ~/code
git clone [email protected]:NVlabs/nvdiffrast.git
cd nvdiffrast
python setup.py install
cd ~/code
git clone [email protected]:rusty1s/pytorch_scatter.git
cd pytorch_scatter
uv pip install -e .
cd ~/code
git clone [email protected]:facebookresearch/pytorch3d.git
cd pytorch3d
python setup.py install
sudo apt install -y libegl1-mesa-dev
This worked for me on Ubuntu 24.04 (with patience!)...obviously this is my paths, etc:
cd ~/code/ComfyUI/custom_nodes git clone [email protected]:MrForExample/ComfyUI-3D-Pack.git vi ComfyUI-3D-Pack/_Pre_Builds/_Build_Scripts/build_config.yaml supported_cuda_versions: ["12.8", "12.4", "12.1", "11.8"] cuda_version: "12.8" torch: version: "2.7.0" torchvision: version: "0.22.0" xformers: version: "0.0.30" source ~/code/ComfyUI/.venv/bin/activate python ComfyUI-3D-Pack/_Pre_Builds/_Build_Scripts/auto_build_all.py cd ~/code git clone [email protected]:traveller59/spconv.git cd spconv uv pip install -e . uv pip install kiui cd ~/code git clone [email protected]:NVlabs/nvdiffrast.git cd nvdiffrast python setup.py install cd ~/code git clone [email protected]:rusty1s/pytorch_scatter.git cd pytorch_scatter uv pip install -e . cd ~/code git clone [email protected]:facebookresearch/pytorch3d.git cd pytorch3d python setup.py install sudo apt install -y libegl1-mesa-dev
works for me windows 11 and nvidia 5080
ps: gonna check if I can adapt this for my Win build since some one was able to fix Tks
This worked for me on Ubuntu 24.04 (with patience!)...obviously this is my paths, etc:
cd ~/code/ComfyUI/custom_nodes git clone [email protected]:MrForExample/ComfyUI-3D-Pack.git vi ComfyUI-3D-Pack/_Pre_Builds/_Build_Scripts/build_config.yaml supported_cuda_versions: ["12.8", "12.4", "12.1", "11.8"] cuda_version: "12.8" torch: version: "2.7.0" torchvision: version: "0.22.0" xformers: version: "0.0.30" source ~/code/ComfyUI/.venv/bin/activate python ComfyUI-3D-Pack/_Pre_Builds/_Build_Scripts/auto_build_all.py cd ~/code git clone [email protected]:traveller59/spconv.git cd spconv uv pip install -e . uv pip install kiui cd ~/code git clone [email protected]:NVlabs/nvdiffrast.git cd nvdiffrast python setup.py install cd ~/code git clone [email protected]:rusty1s/pytorch_scatter.git cd pytorch_scatter uv pip install -e . cd ~/code git clone [email protected]:facebookresearch/pytorch3d.git cd pytorch3d python setup.py install sudo apt install -y libegl1-mesa-devworks for me windows 11 and nvidia 5080
Hi
Could you show me the steps to make it work on Windows ?
I did this but some commands are not for win
tks
In Windows command line you can activate the Comfy enviroment, in my case is "E:\AI\ComfyUI\venv\Scripts\activate", an then call
pip install git+https://github.com/facebookresearch/pytorch3d.git
They fixed the windows build in the latest commits so it should work fine now.
Replace the git url for the other packages, like nvdiffrast, if needed.
thanks @flavour we added cuda 12.8 support with build wheels for windows