Traceback (most recent call last):


 "Aj.py", line 6, in <module>

client.deploy('addmr', addmr, 'Adds two numbers x and y')


 "/usr/local/anaconda/lib/python2.7/site-packages/tabpy_client/client.py", line 332, in deploy

self._wait_for_endpoint_deployment(obj['name'], obj['version'])


 "/usr/local/anaconda/lib/python2.7/site-packages/tabpy_client/client.py", line 453, in _wait_for_endpoint_deployment

ep['last_error'],
RuntimeError: LoadFailed: u"Load failed: 'module' object has no attribute 'load'"

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/media/hh/0bfd0eaf-cf46-48b3-915a-aa317b67d9ec/sql/pytorch-project/new_version_torch_encoding/PyTorch-Encoding/encoding/__init__.py", line 13, in <module>

from . import nn, functions, parallel, utils, models, datasets, transforms


 "/media/hh/0bfd0eaf-cf46-48b3-915a-aa317b67d9ec/sql/pytorch-project/new_version_torch_encoding/PyTorch-Encoding/encoding/nn/__init__.py", line 12, in <module>

from .encoding import *


 "/media/hh/0bfd0eaf-cf46-48b3-915a-aa317b67d9ec/sql/pytorch-project/new_version_torch_encoding/PyTorch-Encoding/encoding/nn/encoding.py", line 18, in <module>

from ..functions import scaled_l2, aggregate, pairwise_cosine


 "/media/hh/0bfd0eaf-cf46-48b3-915a-aa317b67d9ec/sql/pytorch-project/new_version_torch_encoding/PyTorch-Encoding/encoding/functions/__init__.py", line 2, in <module>

from .encoding import *


 "/media/hh/0bfd0eaf-cf46-48b3-915a-aa317b67d9ec/sql/pytorch-project/new_version_torch_encoding/PyTorch-Encoding/encoding/functions/encoding.py", line 14, in <module>

from .. import lib


 "/media/hh/0bfd0eaf-cf46-48b3-915a-aa317b67d9ec/sql/pytorch-project/new_version_torch_encoding/PyTorch-Encoding/encoding/lib/__init__.py", line 29, in <module>

build_directory=gpu_path, verbose=False)


 "/usr/anaconda3/envs/pytorch_140_env/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 680, in load

is_python_module)


 "/usr/anaconda3/envs/pytorch_140_env/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 866, in _jit_compile

with_cuda=with_cuda)


 "/usr/anaconda3/envs/pytorch_140_env/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 919, in _write_ninja_file_and_build

_build_extension_module(name, build_directory, verbose)


 "/usr/anaconda3/envs/pytorch_140_env/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1079, in _build_extension_module

raise RuntimeError(message)
RuntimeError: Error building extension 'enclib_gpu': [1/8] :/usr/local/cuda/bin/nvcc -DTORCH_EXTENSION_NAME=enclib_gpu -DTORCH_API_INCLUDE_EXTENSION_H -isystem /usr/anaconda3/envs/pytorch_140_env/lib/python3.6/site-packages/torch/include -isystem /usr/anaconda3/envs/pytorch_140_env/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -isystem /usr/anaconda3/envs/pytorch_140_env/lib/python3.6/site-packages/torch/include/TH -isystem /usr/anaconda3/envs/pytorch_140_env/lib/python3.6/site-packages/torch/include/THC -isystem :/usr/local/cuda/include -isystem /usr/anaconda3/envs/pytorch_140_env/include/python3.6m -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_61,code=sm_61 --compiler-options '-fPIC' --expt-extended-lambda -std=c++11 -c /media/hh/0bfd0eaf-cf46-48b3-915a-aa317b67d9ec/sql/pytorch-project/new_version_torch_encoding/PyTorch-Encoding/encoding/lib/gpu/encoding_kernel.cu -o encoding_kernel.cuda.o
