Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cuda problem of MSDA #234

Open
bluemoon223 opened this issue May 25, 2024 · 0 comments
Open

cuda problem of MSDA #234

bluemoon223 opened this issue May 25, 2024 · 0 comments

Comments

@bluemoon223
Copy link

bluemoon223 commented May 25, 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

@bluemoon223 bluemoon223 changed the title How to deal with the "sh make.sh" in ops? cuda problem of MSDA May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant