Skip to content
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

Add GPTQ Marlin support for 4 and 8 bit #856

Merged
merged 4 commits into from
Oct 16, 2024
Merged

Add GPTQ Marlin support for 4 and 8 bit #856

merged 4 commits into from
Oct 16, 2024

Conversation

EricLBuehler
Copy link
Owner

@EricLBuehler EricLBuehler commented Oct 16, 2024

Increased speed on CUDA is to be expected.

@EricLBuehler EricLBuehler added new feature New feature or request backend Backend work labels Oct 16, 2024
Copy link

Code Metrics Report
  ===============================================================================
 Language            Files        Lines         Code     Comments       Blanks
===============================================================================
 C Header                2           35           28            0            7
 Dockerfile              1           34           25            0            9
 Happy                   1          442          369            0           73
 JSON                   12          105          104            0            1
 Python                 52         2280         1940           68          272
 TOML                   20          630          564            2           64
 YAML                    2           21           19            2            0
-------------------------------------------------------------------------------
 Jupyter Notebooks       4            0            0            0            0
 |- Markdown             2           77           32           31           14
 |- Python               2          196          169            1           26
 (Total)                            273          201           32           40
-------------------------------------------------------------------------------
 Markdown               38         2800            0         2129          671
 |- BASH                 6          103          100            0            3
 |- JSON                 1           12           12            0            0
 |- Python               5           92           82            0           10
 |- Rust                 9          322          274            0           48
 |- TOML                 2           75           63            0           12
 (Total)                           3404          531         2129          744
-------------------------------------------------------------------------------
 Rust                  267        78791        70730         1671         6390
 |- Markdown           131         1363           25         1243           95
 (Total)                          80154        70755         2914         6485
===============================================================================
 Total                 400        85138        73779         3872         7487
===============================================================================
  

@EricLBuehler
Copy link
Owner Author

RUST_BACKTRACE=1 cargo run --features cuda -- -i plain -m kaitchup/Phi-3-mini-4k-instruct-gptq-4bit

@EricLBuehler EricLBuehler merged commit 751be3d into master Oct 16, 2024
12 checks passed
@EricLBuehler EricLBuehler deleted the gptq_marlin branch October 16, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend work new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant