Comments (5)
I think it's related to your CUDA environment since there is the following error in your message:
/usr/local/cuda/bin/nvcc: not found
from pvcnn.
I think it's related to your CUDA environment since there is the following error in your message:
/usr/local/cuda/bin/nvcc: not found
here is my ~/.bashrc
:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib/x86_64-linux-gnu
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64
export PATH=$PATH:/usr/local/cuda/bin
export CUDA_HOME=$CUDA_HOME:/usr/local/cuda
And I run other model with cuda is ok like this:
(pc) gz@gz:~$ python
Python 3.8.5 (default, Sep 4 2020, 07:30:14)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> print(torch.cuda.is_available())
True
>>> a = torch.Tensor([1]).cuda()
>>> print(a)
tensor([1.], device='cuda:0')
from pvcnn.
(pc) gz@gz:~$ python Python 3.8.5 (default, Sep 4 2020, 07:30:14) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information. >>> import torch >>> print(torch.cuda.is_available()) True >>> a = torch.Tensor([1]).cuda() >>> print(a) tensor([1.], device='cuda:0')
@LeopoldACC Before this, did you check nvcc --version
and which nvcc
? @zhijian-liu is correct to identify the problem. Your installed version of torch contains precompiled binaries therefore does not explicitly need nvcc
to run, it just needs working cudnn
for its operations. On the contrary, here you are trying to compile source code written in cuda
, so you need a functioning nvcc
.
from pvcnn.
(pc) gz@gz:~$ python Python 3.8.5 (default, Sep 4 2020, 07:30:14) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information. >>> import torch >>> print(torch.cuda.is_available()) True >>> a = torch.Tensor([1]).cuda() >>> print(a) tensor([1.], device='cuda:0')@LeopoldACC Before this, did you check
nvcc --version
andwhich nvcc
? @zhijian-liu is correct to identify the problem. Your installed version of torch contains precompiled binaries therefore does not explicitly neednvcc
to run, it just needs workingcudnn
for its operations. On the contrary, here you are trying to compile source code written incuda
, so you need a functioningnvcc
.
I run the command without problem.
(pc) gz@gz:~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Tue_Sep_15_19:10:02_PDT_2020
Cuda compilation tools, release 11.1, V11.1.74
Build cuda_11.1.TC455_06.29069683_0
(pc) gz@gz:~$ which nvcc
/usr/local/cuda/bin/nvcc
Here is log of cuda file:
(pc) gz@gz:~$ cd /usr/local/cuda/bin && ls
bin2c cuobjdump nvcc.profile
computeprof fatbinary nvdisasm
compute-sanitizer ncu nvlink
crt ncu-ui nv-nsight-cu
cudafe++ nsight_ee_plugins_manage.sh nv-nsight-cu-cli
cuda-gdb nsight-sys nvprof
cuda-gdbserver nsys nvprune
cuda-install-samples-11.1.sh nsys-exporter nvvp
cuda-memcheck nsys-ui ptxas
cuda-uninstaller nvcc
from pvcnn.
Hi,@zhijian-liu @digital-idiot
I solved the problem refer to the link
change the export CUDA_HOME=$CUDA_HOME:/usr/local/cuda
to export CUDA_HOME=/usr/local/cuda
in ~/.bashrc
now my ~/.bashrc
is shown as below:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib/x86_64-linux-gnu
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64
export PATH=$PATH:/usr/local/cuda/bin
export CUDA_HOME=/usr/local/cuda
it seems that the reason is the :/usr/local/cuda been regard as ':/usr/local/cuda' but not report in error log...
from pvcnn.
Related Issues (20)
- visualization and features HOT 3
- RuntimeError: Error building extension '_pvcnn_backend': HOT 3
- CUDA kernel failed : an illegal memory access was encountered HOT 2
- How to convert custom op into tensorrt HOT 1
- Why use the code x = x - (minx + args.block_size / 2) in data/s3dis/prepare_data.py? HOT 2
- Two questions about feature extraction HOT 2
- error when running "from modules.functional.backend import _backend" HOT 11
- Function TrilinearDevoxelizationBackward returned an invalid gradient at index 0 - got [4, 192, 32, 32, 32] but expected shape compatible with [4, 192, 34, 34, 34]
- voxelization part HOT 1
- Some issues about feature propessing. HOT 4
- Data Pre processing Issue. HOT 4
- Code about S3DIS visualization HOT 1
- About ModuleNotFoundError: No module named 'config.shapenet' HOT 1
- Can I use just one step of voxelization and devoxelization operator to voxelize and devoxelize the point cloud? HOT 2
- Pretrained Models Page Not Found HOT 3
- Voxel features are all zero HOT 3
- ImportError: DLL load failed while importing _pvcnn_backend: 找不到指定的模块。 HOT 2
- Model Inference HOT 1
- vox_coords = torch.round(norm_coords).to(torch.int32) HOT 1
- nvcc error : 'cudafe++' died with status 0xC00000FD (STACK_OVERFLOW) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pvcnn.