can't install warp-rnnt
12-zhx opened this issue · comments
D:\Anaconda3\envs\conformer\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'
D:\Anaconda3\envs\conformer\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
D:\Anaconda3\envs\conformer\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(96): error C2228: left of '.device' must have class/struct/union
D:\Anaconda3\envs\conformer\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(97): error C2228: left of '.layout' must have class/struct/union
D:\Anaconda3\envs\conformer\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(103): error C2039: 'has_value': is not a member of 'c10::optionalc10::Device'
D:\Anaconda3\envs\conformer\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optionalc10::Device'
D:\Anaconda3\envs\conformer\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2039: 'value': is not a member of 'c10::optionalc10::Device'
D:\Anaconda3\envs\conformer\lib\site-packages\torch\include\c10/core/TensorOptions.h(21): note: see declaration of 'c10::optionalc10::Device'
D:\Anaconda3\envs\conformer\lib\site-packages\torch\include\ATen/core/DeprecatedTypeProperties.h(106): error C2512: 'c10::Device': no appropriate default constructor available
D:\Anaconda3\envs\conformer\lib\site-packages\torch\include\c10/core/Device.h(30): note: see declaration of 'c10::Device'
D:\Anaconda3\envs\conformer\lib\site-packages\torch\include\ATen/core/TensorBody.h(1319): warning C4522: 'at::Tensor': multiple assignment operators specified
D:\Anaconda3\envs\conformer\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): error C2440: 'default argument': cannot convert from 'const c10::nullopt_t' to 'c10::optional'
D:\Anaconda3\envs\conformer\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
D:\Anaconda3\envs\conformer\lib\site-packages\torch\include\c10/util/Optional.h(282): warning C4814: 'c10::optionalat::Tensor::contained_val': in C++14 'constexpr' will not imply 'const'; consider explicitly specifying 'const'
D:\Anaconda3\envs\conformer\lib\site-packages\torch\include\ATen/core/TensorBody.h(561): note: see reference to class template instantiation 'c10::optionalat::Tensor' being compiled
D:\Anaconda3\envs\conformer\lib\site-packages\torch\include\c10/util/Optional.h(283): error C2556: 'at::Tensor &c10::optionalat::Tensor::c
ontained_val(void) const &': overloaded function differs only by return type from 'const at::Tensor &c10::optionalat::Tensor::contained_val(void) const &'
D:\Anaconda3\envs\conformer\lib\site-packages\torch\include\c10/util/Optional.h(277): note: see declaration of 'c10::optionalat::Tensor::contained_val'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> warp_rnnt
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
I never tried to install it on Windows. Is it happened after upgrade from warp-rnnt 0.5.0 -> 0.6.0?