Skip to content

What's the difference between batch-size and ubatch-size? #6328

Answered by phymbert
Sunt-ing asked this question in Q&A
Discussion options

You must be logged in to vote

The default values are here:

int32_t n_batch = 2048; // logical batch size for prompt processing (must be >=32 to use BLAS)

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@Sunt-ing
Comment options

@phymbert
Comment options

Answer selected by Sunt-ing
@Sunt-ing
Comment options

@Sunt-ing
Comment options

@phymbert
Comment options

Comment options

You must be logged in to vote
2 replies
@phymbert
Comment options

@slaren
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants