running install
running bdist_egg
running egg_info
creating index_max.egg-info
writing index_max.egg-info/PKG-INFO
writing dependency_links to index_max.egg-info/dependency_links.txt
writing top-level names to index_max.egg-info/top_level.txt
writing manifest file 'index_max.egg-info/SOURCES.txt'
reading manifest file 'index_max.egg-info/SOURCES.txt'
writing manifest file 'index_max.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'index_max' extension
creating /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/build
creating /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/build/temp.linux-x86_64-3.6
Emitting ninja build file /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/build/temp.linux-x86_64-3.6/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/2] c++ -MMD -MF /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/build/temp.linux-x86_64-3.6/index_max.o.d -pthread -B /home/jeff/anaconda3/envs/bps/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include -I/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/TH -I/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/home/jeff/anaconda3/envs/bps/include/python3.6m -c -c /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp -o /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/build/temp.linux-x86_64-3.6/index_max.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=index_max -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/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:1:
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp: In function ‘at::Tensor index_max_forward_cuda_wrapper(at::Tensor, at::Tensor, int)’:
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:118:41: 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]
define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor/variable")
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:164:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
define C10_EXPAND_MSVC_WORKAROUND(x) x
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:183:34: note: in expansion of macro ‘C10_UNLIKELY’
define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
^~~~~~~~~~~~
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:220:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) { \
^~~~~
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:410:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
^~~~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:118:23: note: in expansion of macro ‘AT_ASSERTM’
define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor/variable")
^~~~~~~~~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:120:24: note: in expansion of macro ‘CHECK_CUDA’
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:134:2: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(data);
^
In file included from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:11:0,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:1:
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:262:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:1:
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:118:41: 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]
define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor/variable")
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:164:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
define C10_EXPAND_MSVC_WORKAROUND(x) x
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:183:34: note: in expansion of macro ‘C10_UNLIKELY’
define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
^~~~~~~~~~~~
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:220:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) { \
^~~~~
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:410:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
^~~~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:118:23: note: in expansion of macro ‘AT_ASSERTM’
define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor/variable")
^~~~~~~~~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:120:24: note: in expansion of macro ‘CHECK_CUDA’
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:135:2: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(index);
^
In file included from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:11:0,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:1:
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:262:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:1:
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp: In function ‘at::Tensor index_max_forward_cuda_wrapper_shared_mem(at::Tensor, at::Tensor, int)’:
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:118:41: 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]
define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor/variable")
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:164:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
define C10_EXPAND_MSVC_WORKAROUND(x) x
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:183:34: note: in expansion of macro ‘C10_UNLIKELY’
define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
^~~~~~~~~~~~
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:220:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) { \
^~~~~
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:410:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
^~~~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:118:23: note: in expansion of macro ‘AT_ASSERTM’
define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor/variable")
^~~~~~~~~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:120:24: note: in expansion of macro ‘CHECK_CUDA’
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:143:2: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(data);
^
In file included from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:11:0,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:1:
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:262:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:1:
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:118:41: 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]
define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor/variable")
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:164:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
define C10_EXPAND_MSVC_WORKAROUND(x) x
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:183:34: note: in expansion of macro ‘C10_UNLIKELY’
define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
^~~~~~~~~~~~
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:220:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) { \
^~~~~
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:410:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’
C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \
^~~~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:118:23: note: in expansion of macro ‘AT_ASSERTM’
define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor/variable")
^~~~~~~~~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:120:24: note: in expansion of macro ‘CHECK_CUDA’
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:144:2: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(index);
^
In file included from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:11:0,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/Context.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/extension.h:4,
from /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:1:
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:262:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
[2/2] /usr/local/cuda-10.2/bin/nvcc -I/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include -I/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/TH -I/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/home/jeff/anaconda3/envs/bps/include/python3.6m -c -c /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu -o /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/build/temp.linux-x86_64-3.6/index_max_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=index_max -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(14): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(18): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(23): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(100): warning: attribute "visibility" does not apply here
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(115): warning: attribute "visibility" does not apply here
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(14): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(18): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(23): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(100): warning: attribute "visibility" does not apply here
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(115): warning: attribute "visibility" does not apply here
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu: In function ‘at::Tensor index_max_forward_cuda(at::Tensor, at::Tensor, int)’:
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu:73:98: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
index_max_forward_cuda_kernel<<<C, B>>>(data.data(),
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here
T data() const {
^ ~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu:73:119: warning: ‘T at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
index_max_forward_cuda_kernel<<<C, B>>>(data.data(),
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here
T data() const {
^ ~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu:73:142: warning: ‘T at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
index_max_forward_cuda_kernel<<<C, B>>>(data.data(),
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here
T data() const {
^ ~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu:73:167: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
index_max_forward_cuda_kernel<<<C, B>>>(data.data(),
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here
T data() const {
^ ~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu: In function ‘at::Tensor index_max_forward_cuda_shared_mem(at::Tensor, at::Tensor, int)’:
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu:91:134: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
index_max_forward_cuda_kernel_shared_mem<<<C, B, BKsizeof(float)>>>(data.data(),
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here
T data() const {
^ ~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu:91:155: warning: ‘T at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
index_max_forward_cuda_kernel_shared_mem<<<C, B, BKsizeof(float)>>>(data.data(),
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here
T data() const {
^ ~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu:91:178: warning: ‘T at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
index_max_forward_cuda_kernel_shared_mem<<<C, B, BKsizeof(float)>>>(data.data(),
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here
T data() const {
^ ~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu:91:203: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
index_max_forward_cuda_kernel_shared_mem<<<C, B, BKsizeof(float)>>>(data.data(),
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here
T data() const {
^ ~~
creating build/lib.linux-x86_64-3.6
g++ -pthread -shared -B /home/jeff/anaconda3/envs/bps/compiler_compat -L/home/jeff/anaconda3/envs/bps/lib -Wl,-rpath=/home/jeff/anaconda3/envs/bps/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/build/temp.linux-x86_64-3.6/index_max.o /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/build/temp.linux-x86_64-3.6/index_max_cuda.o -L/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/lib -L/usr/local/cuda-10.2/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-3.6/index_max.cpython-36m-x86_64-linux-gnu.so
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-3.6/index_max.cpython-36m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg
creating stub loader for index_max.cpython-36m-x86_64-linux-gnu.so
byte-compiling build/bdist.linux-x86_64/egg/index_max.py to index_max.cpython-36.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying index_max.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying index_max.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying index_max.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying index_max.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
pycache.index_max.cpython-36: module references file
creating dist
creating 'dist/index_max-0.0.0-py3.6-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing index_max-0.0.0-py3.6-linux-x86_64.egg
removing '/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/index_max-0.0.0-py3.6-linux-x86_64.egg' (and everything under it)
creating /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/index_max-0.0.0-py3.6-linux-x86_64.egg
Extracting index_max-0.0.0-py3.6-linux-x86_64.egg to /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages
index-max 0.0.0 is already the active version in easy-install.pth
Installed /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/index_max-0.0.0-py3.6-linux-x86_64.egg
Processing dependencies for index-max==0.0.0
Finished processing dependencies for index-max==0.0.0
However when I import index_max said
import index_max
Traceback (most recent call last):
File "", line 1, in
ImportError: libc10.so: cannot open shared object file: No such file or directory
I have compiled index_max with the following log:
running install running bdist_egg running egg_info creating index_max.egg-info writing index_max.egg-info/PKG-INFO writing dependency_links to index_max.egg-info/dependency_links.txt writing top-level names to index_max.egg-info/top_level.txt writing manifest file 'index_max.egg-info/SOURCES.txt' reading manifest file 'index_max.egg-info/SOURCES.txt' writing manifest file 'index_max.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_ext building 'index_max' extension creating /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/build creating /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/build/temp.linux-x86_64-3.6 Emitting ninja build file /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/build/temp.linux-x86_64-3.6/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/2] c++ -MMD -MF /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/build/temp.linux-x86_64-3.6/index_max.o.d -pthread -B /home/jeff/anaconda3/envs/bps/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include -I/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/TH -I/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/home/jeff/anaconda3/envs/bps/include/python3.6m -c -c /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp -o /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/build/temp.linux-x86_64-3.6/index_max.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=index_max -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/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/extension.h:4, from /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:1: /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp: In function ‘at::Tensor index_max_forward_cuda_wrapper(at::Tensor, at::Tensor, int)’: /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:118:41: 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]
define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor/variable")
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:164:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
define C10_EXPAND_MSVC_WORKAROUND(x) x
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:183:34: note: in expansion of macro ‘C10_UNLIKELY’
define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:220:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’ if (C10_UNLIKELY_OR_CONST(!(cond))) { \ ^
~~~~/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:410:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’ C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \ ^~~~~/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:118:23: note: in expansion of macro ‘AT_ASSERTM’define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor/variable")
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:120:24: note: in expansion of macro ‘CHECK_CUDA’
define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:134:2: note: in expansion of macro ‘CHECK_INPUT’ CHECK_INPUT(data); ^ In file included from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:11:0, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/extension.h:4, from /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:1: /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:262:30: note: declared here DeprecatedTypeProperties & type() const { ^~~~ In file included from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/extension.h:4, from /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:1: /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:118:41: 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]
define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor/variable")
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:164:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
define C10_EXPAND_MSVC_WORKAROUND(x) x
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:183:34: note: in expansion of macro ‘C10_UNLIKELY’
define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:220:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’ if (C10_UNLIKELY_OR_CONST(!(cond))) { \ ^
~~~~/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:410:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’ C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \ ^~~~~/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:118:23: note: in expansion of macro ‘AT_ASSERTM’define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor/variable")
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:120:24: note: in expansion of macro ‘CHECK_CUDA’
define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:135:2: note: in expansion of macro ‘CHECK_INPUT’ CHECK_INPUT(index); ^ In file included from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:11:0, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/extension.h:4, from /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:1: /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:262:30: note: declared here DeprecatedTypeProperties & type() const { ^~~~ In file included from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/extension.h:4, from /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:1: /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp: In function ‘at::Tensor index_max_forward_cuda_wrapper_shared_mem(at::Tensor, at::Tensor, int)’: /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:118:41: 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]
define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor/variable")
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:164:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
define C10_EXPAND_MSVC_WORKAROUND(x) x
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:183:34: note: in expansion of macro ‘C10_UNLIKELY’
define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:220:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’ if (C10_UNLIKELY_OR_CONST(!(cond))) { \ ^
~~~~/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:410:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’ C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \ ^~~~~/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:118:23: note: in expansion of macro ‘AT_ASSERTM’define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor/variable")
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:120:24: note: in expansion of macro ‘CHECK_CUDA’
define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:143:2: note: in expansion of macro ‘CHECK_INPUT’ CHECK_INPUT(data); ^ In file included from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:11:0, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/extension.h:4, from /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:1: /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:262:30: note: declared here DeprecatedTypeProperties & type() const { ^~~~ In file included from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/core/Device.h:5:0, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/core/Allocator.h:6, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/ATen.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/extension.h:4, from /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:1: /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:118:41: 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]
define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor/variable")
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:164:39: note: in definition of macro ‘C10_EXPAND_MSVC_WORKAROUND’
define C10_EXPAND_MSVC_WORKAROUND(x) x
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:183:34: note: in expansion of macro ‘C10_UNLIKELY’
define C10_UNLIKELY_OR_CONST(e) C10_UNLIKELY(e)
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:220:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’ if (C10_UNLIKELY_OR_CONST(!(cond))) { \ ^
~~~~/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/c10/util/Exception.h:410:32: note: in expansion of macro ‘TORCH_INTERNAL_ASSERT’ C10_EXPAND_MSVC_WORKAROUND(TORCH_INTERNAL_ASSERT(cond, __VA_ARGS__)); \ ^~~~~/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:118:23: note: in expansion of macro ‘AT_ASSERTM’define CHECK_CUDA(x) AT_ASSERTM(x.type().is_cuda(), #x " must be a CUDA tensor/variable")
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:120:24: note: in expansion of macro ‘CHECK_CUDA’
define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:144:2: note: in expansion of macro ‘CHECK_INPUT’ CHECK_INPUT(index); ^ In file included from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/Tensor.h:11:0, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/Context.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/ATen.h:5, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, from /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/extension.h:4, from /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max.cpp:1: /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:262:30: note: declared here DeprecatedTypeProperties & type() const { ^~~~ [2/2] /usr/local/cuda-10.2/bin/nvcc -I/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include -I/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/TH -I/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda-10.2/include -I/home/jeff/anaconda3/envs/bps/include/python3.6m -c -c /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu -o /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/build/temp.linux-x86_64-3.6/index_max_cuda.o -DCUDA_NO_HALF_OPERATORS -DCUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=index_max -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14 /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(14): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(18): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(23): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(100): warning: attribute "visibility" does not apply here
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(115): warning: attribute "visibility" does not apply here
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(14): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(15): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(18): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(19): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(23): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/padding.h(24): warning: integer conversion resulted in a change of sign
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(100): warning: attribute "visibility" does not apply here
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler.h(115): warning: attribute "visibility" does not apply here
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu: In function ‘at::Tensor index_max_forward_cuda(at::Tensor, at::Tensor, int)’: /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu:73:98: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
index_max_forward_cuda_kernel<<<C, B>>>(data.data(),
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here
T data() const {
^ ~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu:73:119: warning: ‘T at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
index_max_forward_cuda_kernel<<<C, B>>>(data.data(),
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here
T data() const {
^ ~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu:73:142: warning: ‘T at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
index_max_forward_cuda_kernel<<<C, B>>>(data.data(),
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here
T data() const {
^ ~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu:73:167: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
index_max_forward_cuda_kernel<<<C, B>>>(data.data(),
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here
T data() const {
^ ~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu: In function ‘at::Tensor index_max_forward_cuda_shared_mem(at::Tensor, at::Tensor, int)’:
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu:91:134: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
index_max_forward_cuda_kernel_shared_mem<<<C, B, B Ksizeof(float)>>>(data.data(),
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here
T data() const {
^ ~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu:91:155: warning: ‘T at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
index_max_forward_cuda_kernel_shared_mem<<<C, B, B Ksizeof(float)>>>(data.data(),
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here
T data() const {
^ ~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu:91:178: warning: ‘T at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
index_max_forward_cuda_kernel_shared_mem<<<C, B, B Ksizeof(float)>>>(data.data(),
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here
T data() const {
^ ~~
/home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/index_max_cuda.cu:91:203: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
index_max_forward_cuda_kernel_shared_mem<<<C, B, B Ksizeof(float)>>>(data.data(),
^
/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/include/ATen/core/TensorBody.h:341:1: note: declared here
T data() const {
^ ~~
creating build/lib.linux-x86_64-3.6
g++ -pthread -shared -B /home/jeff/anaconda3/envs/bps/compiler_compat -L/home/jeff/anaconda3/envs/bps/lib -Wl,-rpath=/home/jeff/anaconda3/envs/bps/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/build/temp.linux-x86_64-3.6/index_max.o /home/jeff/Documents/PUCP/Pointnet/USIP/models/index_max_ext/build/temp.linux-x86_64-3.6/index_max_cuda.o -L/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/torch/lib -L/usr/local/cuda-10.2/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-3.6/index_max.cpython-36m-x86_64-linux-gnu.so
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
copying build/lib.linux-x86_64-3.6/index_max.cpython-36m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg
creating stub loader for index_max.cpython-36m-x86_64-linux-gnu.so
byte-compiling build/bdist.linux-x86_64/egg/index_max.py to index_max.cpython-36.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying index_max.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying index_max.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying index_max.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying index_max.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
pycache.index_max.cpython-36: module references file
creating dist
creating 'dist/index_max-0.0.0-py3.6-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing index_max-0.0.0-py3.6-linux-x86_64.egg
removing '/home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/index_max-0.0.0-py3.6-linux-x86_64.egg' (and everything under it)
creating /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/index_max-0.0.0-py3.6-linux-x86_64.egg
Extracting index_max-0.0.0-py3.6-linux-x86_64.egg to /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages
index-max 0.0.0 is already the active version in easy-install.pth
Installed /home/jeff/anaconda3/envs/bps/lib/python3.6/site-packages/index_max-0.0.0-py3.6-linux-x86_64.egg Processing dependencies for index-max==0.0.0 Finished processing dependencies for index-max==0.0.0
However when I import index_max said
import index_max Traceback (most recent call last): File "", line 1, in
ImportError: libc10.so: cannot open shared object file: No such file or directory
I have cuda 10.2 pytorch 1.5 cudnn 8.0