forked from ModelCloud/GPTQModel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] Padding infeatures/outfeatures for exllama, exllama v2, and mar…
…lin (ModelCloud#98) * fix padding * fix padding * store original in/out features * fix bad var reference * shorter var name * limit bitblas convert to use 1 thread * ruff * fix qlinear_exllama pack * revert qliner_marlin change * cleanup code * plan b: init with original shape, then model load, then do padding/resize in post_init * fix g_idx post_init * const var reformat to all caps * fix ( -> [ * padding the x that passes in forward * comments/todo * comments --------- Co-authored-by: LRL-ModelCloud <lrl@modelcloud.ai>
- Loading branch information
Showing
4 changed files
with
125 additions
and
78 deletions.
There are no files selected for viewing
This file contains 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 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 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 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