zhanghang1989 / zhanghang1989/PyTorch-Encoding
lib compile failed
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2k
- Forks
- 448
- PR merge metrics
- No merged PRs in 30d
Description
ubuntu 20.04 + pytorch2.0.1
installed torch-coding 1.2.1 from pip install
when run a script in scripts folder ,raise an error incluing this message
"gpu/lib_ssd.cu:22:10: fatal error: THC/THCNumerics.cuh: No such file or directory
22 | #include <THC/THCNumerics.cuh>
ectify_cuda.cu(114) error: identifier "ScalarConvert" is undefined
rectify_cuda.cu(114): error: type name is not allowed"
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure from a script in the scripts folder using Ubuntu 20.04, PyTorch 2.0.1, and torch-coding 1.2.1. Read gpu/lib_ssd.cu around line 22 and rectify_cuda.cu around line 114, then determine whether the missing THC header and reported identifiers can be resolved for this environment; done means the script compiles without these errors.
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
- 25/100