Skip to content
New issue

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

量化模型不能正常解码 #2669

Open
ospeech opened this issue Jan 7, 2025 · 0 comments
Open

量化模型不能正常解码 #2669

ospeech opened this issue Jan 7, 2025 · 0 comments

Comments

@ospeech
Copy link

ospeech commented Jan 7, 2025

用export_jit.py同时导出final.zip和量化模型final.quant.zip
decoder_main \ --chunk_size -1 \ --wav_path $wav_path \ --model_path $model_dir/final.quant.zip \ --result out.txt \ --unit_path $model_dir/units.txt 2>&1
会出错,报”segmentation fault.“, final.zip是可以的。最后定位到runtime/core/decoder/torch_asr_model.cc中的 torch::jit::script::Module model = torch::jit::load(model_path, device);
torch版本:2.2.2+cu121

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant