We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I0429 11:26:59.224985 97013 torch_asr_decoder.cc:111] Required 67 get 67 terminate called after throwing an instance of 'c10::Error' what(): Expected at most 6 argument(s) for operator 'forward_encoder_chunk', but received 7 argument(s). Declaration: forward_encoder_chunk(torch.wenet.transformer.asr_model.ASRModel self, Tensor xs, int offset, int required_cache_size, Tensor att_cache=[ CPUFloatType{0,0,0,0} ], Tensor cnn_cache=[ CPUFloatType{0,0,0,0} ]) -> ((Tensor, Tensor, Tensor)) Exception raised from checkAndNormalizeInputs at /data/joinhe/pytorch_code/pytorch/aten/src/ATen/core/function_schema_inl.h:214 (most recent call first): frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits, std::allocator >) + 0x58 (0x7f19ab83bd48 in /data/yeqiankun/wenet/runtime/server/x86/fc_base/libtorch-src/lib/libc10.so) frame #1: c10::detail::torchCheckFail(char const*, char const*, unsigned int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) + 0xb5 (0x7f19ab837fa5 in /data/yeqiankun/wenet/runtime/server/x86/fc_base/libtorch-src/lib/libc10.so) frame #2: + 0xb5c052 (0x7f19ac5d4052 in /data/yeqiankun/wenet/runtime/server/x86/fc_base/libtorch-src/lib/libtorch_cpu.so) frame #3: torch::jit::GraphFunction::operator()(std::vector<c10::IValue, std::allocatorc10::IValue >, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, c10::IValue, std::hash<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, c10::IValue> > > const&) + 0x2d (0x7f19aecca1dd in /data/yeqiankun/wenet/runtime/server/x86/fc_base/libtorch-src/lib/libtorch_cpu.so) frame #4: torch::jit::Method::operator()(std::vector<c10::IValue, std::allocatorc10::IValue >, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, c10::IValue, std::hash<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, c10::IValue> > > const&) + 0x143 (0x7f19aecd75b3 in /data/yeqiankun/wenet/runtime/server/x86/fc_base/libtorch-src/lib/libtorch_cpu.so) frame #5: ./decoder_main() [0x5546ce] frame #6: ./decoder_main() [0x553d16] frame #7: ./decoder_main() [0x46b415] frame #8: __libc_start_main + 0xf5 (0x7f19aa346555 in /lib64/libc.so.6) frame #9: ./decoder_main() [0x469ee9]
The text was updated successfully, but these errors were encountered:
you are using new jit model but old c++ interface, PLZ pull latest code and rebuild decoder_main.
decoder_main
Sorry, something went wrong.
No branches or pull requests
I0429 11:26:59.224985 97013 torch_asr_decoder.cc:111] Required 67 get 67
terminate called after throwing an instance of 'c10::Error'
what(): Expected at most 6 argument(s) for operator 'forward_encoder_chunk', but received 7 argument(s). Declaration: forward_encoder_chunk(torch.wenet.transformer.asr_model.ASRModel self, Tensor xs, int offset, int required_cache_size, Tensor att_cache=[ CPUFloatType{0,0,0,0} ], Tensor cnn_cache=[ CPUFloatType{0,0,0,0} ]) -> ((Tensor, Tensor, Tensor))
Exception raised from checkAndNormalizeInputs at /data/joinhe/pytorch_code/pytorch/aten/src/ATen/core/function_schema_inl.h:214 (most recent call first):
frame #0: c10::Error::Error(c10::SourceLocation, std::__cxx11::basic_string<char, std::char_traits, std::allocator >) + 0x58 (0x7f19ab83bd48 in /data/yeqiankun/wenet/runtime/server/x86/fc_base/libtorch-src/lib/libc10.so)
frame #1: c10::detail::torchCheckFail(char const*, char const*, unsigned int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) + 0xb5 (0x7f19ab837fa5 in /data/yeqiankun/wenet/runtime/server/x86/fc_base/libtorch-src/lib/libc10.so)
frame #2: + 0xb5c052 (0x7f19ac5d4052 in /data/yeqiankun/wenet/runtime/server/x86/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #3: torch::jit::GraphFunction::operator()(std::vector<c10::IValue, std::allocatorc10::IValue >, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, c10::IValue, std::hash<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, c10::IValue> > > const&) + 0x2d (0x7f19aecca1dd in /data/yeqiankun/wenet/runtime/server/x86/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #4: torch::jit::Method::operator()(std::vector<c10::IValue, std::allocatorc10::IValue >, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, c10::IValue, std::hash<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, c10::IValue> > > const&) + 0x143 (0x7f19aecd75b3 in /data/yeqiankun/wenet/runtime/server/x86/fc_base/libtorch-src/lib/libtorch_cpu.so)
frame #5: ./decoder_main() [0x5546ce]
frame #6: ./decoder_main() [0x553d16]
frame #7: ./decoder_main() [0x46b415]
frame #8: __libc_start_main + 0xf5 (0x7f19aa346555 in /lib64/libc.so.6)
frame #9: ./decoder_main() [0x469ee9]
The text was updated successfully, but these errors were encountered: