-
Notifications
You must be signed in to change notification settings - Fork 551
fix(quantization): disable the KV cache for layerwise calibration #2248
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
Open
Fridah-nv
wants to merge
13
commits into
main
Choose a base branch
from
fridah/layerwise-kv-cache-replay-fix
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+116
−65
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
7baf1d0
fix(quantization): stop a layerwise replay attending over its own KV …
Fridah-nv 20df3d3
docs: compact the KV-cache fix docstring and changelog entry
Fridah-nv 6013c55
fix(quantization): clear the KV cache on both replay paths, widen the…
Fridah-nv 0f12053
test: drop the inert calib_mutates_weights override from the KV-cache…
Fridah-nv 3383c7a
fix(quantization): clear the KV cache at capture, generalize the chan…
Fridah-nv e03c53b
refactor(quantization): clear the captured KV cache once, at capture
Fridah-nv 3310a48
fix(quantization): match the KV cache by shape, and clear it on the r…
Fridah-nv 519a789
docs: compact the KV-cache comments and docstrings
Fridah-nv 555d6bc
test: keep only the KV-cache tests that can fail
Fridah-nv 1e721a0
test: fold the two structural KV-cache tests into one parametrized case
Fridah-nv c3300d8
fix(quantization): disable the KV cache for layerwise calibration
Fridah-nv dd3e40c
fix(quantization): refuse a KV cache at capture, and scope the changelog
Fridah-nv 0e35120
docs(changelog): drop the layerwise KV-cache entry
Fridah-nv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.