1ytic/warp-rnnt

Can't install

jeongHwarr opened this issue · 3 comments

OS: Windows
CUDA_toolkit: 10.1
Python: 3.7
Framework : tensorflow-gpu (1.15.4), pytorch(1.7.0)

Hello. Thank you for your projects

When I try install this module, I got error message.
pip install warp_rnnt

CUDA_HOME environment variable is not set. Please set it to your CUDA install root.

Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

I didn't install cuda directly on my environment. My cuda is installed in anaconda virtual environment.

Can't I install this module in this case?

Thank you

After install cuda 10.1 on my local environment.
That error message doesn't show.
However, other message was displayed.

ERROR: Command errored out with exit status 1:
command: 'C:\Users\2020498\Anaconda3\envs\predictional\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\2020498\AppData\Local\Temp\pip-install-29gjzxry\warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75\setup.py'"'"'; file='"'"'C:\Users\2020498\AppData\Local\Temp\pip-install-29gjzxry\warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\2020498\AppData\Local\Temp\pip-record-qw_fejb7\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\2020498\Anaconda3\envs\predictional\Include\warp-rnnt'
cwd: C:\Users\2020498\AppData\Local\Temp\pip-install-29gjzxry\warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75
Complete output (358 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\warp_rnnt
copying warp_rnnt\test.py -> build\lib.win-amd64-3.7\warp_rnnt
copying warp_rnnt_init_.py -> build\lib.win-amd64-3.7\warp_rnnt
running build_ext
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\utils\cpp_extension.py:274: UserWarning: Error checking compiler version for cl: [WinError 2] 지정된 파일을 찾을 수 없습니다
warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
building 'warp_rnnt.C' extension
creating C:\Users\2020498\AppData\Local\Temp\pip-install-29gjzxry\warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75\build\temp.win-amd64-3.7
creating C:\Users\2020498\AppData\Local\Temp\pip-install-29gjzxry\warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75\build\temp.win-amd64-3.7\Release
Emitting ninja build file C:\Users\2020498\AppData\Local\Temp\pip-install-29gjzxry\warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75\build\temp.win-amd64-3.7\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/3] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -IC:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include -IC:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\TH -IC:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\2020498\Anaconda3\envs\predictional\include -IC:\Users\2020498\Anaconda3\envs\predictional\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" -c C:\Users\2020498\AppData\Local\Temp\pip-install-29gjzxry\warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75\binding.cpp /FoC:\Users\2020498\AppData\Local\Temp\pip-install-29gjzxry\warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75\build\temp.win-amd64-3.7\Release\binding.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
FAILED: C:/Users/2020498/AppData/Local/Temp/pip-install-29gjzxry/warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75/build/temp.win-amd64-3.7/Release/binding.obj
cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -IC:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include -IC:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\TH -IC:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\2020498\Anaconda3\envs\predictional\include -IC:\Users\2020498\Anaconda3\envs\predictional\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" -c C:\Users\2020498\AppData\Local\Temp\pip-install-29gjzxry\warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75\binding.cpp /FoC:\Users\2020498\AppData\Local\Temp\pip-install-29gjzxry\warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75\build\temp.win-amd64-3.7\Release\binding.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/impl/DeviceGuardImplInterface.h(221): warning C4800: 'const c10::impl::DeviceGuardImplInterface *': forcing value to bool 'true' or 'false' (performance warning)
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(515): note: see reference to class template instantiation 'c10::optional' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(285): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(465): warning C4814: 'c10::optional::operator ->': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(474): warning C4814: 'c10::optional::operator *': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(479): warning C4814: 'c10::optional::operator *': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(491): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(497): warning C4814: 'c10::optional::value': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(509): warning C4814: 'c10::optional::value_or': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optionalc10::Device::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(371): note: see reference to class template instantiation 'c10::optionalc10::Device' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(389): note: see reference to class template instantiation 'c10::impl::InlineOptionalDeviceGuard' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::Device &c10::optionalc10::Device::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Device &c10::optionalc10::Device::contained_val(void) const &'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optionalc10::Device::contained_val'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optionalc10::Device::contained_val': redefinition; different type modifiers
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optionalc10::Device::contained_val'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(284): error C2059: syntax error: 'return'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(284): error C2238: unexpected token(s) preceding ';'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(287): error C2144: syntax error: 'void' should be preceded by ';'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(388): note: see reference to class template instantiation 'c10::optional<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/DeviceGuard.h(168): note: see reference to class template instantiation 'c10::impl::InlineOptionalDeviceGuardc10::impl::VirtualGuardImpl' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl &c10::optional<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>::contained_val(void) const &': overloaded function differs only by return type from 'const c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl &c10::optional<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>::contained_val(void) const &'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>::contained_val'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>::contained_val': redefinition; different type modifiers
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional<c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl>::contained_val'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(277): note: see reference to class template instantiation 'c10::complex' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(281): note: see reference to class template instantiation 'c10::complex' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(156): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(285): note: see reference to class template instantiation 'c10::complex' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(161): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(166): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(172): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(178): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(185): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(192): warning C4814: 'c10::complex::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(199): warning C4814: 'c10::complex::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(211): warning C4814: 'c10::complex::operator *=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(229): warning C4814: 'c10::complex::operator /=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(237): warning C4814: 'c10::complex::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(270): warning C4814: 'c10::complex::real': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/complex.h(276): warning C4814: 'c10::complex::imag': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/reverse_iterator.h(93): warning C4814: 'c10::reverse_iterator<Iterator>::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/reverse_iterator.h(177): note: see reference to class template instantiation 'c10::reverse_iterator<Iterator>' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/reverse_iterator.h(126): warning C4814: 'c10::reverse_iterator<Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/reverse_iterator.h(132): warning C4814: 'c10::reverse_iterator<Iterator>::operator ++': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/reverse_iterator.h(137): warning C4814: 'c10::reverse_iterator<Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/reverse_iterator.h(143): warning C4814: 'c10::reverse_iterator<Iterator>::operator --': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/reverse_iterator.h(152): warning C4814: 'c10::reverse_iterator<Iterator>::operator +=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/reverse_iterator.h(161): warning C4814: 'c10::reverse_iterator<Iterator>::operator -=': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/string_view.h(643): note: see reference to class template instantiation 'c10::basic_string_view' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3250: 'i': declaration is not allowed in 'constexpr' function body
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): error C3249: illegal statement or sub-expression for 'constexpr' function
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(103): note: see usage of '++'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(104): error C3249: illegal statement or sub-expression for 'constexpr' function
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(105): error C3249: illegal statement or sub-expression for 'constexpr' function
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/string_view.h(59): warning C4814: 'c10::basic_string_view::operator =': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/ConstexprCrc.h(123): note: see reference to class template instantiation 'c10::basic_string_view' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/string_view.h(159): warning C4814: 'c10::basic_string_view::remove_prefix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/string_view.h(168): warning C4814: 'c10::basic_string_view::remove_suffix': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/string_view.h(174): warning C4814: 'c10::basic_string_view::swap': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optionalc10::ScalarType::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(182): note: see reference to class template instantiation 'c10::optionalc10::ScalarType' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::ScalarType &c10::optionalc10::ScalarType::contained_val(void) const &': overloaded function differs only by return type from 'const c10::ScalarType &c10::optionalc10::ScalarType::contained_val(void) const &'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optionalc10::ScalarType::contained_val'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optionalc10::ScalarType::contained_val': redefinition; different type modifiers
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optionalc10::ScalarType::contained_val'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(187): error C2440: 'return': cannot convert from 'initializer list' to 'c10::optionalc10::ScalarType'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(187): note: No constructor could take the source type, or constructor overload resolution was ambiguous
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(190): error C2440: 'return': cannot convert from 'initializer list' to 'c10::optionalc10::ScalarType'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(190): note: No constructor could take the source type, or constructor overload resolution was ambiguous
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(192): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optionalc10::ScalarType'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(192): note: No constructor could take the source type, or constructor overload resolution was ambiguous
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(196): error C2451: conditional expression of type 'c10::optionalc10::ScalarType' is illegal
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(196): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(197): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optionalcaffe2::TypeMeta::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see reference to class template instantiation 'c10::optionalcaffe2::TypeMeta' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'caffe2::TypeMeta &c10::optionalcaffe2::TypeMeta::contained_val(void) const &': overloaded function differs only by return type from 'const caffe2::TypeMeta &c10::optionalcaffe2::TypeMeta::contained_val(void) const &'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optionalcaffe2::TypeMeta::contained_val'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optionalcaffe2::TypeMeta::contained_val': redefinition; different type modifiers
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optionalcaffe2::TypeMeta::contained_val'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(204): error C2039: 'has_value': is not a member of 'c10::optionalcaffe2::TypeMeta'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see declaration of 'c10::optionalcaffe2::TypeMeta'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(205): error C2440: 'return': cannot convert from 'const c10::nullopt_t' to 'c10::optionalc10::ScalarType'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(205): note: No constructor could take the source type, or constructor overload resolution was ambiguous
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(207): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(211): error C2451: conditional expression of type 'c10::optionalc10::ScalarType' is illegal
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(211): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2440: 'type cast': cannot convert from 'c10::ScalarType' to 'int'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(212): note: This conversion requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(212): error C2446: '==': no conversion from 'c10::ScalarType' to 'c10::optionalc10::ScalarType'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(212): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3249: illegal statement or sub-expression for 'constexpr' function
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: '$L0': declaration is not allowed in 'constexpr' function body
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): note: see usage of '++'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(59): error C3250: 'k': declaration is not allowed in 'constexpr' function body
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): error C3249: illegal statement or sub-expression for 'constexpr' function
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(60): note: see usage of '|='
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(66): warning C4800: 'uint64_t': forcing value to bool 'true' or 'false' (performance warning)
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/Scalar.h(63): warning C4800: 'const int64_t': forcing value to bool 'true' or 'false' (performance warning)
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(24): error C2039: 'has_value': is not a member of 'c10::optionalc10::ScalarType'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(181): note: see declaration of 'c10::optionalc10::ScalarType'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(24): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(28): error C2039: 'has_value': is not a member of 'c10::optionalcaffe2::TypeMeta'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/ScalarType.h(203): note: see declaration of 'c10::optionalcaffe2::TypeMeta'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(28): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optionalc10::Layout::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(31): note: see reference to class template instantiation 'c10::optionalc10::Layout' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/DispatchKeySet.h(57): note: see reference to class template instantiation 'std::initializer_listc10::DispatchKey' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::Layout &c10::optionalc10::Layout::contained_val(void) const &': overloaded function differs only by return type from 'const c10::Layout &c10::optionalc10::Layout::contained_val(void) const &'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optionalc10::Layout::contained_val'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optionalc10::Layout::contained_val': redefinition; different type modifiers
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optionalc10::Layout::contained_val'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(32): error C2039: 'has_value': is not a member of 'c10::optionalc10::Layout'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optionalc10::Layout'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(32): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(208): note: see declaration of 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(36): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optional::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(39): note: see reference to class template instantiation 'c10::optional' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'bool &c10::optional::contained_val(void) const &': overloaded function differs only by return type from 'const bool &c10::optional::contained_val(void) const &'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optional::contained_val': redefinition; different type modifiers
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optional::contained_val'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): error C2039: 'has_value': is not a member of 'c10::optional'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(39): note: see declaration of 'c10::optional'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(40): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(138): error C2664: 'void c10::TensorOptions::set_layout(c10::optionalc10::Layout) noexcept &': cannot convert argument 1 from 'c10::Layout' to 'c10::optionalc10::Layout'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(138): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(164): error C2664: 'void c10::TensorOptions::set_dtype(c10::optionalc10::ScalarType) noexcept &': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(164): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(169): error C2664: 'void c10::TensorOptions::set_dtype(c10::optionalc10::ScalarType) noexcept &': cannot convert argument 1 from 'c10::ScalarType' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(169): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optionalc10::MemoryFormat::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): note: see reference to class template instantiation 'c10::optionalc10::MemoryFormat' being compiled
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'c10::MemoryFormat &c10::optionalc10::MemoryFormat::contained_val(void) const &': overloaded function differs only by return type from 'const c10::MemoryFormat &c10::optionalc10::MemoryFormat::contained_val(void) const &'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optionalc10::MemoryFormat::contained_val'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2373: 'c10::optionalc10::MemoryFormat::contained_val': redefinition; different type modifiers
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optionalc10::MemoryFormat::contained_val'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): error C2664: 'void c10::TensorOptions::set_memory_format(c10::optionalc10::MemoryFormat) noexcept &': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optionalc10::MemoryFormat'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(174): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(265): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(265): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(286): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(286): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(302): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optionalc10::Layout'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(302): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(319): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(319): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(345): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optional'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(345): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(359): error C2446: ':': no conversion from 'const c10::nullopt_t' to 'c10::optionalc10::MemoryFormat'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(359): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(415): error C2451: conditional expression of type 'c10::optionalc10::Device' is illegal
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(415): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(416): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(425): error C2451: conditional expression of type 'c10::optionalcaffe2::TypeMeta' is illegal
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(425): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(426): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(435): error C2451: conditional expression of type 'c10::optionalc10::ScalarType' is illegal
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(435): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(436): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(445): error C2451: conditional expression of type 'c10::optionalc10::Layout' is illegal
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(445): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): error C2440: '=': cannot convert from 'c10::optionalc10::Layout' to 'c10::Layout'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(446): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(455): error C2451: conditional expression of type 'c10::optional' is illegal
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(455): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): error C2440: '=': cannot convert from 'c10::optional' to 'bool'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(456): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(465): error C2451: conditional expression of type 'c10::optional' is illegal
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(465): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): error C2440: '=': cannot convert from 'c10::optional' to 'bool'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(466): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(475): error C2451: conditional expression of type 'c10::optionalc10::MemoryFormat' is illegal
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(475): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): error C2440: '=': cannot convert from 'c10::optionalc10::MemoryFormat' to 'c10::MemoryFormat'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(476): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(524): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(524): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(529): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(529): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(535): error C2664: 'c10::Layout c10::TensorOptions::layout(void) noexcept const': cannot convert argument 1 from 'c10::Layout' to 'c10::optionalc10::Layout'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(535): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(553): error C2664: 'bool c10::TensorOptions::requires_grad(void) noexcept const': cannot convert argument 1 from 'bool' to 'c10::optional'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(553): note: No constructor could take the source type, or constructor overload resolution was ambiguous
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(559): error C2664: 'c10::TensorOptions c10::TensorOptions::memory_format(c10::optionalc10::MemoryFormat) noexcept const': cannot convert argument 1 from 'c10::MemoryFormat' to 'c10::optionalc10::MemoryFormat'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorOptions.h(559): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorImpl.h(481): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(208): note: see declaration of 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorImpl.h(485): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorImpl.h(485): error C2039: 'index': is not a member of 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(208): note: see declaration of 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorImpl.h(489): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(208): note: see declaration of 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorImpl.h(493): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorImpl.h(1000): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(208): note: see declaration of 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorImpl.h(1002): error C2100: illegal indirection
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorImpl.h(1002): error C2039: 'type': is not a member of 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(208): note: see declaration of 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorImpl.h(1247): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion)
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(c10::optionalc10::Device &&)'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(const c10::optionalc10::Device &)'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorImpl.h(1247): note: while trying to match the argument list '(c10::optionalc10::Device, c10::Device)'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorImpl.h(1258): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion)
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(c10::optionalc10::Device &&)'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(const c10::optionalc10::Device &)'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorImpl.h(1258): note: while trying to match the argument list '(c10::optionalc10::Device, c10::Device)'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorImpl.h(1318): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion)
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(c10::optionalc10::Device &&)'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(const c10::optionalc10::Device &)'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorImpl.h(1318): note: while trying to match the argument list '(c10::optionalc10::Device, c10::Device)'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorImpl.h(1363): error C2679: binary '=': no operator found which takes a right-hand operand of type 'c10::Device' (or there is no acceptable conversion)
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(285): note: could be 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(c10::optionalc10::Device &&)'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/util/Optional.h(285): note: or 'c10::optionalc10::Device &c10::optionalc10::Device::operator =(const c10::optionalc10::Device &)'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/TensorImpl.h(1363): note: while trying to match the argument list '(c10::optionalc10::Device, c10::Device)'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): error C2664: 'caffe2::TypeMeta c10::TensorOptions::dtype(void) noexcept const': cannot convert argument 1 from 'caffe2::TypeMeta' to 'c10::optionalcaffe2::TypeMeta'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(95): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(96): error C2228: left of '.device' must have class/struct/union
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(97): error C2228: left of '.layout' must have class/struct/union
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(103): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(208): note: see declaration of 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2039: 'value': is not a member of 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(208): note: see declaration of 'c10::optionalc10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2512: 'c10::Device': no appropriate default constructor available
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\c10/core/Device.h(30): note: see declaration of 'c10::Device'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\ATen/core/TensorBody.h(1319): warning C4522: 'at::Tensor': multiple assignment operators specified
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional'
C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): fatal error C1003: error count exceeds 100; stopping compilation
[2/3] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include -IC:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\TH -IC:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\2020498\Anaconda3\envs\predictional\include -IC:\Users\2020498\Anaconda3\envs\predictional\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" -c C:\Users\2020498\AppData\Local\Temp\pip-install-29gjzxry\warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75\core.cu -o C:\Users\2020498\AppData\Local\Temp\pip-install-29gjzxry\warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75\build\temp.win-amd64-3.7\Release\core.obj -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
--expt-relaxed-constexpr -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
core.cu
[3/3] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin\nvcc -Xcompiler /MD -Xcompiler /wd4819 -Xcompiler /wd4251 -Xcompiler /wd4244 -Xcompiler /wd4267 -Xcompiler /wd4275 -Xcompiler /wd4018 -Xcompiler /wd4190 -Xcompiler /EHsc -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -IC:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include -IC:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\TH -IC:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\2020498\Anaconda3\envs\predictional\include -IC:\Users\2020498\Anaconda3\envs\predictional\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" -c C:\Users\2020498\AppData\Local\Temp\pip-install-29gjzxry\warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75\core_gather.cu -o C:\Users\2020498\AppData\Local\Temp\pip-install-29gjzxry\warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75\build\temp.win-amd64-3.7\Release\core_gather.obj -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS --expt-relaxed-constexpr -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61
C:/Users/2020498/AppData/Local/Temp/pip-install-29gjzxry/warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75/core_gather.cu(14): warning: function "idx2" was declared but never referenced core_gather.cu
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\utils\cpp_extension.py", line 1522, in run_ninja_build
env=env)
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\2020498\AppData\Local\Temp\pip-install-29gjzxry\warp-rnnt_bc96e2c73bdb436e9dad798cf4f4bd75\setup.py", line 62, in
"Topic :: Software Development :: Libraries :: Python Modules",
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\setuptools_init
.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\setuptools\command\install.py", line 61, in run
return orig.install.run(self)
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\distutils\command\install.py", line 545, in run
self.run_command('build')
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\setuptools\command\build_ext.py", line 79, in run
_build_ext.run(self)
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\distutils\command\build_ext.py", line 340, in run
self.build_extensions()
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\utils\cpp_extension.py", line 653, in build_extensions
build_ext.build_extensions(self)
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\distutils\command\build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\distutils\command\build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\setuptools\command\build_ext.py", line 196, in build_extension
_build_ext.build_extension(self, ext)
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\distutils\command\build_ext.py", line 534, in build_extension
depends=ext.depends)
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\utils\cpp_extension.py", line 635, in win_wrap_ninja_compile
with_cuda=with_cuda)
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\utils\cpp_extension.py", line 1238, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\torch\utils\cpp_extension.py", line 1538, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "C:\Users\2020498\Anaconda3\envs\predictional\lib\site-packages\colorama\ansitowin32.py", line 59, in closed
return stream.closed
ValueError: underlying buffer has been detached

So I changed the python version (3.5) and the torch version(1.5), but the error message was still displayed.

Building wheels for collected packages: warp-rnnt, future
Running setup.py bdist_wheel for warp-rnnt ... error
Complete output from command C:\Users\2020498\Anaconda3\envs\warp\python.exe -u -c "import setuptools, tokenize;file='C:\Users\2020498\AppData\Local\Temp\pip-install-rb_4j1ib\warp-rnnt\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d C:\Users\2020498\AppData\Local\Temp\pip-wheel-5f4kp887 --python-tag cp35:
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-3.5
creating build\lib.win-amd64-3.5\warp_rnnt
copying warp_rnnt\test.py -> build\lib.win-amd64-3.5\warp_rnnt
copying warp_rnnt_init_.py -> build\lib.win-amd64-3.5\warp_rnnt
running build_ext
C:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\torch\utils\cpp_extension.py:238: UserWarning: Error checking compiler version for cl: [WinError 2] 지정된 파일을 찾을 수 없습니다 (
The specified file could not be found)
warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error))
building 'warp_rnnt._C' extension
creating C:\Users\2020498\AppData\Local\Temp\pip-install-rb_4j1ib\warp-rnnt\build\temp.win-amd64-3.5
creating C:\Users\2020498\AppData\Local\Temp\pip-install-rb_4j1ib\warp-rnnt\build\temp.win-amd64-3.5\Release
Emitting ninja build file C:\Users\2020498\AppData\Local\Temp\pip-install-rb_4j1ib\warp-rnnt\build\temp.win-amd64-3.5\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/3] cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /EHsc -IC:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\torch\include -IC:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\torch\include\TH -IC:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\2020498\Anaconda3\envs\warp\include -IC:\Users\2020498\Anaconda3\envs\warp\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" -c C:\Users\2020498\AppData\Local\Temp\pip-install-rb_4j1ib\warp-rnnt\binding.cpp /FoC:\Users\2020498\AppData\Local\Temp\pip-install-rb_4j1ib\warp-rnnt\build\temp.win-amd64-3.5\Release\binding.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
FAILED: C:/Users/2020498/AppData/Local/Temp/pip-install-rb_4j1ib/warp-rnnt/build/temp.win-amd64-3.5/Release/binding.obj
cl /showIncludes /nologo /Ox /W3 /GL /DNDEBUG /MD /MD /wd4819 /EHsc -IC:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\torch\include -IC:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\torch\include\TH -IC:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include" -IC:\Users\2020498\Anaconda3\envs\warp\include -IC:\Users\2020498\Anaconda3\envs\warp\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" -c C:\Users\2020498\AppData\Local\Temp\pip-install-rb_4j1ib\warp-rnnt\binding.cpp /FoC:\Users\2020498\AppData\Local\Temp\pip-install-rb_4j1ib\warp-rnnt\build\temp.win-amd64-3.5\Release\binding.obj -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 /std:c++14
CreateProcess failed: The system cannot find the file specified.
ninja: fatal: ReadFile: 핸들이 잘못되었습니다. (
The handle is invalid.)
Traceback (most recent call last):
File "C:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\torch\utils\cpp_extension.py", line 1423, in run_ninja_build
check=True)
File "C:\Users\2020498\Anaconda3\envs\warp\lib\subprocess.py", line 398, 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 "", line 1, in
File "C:\Users\2020498\AppData\Local\Temp\pip-install-rb_4j1ib\warp-rnnt\setup.py", line 62, in
"Topic :: Software Development :: Libraries :: Python Modules",
File "C:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\setuptools_init
.py", line 140, in setup
return distutils.core.setup(**attrs)
File "C:\Users\2020498\Anaconda3\envs\warp\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\2020498\Anaconda3\envs\warp\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Users\2020498\Anaconda3\envs\warp\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
self.run_command('build')
File "C:\Users\2020498\Anaconda3\envs\warp\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\2020498\Anaconda3\envs\warp\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\2020498\Anaconda3\envs\warp\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\Users\2020498\Anaconda3\envs\warp\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\2020498\Anaconda3\envs\warp\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\setuptools\command\build_ext.py", line 78, in run
_build_ext.run(self)
File "C:\Users\2020498\Anaconda3\envs\warp\lib\distutils\command\build_ext.py", line 339, in run
self.build_extensions()
File "C:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\torch\utils\cpp_extension.py", line 603, in build_extensions
build_ext.build_extensions(self)
File "C:\Users\2020498\Anaconda3\envs\warp\lib\distutils\command\build_ext.py", line 448, in build_extensions
self._build_extensions_serial()
File "C:\Users\2020498\Anaconda3\envs\warp\lib\distutils\command\build_ext.py", line 473, in _build_extensions_serial
self.build_extension(ext)
File "C:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\setuptools\command\build_ext.py", line 199, in build_extension
_build_ext.build_extension(self, ext)
File "C:\Users\2020498\Anaconda3\envs\warp\lib\distutils\command\build_ext.py", line 533, in build_extension
depends=ext.depends)
File "C:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\torch\utils\cpp_extension.py", line 585, in win_wrap_ninja_compile
with_cuda=with_cuda)
File "C:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\torch\utils\cpp_extension.py", line 1163, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "C:\Users\2020498\Anaconda3\envs\warp\lib\site-packages\torch\utils\cpp_extension.py", line 1436, in _run_ninja_build
raise RuntimeError(message)
RuntimeError: Error compiling objects for extension

How can I solve this problem?

1ytic commented

Hi, @jeonghwaYoo. As you noticed, the custom CUDA-based package for pytorch depends on properly installed CUDA package in OS system. According to the second issue, unfortunately, I didn't test this package on Window system.

@1ytic Okay I got it. Thank you!