-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Matmul nbits to optimize memory layout for avx instructions #22203
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
Closed
Closed
Changes from 5 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
555e951
matmul nbits to optimize memory layout for avx instructions
liqunfu 076998c
Merge branch 'main' into liqun/avx-layout
liqunfu 99aec95
intermediate push
liqunfu 8ce1a2a
pass mlas and utest for blklen32 avx512
liqunfu f016555
Merge branch 'main' into liqun/avx-layout
liqunfu d371c59
pass avx512/vnni-blklen32
liqunfu 790b03f
pass avx512vnni-blklen128. plan to compute blksum in different loop t…
liqunfu 557fbb0
attmpt to make blklen256 work. failed because blksum computation need…
liqunfu 6b28657
avx512 blklen64 to compute blksum in a separate loop
liqunfu 0b867f8
avx512 scaled_zp compute in a separate loop except blklen16
liqunfu 2e74f56
avx512, all blklens, scaled_zp compute in a separate loop
liqunfu 0bf47f7
Merge branch 'main' into liqun/avx-layout
liqunfu c19ae9e
avx2 passes
liqunfu b26b075
avxvnni, matmul_nbit kernel
liqunfu 7e99d50
mlas nbit print correct compType
liqunfu f36ec96
clean up a bit
liqunfu 6d0404f
Merge branch 'main' into liqun/avx-layout
liqunfu 5901b52
lint
liqunfu eba1908
remove unused __m512 load_1blksum_512(const float* BlksumPtr)
liqunfu e8484eb
Merge branch 'main' into liqun/avx-layout
liqunfu 6dac6ad
sqnbitgemm_kernel_avx512.cpp to apply -mavx512f
liqunfu 429054a
undo sqnbitgemm_kernel_avx512.cpp to apply -mavx512f
liqunfu b1d7474
restore avx512 blklen32 from use special layout because related code …
liqunfu 5647598
Merge branch 'main' into liqun/avx-layout
liqunfu af15c91
merge main
liqunfu 42fc7e3
const Tensor* scales = scales_are_packed_ ? nullptr : ctx->Input<Tens…
liqunfu 419822b
scales_are_packed_ set to ture in x64
liqunfu 534befe
use scales_are_packed_
liqunfu e3f1b29
check scales against nullptr
liqunfu 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
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.