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

installation error #422

Open
adeclaire18 opened this issue Mar 8, 2023 · 1 comment
Open

installation error #422

adeclaire18 opened this issue Mar 8, 2023 · 1 comment

Comments

@adeclaire18
Copy link

adeclaire18 commented Mar 8, 2023

Cannot install successfully.

Here are the error output:

  • 1 error detected in the compliation of "/tmp/tmpxft_00000f76_00000000-6_rectify_cuda_cpp1.ii".
  • error: command '.usr/local/cuda/bin/nvcc' failed with exit status 1

From my perspective, it occur error during compiling gpu part. I even tried to change PATH_TO_CUDA, but the SAME error are STILL there.

Here are my environments:

  • torch: 1.4.0
  • torchvision: 0.5.0
  • nvcc -V: 10.1
  • gcc & g++: 5

I have tried many times, checking package versions, pull from source, create new conda envs, uninstalls. BUT STILL ERROR!

Have anyone encountered the same problem? What should I do?

@adeclaire18
Copy link
Author

Good news. inspired by another issue #161.

  1. Download source file from: https://pypi.org/project/torch-encoding/#files
  2. "pip install " a few dependencies
  3. Then installation succeed.

But I get new errors while training: "gpu" has no attribute 'expectation_forward'.

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