zhanghang1989 / zhanghang1989/PyTorch-Encoding

installation error

Open
#422 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2k
Forks
448
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the installation from source in a clean conda environment using PyTorch 1.4.0, torchvision 0.5.0, CUDA 10.1, and GCC/G++ 5. Inspect the full nvcc output around the reported temporary CUDA compilation file and compare it with the configured PATH_TO_CUDA. Done means identifying a reproducible installation fix or documenting the incompatible environment and required versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
build-system, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.