Code Monkey home page Code Monkey logo

Comments (8)

gengshan-y avatar gengshan-y commented on July 28, 2024

That warning might be caused by previous build of soft-rasterizer at the same location. You may want to remove third_party/softras/build/ and try again.

from lasr.

Kana-alt avatar Kana-alt commented on July 28, 2024

I removed the folder you told me to and ran it again.
Is this output a problem with the CUDA or torch version?

Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/2] /home/kana/anaconda3/envs/lasr2/bin/nvcc -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/TH -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/THC -I/home/kana/anaconda3/envs/lasr2/include -I/home/kana/anaconda3/envs/lasr2/include/python3.8 -c -c /home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu -o /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/load_textures_cuda_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=load_textures -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84: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(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:1: note: declared here
DeprecatedTypeProperties & type() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84: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(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:66:1: note: declared here
inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84:304: 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(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84:330: 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(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84:364: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84:393: 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(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84:644: 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(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84:669: 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(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84:703: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84:731: 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(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~

from lasr.

gengshan-y avatar gengshan-y commented on July 28, 2024

Could you attach the full log? Those are just warnings and should be fine.

from lasr.

Kana-alt avatar Kana-alt commented on July 28, 2024

OK.
It's very long, so I'll split it into multiple parts.

running install
running bdist_egg
running egg_info
creating soft_renderer.egg-info
writing soft_renderer.egg-info/PKG-INFO
writing dependency_links to soft_renderer.egg-info/dependency_links.txt
writing requirements to soft_renderer.egg-info/requires.txt
writing top-level names to soft_renderer.egg-info/top_level.txt
writing manifest file 'soft_renderer.egg-info/SOURCES.txt'
reading manifest file 'soft_renderer.egg-info/SOURCES.txt'
writing manifest file 'soft_renderer.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/soft_renderer
copying soft_renderer/mesh.py -> build/lib.linux-x86_64-3.8/soft_renderer
copying soft_renderer/init.py -> build/lib.linux-x86_64-3.8/soft_renderer
copying soft_renderer/losses.py -> build/lib.linux-x86_64-3.8/soft_renderer
copying soft_renderer/lighting.py -> build/lib.linux-x86_64-3.8/soft_renderer
copying soft_renderer/rasterizer.py -> build/lib.linux-x86_64-3.8/soft_renderer
copying soft_renderer/transform.py -> build/lib.linux-x86_64-3.8/soft_renderer
copying soft_renderer/renderer.py -> build/lib.linux-x86_64-3.8/soft_renderer
creating build/lib.linux-x86_64-3.8/soft_renderer/cuda
copying soft_renderer/cuda/init.py -> build/lib.linux-x86_64-3.8/soft_renderer/cuda
creating build/lib.linux-x86_64-3.8/soft_renderer/functional
copying soft_renderer/functional/look.py -> build/lib.linux-x86_64-3.8/soft_renderer/functional
copying soft_renderer/functional/get_points_from_angles.py -> build/lib.linux-x86_64-3.8/soft_renderer/functional
copying soft_renderer/functional/orthogonal.py -> build/lib.linux-x86_64-3.8/soft_renderer/functional
copying soft_renderer/functional/soft_rasterize.py -> build/lib.linux-x86_64-3.8/soft_renderer/functional
copying soft_renderer/functional/save_obj.py -> build/lib.linux-x86_64-3.8/soft_renderer/functional
copying soft_renderer/functional/directional_lighting.py -> build/lib.linux-x86_64-3.8/soft_renderer/functional
copying soft_renderer/functional/load_obj.py -> build/lib.linux-x86_64-3.8/soft_renderer/functional
copying soft_renderer/functional/look_at.py -> build/lib.linux-x86_64-3.8/soft_renderer/functional
copying soft_renderer/functional/vertex_normals.py -> build/lib.linux-x86_64-3.8/soft_renderer/functional
copying soft_renderer/functional/projection.py -> build/lib.linux-x86_64-3.8/soft_renderer/functional
copying soft_renderer/functional/init.py -> build/lib.linux-x86_64-3.8/soft_renderer/functional
copying soft_renderer/functional/face_vertices.py -> build/lib.linux-x86_64-3.8/soft_renderer/functional
copying soft_renderer/functional/ambient_lighting.py -> build/lib.linux-x86_64-3.8/soft_renderer/functional
copying soft_renderer/functional/voxelization.py -> build/lib.linux-x86_64-3.8/soft_renderer/functional
copying soft_renderer/functional/perspective.py -> build/lib.linux-x86_64-3.8/soft_renderer/functional
running build_ext
building 'soft_renderer.cuda.load_textures' extension
creating /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8
creating /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer
creating /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda
Emitting ninja build file /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/2] /home/kana/anaconda3/envs/lasr2/bin/nvcc -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/TH -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/THC -I/home/kana/anaconda3/envs/lasr2/include -I/home/kana/anaconda3/envs/lasr2/include/python3.8 -c -c /home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu -o /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/load_textures_cuda_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=load_textures -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84: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(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:1: note: declared here
DeprecatedTypeProperties & type() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84: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(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:66:1: note: declared here
inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84:304: 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(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84:330: 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(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84:364: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84:393: 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(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84:644: 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(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84:669: 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(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84:703: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda_kernel.cu:84:731: 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(image.type(), "load_textures_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
[2/2] c++ -MMD -MF /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/load_textures_cuda.o.d -pthread -B /home/kana/anaconda3/envs/lasr2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/TH -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/THC -I/home/kana/anaconda3/envs/lasr2/include -I/home/kana/anaconda3/envs/lasr2/include/python3.8 -c -c /home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp -o /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/load_textures_cuda.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=load_textures -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++

from lasr.

Kana-alt avatar Kana-alt commented on July 28, 2024

In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)

In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp: In function ‘at::Tensor load_textures(at::Tensor, at::Tensor, at::Tensor, at::Tensor)’:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:13:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:13:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:15:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:24:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(image);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:13:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:13:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:15:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:25:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(faces);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:13:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:13:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:15:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:26:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(is_update);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:13:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:13:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:15:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:27:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(textures);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/load_textures_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
g++ -pthread -shared -B /home/kana/anaconda3/envs/lasr2/compiler_compat -L/home/kana/anaconda3/envs/lasr2/lib -Wl,-rpath=/home/kana/anaconda3/envs/lasr2/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/load_textures_cuda.o /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/load_textures_cuda_kernel.o -L/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/lib -L/home/kana/anaconda3/envs/lasr2/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-3.8/soft_renderer/cuda/load_textures.cpython-38-x86_64-linux-gnu.so
building 'soft_renderer.cuda.create_texture_image' extension
Emitting ninja build file /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/2] /home/kana/anaconda3/envs/lasr2/bin/nvcc -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/TH -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/THC -I/home/kana/anaconda3/envs/lasr2/include -I/home/kana/anaconda3/envs/lasr2/include/python3.8 -c -c /home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda_kernel.cu -o /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/create_texture_image_cuda_kernel.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=create_texture_image -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda_kernel.cu:89: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(image.type(), "create_texture_image_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:1: note: declared here
DeprecatedTypeProperties & type() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda_kernel.cu:89: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(image.type(), "create_texture_image_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:66:1: note: declared here
inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda_kernel.cu:89:311: 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(image.type(), "create_texture_image_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda_kernel.cu:89:340: 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(image.type(), "create_texture_image_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda_kernel.cu:89:366: 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(image.type(), "create_texture_image_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda_kernel.cu:89:655: 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(image.type(), "create_texture_image_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda_kernel.cu:89:683: 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(image.type(), "create_texture_image_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda_kernel.cu:89:708: 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(image.type(), "create_texture_image_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
[2/2] c++ -MMD -MF /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/create_texture_image_cuda.o.d -pthread -B /home/kana/anaconda3/envs/lasr2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/TH -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/THC -I/home/kana/anaconda3/envs/lasr2/include -I/home/kana/anaconda3/envs/lasr2/include/python3.8 -c -c /home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp -o /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/create_texture_image_cuda.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=create_texture_image -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/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)

In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp: In function ‘at::Tensor create_texture_image(at::Tensor, at::Tensor, at::Tensor, float)’:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:13:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:13:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:15:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:24:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(vertices_all);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:13:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:13:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:15:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:25:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(textures);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:13:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:13:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:15:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:26:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(image);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/create_texture_image_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
g++ -pthread -shared -B /home/kana/anaconda3/envs/lasr2/compiler_compat -L/home/kana/anaconda3/envs/lasr2/lib -Wl,-rpath=/home/kana/anaconda3/envs/lasr2/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/create_texture_image_cuda.o /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/create_texture_image_cuda_kernel.o -L/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/lib -L/home/kana/anaconda3/envs/lasr2/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-3.8/soft_renderer/cuda/create_texture_image.cpython-38-x86_64-linux-gnu.so
building 'soft_renderer.cuda.soft_rasterize' extension
Emitting ninja build file /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/2] /home/kana/anaconda3/envs/lasr2/bin/nvcc -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/TH -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/THC -I/home/kana/anaconda3/envs/lasr2/include -I/home/kana/anaconda3/envs/lasr2/include/python3.8 -c -c /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu -o /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/soft_rasterize_cuda_kernel.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=soft_rasterize -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:701: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(faces.type(), "forward_soft_rasterize_inv_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:1: note: declared here
DeprecatedTypeProperties & type() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:701: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(faces.type(), "forward_soft_rasterize_inv_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:66:1: note: declared here
inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:701:319: 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(faces.type(), "forward_soft_rasterize_inv_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:701:350: 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(faces.type(), "forward_soft_rasterize_inv_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:701:597: 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(faces.type(), "forward_soft_rasterize_inv_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:701:627: 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(faces.type(), "forward_soft_rasterize_inv_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:716: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(faces.type(), "forward_eff_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:1: note: declared here
DeprecatedTypeProperties & type() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:716: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(faces.type(), "forward_eff_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:66:1: note: declared here
inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:716:315: 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(faces.type(), "forward_eff_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:716:344: 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(faces.type(), "forward_eff_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:716:375: 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(faces.type(), "forward_eff_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:716:406: 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(faces.type(), "forward_eff_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:716:438: 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(faces.type(), "forward_eff_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:716:832: 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(faces.type(), "forward_eff_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:716:860: 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(faces.type(), "forward_eff_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:716:890: 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(faces.type(), "forward_eff_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:716:920: 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(faces.type(), "forward_eff_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:716:951: 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(faces.type(), "forward_eff_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780: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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:1: note: declared here
DeprecatedTypeProperties & type() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780: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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:66:1: note: declared here
inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780:314: 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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780:343: 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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780:375: 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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780:406: 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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780:437: 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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780:468: 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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780:502: 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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780:539: 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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780:932: 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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780:960: 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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780:991: 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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780:1021: 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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780:1051: 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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780:1081: 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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780:1114: 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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda_kernel.cu:780:1150: 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(faces.type(), "backward_soft_rasterize_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
[2/2] c++ -MMD -MF /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/soft_rasterize_cuda.o.d -pthread -B /home/kana/anaconda3/envs/lasr2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/TH -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/THC -I/home/kana/anaconda3/envs/lasr2/include -I/home/kana/anaconda3/envs/lasr2/include/python3.8 -c -c /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp -o /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/soft_rasterize_cuda.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=soft_rasterize -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/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)

In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp: In function ‘std::vectorat::Tensor forward_soft_rasterize(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, float, float, float, float, int, float, float, int, int, int, bool)’:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:56:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:78:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(faces);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:56:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:79:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(textures);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:56:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:80:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(faces_info);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,

from lasr.

Kana-alt avatar Kana-alt commented on July 28, 2024

/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:56:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:81:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(aggrs_info);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:56:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:82:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(soft_colors);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp: In function ‘std::vectorat::Tensor backward_soft_rasterize(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, int, float, float, float, float, int, float, float, int, int, int, bool)’:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:56:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:116:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(faces);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:56:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:117:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(textures);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:56:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:118:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(soft_colors);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:56:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:119:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(faces_info);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:56:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:120:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(aggrs_info);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:56:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:121:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(grad_faces);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:56:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:122:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(grad_textures);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:54:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:56:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:123:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(grad_soft_colors);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/soft_rasterize_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
g++ -pthread -shared -B /home/kana/anaconda3/envs/lasr2/compiler_compat -L/home/kana/anaconda3/envs/lasr2/lib -Wl,-rpath=/home/kana/anaconda3/envs/lasr2/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/soft_rasterize_cuda.o /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/soft_rasterize_cuda_kernel.o -L/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/lib -L/home/kana/anaconda3/envs/lasr2/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-3.8/soft_renderer/cuda/soft_rasterize.cpython-38-x86_64-linux-gnu.so
building 'soft_renderer.cuda.voxelization' extension
Emitting ninja build file /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/2] /home/kana/anaconda3/envs/lasr2/bin/nvcc -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/TH -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/THC -I/home/kana/anaconda3/envs/lasr2/include -I/home/kana/anaconda3/envs/lasr2/include/python3.8 -c -c /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu -o /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/voxelization_cuda_kernel.o -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS -D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=voxelization -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu(41): warning: variable "bs" was declared but never referenced

/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu(100): warning: variable "bs" was declared but never referenced

/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu(128): warning: variable "bs" was declared but never referenced

/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu(134): warning: variable "bn" was declared but never referenced

/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu(152): warning: variable "bs" was declared but never referenced

/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:204: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(faces.type(), "voxelize_sub1_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:1: note: declared here
DeprecatedTypeProperties & type() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:204: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(faces.type(), "voxelize_sub1_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:66:1: note: declared here
inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:204:299: 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(faces.type(), "voxelize_sub1_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:204:330: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(faces.type(), "voxelize_sub1_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:204:557: 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(faces.type(), "voxelize_sub1_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:204:588: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(faces.type(), "voxelize_sub1_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:232: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(faces.type(), "voxelize_sub2_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:1: note: declared here
DeprecatedTypeProperties & type() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:232: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(faces.type(), "voxelize_sub2_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:66:1: note: declared here
inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:232:299: 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(faces.type(), "voxelize_sub2_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:232:330: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(faces.type(), "voxelize_sub2_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:232:557: 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(faces.type(), "voxelize_sub2_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:232:588: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(faces.type(), "voxelize_sub2_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:258: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(faces.type(), "voxelize_sub3_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:1: note: declared here
DeprecatedTypeProperties & type() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:258: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(faces.type(), "voxelize_sub3_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:66:1: note: declared here
inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:258:304: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(faces.type(), "voxelize_sub3_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:258:336: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(faces.type(), "voxelize_sub3_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:258:558: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(faces.type(), "voxelize_sub3_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:258:590: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(faces.type(), "voxelize_sub3_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:283: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(faces.type(), "voxelize_sub4_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:1: note: declared here
DeprecatedTypeProperties & type() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:283: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(faces.type(), "voxelize_sub4_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Dispatch.h:66:1: note: declared here
inline at::ScalarType scalar_type(const at::DeprecatedTypeProperties& t) {
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:283:304: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(faces.type(), "voxelize_sub4_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:283:336: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(faces.type(), "voxelize_sub4_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu: In lambda function:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:283:558: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(faces.type(), "voxelize_sub4_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda_kernel.cu:283:590: warning: ‘T* at::Tensor::data() const [with T = int]’ is deprecated: Tensor.data() is deprecated. Please use Tensor.data_ptr() instead. [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(faces.type(), "voxelize_sub4_cuda", ([&] {
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:363:1: note: declared here
T * data() const {
^ ~~
[2/2] c++ -MMD -MF /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/voxelization_cuda.o.d -pthread -B /home/kana/anaconda3/envs/lasr2/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/TH -I/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/THC -I/home/kana/anaconda3/envs/lasr2/include -I/home/kana/anaconda3/envs/lasr2/include/python3.8 -c -c /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp -o /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/voxelization_cuda.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=voxelization -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/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Parallel.h:149:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/utils.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:5,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:12,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from

from lasr.

Kana-alt avatar Kana-alt commented on July 28, 2024

/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ParallelOpenMP.h:84:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for if ((end - begin) >= grain_size)

In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp: In function ‘std::vectorat::Tensor voxelize_sub1(at::Tensor, at::Tensor)’:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:34:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:40:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(faces);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:34:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:41:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(voxels);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp: In function ‘std::vectorat::Tensor voxelize_sub2(at::Tensor, at::Tensor)’:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:34:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:49:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(faces);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:34:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:50:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(voxels);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp: In function ‘std::vectorat::Tensor voxelize_sub3(at::Tensor, at::Tensor, at::Tensor)’:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:34:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:59:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(faces);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:34:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:60:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(voxels);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:34:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:61:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(visible);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp: In function ‘std::vectorat::Tensor voxelize_sub4(at::Tensor, at::Tensor, at::Tensor)’:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:34:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:70:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(faces);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:34:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:71:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(voxels);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/DeviceType.h:8:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Device.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:7,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:42: 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) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/macros/Macros.h:171:65: note: in definition of macro ‘C10_UNLIKELY’
#define C10_UNLIKELY(expr) (__builtin_expect(static_cast(expr), 0))
^~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:330:7: note: in expansion of macro ‘C10_UNLIKELY_OR_CONST’
if (C10_UNLIKELY_OR_CONST(!(cond))) {
^~~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:318:3: note: in expansion of macro ‘TORCH_CHECK_WITH_MSG’
TORCH_CHECK_WITH_MSG(error_t, cond, "", VA_ARGS)
^~~~~~~~~~~~~~~~~~~~
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/c10/util/Exception.h:341:32: note: in expansion of macro ‘TORCH_CHECK_WITH’
#define TORCH_CHECK(cond, ...) TORCH_CHECK_WITH(Error, cond, VA_ARGS)
^~~~~~~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:32:23: note: in expansion of macro ‘TORCH_CHECK’
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
^~~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:34:24: note: in expansion of macro ‘CHECK_CUDA’
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
^~~~~~~~~~
/home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:72:5: note: in expansion of macro ‘CHECK_INPUT’
CHECK_INPUT(visible);
^~~~~~~~~~~
In file included from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Tensor.h:3:0,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/Context.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/ATen.h:9,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/all.h:8,
from /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/torch.h:3,
from /home/kana/lasr3/third_party/softras/soft_renderer/cuda/voxelization_cuda.cpp:1:
/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/include/ATen/core/TensorBody.h:277:30: note: declared here
DeprecatedTypeProperties & type() const {
^~~~
g++ -pthread -shared -B /home/kana/anaconda3/envs/lasr2/compiler_compat -L/home/kana/anaconda3/envs/lasr2/lib -Wl,-rpath=/home/kana/anaconda3/envs/lasr2/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/voxelization_cuda.o /home/kana/lasr3/third_party/softras/build/temp.linux-x86_64-3.8/soft_renderer/cuda/voxelization_cuda_kernel.o -L/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/torch/lib -L/home/kana/anaconda3/envs/lasr2/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-3.8/soft_renderer/cuda/voxelization.cpython-38-x86_64-linux-gnu.so
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/soft_renderer
copying build/lib.linux-x86_64-3.8/soft_renderer/mesh.py -> build/bdist.linux-x86_64/egg/soft_renderer
copying build/lib.linux-x86_64-3.8/soft_renderer/init.py -> build/bdist.linux-x86_64/egg/soft_renderer
copying build/lib.linux-x86_64-3.8/soft_renderer/losses.py -> build/bdist.linux-x86_64/egg/soft_renderer
copying build/lib.linux-x86_64-3.8/soft_renderer/lighting.py -> build/bdist.linux-x86_64/egg/soft_renderer
copying build/lib.linux-x86_64-3.8/soft_renderer/rasterizer.py -> build/bdist.linux-x86_64/egg/soft_renderer
copying build/lib.linux-x86_64-3.8/soft_renderer/transform.py -> build/bdist.linux-x86_64/egg/soft_renderer
creating build/bdist.linux-x86_64/egg/soft_renderer/cuda
copying build/lib.linux-x86_64-3.8/soft_renderer/cuda/soft_rasterize.cpython-38-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/soft_renderer/cuda
copying build/lib.linux-x86_64-3.8/soft_renderer/cuda/create_texture_image.cpython-38-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/soft_renderer/cuda
copying build/lib.linux-x86_64-3.8/soft_renderer/cuda/voxelization.cpython-38-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/soft_renderer/cuda
copying build/lib.linux-x86_64-3.8/soft_renderer/cuda/load_textures.cpython-38-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/soft_renderer/cuda
copying build/lib.linux-x86_64-3.8/soft_renderer/cuda/init.py -> build/bdist.linux-x86_64/egg/soft_renderer/cuda
copying build/lib.linux-x86_64-3.8/soft_renderer/renderer.py -> build/bdist.linux-x86_64/egg/soft_renderer
creating build/bdist.linux-x86_64/egg/soft_renderer/functional
copying build/lib.linux-x86_64-3.8/soft_renderer/functional/look.py -> build/bdist.linux-x86_64/egg/soft_renderer/functional
copying build/lib.linux-x86_64-3.8/soft_renderer/functional/get_points_from_angles.py -> build/bdist.linux-x86_64/egg/soft_renderer/functional
copying build/lib.linux-x86_64-3.8/soft_renderer/functional/orthogonal.py -> build/bdist.linux-x86_64/egg/soft_renderer/functional
copying build/lib.linux-x86_64-3.8/soft_renderer/functional/soft_rasterize.py -> build/bdist.linux-x86_64/egg/soft_renderer/functional
copying build/lib.linux-x86_64-3.8/soft_renderer/functional/save_obj.py -> build/bdist.linux-x86_64/egg/soft_renderer/functional
copying build/lib.linux-x86_64-3.8/soft_renderer/functional/directional_lighting.py -> build/bdist.linux-x86_64/egg/soft_renderer/functional
copying build/lib.linux-x86_64-3.8/soft_renderer/functional/load_obj.py -> build/bdist.linux-x86_64/egg/soft_renderer/functional
copying build/lib.linux-x86_64-3.8/soft_renderer/functional/look_at.py -> build/bdist.linux-x86_64/egg/soft_renderer/functional
copying build/lib.linux-x86_64-3.8/soft_renderer/functional/vertex_normals.py -> build/bdist.linux-x86_64/egg/soft_renderer/functional
copying build/lib.linux-x86_64-3.8/soft_renderer/functional/projection.py -> build/bdist.linux-x86_64/egg/soft_renderer/functional
copying build/lib.linux-x86_64-3.8/soft_renderer/functional/init.py -> build/bdist.linux-x86_64/egg/soft_renderer/functional
copying build/lib.linux-x86_64-3.8/soft_renderer/functional/face_vertices.py -> build/bdist.linux-x86_64/egg/soft_renderer/functional
copying build/lib.linux-x86_64-3.8/soft_renderer/functional/ambient_lighting.py -> build/bdist.linux-x86_64/egg/soft_renderer/functional
copying build/lib.linux-x86_64-3.8/soft_renderer/functional/voxelization.py -> build/bdist.linux-x86_64/egg/soft_renderer/functional
copying build/lib.linux-x86_64-3.8/soft_renderer/functional/perspective.py -> build/bdist.linux-x86_64/egg/soft_renderer/functional
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/mesh.py to mesh.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/init.py to init.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/losses.py to losses.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/lighting.py to lighting.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/rasterizer.py to rasterizer.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/transform.py to transform.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/cuda/init.py to init.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/renderer.py to renderer.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/functional/look.py to look.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/functional/get_points_from_angles.py to get_points_from_angles.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/functional/orthogonal.py to orthogonal.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/functional/soft_rasterize.py to soft_rasterize.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/functional/save_obj.py to save_obj.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/functional/directional_lighting.py to directional_lighting.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/functional/load_obj.py to load_obj.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/functional/look_at.py to look_at.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/functional/vertex_normals.py to vertex_normals.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/functional/projection.py to projection.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/functional/init.py to init.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/functional/face_vertices.py to face_vertices.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/functional/ambient_lighting.py to ambient_lighting.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/functional/voxelization.py to voxelization.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/functional/perspective.py to perspective.cpython-38.pyc
creating stub loader for soft_renderer/cuda/load_textures.cpython-38-x86_64-linux-gnu.so
creating stub loader for soft_renderer/cuda/create_texture_image.cpython-38-x86_64-linux-gnu.so
creating stub loader for soft_renderer/cuda/soft_rasterize.cpython-38-x86_64-linux-gnu.so
creating stub loader for soft_renderer/cuda/voxelization.cpython-38-x86_64-linux-gnu.so
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/cuda/load_textures.py to load_textures.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/cuda/create_texture_image.py to create_texture_image.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/cuda/soft_rasterize.py to soft_rasterize.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/soft_renderer/cuda/voxelization.py to voxelization.cpython-38.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying soft_renderer.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying soft_renderer.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying soft_renderer.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying soft_renderer.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying soft_renderer.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...
soft_renderer.cuda.pycache.create_texture_image.cpython-38: module references file
soft_renderer.cuda.pycache.load_textures.cpython-38: module references file
soft_renderer.cuda.pycache.soft_rasterize.cpython-38: module references file
soft_renderer.cuda.pycache.voxelization.cpython-38: module references file
creating dist
creating 'dist/soft_renderer-1.0.0-py3.8-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 soft_renderer-1.0.0-py3.8-linux-x86_64.egg
removing '/home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/soft_renderer-1.0.0-py3.8-linux-x86_64.egg' (and everything under it)
creating /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/soft_renderer-1.0.0-py3.8-linux-x86_64.egg
Extracting soft_renderer-1.0.0-py3.8-linux-x86_64.egg to /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
soft-renderer 1.0.0 is already the active version in easy-install.pth

Installed /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages/soft_renderer-1.0.0-py3.8-linux-x86_64.egg
Processing dependencies for soft-renderer==1.0.0
Searching for imageio==2.9.0
Best match: imageio 2.9.0
Adding imageio 2.9.0 to easy-install.pth file
Installing imageio_download_bin script to /home/kana/anaconda3/envs/lasr2/bin
Installing imageio_remove_bin script to /home/kana/anaconda3/envs/lasr2/bin

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for tqdm==4.61.0
Best match: tqdm 4.61.0
Adding tqdm 4.61.0 to easy-install.pth file
Installing tqdm script to /home/kana/anaconda3/envs/lasr2/bin

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for scikit-image==0.18.2rc2
Best match: scikit-image 0.18.2rc2
Adding scikit-image 0.18.2rc2 to easy-install.pth file
Installing skivi script to /home/kana/anaconda3/envs/lasr2/bin

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for torchvision==0.8.2
Best match: torchvision 0.8.2
Adding torchvision 0.8.2 to easy-install.pth file

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for torch==1.7.1
Best match: torch 1.7.1
Adding torch 1.7.1 to easy-install.pth file
Installing convert-caffe2-to-onnx script to /home/kana/anaconda3/envs/lasr2/bin
Installing convert-onnx-to-caffe2 script to /home/kana/anaconda3/envs/lasr2/bin

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for numpy==1.20.2
Best match: numpy 1.20.2
Adding numpy 1.20.2 to easy-install.pth file
Installing f2py script to /home/kana/anaconda3/envs/lasr2/bin
Installing f2py3 script to /home/kana/anaconda3/envs/lasr2/bin
Installing f2py3.8 script to /home/kana/anaconda3/envs/lasr2/bin

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for Pillow==8.2.0
Best match: Pillow 8.2.0
Adding Pillow 8.2.0 to easy-install.pth file

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for PyWavelets==1.1.1
Best match: PyWavelets 1.1.1
Adding PyWavelets 1.1.1 to easy-install.pth file

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for networkx==2.6rc1
Best match: networkx 2.6rc1
Adding networkx 2.6rc1 to easy-install.pth file

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for scipy==1.6.3
Best match: scipy 1.6.3
Adding scipy 1.6.3 to easy-install.pth file

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for tifffile==2021.4.8
Best match: tifffile 2021.4.8
Adding tifffile 2021.4.8 to easy-install.pth file
Installing lsm2bin script to /home/kana/anaconda3/envs/lasr2/bin
Installing tiff2fsspec script to /home/kana/anaconda3/envs/lasr2/bin
Installing tiffcomment script to /home/kana/anaconda3/envs/lasr2/bin
Installing tifffile script to /home/kana/anaconda3/envs/lasr2/bin

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for matplotlib==3.4.2
Best match: matplotlib 3.4.2
Adding matplotlib 3.4.2 to easy-install.pth file

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for typing-extensions==3.7.4.3
Best match: typing-extensions 3.7.4.3
Adding typing-extensions 3.7.4.3 to easy-install.pth file

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for decorator==5.0.9
Best match: decorator 5.0.9
Adding decorator 5.0.9 to easy-install.pth file

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for pandas==1.2.4
Best match: pandas 1.2.4
Adding pandas 1.2.4 to easy-install.pth file

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for pyparsing==3.0.0b2
Best match: pyparsing 3.0.0b2
Adding pyparsing 3.0.0b2 to easy-install.pth file

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for python-dateutil==2.8.1
Best match: python-dateutil 2.8.1
Adding python-dateutil 2.8.1 to easy-install.pth file

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for cycler==0.10.0
Best match: cycler 0.10.0
Adding cycler 0.10.0 to easy-install.pth file

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for kiwisolver==1.3.1
Best match: kiwisolver 1.3.1
Adding kiwisolver 1.3.1 to easy-install.pth file

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for pytz==2021.1
Best match: pytz 2021.1
Adding pytz 2021.1 to easy-install.pth file

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Searching for six==1.15.0
Best match: six 1.15.0
Adding six 1.15.0 to easy-install.pth file

Using /home/kana/anaconda3/envs/lasr2/lib/python3.8/site-packages
Finished processing dependencies for soft-renderer==1.0.0
/home/kana/lasr3

from lasr.

gengshan-y avatar gengshan-y commented on July 28, 2024

Well I don't see anything suspicious in the log.

from lasr.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.