ubergarm commited on
Commit
06f5ac9
·
1 Parent(s): 0c6e157

requires a PR for llama.cpp check the REAMDE.md

Browse files
Files changed (2) hide show
  1. .gitattributes +3 -1
  2. README.md +68 -0
.gitattributes CHANGED
@@ -33,4 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
- GigaChat3-10B-A1.8B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ imatrix-*.dat filter=lfs diff=lfs merge=lfs -text
37
+ *.gguf filter=lfs diff=lfs merge=lfs -text
38
+ *.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ quantized_by: ubergarm
3
+ pipeline_tag: text-generation
4
+ base_model: ai-sage/GigaChat3-10B-A1.8B
5
+ license: mit
6
+ base_model_relation: quantized
7
+ tags:
8
+ - mla
9
+ - conversational
10
+ - ik_llama.cpp
11
+ ---
12
+
13
+ ## Quantization of ai-sage/GigaChat3-10B-A1.8B
14
+ This requires [llama.cpp PR#17420](https://github.com/ggml-org/llama.cpp/pull/17420) to properly detect as a deepseek `lite` model.
15
+
16
+ Also the template is chopped to get rid of some parsing error. Details on that here: https://huggingface.co/ai-sage/GigaChat3-702B-A36B-preview-bf16/discussions/1
17
+
18
+ ## Big Thanks
19
+ Shout out to Wendell and the **Level1Techs** crew, the community [Forums](https://forum.level1techs.com/t/deepseek-deep-dive-r1-at-home/225826), [YouTube Channel](https://www.youtube.com/@Level1Techs)! **BIG thanks** for providing **BIG hardware** expertise and access to run these experiments and make these great quants available to the community!!!
20
+
21
+ Also thanks to all the folks in the quanting and inferencing community on [BeaverAI Club Discord](https://huggingface.co/BeaverAI) and on [r/LocalLLaMA](https://www.reddit.com/r/LocalLLaMA/) for tips and tricks helping each other run, test, and benchmark all the fun new models!
22
+
23
+ Finally, I *really* appreciate all the support from [aifoundry.org](https://aifoundry.org) so check out their open source RISC-V solutions, and of course huggingface for hosting all these big quants!
24
+
25
+ ## Quant Collection
26
+ Perplexity computed against *wiki.test.raw*.
27
+
28
+ ![Perplexity Chart](images/perplexity.png "Chart showing Perplexity improving as BPW increases.")
29
+
30
+ ## Q8_0
31
+ Perplexity: TODO
32
+
33
+ <details>
34
+
35
+ <summary>👈 Secret Recipe</summary>
36
+
37
+ ```bash
38
+ #!/usr/bin/env bash
39
+
40
+ ./build/bin/llama-quantize \
41
+ --pure \
42
+ /mnt/data/models/ubergarm/GigaChat3-10B-A1.8B-GGUF/GigaChat3-10B-A1.8B-BF16.gguf \
43
+ /mnt/data/models/ubergarm/GigaChat3-10B-A1.8B-GGUF/GigaChat3-10B-A1.8B-Q8_0.gguf \
44
+ Q8_0 \
45
+ 128
46
+ ```
47
+
48
+ </details>
49
+
50
+ ## Quick Start
51
+ ```bash
52
+ # Example running on mainline llama.cpp CPU-only
53
+ ./build/bin/llama-server \
54
+ --model "$model"\
55
+ --alias ubergarm/GigaChat3-10B-A1.8B-GGUF \
56
+ --ctx-size 32768 \
57
+ --parallel 1 \
58
+ --threads 8 \
59
+ --host 127.0.0.1 \
60
+ --port 8080 \
61
+ --no-mmap
62
+
63
+ # for full offload onto GPU just add -ngl 99 and set threads to 1
64
+ ```
65
+ If you have a properly fixed chat template, you can use it like this `--jinja --chat-template-file ./myFixedTemplate.jinja`.
66
+
67
+ ## References
68
+ * [llama.cpp PR#17420](https://github.com/ggml-org/llama.cpp/pull/17420)