how do i install all the pre builds from this repository?
- User
how do i install all the pre builds from this repository?
- Assistant
To install all the pre-built dependencies from the
Comfy3D_Pre_Buildsrepository, you can follow these steps based on the providedsetup.pyfiles:
Steps to Install the Pre-Builds:
-
Ensure Prerequisites are Installed:
- Python (preferably 3.8+)
- CUDA toolkit (compatible with your PyTorch version and GPU)
- PyTorch (already installed with GPU support)
setuptoolsandtorch.utils.cpp_extension(part of PyTorch)- A valid C++ compiler (e.g., GCC on Linux or MSVC on Windows).
For CUDA compatibility, ensure you have the correct environment variables set (like
PATHandCUDA_HOME).
- Navigate to the Repository:
bash
cd path/to/Comfy3D_Pre_Builds
-
Install Each Library Individually: The repository contains three libraries:
pointnet2_ops,simple-knn, andvox2seq. Each library has its ownsetup.pyfile. You need to install them one by one.a) Install
pointnet2_ops:bashcd _Libs/pointnet2_ops python setup.py install- This will compile and install the
pointnet2_opslibrary. - Ensure that your
TORCH_CUDA_ARCH_LISTis set correctly for your GPU (the script tries to auto-detect it).
b) Install
simple-knn:bashcd ../simple-knn python setup.py install- This will compile and install the
simple-knnlibrary. - For Windows, the extra C++ compiler flag
/wd4624is added for compatibility.
c) Install
vox2seq:bashcd ../vox2seq python setup.py install- This will compile and install the
vox2seqlibrary.
- This will compile and install the
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.