Skip to content

Commit

Permalink
add more quantizations
Browse files Browse the repository at this point in the history
  • Loading branch information
eastriverlee committed Feb 28, 2024
1 parent 51ba061 commit f20dd03
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Sources/LLM/LLM.swift
Original file line number Diff line number Diff line change
Expand Up @@ -565,15 +565,28 @@ public struct Template {
}

public enum Quantization: String {
case IQ1_S
case IQ2_XXS
case IQ2_XS
case IQ2_S
case IQ2_M
case Q2_K_S
case Q2_K
case IQ3_XXS
case IQ3_XS
case IQ3_S
case IQ3_M
case Q3_K_S
case Q3_K_M
case Q3_K_L
case IQ4_XS
case IQ4_NL
case Q4_0
case Q4_1
case Q4_K_S
case Q4_K_M
case Q5_0
case Q5_1
case Q5_K_S
case Q5_K_M
case Q6_K
Expand Down

0 comments on commit f20dd03

Please sign in to comment.