You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(127): error: identifier "grad_output_n" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: type name is not allowed
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: expected an expression
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: identifier "per_sample_loc_size" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: identifier "per_attn_weight_size" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: identifier "grad_sampling_loc" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: type name is not allowed
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: expected an expression
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: identifier "grad_attn_weight" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: type name is not allowed
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: expected an expression
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: no instance of function template "ms_deformable_col2im_cuda" matches th
e argument list
argument types are: (c10::cuda::CUDAStream, , double *, int64_t *, int64_t *, , , const int, const int, const int, const int, cons
t int, const int, const int, double *, , )
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: type name is not allowed
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: expected an expression
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: identifier "per_sample_loc_size" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: identifier "per_attn_weight_size" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: identifier "grad_sampling_loc" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: type name is not allowed
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: expected an expression
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: identifier "grad_attn_weight" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: type name is not allowed
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: expected an expression
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: no instance of function template "ms_deformable_col2im_cuda" matches th
e argument list
argument types are: (c10::cuda::CUDAStream, , float *, int64_t *, int64_t *, , , const int, const int, const int, const int, const
int, const int, const int, float *, , )
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(145): error: identifier "grad_sampling_loc" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(145): error: identifier "grad_attn_weight" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src\cuda/ms_deform_im2col_cuda.cuh(258): warning: variable "q_col" was declared but never referenced
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(145): error: identifier "grad_attn_weight" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src\cuda/ms_deform_im2col_cuda.cuh(258): warning: variable "q_col" was declared but never referenced
detected during:
instantiation of "void ms_deformable_im2col_gpu_kernel(int, const scalar_t *, const int64_t *, const int64_t *, const scalar_t *, const scalar_t *, int, int, int, int
detected during:
instantiation of "void ms_deformable_im2col_gpu_kernel(int, const scalar_t *, const int64_t *, const int64_t *, const scalar_t *, const scalar_t *, int, int, int, int
, int, int, int, scalar_t *) [with scalar_t=double]"
(943): here
, int, int, int, scalar_t *) [with scalar_t=double]"
(943): here
instantiation of "void ms_deformable_im2col_cuda(cudaStream_t, const scalar_t *, const int64_t *, const int64_t *, const scalar_t *, const scalar_t *, int, int, int,
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(64): here
25 errors detected in the compilation of "E:/code/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu".
error: command 'D:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc.exe' failed with exit code 1
The text was updated successfully, but these errors were encountered:
bluemoon223
changed the title
How to deal with the "sh make.sh" in ops?
cuda problem of MSDA
May 28, 2024
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(127): error: identifier "grad_output_n" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: type name is not allowed
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: expected an expression
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: identifier "per_sample_loc_size" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: identifier "per_attn_weight_size" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: identifier "grad_sampling_loc" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: type name is not allowed
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: expected an expression
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: identifier "grad_attn_weight" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: type name is not allowed
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: expected an expression
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: no instance of function template "ms_deformable_col2im_cuda" matches th
e argument list
argument types are: (c10::cuda::CUDAStream, , double *, int64_t *, int64_t *, , , const int, const int, const int, const int, cons
t int, const int, const int, double *, , )
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: type name is not allowed
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: expected an expression
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: identifier "per_sample_loc_size" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: identifier "per_attn_weight_size" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: identifier "grad_sampling_loc" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: type name is not allowed
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: expected an expression
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: identifier "grad_attn_weight" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: type name is not allowed
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: expected an expression
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(128): error: no instance of function template "ms_deformable_col2im_cuda" matches th
e argument list
argument types are: (c10::cuda::CUDAStream, , float *, int64_t *, int64_t *, , , const int, const int, const int, const int, const
int, const int, const int, float *, , )
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(145): error: identifier "grad_sampling_loc" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(145): error: identifier "grad_attn_weight" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src\cuda/ms_deform_im2col_cuda.cuh(258): warning: variable "q_col" was declared but never referenced
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(145): error: identifier "grad_attn_weight" is undefined
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src\cuda/ms_deform_im2col_cuda.cuh(258): warning: variable "q_col" was declared but never referenced
detected during:
instantiation of "void ms_deformable_im2col_gpu_kernel(int, const scalar_t *, const int64_t *, const int64_t *, const scalar_t *, const scalar_t *, int, int, int, int
detected during:
instantiation of "void ms_deformable_im2col_gpu_kernel(int, const scalar_t *, const int64_t *, const int64_t *, const scalar_t *, const scalar_t *, int, int, int, int
, int, int, int, scalar_t *) [with scalar_t=double]"
(943): here
, int, int, int, scalar_t *) [with scalar_t=double]"
(943): here
instantiation of "void ms_deformable_im2col_cuda(cudaStream_t, const scalar_t *, const int64_t *, const int64_t *, const scalar_t *, const scalar_t *, int, int, int,
E:/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu(64): here
25 errors detected in the compilation of "E:/code/pycharm_project/ViT-Adapter-main/segmentation/ops/src/cuda/ms_deform_attn_cuda.cu".
error: command 'D:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\bin\nvcc.exe' failed with exit code 1
The text was updated successfully, but these errors were encountered: