Comments (2)
Hi, thank you for your question. If the inplace abn package is installed from the official repository, most pytorch versions should be suitable. Otherwise, pytorch 1.0 is needed.
from eanet.
(base) root@392ff01aa5be:~/EaNet-master# sh run.sh
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1066, in _build_extension_module
check=True)
File "/root/miniconda3/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 6, in
from models.EaNet import EaNet
File "/root/EaNet-master/models/EaNet.py", line 11, in
from .resnet import Resnet50, Resnet101
File "/root/EaNet-master/models/resnet.py", line 11, in
from modules import InPlaceABNSync as BatchNorm2d
File "/root/EaNet-master/modules/init.py", line 1, in
from .bn import ABN, InPlaceABN, InPlaceABNSync
File "/root/EaNet-master/modules/bn.py", line 10, in
from .functions import *
File "/root/EaNet-master/modules/functions.py", line 18, in
extra_cuda_cflags=["--expt-extended-lambda"])
File "/root/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 680, in load
is_python_module)
File "/root/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 866, in jit_compile
with_cuda=with_cuda)
File "/root/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 919, in write_ninja_file_and_build
build_extension_module(name, build_directory, verbose)
File "/root/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1079, in build_extension_module
raise RuntimeError(message)
RuntimeError: Error building extension 'inplace_abn': [1/5] c++ -MMD -MF inplace_abn_cpu.o.d -DTORCH_EXTENSION_NAME=inplace_abn -DTORCH_API_INCLUDE_EXTENSION_H -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include/TH -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /root/miniconda3/include/python3.7m -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++11 -O3 -c /root/EaNet-master/modules/src/inplace_abn_cpu.cpp -o inplace_abn_cpu.o
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9:0,
from /root/EaNet-master/modules/src/inplace_abn_cpu.cpp:1:
/root/EaNet-master/modules/src/inplace_abn_cpu.cpp: In lambda function:
/root/EaNet-master/modules/src/inplace_abn_cpu.cpp:91:33: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
auto _z = z.data<scalar_t>();
^
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:11:0,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/EaNet-master/modules/src/inplace_abn_cpu.cpp:1:
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:7: note: declared here
T * data() const {
^~~~
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9:0,
from /root/EaNet-master/modules/src/inplace_abn_cpu.cpp:1:
/root/EaNet-master/modules/src/inplace_abn_cpu.cpp:92:35: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
auto _dz = dz.data<scalar_t>();
^
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:11:0,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/EaNet-master/modules/src/inplace_abn_cpu.cpp:1:
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:7: note: declared here
T * data() const {
^~~~
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9:0,
from /root/EaNet-master/modules/src/inplace_abn_cpu.cpp:1:
/root/EaNet-master/modules/src/inplace_abn_cpu.cpp: In lambda function:
/root/EaNet-master/modules/src/inplace_abn_cpu.cpp:91:33: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
auto _z = z.data<scalar_t>();
^
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:11:0,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/EaNet-master/modules/src/inplace_abn_cpu.cpp:1:
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:7: note: declared here
T * data() const {
^~~~
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9:0,
from /root/EaNet-master/modules/src/inplace_abn_cpu.cpp:1:
/root/EaNet-master/modules/src/inplace_abn_cpu.cpp:92:35: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
auto _dz = dz.data<scalar_t>();
^
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:11:0,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/EaNet-master/modules/src/inplace_abn_cpu.cpp:1:
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:7: note: declared here
T * data() const {
^~~~
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9:0,
from /root/EaNet-master/modules/src/inplace_abn_cpu.cpp:1:
/root/EaNet-master/modules/src/inplace_abn_cpu.cpp: In lambda function:
/root/EaNet-master/modules/src/inplace_abn_cpu.cpp:109:33: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
auto _z = z.data<scalar_t>();
^
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:11:0,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/EaNet-master/modules/src/inplace_abn_cpu.cpp:1:
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:7: note: declared here
T * data() const {
^~~~
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9:0,
from /root/EaNet-master/modules/src/inplace_abn_cpu.cpp:1:
/root/EaNet-master/modules/src/inplace_abn_cpu.cpp:110:35: warning: ‘T at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
auto _dz = dz.data<scalar_t>();
^
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:11:0,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/EaNet-master/modules/src/inplace_abn_cpu.cpp:1:
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:7: note: declared here
T * data() const {
^~~~
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9:0,
from /root/EaNet-master/modules/src/inplace_abn_cpu.cpp:1:
/root/EaNet-master/modules/src/inplace_abn_cpu.cpp: In lambda function:
/root/EaNet-master/modules/src/inplace_abn_cpu.cpp:109:33: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
auto _z = z.data<scalar_t>();
^
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:11:0,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/EaNet-master/modules/src/inplace_abn_cpu.cpp:1:
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:7: note: declared here
T * data() const {
^~~~
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:9:0,
from /root/EaNet-master/modules/src/inplace_abn_cpu.cpp:1:
/root/EaNet-master/modules/src/inplace_abn_cpu.cpp:110:35: warning: ‘T at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
auto _dz = dz.data<scalar_t>();
^
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/Tensor.h:11:0,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/Context.h:4,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/ATen.h:5,
from /root/EaNet-master/modules/src/inplace_abn_cpu.cpp:1:
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:7: note: declared here
T * data() const {
^~~~
[2/5] c++ -MMD -MF inplace_abn.o.d -DTORCH_EXTENSION_NAME=inplace_abn -DTORCH_API_INCLUDE_EXTENSION_H -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include/TH -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /root/miniconda3/include/python3.7m -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++11 -O3 -c /root/EaNet-master/modules/src/inplace_abn.cpp -o inplace_abn.o
FAILED: inplace_abn.o
c++ -MMD -MF inplace_abn.o.d -DTORCH_EXTENSION_NAME=inplace_abn -DTORCH_API_INCLUDE_EXTENSION_H -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include/TH -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /root/miniconda3/include/python3.7m -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++11 -O3 -c /root/EaNet-master/modules/src/inplace_abn.cpp -o inplace_abn.o
/root/EaNet-master/modules/src/inplace_abn.cpp: In function ‘void pybind11_init_inplace_abn(pybind11::module&)’:
/root/EaNet-master/modules/src/inplace_abn.cpp:90:69: error: no matching function for call to ‘pybind11::module::def(const char [9], , const char [36])’
m.def("backward", &backward, "Second part of backward computation");
^
In file included from /root/miniconda3/lib/python3.7/site-packages/torch/include/torch/csrc/utils/pybind.h:6:0,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/python.h:12,
from /root/miniconda3/lib/python3.7/site-packages/torch/include/torch/extension.h:6,
from /root/EaNet-master/modules/src/inplace_abn.cpp:1:
/root/miniconda3/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:810:13: note: candidate: template<class Func, class ... Extra> pybind11::module& pybind11::module::def(const char, Func&&, const Extra& ...)
module &def(const char *name, Func &&f, const Extra& ... extra) {
^~~
/root/miniconda3/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:810:13: note: template argument deduction/substitution failed:
/root/EaNet-master/modules/src/inplace_abn.cpp:90:69: note: couldn't deduce template parameter ‘Func’
m.def("backward", &backward, "Second part of backward computation");
^
[3/5] /usr/local/cuda/bin/nvcc -DTORCH_EXTENSION_NAME=inplace_abn -DTORCH_API_INCLUDE_EXTENSION_H -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include/TH -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /root/miniconda3/include/python3.7m -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS -D__CUDA_NO_HALF_CONVERSIONS_ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_75,code=sm_75 --compiler-options '-fPIC' --expt-extended-lambda -std=c++11 -c /root/EaNet-master/modules/src/inplace_abn_cuda_half.cu -o inplace_abn_cuda_half.cuda.o
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu: In function ‘std::vectorat::Tensor mean_var_cuda_h(at::Tensor)’:
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:87:135: warning: ‘T* at::Tensor::data() const [with T = c10::Half]’ is deprecated [-Wdeprecated-declarations]
mean_var_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:87:158: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
mean_var_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:87:179: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
mean_var_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu: In function ‘at::Tensor forward_cuda_h(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, bool, float)’:
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:138:134: warning: ‘T* at::Tensor::data() const [with T = c10::Half]’ is deprecated [-Wdeprecated-declarations]
forward_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:138:157: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
forward_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:138:178: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
forward_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:138:202: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
forward_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:138:224: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
forward_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu: In function ‘std::vectorat::Tensor edz_eydz_cuda_h(at::Tensor, at::Tensor, at::Tensor, at::Tensor, bool, float)’:
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:183:135: warning: ‘T* at::Tensor::data() const [with T = c10::Half]’ is deprecated [-Wdeprecated-declarations]
edz_eydz_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:183:186: warning: ‘T* at::Tensor::data() const [with T = c10::Half]’ is deprecated [-Wdeprecated-declarations]
edz_eydz_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:183:211: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
edz_eydz_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:183:233: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
edz_eydz_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:183:254: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
edz_eydz_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:183:276: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
edz_eydz_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu: In function ‘at::Tensor backward_cuda_h(at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, at::Tensor, bool, float)’:
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:238:135: warning: ‘T* at::Tensor::data() const [with T = c10::Half]’ is deprecated [-Wdeprecated-declarations]
backward_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:238:186: warning: ‘T* at::Tensor::data() const [with T = c10::Half]’ is deprecated [-Wdeprecated-declarations]
backward_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:238:208: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
backward_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:238:232: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
backward_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:238:254: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
backward_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:238:275: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
backward_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:238:297: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
backward_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:238:347: warning: ‘T* at::Tensor::data() const [with T = c10::Half]’ is deprecated [-Wdeprecated-declarations]
backward_kernel_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu: In function ‘void leaky_relu_backward_cuda_h(at::Tensor, at::Tensor, float)’:
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:270:144: warning: ‘T* at::Tensor::data() const [with T = c10::Half]’ is deprecated [-Wdeprecated-declarations]
leaky_relu_backward_impl_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda_half.cu:270:195: warning: ‘T* at::Tensor::data() const [with T = c10::Half]’ is deprecated [-Wdeprecated-declarations]
leaky_relu_backward_impl_h<<<blocks, threads, 0, stream>>>(
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
[4/5] /usr/local/cuda/bin/nvcc -DTORCH_EXTENSION_NAME=inplace_abn -DTORCH_API_INCLUDE_EXTENSION_H -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include/torch/csrc/api/include -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include/TH -isystem /root/miniconda3/lib/python3.7/site-packages/torch/include/THC -isystem /usr/local/cuda/include -isystem /root/miniconda3/include/python3.7m -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_75,code=sm_75 --compiler-options '-fPIC' --expt-extended-lambda -std=c++11 -c /root/EaNet-master/modules/src/inplace_abn_cuda.cu -o inplace_abn_cuda.cuda.o
/root/EaNet-master/modules/src/inplace_abn_cuda.cu: In lambda function:
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:92:120: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(x.type(), "mean_var_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:92:145: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(x.type(), "mean_var_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:92:169: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(x.type(), "mean_var_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu: In lambda function:
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:92:118: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(x.type(), "mean_var_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:92:142: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(x.type(), "mean_var_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:92:165: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(x.type(), "mean_var_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu: In lambda function:
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:145:119: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(x.type(), "forward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:145:144: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(x.type(), "forward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:145:168: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(x.type(), "forward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:145:195: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(x.type(), "forward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:145:220: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(x.type(), "forward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu: In lambda function:
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:145:117: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(x.type(), "forward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:145:141: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(x.type(), "forward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:145:164: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(x.type(), "forward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:145:190: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(x.type(), "forward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:145:214: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(x.type(), "forward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu: In lambda function:
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:197:120: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "edz_eydz_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:197:143: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "edz_eydz_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:197:170: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "edz_eydz_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:197:195: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "edz_eydz_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:197:219: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "edz_eydz_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:197:244: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "edz_eydz_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu: In lambda function:
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:197:118: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "edz_eydz_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:197:140: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "edz_eydz_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:197:166: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "edz_eydz_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:197:190: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "edz_eydz_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:197:213: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "edz_eydz_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:197:237: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "edz_eydz_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu: In lambda function:
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:259:120: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:259:143: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:259:167: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:259:194: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:259:219: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:259:243: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:259:268: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:259:291: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu: In lambda function:
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:259:118: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:259:140: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:259:163: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:259:189: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:259:213: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:259:236: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:259:260: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:259:282: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu: In lambda function:
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:302:57: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "leaky_relu_backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:302:80: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "leaky_relu_backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu: In lambda function:
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:302:55: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "leaky_relu_backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:302:77: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "leaky_relu_backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu: In lambda function:
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:330:50: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "leaky_relu_backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:330:73: warning: ‘T* at::Tensor::data() const [with T = double]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "leaky_relu_backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu: In lambda function:
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:330:48: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "leaky_relu_backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
/root/EaNet-master/modules/src/inplace_abn_cuda.cu:330:70: warning: ‘T* at::Tensor::data() const [with T = float]’ is deprecated [-Wdeprecated-declarations]
AT_DISPATCH_FLOATING_TYPES(z.type(), "leaky_relu_backward_cuda", ([&] {
^
/root/miniconda3/lib/python3.7/site-packages/torch/include/ATen/core/TensorBody.h:322:1: note: declared here
T * data() const {
^ ~~
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "train.py", line 6, in
Traceback (most recent call last):
File "train.py", line 6, in
from models.EaNet import EaNet
File "/root/EaNet-master/models/EaNet.py", line 11, in
from .resnet import Resnet50, Resnet101from models.EaNet import EaNet
File "/root/EaNet-master/models/resnet.py", line 11, in
File "/root/EaNet-master/models/EaNet.py", line 11, in
from modules import InPlaceABNSync as BatchNorm2d
File "/root/EaNet-master/modules/init.py", line 1, in
from .resnet import Resnet50, Resnet101
File "/root/EaNet-master/models/resnet.py", line 11, in
from .bn import ABN, InPlaceABN, InPlaceABNSync
File "/root/EaNet-master/modules/bn.py", line 10, in
from modules import InPlaceABNSync as BatchNorm2d
File "/root/EaNet-master/modules/init.py", line 1, in
from .functions import *
File "/root/EaNet-master/modules/functions.py", line 18, in
from .bn import ABN, InPlaceABN, InPlaceABNSync
File "/root/EaNet-master/modules/bn.py", line 10, in
extra_cuda_cflags=["--expt-extended-lambda"])
File "/root/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 680, in load
from .functions import *
File "/root/EaNet-master/modules/functions.py", line 18, in
extra_cuda_cflags=["--expt-extended-lambda"])
File "/root/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 680, in load
is_python_module)
File "/root/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 877, in _jit_compile
is_python_module)
File "/root/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 877, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "/root/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1084, in _import_module_from_library
return _import_module_from_library(name, build_directory, is_python_module)
File "/root/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1084, in _import_module_from_library
Traceback (most recent call last):
File "train.py", line 6, in
from models.EaNet import EaNet
File "/root/EaNet-master/models/EaNet.py", line 11, in
from .resnet import Resnet50, Resnet101
File "/root/EaNet-master/models/resnet.py", line 11, in
file, path, description = imp.find_module(module_name, [path])
File "/root/miniconda3/lib/python3.7/imp.py", line 296, in find_module
from modules import InPlaceABNSync as BatchNorm2d
File "/root/EaNet-master/modules/init.py", line 1, in
file, path, description = imp.find_module(module_name, [path])
File "/root/miniconda3/lib/python3.7/imp.py", line 296, in find_module
from .bn import ABN, InPlaceABN, InPlaceABNSync
File "/root/EaNet-master/modules/bn.py", line 10, in
raise ImportError(_ERR_MSG.format(name), name=name)
from .functions import *
ImportError File "/root/EaNet-master/modules/functions.py", line 18, in
: No module named 'inplace_abn'
raise ImportError(_ERR_MSG.format(name), name=name)
extra_cuda_cflags=["--expt-extended-lambda"])
ImportError File "/root/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 680, in load
: No module named 'inplace_abn'
is_python_module)
File "/root/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 877, in _jit_compile
return _import_module_from_library(name, build_directory, is_python_module)
File "/root/miniconda3/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1084, in _import_module_from_library
file, path, description = imp.find_module(module_name, [path])
File "/root/miniconda3/lib/python3.7/imp.py", line 296, in find_module
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'inplace_abn'
Traceback (most recent call last):
File "/root/miniconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/root/miniconda3/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/root/miniconda3/lib/python3.7/site-packages/torch/distributed/launch.py", line 263, in
main()
File "/root/miniconda3/lib/python3.7/site-packages/torch/distributed/launch.py", line 259, in main
cmd=cmd)
subprocess.CalledProcessError: Command '['/root/miniconda3/bin/python', '-u', 'train.py', '--local_rank=3']' returned non-zero exit status 1.
what can i do with "subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1."and"subprocess.CalledProcessError: Command '['/root/miniconda3/bin/python', '-u', 'train.py', '--local_rank=3']' returned non-zero exit status 1."
from eanet.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eanet.