Megvii-BaseDetection / Megvii-BaseDetection/TreeFilter-Torch
the compile error
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 144
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Hi,thanks for your work,it'sgreat.But I meet a error when i try to compile it:
-ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-cpython-37/tree_filter_cuda.cpython-37m-x86_64-linux-gnu.so
/home/share/lihaoyu/anaconda3/envs/sas/compiler_compat/ld: cannot find -lc10: not found
/home/share/lihaoyu/anaconda3/envs/sas/compiler_compat/ld: cannot find -ltorch: not found
/home/share/lihaoyu/anaconda3/envs/sas/compiler_compat/ld: cannot find -ltorch_cpu: not found
/home/share/lihaoyu/anaconda3/envs/sas/compiler_compat/ld: cannot find -ltorch_python: not found
/home/share/lihaoyu/anaconda3/envs/sas/compiler_compat/ld: cannot find -lc10_cuda: not found
/home/share/lihaoyu/anaconda3/envs/sas/compiler_compat/ld: cannot find -ltorch_cuda: not found
my environment:
torch1.7.1
cuda10.1
gcc7.5.0
Look forward to your answer!😄
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 with the reported linker command and the listed environment versions: PyTorch 1.7.1, CUDA 10.1, and GCC 7.5.0. Reproduce the compile failure and investigate how the extension build locates the missing -lc10 and related Torch libraries. Done means a verified build configuration or correction for this environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100