forked from ggml-org/llama.cpp
-
Notifications
You must be signed in to change notification settings - Fork 89
llama/ggml: Hadamard weight-fold runtime, ported to prism-v7 #121
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
6d25d20
ggml: support F16 input for FWHT matmul hint
bri-prism 98a3706
ggml-cuda: advertise F16 Hadamard inputs
bri-prism 2fa1eae
ggml-cuda: extend FWHT matmul hint to 1024/2048 blocks
bri-prism 9692d67
llama: prism.hadamard GGUF contract + activation-side rotation
bri-prism 8c27714
convert: emit prism.hadamard metadata from packing manifest
bri-prism f0ad296
ggml-metal: fix crash on F16 Hadamard input at unsupported FWHT widths
bri-prism 0c36912
llama: set up Hadamard rotations after tensor data load
bri-prism 8067209
ggml-metal: add 1024/2048-wide FWHT kernels
bri-prism f33b3c1
llama, convert: restrict prism.hadamard contract to verified matmul p…
bri-prism 09ca0fd
ggml-vulkan: create F16 FWHT pipelines only when the device supports …
bri-prism f4a4697
llama: explicit sign vectors for the Hadamard GGUF contract
bri-prism bd714ee
llama: inverse Hadamard transform for latent embedding tables
bri-prism 86e9022
llama: grouped-order GDN out_proj support for Hadamard-folded models
bri-prism cc92dd0
convert: match Hadamard-folded out_proj by suffix
bri-prism 2d18730
llama: verify folded weights receive their transform at graph build
bri-prism ea2fa85
llama: run the Hadamard coverage check before graph scheduling
bri-prism 5c5a462
cuda: fuse the Hadamard sign flip into the FWHT load
bri-prism ba54da6
llama, convert: allowlist gaps + device-side inverse transforms
bri-prism c0e4baf
hadamard: fix dead F16 fusion gate, contract validation, and grouped-…
bri-prism 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
Some comments aren't visible on the classic Files Changed page.
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
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.
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.