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

Fix quant cache OOM #494

Merged
merged 2 commits into from
May 30, 2024
Merged

Fix quant cache OOM #494

merged 2 commits into from
May 30, 2024

Conversation

flozi00
Copy link
Collaborator

@flozi00 flozi00 commented May 29, 2024

What does this PR do?

Somestime OOM occures during warumup when using quantized models
Trying to patch it using larger dtype for calculating free blocks, so more free vRam is available

Fixes # (issue)

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Was this discussed/approved via a Github issue or the discord / slack channel? Please add a link
    to it if that's the case.
  • Did you write any new necessary tests?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@flozi00 flozi00 marked this pull request as ready for review May 29, 2024 15:05
@flozi00 flozi00 requested a review from tgaddair May 29, 2024 15:05
@tgaddair tgaddair merged commit 26e0982 into main May 30, 2024
1 check passed
@tgaddair tgaddair deleted the OOM_fp8_warmup branch May 30, 2024 05:36
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