yj@os:~$ cd trackformer yj@os:~/trackformer$ conda activate tt (tt) yj@os:~/trackformer$ python src/trackformer/models/ops/setup.py build --build-base=src/trackformer/models/ops/ install running build running build_ext building 'MultiScaleDeformableAttention' extension Emitting ninja build file /home/yj/trackformer/src/trackformer/models/ops/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/3] c++ -MMD -MF /home/yj/trackformer/src/trackformer/models/ops/temp.linux-x86_64-3.7/home/yj/trackformer/src/trackformer/models/ops/src/cpu/ms_deform_attn_cpu.o.d -pthread -B /home/yj/anaconda3/envs/tt/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/yj/trackformer/src/trackformer/models/ops/src -I/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include -I/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/TH -I/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/yj/anaconda3/envs/tt/include/python3.7m -c -c /home/yj/trackformer/src/trackformer/models/ops/src/cpu/ms_deform_attn_cpu.cpp -o /home/yj/trackformer/src/trackformer/models/ops/temp.linux-x86_64-3.7/home/yj/trackformer/src/trackformer/models/ops/src/cpu/ms_deform_attn_cpu.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=MultiScaleDeformableAttention -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [2/3] c++ -MMD -MF /home/yj/trackformer/src/trackformer/models/ops/temp.linux-x86_64-3.7/home/yj/trackformer/src/trackformer/models/ops/src/vision.o.d -pthread -B /home/yj/anaconda3/envs/tt/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DWITH_CUDA -I/home/yj/trackformer/src/trackformer/models/ops/src -I/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include -I/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/TH -I/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/yj/anaconda3/envs/tt/include/python3.7m -c -c /home/yj/trackformer/src/trackformer/models/ops/src/vision.cpp -o /home/yj/trackformer/src/trackformer/models/ops/temp.linux-x86_64-3.7/home/yj/trackformer/src/trackformer/models/ops/src/vision.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=MultiScaleDeformableAttention -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14 cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /home/yj/trackformer/src/trackformer/models/ops/src/vision.cpp:11:0: /home/yj/trackformer/src/trackformer/models/ops/src/ms_deform_attn.h: In function ‘at::Tensor ms_deform_attn_forward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int)’: /home/yj/trackformer/src/trackformer/models/ops/src/ms_deform_attn.h:29:20: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] if (value.type().is_cuda()) ^ In file included from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:11:0, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /home/yj/trackformer/src/trackformer/models/ops/src/cpu/ms_deform_attn_cpu.h:12, from /home/yj/trackformer/src/trackformer/models/ops/src/ms_deform_attn.h:13, from /home/yj/trackformer/src/trackformer/models/ops/src/vision.cpp:11: /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:262:30: note: declared here DeprecatedTypeProperties & type() const { ^~~~ In file included from /home/yj/trackformer/src/trackformer/models/ops/src/vision.cpp:11:0: /home/yj/trackformer/src/trackformer/models/ops/src/ms_deform_attn.h: In function ‘std::vector ms_deform_attn_backward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int)’: /home/yj/trackformer/src/trackformer/models/ops/src/ms_deform_attn.h:51:20: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] if (value.type().is_cuda()) ^ In file included from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:11:0, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/Context.h:4, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, from /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/extension.h:4, from /home/yj/trackformer/src/trackformer/models/ops/src/cpu/ms_deform_attn_cpu.h:12, from /home/yj/trackformer/src/trackformer/models/ops/src/ms_deform_attn.h:13, from /home/yj/trackformer/src/trackformer/models/ops/src/vision.cpp:11: /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:262:30: note: declared here DeprecatedTypeProperties & type() const { ^~~~ [3/3] /usr/local/cuda-10.1/bin/nvcc -DWITH_CUDA -I/home/yj/trackformer/src/trackformer/models/ops/src -I/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include -I/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/TH -I/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/yj/anaconda3/envs/tt/include/python3.7m -c -c /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu -o /home/yj/trackformer/src/trackformer/models/ops/temp.linux-x86_64-3.7/home/yj/trackformer/src/trackformer/models/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 -DTORCH_EXTENSION_NAME=MultiScaleDeformableAttention -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 FAILED: /home/yj/trackformer/src/trackformer/models/ops/temp.linux-x86_64-3.7/home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.o /usr/local/cuda-10.1/bin/nvcc -DWITH_CUDA -I/home/yj/trackformer/src/trackformer/models/ops/src -I/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include -I/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -I/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/TH -I/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/THC -I/usr/local/cuda-10.1/include -I/home/yj/anaconda3/envs/tt/include/python3.7m -c -c /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu -o /home/yj/trackformer/src/trackformer/models/ops/temp.linux-x86_64-3.7/home/yj/trackformer/src/trackformer/models/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 -DTORCH_EXTENSION_NAME=MultiScaleDeformableAttention -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_im2col_cuda.cuh(261): warning: variable "q_col" was declared but never referenced detected during 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, int, int, int, int, scalar_t *) [with scalar_t=double]" /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu(64): here /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_im2col_cuda.cuh(762): warning: variable "q_col" was declared but never referenced detected during instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t *, const scalar_t *, const int64_t *, const int64_t *, const scalar_t *, const scalar_t *, int, int, int, int, int, int, int, scalar_t *, scalar_t *, scalar_t *) [with scalar_t=double]" /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu(134): here /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_im2col_cuda.cuh(872): warning: variable "q_col" was declared but never referenced detected during instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t *, const scalar_t *, const int64_t *, const int64_t *, const scalar_t *, const scalar_t *, int, int, int, int, int, int, int, scalar_t *, scalar_t *, scalar_t *) [with scalar_t=double]" /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu(134): here /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_im2col_cuda.cuh(331): warning: variable "q_col" was declared but never referenced detected during instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t *, const scalar_t *, const int64_t *, const int64_t *, const scalar_t *, const scalar_t *, int, int, int, int, int, int, int, scalar_t *, scalar_t *, scalar_t *) [with scalar_t=double]" /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu(134): here /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_im2col_cuda.cuh(436): warning: variable "q_col" was declared but never referenced detected during instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t *, const scalar_t *, const int64_t *, const int64_t *, const scalar_t *, const scalar_t *, int, int, int, int, int, int, int, scalar_t *, scalar_t *, scalar_t *) [with scalar_t=double]" /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu(134): here /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_im2col_cuda.cuh(544): warning: variable "q_col" was declared but never referenced detected during instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t *, const scalar_t *, const int64_t *, const int64_t *, const scalar_t *, const scalar_t *, int, int, int, int, int, int, int, scalar_t *, scalar_t *, scalar_t *) [with scalar_t=double]" /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu(134): here /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_im2col_cuda.cuh(649): warning: variable "q_col" was declared but never referenced detected during instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t *, const scalar_t *, const int64_t *, const int64_t *, const scalar_t *, const scalar_t *, int, int, int, int, int, int, int, scalar_t *, scalar_t *, scalar_t *) [with scalar_t=double]" /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu(134): here /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu: In function ‘at::Tensor ms_deform_attn_cuda_forward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int)’: /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:34:62: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_ASSERTM(value.type().is_cuda(), "value must be a CUDA tensor"); ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:262:1: note: declared here DeprecatedTypeProperties & type() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:35:71: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_ASSERTM(spatial_shapes.type().is_cuda(), "spatial_shapes must be a CUDA tensor"); ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:262:1: note: declared here DeprecatedTypeProperties & type() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:36:74: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_ASSERTM(level_start_index.type().is_cuda(), "level_start_index must be a CUDA tensor"); ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:262:1: note: declared here DeprecatedTypeProperties & type() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:37:69: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_ASSERTM(sampling_loc.type().is_cuda(), "sampling_loc must be a CUDA tensor"); ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:262:1: note: declared here DeprecatedTypeProperties & type() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:38:68: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_ASSERTM(attn_weight.type().is_cuda(), "attn_weight must be a CUDA tensor"); ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:262:1: note: declared here DeprecatedTypeProperties & type() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu: In lambda function: /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:64:43: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_forward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:262:1: note: declared here DeprecatedTypeProperties & type() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:64:98: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_forward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:46:1: note: declared here inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties &t) { ^~~~~~~~~~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu: In lambda function: /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:64:269: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_forward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:64:355: warning: ‘T* at::Tensor::data() const [with T = long int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_forward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:64:398: warning: ‘T* at::Tensor::data() const [with T = long int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_forward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:64:431: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_forward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:64:514: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_forward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:64:672: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_forward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu: In lambda function: /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:64:835: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_forward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:64:921: warning: ‘T* at::Tensor::data() const [with T = long int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_forward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:64:964: warning: ‘T* at::Tensor::data() const [with T = long int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_forward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:64:996: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_forward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:64:1078: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_forward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:64:1235: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_forward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu: In function ‘std::vector ms_deform_attn_cuda_backward(const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, const at::Tensor&, int)’: /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:100:62: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_ASSERTM(value.type().is_cuda(), "value must be a CUDA tensor"); ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:262:1: note: declared here DeprecatedTypeProperties & type() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:101:71: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_ASSERTM(spatial_shapes.type().is_cuda(), "spatial_shapes must be a CUDA tensor"); ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:262:1: note: declared here DeprecatedTypeProperties & type() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:102:74: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_ASSERTM(level_start_index.type().is_cuda(), "level_start_index must be a CUDA tensor"); ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:262:1: note: declared here DeprecatedTypeProperties & type() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:103:69: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_ASSERTM(sampling_loc.type().is_cuda(), "sampling_loc must be a CUDA tensor"); ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:262:1: note: declared here DeprecatedTypeProperties & type() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:104:68: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_ASSERTM(attn_weight.type().is_cuda(), "attn_weight must be a CUDA tensor"); ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:262:1: note: declared here DeprecatedTypeProperties & type() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:105:68: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_ASSERTM(grad_output.type().is_cuda(), "grad_output must be a CUDA tensor"); ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:262:1: note: declared here DeprecatedTypeProperties & type() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu: In lambda function: /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:43: warning: ‘at::DeprecatedTypeProperties& at::Tensor::type() const’ is deprecated: Tensor.type() is deprecated. Instead use Tensor.options(), which in many cases (e.g. in a constructor) is a drop-in replacement. If you were using data from type(), that is now available from Tensor itself, so instead of tensor.type().scalar_type(), use tensor.scalar_type() instead and instead of tensor.type().backend() use tensor.device(). [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:262:1: note: declared here DeprecatedTypeProperties & type() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:98: warning: ‘c10::ScalarType detail::scalar_type(const at::DeprecatedTypeProperties&)’ is deprecated: passing at::DeprecatedTypeProperties to an AT_DISPATCH macro is deprecated, pass an at::ScalarType instead [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/Dispatch.h:46:1: note: declared here inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties &t) { ^~~~~~~~~~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu: In lambda function: /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:277: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:303: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:389: warning: ‘T* at::Tensor::data() const [with T = long int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:432: warning: ‘T* at::Tensor::data() const [with T = long int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:465: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:548: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:709: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:793: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:881: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu: In lambda function: /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:1104: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:1129: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:1215: warning: ‘T* at::Tensor::data() const [with T = long int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:1258: warning: ‘T* at::Tensor::data() const [with T = long int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:1290: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:1372: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:1532: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:1615: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /home/yj/trackformer/src/trackformer/models/ops/src/cuda/ms_deform_attn_cuda.cu:134:1702: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations] AT_DISPATCH_FLOATING_TYPES(value.type(), "ms_deform_attn_backward_cuda", ([&] { ^ /home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here T * data() const { ^ ~~ /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’: /usr/include/c++/7/bits/basic_string.tcc:578:28: required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator]’ /usr/include/c++/7/bits/basic_string.h:5042:20: required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator]’ /usr/include/c++/7/bits/basic_string.h:5063:24: required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char16_t*; _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator]’ /usr/include/c++/7/bits/basic_string.tcc:656:134: required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ /usr/include/c++/7/bits/basic_string.h:6688:95: required from here /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char16_t; _Traits = std::char_traits; _Alloc = std::allocator]’ without object __p->_M_set_sharable(); ~~~~~~~~~^~ /usr/include/c++/7/bits/basic_string.tcc: In instantiation of ‘static std::basic_string<_CharT, _Traits, _Alloc>::_Rep* std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_create(std::basic_string<_CharT, _Traits, _Alloc>::size_type, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’: /usr/include/c++/7/bits/basic_string.tcc:578:28: required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&, std::forward_iterator_tag) [with _FwdIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits; _Alloc = std::allocator]’ /usr/include/c++/7/bits/basic_string.h:5042:20: required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct_aux(_InIterator, _InIterator, const _Alloc&, std::__false_type) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits; _Alloc = std::allocator]’ /usr/include/c++/7/bits/basic_string.h:5063:24: required from ‘static _CharT* std::basic_string<_CharT, _Traits, _Alloc>::_S_construct(_InIterator, _InIterator, const _Alloc&) [with _InIterator = const char32_t*; _CharT = char32_t; _Traits = std::char_traits; _Alloc = std::allocator]’ /usr/include/c++/7/bits/basic_string.tcc:656:134: required from ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, std::basic_string<_CharT, _Traits, _Alloc>::size_type, const _Alloc&) [with _CharT = char32_t; _Traits = std::char_traits; _Alloc = std::allocator; std::basic_string<_CharT, _Traits, _Alloc>::size_type = long unsigned int]’ /usr/include/c++/7/bits/basic_string.h:6693:95: required from here /usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char32_t; _Traits = std::char_traits; _Alloc = std::allocator]’ without object ninja: build stopped: subcommand failed. Traceback (most recent call last): File "/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1400, in _run_ninja_build check=True) File "/home/yj/anaconda3/envs/tt/lib/python3.7/subprocess.py", line 512, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "src/trackformer/models/ops/setup.py", line 70, in cmdclass={"build_ext": torch.utils.cpp_extension.BuildExtension}, File "/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/setuptools/__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "/home/yj/anaconda3/envs/tt/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/home/yj/anaconda3/envs/tt/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/home/yj/anaconda3/envs/tt/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/yj/anaconda3/envs/tt/lib/python3.7/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/home/yj/anaconda3/envs/tt/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/yj/anaconda3/envs/tt/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 79, in run _build_ext.run(self) File "/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run _build_ext.build_ext.run(self) File "/home/yj/anaconda3/envs/tt/lib/python3.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 580, in build_extensions build_ext.build_extensions(self) File "/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions _build_ext.build_ext.build_extensions(self) File "/home/yj/anaconda3/envs/tt/lib/python3.7/distutils/command/build_ext.py", line 449, in build_extensions self._build_extensions_serial() File "/home/yj/anaconda3/envs/tt/lib/python3.7/distutils/command/build_ext.py", line 474, in _build_extensions_serial self.build_extension(ext) File "/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 202, in build_extension _build_ext.build_extension(self, ext) File "/home/yj/anaconda3/envs/tt/lib/python3.7/distutils/command/build_ext.py", line 534, in build_extension depends=ext.depends) File "/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 423, in unix_wrap_ninja_compile with_cuda=with_cuda) File "/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1140, in _write_ninja_file_and_compile_objects error_prefix='Error compiling objects for extension') File "/home/yj/anaconda3/envs/tt/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1413, in _run_ninja_build raise RuntimeError(message) RuntimeError: Error compiling objects for extension (tt) yj@os:~/trackformer$