Comments (1)
running build running build_py running build_ext building 'MultiScaleDeformableAttention' extension Emitting ninja build file /home/binzheng/code/PDVC-main/pdvc/ops/build/temp.linux-x86_64-3.7/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/1] /usr/bin/nvcc -DWITH_CUDA -I/home/binzheng/code/PDVC-main/pdvc/ops/src -I/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/site-packages/torch/include -I/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/site-packages/torch/include/TH -I/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/site-packages/torch/include/THC -I/home/binzheng/anaconda3/envs/PDVCC/include/python3.7m -c -c /home/binzheng/code/PDVC-main/pdvc/ops/src/cuda/ms_deform_attn_cuda.cu -o /home/binzheng/code/PDVC-main/pdvc/ops/build/temp.linux-x86_64-3.7/home/binzheng/code/PDVC-main/pdvc/ops/src/cuda/ms_deform_attn_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=MultiScaleDeformableAttention -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14 FAILED: /home/binzheng/code/PDVC-main/pdvc/ops/build/temp.linux-x86_64-3.7/home/binzheng/code/PDVC-main/pdvc/ops/src/cuda/ms_deform_attn_cuda.o /usr/bin/nvcc -DWITH_CUDA -I/home/binzheng/code/PDVC-main/pdvc/ops/src -I/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/site-packages/torch/include -I/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/site-packages/torch/include/TH -I/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/site-packages/torch/include/THC -I/home/binzheng/anaconda3/envs/PDVCC/include/python3.7m -c -c /home/binzheng/code/PDVC-main/pdvc/ops/src/cuda/ms_deform_attn_cuda.cu -o /home/binzheng/code/PDVC-main/pdvc/ops/build/temp.linux-x86_64-3.7/home/binzheng/code/PDVC-main/pdvc/ops/src/cuda/ms_deform_attn_cuda.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=MultiScaleDeformableAttention -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14 nvcc fatal : Unsupported gpu architecture 'compute_75' ninja: build stopped: subcommand failed. Traceback (most recent call last): File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1539, in _run_ninja_build env=env) File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/subprocess.py", line 512, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "setup.py", line 70, in <module> cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension}, File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run _build_ext.run(self) File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 670, in build_extensions build_ext.build_extensions(self) File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions self._build_extensions_serial() File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial self.build_extension(ext) File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 202, in build_extension _build_ext.build_extension(self, ext) File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension depends=ext.depends) File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 500, in unix_wrap_ninja_compile with_cuda=with_cuda) File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1255, in _write_ninja_file_and_compile_objects error_prefix='Error compiling objects for extension') File "/home/binzheng/anaconda3/envs/PDVCC/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1555, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension
This error message appeared when I run make.sh. How can I solve it? Thank you!
you can try "conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=9.2 -c pytorch", if not, you can reference “https://blog.csdn.net/Cuzyan/article/details/121465098?spm=1001.2014.3001.5501”
from pdvc.
Related Issues (20)
- Running PDVC on Your Own Videos
- 关于 MultiScaleDeformableAttention 的问题 HOT 1
- A question about demo video HOT 2
- Ablation study of auxiliary losses? HOT 1
- Does the code support multi-gpu training? HOT 1
- 用自己训练的C3D模型进行测试,错误
- Issue on inference HOT 1
- 为什么测试集的loss几乎不变?
- the video is shown with a white screen.
- How do I train my own data set?
- google drive 无法访问内容 HOT 2
- About two stage
- Running PDVC on Your Own Videos predict json file HOT 2
- How to use 2 GPUs? HOT 2
- How to extract C3D features? HOT 2
- test_and_visualize.sh HOT 1
- Inference on caption activitynet test dataset
- 未能复现readme中的实验结果
- 在4090上可以实现吗?
- Question about "Compile the deformable attention layer (requires GCC >= 5.4)."
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 pdvc.