-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Introduce New Lookup-Table(LUT)-Based Matrix Multiplication Method #10181
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
QingtaoLi1
wants to merge
15
commits into
ggml-org:master
Choose a base branch
from
kaleid-liner:master-re-rebased
base: master
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.
+1,154
−10
Open
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
351e345
Integrate T-MAC kernels
QingtaoLi1 94502e4
Fix a Cmake variable fault.
QingtaoLi1 f673699
Remove is_lora in convert_hf_to_gguf, which is removed in master.
QingtaoLi1 dfac0c4
Remove uint8 branch in gguf_writer.
QingtaoLi1 f64c768
Restore n_tensor check.
QingtaoLi1 6bb4aca
Remove unused code.
QingtaoLi1 b266290
[llama.cpp] update convert_hf_to_gguf.py
kaleid-liner e86c69d
[Feat] Support TQ1_0 and TQ2_0 with T-MAC.
QingtaoLi1 080d2ec
Add run_pipeline option of rechunk.
QingtaoLi1 f84d25d
Limit enable_t_mac to take effect on INT_N only.
QingtaoLi1 55a8696
[rebase] Fix build error.
QingtaoLi1 3f7d85d
[fix] Put ggml_tmac_init at correct place.
QingtaoLi1 cbd8e12
Add back bitdistiller model support.
QingtaoLi1 c8c2599
[Optimize] Reduce memory usage in non- do_permutate cases.
QingtaoLi1 628394a
[fix] code style.
QingtaoLi1 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
Restore n_tensor check.
- Loading branch information
commit f64c7680550ebf4dd0453013524cc1054b311d17
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lazy tensors should automatically become eager whenever an operation returns something else than a tensor (here, a
boolfromtorch.all)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@compilade Actually, this is a patch for some models we found. The structures between the model file and its arch don't match. If I remember correctly, it's some Qwen2 models.