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

Whisper model cannot build with tensorrt llm #584

Open
billlyzhaoyh opened this issue Apr 27, 2024 · 2 comments
Open

Whisper model cannot build with tensorrt llm #584

billlyzhaoyh opened this issue Apr 27, 2024 · 2 comments

Comments

@billlyzhaoyh
Copy link

Been following the instruction at https://github.com/k2-fsa/sherpa/tree/master/triton/whisper and somehow running the line python3 build.py --output_dir whisper_large_v3 --use_gpt_attention_plugin --use_gemm_plugin --use_bert_attention_plugin --enable_context_fmha results in error:

TypeError: DecoderModel.__init__() missing 7 required positional arguments: 'num_heads', 'hidden_size', 'ffn_hidden_size', 'encoder_num_heads', 'encoder_hidden_size', 'vocab_size', and 'dtype'

@saad946
Copy link

saad946 commented May 6, 2024

Any update on this? we facing the similar issue

@yuekaizhang
Copy link
Collaborator

@billlyzhaoyh @saad946

image
Would you mind trying to use the pre-build image rather than build from scratch?
I would fix the dockefile and update here. Then you could build image by yourself.

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

3 participants