Skip to content

Commit

Permalink
Merge pull request #18 from DarthAffe/Quantizations
Browse files Browse the repository at this point in the history
Added new quanization-types
  • Loading branch information
DarthAffe authored Jul 28, 2024
2 parents 17e3cb2 + 7694153 commit f21a3d8
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions StableDiffusion.NET/Enums/Quantization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public enum Quantization
Q4_0 = 2,
Q4_1 = 3,
// Q4_2 = 4, support has been removed
// Q4_3 (5) support has been removed
// Q4_3 = 5, support has been removed
Q5_0 = 6,
Q5_1 = 7,
Q8_0 = 8,
Expand All @@ -18,7 +18,7 @@ public enum Quantization
Q4_K = 12,
Q5_K = 13,
Q6_K = 14,
Q8_K = 15,
Q8_K = 15,
IQ2_XXS = 16,
IQ2_XS = 17,
IQ3_XXS = 18,
Expand All @@ -27,7 +27,14 @@ public enum Quantization
IQ3_S = 21,
IQ2_S = 22,
IQ4_XS = 23,
I8,
I16,
I32,
I8 = 24,
I16 = 25,
I32 = 26,
I64 = 27,
F64 = 28,
IQ1_M = 29,
BF16 = 30,
Q4_0_4_4 = 31,
Q4_0_4_8 = 32,
Q4_0_8_8 = 33,
}

0 comments on commit f21a3d8

Please sign in to comment.