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

Random sampler warmup #506

Merged
merged 8 commits into from
Nov 20, 2024
Merged

Conversation

mfylcek
Copy link

@mfylcek mfylcek commented Nov 15, 2024

Execute model with random sampler once per batch size.

@mfylcek mfylcek marked this pull request as draft November 15, 2024 14:23
@mfylcek
Copy link
Author

mfylcek commented Nov 15, 2024

The random sampler warmup is done in HPU graph capturing phase for minimal impact on warmup time. Samplers are executed in lazy mode without HPU graphs. Greedy sampler is warmed-up in warmup_all_buckets.

@mfylcek mfylcek requested a review from mswiniarsk November 19, 2024 08:58
@mfylcek mfylcek marked this pull request as ready for review November 19, 2024 09:01
@mfylcek mfylcek merged commit 6338608 into habana_main Nov 20, 2024
9 checks passed
@mfylcek mfylcek deleted the dev/mfylcek/warmup_random_sampler branch November 22, 2024 13:28
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

Successfully merging this pull request may close these issues.

2 participants