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

is it supported with Batch size >1 ? #269

Open
QuPengfei opened this issue May 28, 2024 · 2 comments
Open

is it supported with Batch size >1 ? #269

QuPengfei opened this issue May 28, 2024 · 2 comments
Assignees

Comments

@QuPengfei
Copy link

Hi all,

is it supported with bs >1? found the following:

if (batch_size > 1)
MODEL_ASSERT(
("llama arch only supports continuous batching inference when giving multi prompts.", lctx.cont_batching));

thanks

@zhentaoyu
Copy link
Contributor

Yes, it is supported, but only for a few model architectures. Please refer to https://github.com/intel/neural-speed/blob/main/docs/continuous_batching.md

@zhentaoyu
Copy link
Contributor

Hi, @QuPengfei, if you have no other questions, we will close this issue. Thanks.

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

2 participants