-
Notifications
You must be signed in to change notification settings - Fork 253
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
pip install neural_renderer_pytorch ERROR: Could not build wheels for neural_renderer_pytorch, which is required to install pyproject.toml-based projects #147
Comments
Have you solved it? I'm afraid I have the same problem |
Has anyone solved it? I have the same issue here. |
PR #86 has changed all
from #define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
#define CHECK_CONTIGUOUS(x) AT_CHECK(x.is_contiguous(), #x " must be contiguous")
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x) to #define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
#define CHECK_CONTIGUOUS(x) TORCH_CHECK(x.is_contiguous(), #x " must be contiguous")
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x) 🔨 I solved this problem very coincidentally. You can try it. (mcc_nmr) zhr@ubuntu-System-Product-Name:~/project/diffusion-attack/libs$ pip install neural_renderer_pytorch/
Processing ./neural_renderer_pytorch
Preparing metadata (setup.py) ... done
Building wheels for collected packages: neural-renderer-pytorch
Building wheel for neural-renderer-pytorch (setup.py) ... done
Created wheel for neural-renderer-pytorch: filename=neural_renderer_pytorch-1.1.3-cp310-cp310-linux_x86_64.whl
Stored in directory: /tmp/.......
Successfully built neural-renderer-pytorch
Installing collected packages: neural-renderer-pytorch
Successfully installed neural-renderer-pytorch-1.1.3 ✅ For convenience, you can directly obtain the modified source code from wangyida/neural_renderer and install git clone [email protected]:wangyida/neural_renderer.git neural_renderer_pytorch_fix
cd neural_renderer_pytorch_fix
python3 setup.py install 🎉 Hope it can help your project! |
good job!!!thank you! |
For those who successfully installed it, could you share your Python version, PyTorch, TorchVision, and CUDA versions? In my case, I have an NVIDIA RTX A5000, and I'm having trouble setting up the environment properly. |
I run the command
pip install neural_renderer_pytorch
I tried to install
pip install pyproject-toml
Get the error message:
But the Error message still appears, what is the possible way to solve this error?
I really appreciate any help you can provide.
The text was updated successfully, but these errors were encountered: