idiap / attention-sampling

This Python package enables the training and inference of deep learning models for very large data, such as megapixel images, using attention-sampling
Other
97 stars 18 forks source link

Segmentation fault (core dumped) #22

Open pristinawang opened 1 year ago

pristinawang commented 1 year ago

Hi, @angeloskath Thank you and your team for creating this library. I am trying to run the example mnist program when I encountered this problem.

root@4d9b40a6f414:/vol/attention-sampling# ./mnist.py ./test_mnist/mnist-small ./test_mnist/mnist-experiment
2023-03-25 02:57:58.914902: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
/vol/attention-sampling/ats/ops/extract_patches
Loaded dataset with the following parameters
{
    "n_train": 5000,
    "n_test": 1000,
    "width": 500,
    "height": 500,
    "scale": 0.2,
    "noise": false,
    "seed": 0
}
Segmentation fault (core dumped)

I tracked down the problem and it appears that the problem is associated with libpatches.so which was built when I install the library.

My environment:

Package                          Version        Location
-------------------------------- -------------- -----------------------
absl-py                          0.10.0
astor                            0.8.1
async-generator                  1.10
attention-sampling               0.2
attrs                            20.2.0
audioread                        2.1.8
backcall                         0.2.0
bleach                           3.2.1
certifi                          2020.6.20
cffi                             1.14.3
chardet                          3.0.4
cloudpickle                      1.6.0
contextlib2                      0.6.0.post1
cupy                             8.0.0rc1
cycler                           0.10.0
Cython                           0.29.21
dataclasses                      0.7
decorator                        4.4.2
defusedxml                       0.6.0
DLLogger                         0.1.0          /workspace/src/dllogger
entrypoints                      0.3
fastrlock                        0.5
future                           0.18.2
gast                             0.2.2
google-pasta                     0.2.0
googledrivedownloader            0.4
graphsurgeon                     0.4.5
grpcio                           1.32.0
h5py                             2.10.0
horovod                          0.20.0
html2text                        2020.1.16
idna                             2.10
imageio                          2.15.0
importlib-metadata               2.0.0
iniconfig                        1.1.1
ipykernel                        5.3.4
ipython                          7.16.1
ipython-genutils                 0.2.0
jedi                             0.17.2
Jinja2                           2.11.2
joblib                           0.14.0
json5                            0.9.5
jsonschema                       3.2.0
jupyter-client                   6.1.7
jupyter-core                     4.6.3
jupyter-tensorboard              0.2.0
jupyterlab                       1.2.14
jupyterlab-pygments              0.1.2
jupyterlab-server                1.2.0
jupytext                         1.6.0
Keras                            2.3.1
Keras-Applications               1.0.8
Keras-Preprocessing              1.1.2
kiwisolver                       1.2.0
librosa                          0.7.1
llvmlite                         0.30.0
Markdown                         3.3.1
markdown-it-py                   0.5.5
MarkupSafe                       1.1.1
matplotlib                       3.1.1
mistune                          0.8.4
mock                             3.0.5
mpi4py                           3.0.3
munch                            2.5.0
nbclient                         0.5.0
nbconvert                        6.0.7
nbformat                         5.0.7
nest-asyncio                     1.4.1
networkx                         2.5
nibabel                          3.1.1
nltk                             3.4.5
notebook                         6.0.3
numba                            0.46.0
numpy                            1.17.3
nvidia-dali-cuda110              0.26.0
nvidia-dali-tf-plugin-cuda110    0.26.0
nvidia-tensorboard               1.15.0+nv20.10
nvidia-tensorboard-plugin-dlprof 0.8
nvtx-plugins                     0.1.8
onnx                             1.7.0
opt-einsum                       3.3.0
packaging                        20.4
pandas                           0.25.3
pandocfilters                    1.4.2
parso                            0.7.1
pexpect                          4.7.0
pickleshare                      0.7.5
Pillow                           6.2.1
pip                              20.2.3
pluggy                           0.13.1
portalocker                      2.0.0
portpicker                       1.3.1
progressbar                      2.5
prometheus-client                0.8.0
prompt-toolkit                   3.0.8
protobuf                         3.13.0
psutil                           5.7.0
ptyprocess                       0.6.0
py                               1.9.0
pycocotools                      2.0.0
pycparser                        2.20
Pygments                         2.7.1
pyparsing                        2.4.7
pyrsistent                       0.17.3
pytest                           6.1.1
python-dateutil                  2.8.1
python-speech-features           0.6
pytz                             2020.1
PyWavelets                       1.1.1
PyYAML                           5.3.1
pyzmq                            19.0.2
requests                         2.24.0
resampy                          0.2.2
sacrebleu                        1.2.10
scikit-image                     0.17.2
scikit-learn                     0.23.2
scipy                            1.3.1
Send2Trash                       1.5.0
sentencepiece                    0.1.83
setuptools                       50.3.0
SimpleITK                        1.1.0
six                              1.13.0
SoundFile                        0.10.3.post1
tensorboard                      1.15.9999+nv
tensorflow                       1.15.4+nv
tensorflow-estimator             1.15.1
tensorrt                         7.2.1.4
termcolor                        1.1.0
terminado                        0.9.1
testpath                         0.4.4
tf2onnx                          1.7.1
threadpoolctl                    2.1.0
tifffile                         2020.9.3
toml                             0.10.1
toposort                         1.5
tornado                          6.0.4
tqdm                             4.50.2
traitlets                        4.3.3
typing                           3.7.4.3
typing-extensions                3.7.4.3
uff                              0.6.9
urllib3                          1.25.10
wcwidth                          0.2.5
webencodings                     0.5.1
Werkzeug                         1.0.1
wheel                            0.35.1
wrapt                            1.12.1
zipp                             3.3.0

g++ and gcc==4.8.5 Ubuntu version 18.04

Any help will be deeply appreciated. Thanks in advance!!

pristinawang commented 1 year ago

The following is the output of the installation process.

root@4d9b40a6f414:/vol/attention-sampling# python setup.py install
running install
running bdist_egg
running egg_info
writing attention_sampling.egg-info/PKG-INFO
writing dependency_links to attention_sampling.egg-info/dependency_links.txt
writing requirements to attention_sampling.egg-info/requires.txt
writing top-level names to attention_sampling.egg-info/top_level.txt
reading manifest file 'attention_sampling.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'attention_sampling.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
copying ats/data/from_tensors.py -> build/lib.linux-x86_64-3.6/ats/data
copying ats/ops/extract_patches/__init__.py -> build/lib.linux-x86_64-3.6/ats/ops/extract_patches
running build_ext
Building ats.ops.extract_patches.libpatches
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found CUDA: /usr/local/cuda (found version "11.1") 
2023-03-25 02:56:33.590827: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
-- Found TensorFlow include: /usr/local/lib/python3.6/dist-packages/tensorflow_core/include
2023-03-25 02:56:36.157751: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
2023-03-25 02:56:38.538563: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
-- Found TensorFlow lib: /usr/local/lib/python3.6/dist-packages/tensorflow_core/libtensorflow_framework.so.1
2023-03-25 02:56:40.898908: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
-- Added TensorFlow flags: -D_GLIBCXX_USE_CXX11_ABI=0
-- Found TensorFlow: /usr/local/lib/python3.6/dist-packages/tensorflow_core/include  
-- Configuring done
-- Generating done
-- Build files have been written to: /vol/attention-sampling/ats/ops/extract_patches/build
[ 33%] Building NVCC (Device) object CMakeFiles/patches.dir/patches_generated_extract_patches.cu.o
/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/strings/string_view.h(501): warning: expression has no effect

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(114): warning: __host__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(114): warning: __device__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(115): warning: __host__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(115): warning: __device__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(115): warning: __host__ annotation is ignored on a function("~no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(115): warning: __device__ annotation is ignored on a function("~no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1416): warning: calling a constexpr __host__ function("real") from a __host__ __device__ function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1416): warning: calling a constexpr __host__ function("imag") from a __host__ __device__ function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1416): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1416): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1421): warning: calling a constexpr __host__ function("real") from a __host__ __device__ function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1421): warning: calling a constexpr __host__ function("imag") from a __host__ __device__ function("abs") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1421): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1421): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1445): warning: calling a constexpr __host__ function("real") from a __host__ __device__ function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1446): warning: calling a constexpr __host__ function("imag") from a __host__ __device__ function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1447): warning: calling a constexpr __host__ function("imag") from a __host__ __device__ function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1445): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1446): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1447): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1448): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1453): warning: calling a constexpr __host__ function("real") from a __host__ __device__ function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1454): warning: calling a constexpr __host__ function("imag") from a __host__ __device__ function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1455): warning: calling a constexpr __host__ function("imag") from a __host__ __device__ function("exp") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1453): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1454): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1455): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h(1456): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/DenseBase.h(639): warning: __host__ annotation is ignored on a function("DenseBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/DenseBase.h(639): warning: __device__ annotation is ignored on a function("DenseBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(484): warning: __host__ annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(484): warning: __device__ annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(485): warning: __host__ annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(485): warning: __device__ annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(485): warning: __host__ annotation is ignored on a function("~MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(485): warning: __device__ annotation is ignored on a function("~MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(156): warning: __host__ annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(156): warning: __device__ annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(157): warning: __host__ annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(157): warning: __device__ annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(157): warning: __host__ annotation is ignored on a function("~ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(157): warning: __device__ annotation is ignored on a function("~ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(70): warning: __host__ annotation is ignored on a function("CwiseUnaryView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(70): warning: __device__ annotation is ignored on a function("CwiseUnaryView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(110): warning: __host__ annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(110): warning: __device__ annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(125): warning: __host__ annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(125): warning: __device__ annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(125): warning: __host__ annotation is ignored on a function("~CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(125): warning: __device__ annotation is ignored on a function("~CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(185): warning: __host__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(185): warning: __device__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(186): warning: __host__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(186): warning: __device__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(186): warning: __host__ annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(186): warning: __device__ annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(300): warning: __host__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(300): warning: __device__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(301): warning: __host__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(301): warning: __device__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(301): warning: __host__ annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(301): warning: __device__ annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Map.h(162): warning: __host__ annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Map.h(162): warning: __device__ annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Ref.h(90): warning: __host__ annotation is ignored on a function("RefBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Ref.h(90): warning: __device__ annotation is ignored on a function("RefBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Ref.h(232): warning: __host__ annotation is ignored on a function("Ref") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Ref.h(232): warning: __device__ annotation is ignored on a function("Ref") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(111): warning: __host__ annotation is ignored on a function("Block") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(111): warning: __device__ annotation is ignored on a function("Block") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(161): warning: __host__ annotation is ignored on a function("BlockImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(161): warning: __device__ annotation is ignored on a function("BlockImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(181): warning: __host__ annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(181): warning: __device__ annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(341): warning: __host__ annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(341): warning: __device__ annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(113): warning: __host__ annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(113): warning: __device__ annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(103): warning: __host__ annotation is ignored on a function("Reshaped") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(103): warning: __device__ annotation is ignored on a function("Reshaped") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(137): warning: __host__ annotation is ignored on a function("ReshapedImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(137): warning: __device__ annotation is ignored on a function("ReshapedImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(155): warning: __host__ annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(155): warning: __device__ annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(215): warning: __host__ annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(215): warning: __device__ annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(66): warning: __host__ annotation is ignored on a function("Transpose") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(66): warning: __device__ annotation is ignored on a function("Transpose") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(126): warning: __host__ annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(126): warning: __device__ annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(157): warning: __host__ annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(157): warning: __device__ annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(157): warning: __host__ annotation is ignored on a function("~TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(157): warning: __device__ annotation is ignored on a function("~TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Diagonal.h(78): warning: __host__ annotation is ignored on a function("Diagonal") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Diagonal.h(78): warning: __device__ annotation is ignored on a function("Diagonal") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(222): warning: __host__ annotation is ignored on a function("TriangularView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(222): warning: __device__ annotation is ignored on a function("TriangularView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(559): warning: __host__ annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(559): warning: __device__ annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(560): warning: __host__ annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(560): warning: __device__ annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(560): warning: __host__ annotation is ignored on a function("~TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(560): warning: __device__ annotation is ignored on a function("~TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reverse.h(90): warning: __host__ annotation is ignored on a function("Reverse") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reverse.h(90): warning: __device__ annotation is ignored on a function("Reverse") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayWrapper.h(47): warning: __host__ annotation is ignored on a function("ArrayWrapper") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayWrapper.h(47): warning: __device__ annotation is ignored on a function("ArrayWrapper") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayWrapper.h(145): warning: __host__ annotation is ignored on a function("MatrixWrapper") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayWrapper.h(145): warning: __device__ annotation is ignored on a function("MatrixWrapper") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(143): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(148): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(256): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/src/Tensor/TensorRandom.h(261): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/lib/bfloat16/bfloat16.h(74): warning: calling a constexpr __host__ function("real") from a __host__ __device__ function("bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/lib/bfloat16/bfloat16.h(74): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/lib/bfloat16/bfloat16.h(77): warning: calling a constexpr __host__ function("real") from a __host__ __device__ function("bfloat16") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/lib/bfloat16/bfloat16.h(77): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/lib/bfloat16/bfloat16.h(166): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/tensorflow/core/lib/bfloat16/bfloat16.h(170): warning: calling a constexpr __host__ function from a __host__ __device__ function is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/absl/strings/string_view.h(501): warning: expression has no effect

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(114): warning: __host__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(114): warning: __device__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(115): warning: __host__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(115): warning: __device__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(115): warning: __host__ annotation is ignored on a function("~no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/util/XprHelper.h(115): warning: __device__ annotation is ignored on a function("~no_assignment_operator") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/DenseBase.h(639): warning: __host__ annotation is ignored on a function("DenseBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/DenseBase.h(639): warning: __device__ annotation is ignored on a function("DenseBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(484): warning: __host__ annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(484): warning: __device__ annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(485): warning: __host__ annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(485): warning: __device__ annotation is ignored on a function("MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(485): warning: __host__ annotation is ignored on a function("~MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MatrixBase.h(485): warning: __device__ annotation is ignored on a function("~MatrixBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(156): warning: __host__ annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(156): warning: __device__ annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(157): warning: __host__ annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(157): warning: __device__ annotation is ignored on a function("ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(157): warning: __host__ annotation is ignored on a function("~ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayBase.h(157): warning: __device__ annotation is ignored on a function("~ArrayBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(70): warning: __host__ annotation is ignored on a function("CwiseUnaryView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(70): warning: __device__ annotation is ignored on a function("CwiseUnaryView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(110): warning: __host__ annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(110): warning: __device__ annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(125): warning: __host__ annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(125): warning: __device__ annotation is ignored on a function("CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(125): warning: __host__ annotation is ignored on a function("~CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/CwiseUnaryView.h(125): warning: __device__ annotation is ignored on a function("~CwiseUnaryViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(185): warning: __host__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(185): warning: __device__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(186): warning: __host__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(186): warning: __device__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(186): warning: __host__ annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(186): warning: __device__ annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(300): warning: __host__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(300): warning: __device__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(301): warning: __host__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(301): warning: __device__ annotation is ignored on a function("MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(301): warning: __host__ annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MapBase.h(301): warning: __device__ annotation is ignored on a function("~MapBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Map.h(162): warning: __host__ annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Map.h(162): warning: __device__ annotation is ignored on a function("Map") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Ref.h(90): warning: __host__ annotation is ignored on a function("RefBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Ref.h(90): warning: __device__ annotation is ignored on a function("RefBase") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Ref.h(232): warning: __host__ annotation is ignored on a function("Ref") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Ref.h(232): warning: __device__ annotation is ignored on a function("Ref") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(111): warning: __host__ annotation is ignored on a function("Block") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(111): warning: __device__ annotation is ignored on a function("Block") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(161): warning: __host__ annotation is ignored on a function("BlockImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(161): warning: __device__ annotation is ignored on a function("BlockImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(181): warning: __host__ annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(181): warning: __device__ annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(341): warning: __host__ annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Block.h(341): warning: __device__ annotation is ignored on a function("BlockImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(113): warning: __host__ annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/IndexedView.h(113): warning: __device__ annotation is ignored on a function("IndexedView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(103): warning: __host__ annotation is ignored on a function("Reshaped") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(103): warning: __device__ annotation is ignored on a function("Reshaped") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(137): warning: __host__ annotation is ignored on a function("ReshapedImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(137): warning: __device__ annotation is ignored on a function("ReshapedImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(155): warning: __host__ annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(155): warning: __device__ annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(215): warning: __host__ annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reshaped.h(215): warning: __device__ annotation is ignored on a function("ReshapedImpl_dense") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(66): warning: __host__ annotation is ignored on a function("Transpose") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(66): warning: __device__ annotation is ignored on a function("Transpose") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(126): warning: __host__ annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(126): warning: __device__ annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(157): warning: __host__ annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(157): warning: __device__ annotation is ignored on a function("TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(157): warning: __host__ annotation is ignored on a function("~TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Transpose.h(157): warning: __device__ annotation is ignored on a function("~TransposeImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Diagonal.h(78): warning: __host__ annotation is ignored on a function("Diagonal") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Diagonal.h(78): warning: __device__ annotation is ignored on a function("Diagonal") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(222): warning: __host__ annotation is ignored on a function("TriangularView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(222): warning: __device__ annotation is ignored on a function("TriangularView") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(559): warning: __host__ annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(559): warning: __device__ annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(560): warning: __host__ annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(560): warning: __device__ annotation is ignored on a function("TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(560): warning: __host__ annotation is ignored on a function("~TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/TriangularMatrix.h(560): warning: __device__ annotation is ignored on a function("~TriangularViewImpl") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reverse.h(90): warning: __host__ annotation is ignored on a function("Reverse") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/Reverse.h(90): warning: __device__ annotation is ignored on a function("Reverse") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayWrapper.h(47): warning: __host__ annotation is ignored on a function("ArrayWrapper") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayWrapper.h(47): warning: __device__ annotation is ignored on a function("ArrayWrapper") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayWrapper.h(145): warning: __host__ annotation is ignored on a function("MatrixWrapper") that is explicitly defaulted on its first declaration

/usr/local/lib/python3.6/dist-packages/tensorflow_core/include/unsupported/Eigen/CXX11/../../../Eigen/src/Core/ArrayWrapper.h(145): warning: __device__ annotation is ignored on a function("MatrixWrapper") that is explicitly defaulted on its first declaration

Scanning dependencies of target patches
[ 66%] Building CXX object CMakeFiles/patches.dir/extract_patches.cc.o
[100%] Linking CXX shared library libpatches.so
[100%] Built target patches
2023-03-25 02:57:01.226883: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
-- Found TensorFlow include: /usr/local/lib/python3.6/dist-packages/tensorflow_core/include
2023-03-25 02:57:03.590215: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
2023-03-25 02:57:06.041814: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
-- Found TensorFlow lib: /usr/local/lib/python3.6/dist-packages/tensorflow_core/libtensorflow_framework.so.1
2023-03-25 02:57:08.339624: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
-- Added TensorFlow flags: -D_GLIBCXX_USE_CXX11_ABI=0
-- Configuring done
-- Generating done
-- Build files have been written to: /vol/attention-sampling/ats/ops/extract_patches/build
[ 33%] Linking CXX shared library libpatches.so
[100%] Built target patches
Install the project...
-- Install configuration: "Release"
-- Installing: /vol/attention-sampling/ats/ops/extract_patches/libpatches.so
-- Set runtime path of "/vol/attention-sampling/ats/ops/extract_patches/libpatches.so" to ""
copying ats/ops/extract_patches/libpatches.so -> build/lib.linux-x86_64-3.6/ats/ops/extract_patches
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/ats
creating build/bdist.linux-x86_64/egg/ats/data
copying build/lib.linux-x86_64-3.6/ats/data/base.py -> build/bdist.linux-x86_64/egg/ats/data
copying build/lib.linux-x86_64-3.6/ats/data/__init__.py -> build/bdist.linux-x86_64/egg/ats/data
copying build/lib.linux-x86_64-3.6/ats/data/from_tensors.py -> build/bdist.linux-x86_64/egg/ats/data
copying build/lib.linux-x86_64-3.6/ats/__init__.py -> build/bdist.linux-x86_64/egg/ats
creating build/bdist.linux-x86_64/egg/ats/core
copying build/lib.linux-x86_64-3.6/ats/core/builder.py -> build/bdist.linux-x86_64/egg/ats/core
copying build/lib.linux-x86_64-3.6/ats/core/expectation.py -> build/bdist.linux-x86_64/egg/ats/core
copying build/lib.linux-x86_64-3.6/ats/core/sampling.py -> build/bdist.linux-x86_64/egg/ats/core
copying build/lib.linux-x86_64-3.6/ats/core/__init__.py -> build/bdist.linux-x86_64/egg/ats/core
copying build/lib.linux-x86_64-3.6/ats/core/ats_layer.py -> build/bdist.linux-x86_64/egg/ats/core
creating build/bdist.linux-x86_64/egg/ats/ops
creating build/bdist.linux-x86_64/egg/ats/ops/extract_patches
copying build/lib.linux-x86_64-3.6/ats/ops/extract_patches/libpatches.so -> build/bdist.linux-x86_64/egg/ats/ops/extract_patches
copying build/lib.linux-x86_64-3.6/ats/ops/extract_patches/__init__.py -> build/bdist.linux-x86_64/egg/ats/ops/extract_patches
copying build/lib.linux-x86_64-3.6/ats/ops/__init__.py -> build/bdist.linux-x86_64/egg/ats/ops
creating build/bdist.linux-x86_64/egg/ats/utils
copying build/lib.linux-x86_64-3.6/ats/utils/regularizers.py -> build/bdist.linux-x86_64/egg/ats/utils
copying build/lib.linux-x86_64-3.6/ats/utils/training.py -> build/bdist.linux-x86_64/egg/ats/utils
copying build/lib.linux-x86_64-3.6/ats/utils/__init__.py -> build/bdist.linux-x86_64/egg/ats/utils
copying build/lib.linux-x86_64-3.6/ats/utils/layers.py -> build/bdist.linux-x86_64/egg/ats/utils
creating build/bdist.linux-x86_64/egg/tests
creating build/bdist.linux-x86_64/egg/tests/data
copying build/lib.linux-x86_64-3.6/tests/data/test_from_tensors.py -> build/bdist.linux-x86_64/egg/tests/data
copying build/lib.linux-x86_64-3.6/tests/data/__init__.py -> build/bdist.linux-x86_64/egg/tests/data
creating build/bdist.linux-x86_64/egg/tests/core
copying build/lib.linux-x86_64-3.6/tests/core/test_sampling.py -> build/bdist.linux-x86_64/egg/tests/core
copying build/lib.linux-x86_64-3.6/tests/core/__init__.py -> build/bdist.linux-x86_64/egg/tests/core
copying build/lib.linux-x86_64-3.6/tests/core/test_ats_layer.py -> build/bdist.linux-x86_64/egg/tests/core
copying build/lib.linux-x86_64-3.6/tests/core/test_builder.py -> build/bdist.linux-x86_64/egg/tests/core
copying build/lib.linux-x86_64-3.6/tests/core/test_expectation.py -> build/bdist.linux-x86_64/egg/tests/core
creating build/bdist.linux-x86_64/egg/tests/ops
copying build/lib.linux-x86_64-3.6/tests/ops/test_extract_patches.py -> build/bdist.linux-x86_64/egg/tests/ops
copying build/lib.linux-x86_64-3.6/tests/ops/__init__.py -> build/bdist.linux-x86_64/egg/tests/ops
byte-compiling build/bdist.linux-x86_64/egg/ats/data/base.py to base.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/ats/data/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/ats/data/from_tensors.py to from_tensors.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/ats/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/ats/core/builder.py to builder.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/ats/core/expectation.py to expectation.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/ats/core/sampling.py to sampling.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/ats/core/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/ats/core/ats_layer.py to ats_layer.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/ats/ops/extract_patches/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/ats/ops/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/ats/utils/regularizers.py to regularizers.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/ats/utils/training.py to training.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/ats/utils/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/ats/utils/layers.py to layers.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/tests/data/test_from_tensors.py to test_from_tensors.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/tests/data/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/tests/core/test_sampling.py to test_sampling.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/tests/core/__init__.py to __init__.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/tests/core/test_ats_layer.py to test_ats_layer.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/tests/core/test_builder.py to test_builder.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/tests/core/test_expectation.py to test_expectation.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/tests/ops/test_extract_patches.py to test_extract_patches.cpython-36.pyc
byte-compiling build/bdist.linux-x86_64/egg/tests/ops/__init__.py to __init__.cpython-36.pyc
creating stub loader for ats/ops/extract_patches/libpatches.so
byte-compiling build/bdist.linux-x86_64/egg/ats/ops/extract_patches/libpatches.py to libpatches.cpython-36.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying attention_sampling.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying attention_sampling.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying attention_sampling.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying attention_sampling.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying attention_sampling.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...
ats.ops.extract_patches.__pycache__.__init__.cpython-36: module references __file__
ats.ops.extract_patches.__pycache__.libpatches.cpython-36: module references __file__
creating 'dist/attention_sampling-0.2-py3.6-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing attention_sampling-0.2-py3.6-linux-x86_64.egg
removing '/usr/local/lib/python3.6/dist-packages/attention_sampling-0.2-py3.6-linux-x86_64.egg' (and everything under it)
creating /usr/local/lib/python3.6/dist-packages/attention_sampling-0.2-py3.6-linux-x86_64.egg
Extracting attention_sampling-0.2-py3.6-linux-x86_64.egg to /usr/local/lib/python3.6/dist-packages
attention-sampling 0.2 is already the active version in easy-install.pth

Installed /usr/local/lib/python3.6/dist-packages/attention_sampling-0.2-py3.6-linux-x86_64.egg
Processing dependencies for attention-sampling==0.2
Searching for numpy==1.17.3
Best match: numpy 1.17.3
Adding numpy 1.17.3 to easy-install.pth file
Installing f2py script to /usr/local/bin
Installing f2py3 script to /usr/local/bin
Installing f2py3.6 script to /usr/local/bin

Using /usr/local/lib/python3.6/dist-packages
Searching for Keras==2.3.1
Best match: Keras 2.3.1
Adding Keras 2.3.1 to easy-install.pth file

Using /usr/local/lib/python3.6/dist-packages
Searching for h5py==2.10.0
Best match: h5py 2.10.0
Adding h5py 2.10.0 to easy-install.pth file

Using /usr/local/lib/python3.6/dist-packages
Searching for Keras-Preprocessing==1.1.2
Best match: Keras-Preprocessing 1.1.2
Adding Keras-Preprocessing 1.1.2 to easy-install.pth file

Using /usr/local/lib/python3.6/dist-packages
Searching for six==1.13.0
Best match: six 1.13.0
Adding six 1.13.0 to easy-install.pth file

Using /usr/local/lib/python3.6/dist-packages
Searching for Keras-Applications==1.0.8
Best match: Keras-Applications 1.0.8
Adding Keras-Applications 1.0.8 to easy-install.pth file

Using /usr/local/lib/python3.6/dist-packages
Searching for PyYAML==5.3.1
Best match: PyYAML 5.3.1
Adding PyYAML 5.3.1 to easy-install.pth file

Using /usr/local/lib/python3.6/dist-packages
Searching for scipy==1.3.1
Best match: scipy 1.3.1
Adding scipy 1.3.1 to easy-install.pth file

Using /usr/local/lib/python3.6/dist-packages
Finished processing dependencies for attention-sampling==0.2
pristinawang commented 1 year ago

I also tried debugging libpatches.so This is the output:

(gdb) file libpatches.so
Reading symbols from libpatches.so...(no debugging symbols found)...done.
(gdb) starti
Starting program: /vol/attention-sampling/ats/ops/extract_patches/libpatches.so 
warning: Error disabling address space randomization: Operation not permitted

Program stopped.
0x00007fd2a94e5090 in _start () from /lib64/ld-linux-x86-64.so.2
(gdb) bt
#0  0x00007fd2a94e5090 in _start () from /lib64/ld-linux-x86-64.so.2
#1  0x0000000000000003 in ?? ()
#2  0x00007ffce7ad925b in ?? ()
#3  0x00007ffce7ad9265 in ?? ()
#4  0x00007ffce7ad9268 in ?? ()
#5  0x0000000000000000 in ?? ()