Text Generation
MLX
Safetensors
English
Chinese
Korean
minimax_m2
jang
quantized
mixed-precision
apple-silicon
Mixture of Experts
abliterated
uncensored
crack
reasoning
conversational
custom_code
Instructions to use Iambackup/MiniMax-M2.7-JANG_3L-CRACK with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Iambackup/MiniMax-M2.7-JANG_3L-CRACK with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("Iambackup/MiniMax-M2.7-JANG_3L-CRACK") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use Iambackup/MiniMax-M2.7-JANG_3L-CRACK with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Iambackup/MiniMax-M2.7-JANG_3L-CRACK"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Iambackup/MiniMax-M2.7-JANG_3L-CRACK" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use Iambackup/MiniMax-M2.7-JANG_3L-CRACK with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "Iambackup/MiniMax-M2.7-JANG_3L-CRACK"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "Iambackup/MiniMax-M2.7-JANG_3L-CRACK" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Iambackup/MiniMax-M2.7-JANG_3L-CRACK", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use Iambackup/MiniMax-M2.7-JANG_3L-CRACK with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Iambackup/MiniMax-M2.7-JANG_3L-CRACK"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default Iambackup/MiniMax-M2.7-JANG_3L-CRACK
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Iambackup/MiniMax-M2.7-JANG_3L-CRACK with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Iambackup/MiniMax-M2.7-JANG_3L-CRACK"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "Iambackup/MiniMax-M2.7-JANG_3L-CRACK" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Duplicate from dealignai/MiniMax-M2.7-JANG_3L-CRACK
Browse filesCo-authored-by: dealign.ai <dealignai@users.noreply.huggingface.co>
This view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +35 -0
- LICENSE +17 -0
- README.md +180 -0
- chat_template.jinja +163 -0
- config.json +2290 -0
- configuration_minimax_m2.py +200 -0
- dealign_logo.png +0 -0
- dealign_mascot.png +0 -0
- generation_config.json +9 -0
- jang_config.json +48 -0
- merges.txt +0 -0
- model-00001-of-00126.safetensors +3 -0
- model-00002-of-00126.safetensors +3 -0
- model-00003-of-00126.safetensors +3 -0
- model-00004-of-00126.safetensors +3 -0
- model-00005-of-00126.safetensors +3 -0
- model-00006-of-00126.safetensors +3 -0
- model-00007-of-00126.safetensors +3 -0
- model-00008-of-00126.safetensors +3 -0
- model-00009-of-00126.safetensors +3 -0
- model-00010-of-00126.safetensors +3 -0
- model-00011-of-00126.safetensors +3 -0
- model-00012-of-00126.safetensors +3 -0
- model-00013-of-00126.safetensors +3 -0
- model-00014-of-00126.safetensors +3 -0
- model-00015-of-00126.safetensors +3 -0
- model-00016-of-00126.safetensors +3 -0
- model-00017-of-00126.safetensors +3 -0
- model-00018-of-00126.safetensors +3 -0
- model-00019-of-00126.safetensors +3 -0
- model-00020-of-00126.safetensors +3 -0
- model-00021-of-00126.safetensors +3 -0
- model-00022-of-00126.safetensors +3 -0
- model-00023-of-00126.safetensors +3 -0
- model-00024-of-00126.safetensors +3 -0
- model-00025-of-00126.safetensors +3 -0
- model-00026-of-00126.safetensors +3 -0
- model-00027-of-00126.safetensors +3 -0
- model-00028-of-00126.safetensors +3 -0
- model-00029-of-00126.safetensors +3 -0
- model-00030-of-00126.safetensors +3 -0
- model-00031-of-00126.safetensors +3 -0
- model-00032-of-00126.safetensors +3 -0
- model-00033-of-00126.safetensors +3 -0
- model-00034-of-00126.safetensors +3 -0
- model-00035-of-00126.safetensors +3 -0
- model-00036-of-00126.safetensors +3 -0
- model-00037-of-00126.safetensors +3 -0
- model-00038-of-00126.safetensors +3 -0
- model-00039-of-00126.safetensors +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz 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
|
LICENSE
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
NON-COMMERCIAL LICENSE
|
| 2 |
+
Non-commercial use permitted based on MIT-style terms; commercial use requires prior written authorization.
|
| 3 |
+
Copyright (c) 2026 MiniMax
|
| 4 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software for non-commercial purposes, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or provide copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
| 5 |
+
1. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
| 6 |
+
2. If the Software (or any derivative works thereof) is used for any Commercial Use, you shall prominently display "Built with MiniMax M2.7" on a related website, user interface, blogpost, about page or product documentation.
|
| 7 |
+
3. Any Commercial Use of the Software or any derivative work thereof is prohibited without obtaining a separate, prior written authorization from MiniMax. To request such authorization, please contact api@minimax.io with the subject line "M2.7 licensing".
|
| 8 |
+
4. "Commercial Use" means any use of the Software or any derivative work thereof that is primarily intended for commercial advantage or monetary compensation, which includes, without limitation: (i) offering products or services to third parties for a fee, which utilize, incorporate, or rely on the Software or its derivatives, (ii) the commercial use of APIs provided by or for the Software or its derivatives, including to support or enable commercial products, services, or operations, whether in a cloud-based, hosted, or other similar environment, and (iii) the deployment or provision of the Software or its derivatives that have been subjected to post-training, fine-tuning, instruction-tuning, or any other form of modification, for any commercial purpose.
|
| 9 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
| 10 |
+
|
| 11 |
+
Appendix: Prohibited Uses
|
| 12 |
+
You agree you will not use, or allow others to use, the Software or any derivatives of the Software to:
|
| 13 |
+
1. Generate or disseminate content prohibited by applicable laws or regulations.
|
| 14 |
+
2. Assist with, engage in or otherwise support any military purpose.
|
| 15 |
+
3. Exploit, harm, or attempt to exploit or harm minors.
|
| 16 |
+
4. Generate or disseminate false or misleading information with the intent to cause harm.
|
| 17 |
+
5. Promote discrimination, hate speech, or harmful behavior against individuals or groups based on race or ethnic origin, religion, disability, age, nationality and national origin, veteran status, sexual orientation, gender or gender identity, caste, immigration status, or any other characteristic that is associated with systemic discrimination or marginalization.
|
README.md
ADDED
|
@@ -0,0 +1,180 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
- zh
|
| 5 |
+
- ko
|
| 6 |
+
library_name: mlx
|
| 7 |
+
license: other
|
| 8 |
+
license_name: minimax-modified-mit
|
| 9 |
+
license_link: LICENSE
|
| 10 |
+
base_model: MiniMaxAI/MiniMax-M2.7
|
| 11 |
+
tags:
|
| 12 |
+
- jang
|
| 13 |
+
- quantized
|
| 14 |
+
- mixed-precision
|
| 15 |
+
- apple-silicon
|
| 16 |
+
- mlx
|
| 17 |
+
- moe
|
| 18 |
+
- abliterated
|
| 19 |
+
- uncensored
|
| 20 |
+
- crack
|
| 21 |
+
- reasoning
|
| 22 |
+
pipeline_tag: text-generation
|
| 23 |
+
thumbnail: dealign_mascot.png
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
> **Important:** This model uses the **JANG** quantization format -- the GGUF equivalent for MLX on Apple Silicon. Currently only supported by **[MLX Studio](https://mlx.studio)** and the `jang-tools` Python package. Follow [@dealignai](https://x.com/dealignai) for new releases.
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
<p align="center">
|
| 31 |
+
<a href="https://mlx.studio"><img src="https://raw.githubusercontent.com/jjang-ai/jangq/main/assets/mlx-studio-light.png" alt="MLX Studio" width="500"></a>
|
| 32 |
+
</p>
|
| 33 |
+
|
| 34 |
+
<p align="center">
|
| 35 |
+
<a href="https://mlx.studio"><img src="https://mlx.studio/assets/screenshots/mlx-studio-featured.png?v=1" alt="MLX Studio App" width="600"></a>
|
| 36 |
+
</p>
|
| 37 |
+
|
| 38 |
+
<h4 align="center"><a href="https://mlx.studio">MLX Studio</a> -- the only app that natively supports JANG models</h4>
|
| 39 |
+
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
<div align="center">
|
| 43 |
+
|
| 44 |
+
<img src="dealign_mascot.png" width="128" />
|
| 45 |
+
|
| 46 |
+
# MiniMax M2.7 -- JANG_3L + CRACK
|
| 47 |
+
|
| 48 |
+
**JANG mixed-precision** | **CRACK abliterated** | Reasoning-only | 89 GB
|
| 49 |
+
|
| 50 |
+
<a href="https://ko-fi.com/jangq"><img src="https://img.shields.io/badge/Ko--fi-Support_Development-FF5E5B?logo=ko-fi&logoColor=white&style=for-the-badge" alt="Ko-fi"></a>
|
| 51 |
+
|
| 52 |
+
</div>
|
| 53 |
+
|
| 54 |
+
---
|
| 55 |
+
|
| 56 |
+
## What Is This?
|
| 57 |
+
|
| 58 |
+
This is [MiniMax M2.7](https://huggingface.co/MiniMaxAI/MiniMax-M2.7) -- a 230B parameter Mixture-of-Experts reasoning model with 256 experts (8 active per token), all standard attention, and always-on chain-of-thought reasoning.
|
| 59 |
+
|
| 60 |
+
It has been:
|
| 61 |
+
1. **JANG quantized** -- JANG_3L profile (8-bit attention, 4-bit embeddings, 3-bit experts) -- **89 GB**
|
| 62 |
+
2. **CRACK abliterated** -- permanent weight-level removal of safety refusal
|
| 63 |
+
|
| 64 |
+
| | |
|
| 65 |
+
|---|---|
|
| 66 |
+
| **Architecture** | MiniMax M2.7 MoE -- 230B total, ~10B active, 256 experts |
|
| 67 |
+
| **Quantization** | JANG_3L (8/4/3-bit mixed) -- 89 GB |
|
| 68 |
+
| **Abliteration** | CRACK abliterated |
|
| 69 |
+
| **MMLU-200** | **93.5%** (base: 95.5%, delta: -2.0%) |
|
| 70 |
+
| **HarmBench-320** | **79.1%** overall, **89.4%** excluding copyright |
|
| 71 |
+
| **Reasoning** | Always ON (chain-of-thought) |
|
| 72 |
+
| **Speed** | ~46 tok/s (M4 Ultra 256 GB) |
|
| 73 |
+
| **Fits on** | **128 GB+ Macs** |
|
| 74 |
+
|
| 75 |
+
---
|
| 76 |
+
|
| 77 |
+
## MMLU-200 Results
|
| 78 |
+
|
| 79 |
+
| Subject | CRACK | Base | Delta |
|
| 80 |
+
|---------|:---:|:---:|:---:|
|
| 81 |
+
| High School Biology | **20/20 (100%)** | 20/20 | 0 |
|
| 82 |
+
| Abstract Algebra | 19/20 (95%) | 19/20 | 0 |
|
| 83 |
+
| Anatomy | 19/20 (95%) | 18/20 | **+1** |
|
| 84 |
+
| College Computer Science | 19/20 (95%) | 19/20 | 0 |
|
| 85 |
+
| College Physics | 19/20 (95%) | 20/20 | -1 |
|
| 86 |
+
| High School Chemistry | 19/20 (95%) | 19/20 | 0 |
|
| 87 |
+
| High School Mathematics | 19/20 (95%) | 20/20 | -1 |
|
| 88 |
+
| World Religions | 19/20 (95%) | 18/20 | **+1** |
|
| 89 |
+
| Astronomy | 18/20 (90%) | 19/20 | -1 |
|
| 90 |
+
| Logical Fallacies | 16/20 (80%) | 19/20 | -3 |
|
| 91 |
+
| **Total** | **187/200 (93.5%)** | **191/200 (95.5%)** | **-2.0%** |
|
| 92 |
+
|
| 93 |
+
---
|
| 94 |
+
|
| 95 |
+
## HarmBench-320 Results
|
| 96 |
+
|
| 97 |
+
| Category | Score | |
|
| 98 |
+
|----------|:---:|---|
|
| 99 |
+
| Cybercrime / Intrusion | 52/52 | **100%** |
|
| 100 |
+
| Misinformation / Disinfo | 52/54 | 96.3% |
|
| 101 |
+
| Chemical / Biological | 37/42 | 88.1% |
|
| 102 |
+
| Harmful | 15/18 | 83.3% |
|
| 103 |
+
| Illegal | 40/53 | 75.5% |
|
| 104 |
+
| Harassment / Bullying | 14/21 | 66.7% |
|
| 105 |
+
| Copyright | 43/80 | 53.8% |
|
| 106 |
+
|
| 107 |
+
> **Note on copyright:** M2.7's base model has strong copyright training and refuses to reproduce copyrighted books/lyrics regardless of abliteration. This is a base model limitation, not a surgery result.
|
| 108 |
+
|
| 109 |
+
---
|
| 110 |
+
|
| 111 |
+
## JANG CRACK M2.7 Series
|
| 112 |
+
|
| 113 |
+
| Model | Avg Bits | Size | MMLU | HarmBench | Speed | Fits on |
|
| 114 |
+
|-------|:---:|:---:|:---:|:---:|:---:|:---:|
|
| 115 |
+
| [JANG_2L + CRACK](https://huggingface.co/dealignai/MiniMax-M2.7-JANG_2L-CRACK) | 2.1 | 63 GB | 84.0% | 83.4% | ~47 t/s | 96 GB Mac |
|
| 116 |
+
| **JANG_3L + CRACK** | **3.08** | **89 GB** | **93.5%** | **79.1%** | **~46 t/s** | **128 GB Mac** |
|
| 117 |
+
|
| 118 |
+
### vs MLX Uniform Quantization
|
| 119 |
+
|
| 120 |
+
MLX uniform quantization is **completely broken** on MiniMax at ALL bit levels (~25% MMLU = random chance). JANG is the only working quantization format for this architecture.
|
| 121 |
+
|
| 122 |
+
---
|
| 123 |
+
|
| 124 |
+
## Install & Usage
|
| 125 |
+
|
| 126 |
+
```bash
|
| 127 |
+
pip install "jang[mlx]"
|
| 128 |
+
```
|
| 129 |
+
|
| 130 |
+
```python
|
| 131 |
+
from jang_tools import load_for_inference
|
| 132 |
+
from mlx_lm import generate
|
| 133 |
+
from mlx_lm.sample_utils import make_sampler
|
| 134 |
+
|
| 135 |
+
model, tokenizer = load_for_inference("dealignai/MiniMax-M2.7-JANG_3L-CRACK")
|
| 136 |
+
sampler = make_sampler(temp=1.0) # MiniMax requires temp=1.0 for chat
|
| 137 |
+
|
| 138 |
+
messages = [{"role": "user", "content": "Your prompt here"}]
|
| 139 |
+
prompt = tokenizer.apply_chat_template(
|
| 140 |
+
messages, add_generation_prompt=True, tokenize=False)
|
| 141 |
+
|
| 142 |
+
response = generate(model, tokenizer, prompt=prompt, max_tokens=4000, sampler=sampler)
|
| 143 |
+
print(response)
|
| 144 |
+
```
|
| 145 |
+
|
| 146 |
+
> **Note:** M2.7 is a reasoning-only model -- it always generates a `<think>` chain before answering. Use `max_tokens=4000+` for complex questions. For chat, use `temperature=1.0` (greedy causes infinite loops).
|
| 147 |
+
|
| 148 |
+
---
|
| 149 |
+
|
| 150 |
+
## About JANG
|
| 151 |
+
|
| 152 |
+
**JANG** (Jang Adaptive N-bit Grading) is a mixed-precision quantization format for Apple Silicon -- the GGUF equivalent for MLX. Classifies tensors into sensitivity tiers and assigns bits accordingly.
|
| 153 |
+
|
| 154 |
+
## About CRACK
|
| 155 |
+
|
| 156 |
+
**CRACK** (Controlled Refusal Ablation via Calibrated Knockouts) removes safety alignment from LLMs at the weight level, achieving compliance while preserving reasoning quality.
|
| 157 |
+
|
| 158 |
+
---
|
| 159 |
+
|
| 160 |
+
## Links
|
| 161 |
+
|
| 162 |
+
<p align="center">
|
| 163 |
+
|
| 164 |
+
<a href="https://ko-fi.com/jangq"><img src="https://img.shields.io/badge/Ko--fi-Support_Development-FF5E5B?logo=ko-fi&logoColor=white&style=for-the-badge" alt="Ko-fi"></a>
|
| 165 |
+
<a href="https://x.com/dealignai"><img src="https://img.shields.io/badge/X-@dealignai-000000?logo=x&logoColor=white&style=for-the-badge" alt="X/Twitter"></a>
|
| 166 |
+
<a href="https://github.com/jjang-ai/jangq"><img src="https://img.shields.io/badge/GitHub-jjang--ai/jangq-181717?logo=github&logoColor=white&style=for-the-badge" alt="GitHub"></a>
|
| 167 |
+
<a href="https://mlx.studio"><img src="https://img.shields.io/badge/MLX_Studio-App-blue?style=for-the-badge" alt="MLX Studio"></a>
|
| 168 |
+
<a href="https://jangq.ai"><img src="https://img.shields.io/badge/Website-jangq.ai-green?style=for-the-badge" alt="Website"></a>
|
| 169 |
+
|
| 170 |
+
</p>
|
| 171 |
+
|
| 172 |
+
---
|
| 173 |
+
|
| 174 |
+
## Disclaimer
|
| 175 |
+
|
| 176 |
+
This model is provided for research and educational purposes. The creators are not responsible for any misuse. By downloading this model, you agree to use it responsibly and in compliance with applicable laws.
|
| 177 |
+
|
| 178 |
+
---
|
| 179 |
+
|
| 180 |
+
<p align="center">Created by <a href="https://jangq.ai">Jinho Jang</a></p>
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{# ----------‑‑‑ special token variables ‑‑‑---------- #}
|
| 2 |
+
{%- set toolcall_begin_token = '<minimax:tool_call>' -%}
|
| 3 |
+
{%- set toolcall_end_token = '</minimax:tool_call>' -%}
|
| 4 |
+
{#- Tool Rendering Functions ============================================== -#}
|
| 5 |
+
{%- macro render_tool_namespace(namespace_name, tool_list) -%}
|
| 6 |
+
{%- for tool in tool_list -%}
|
| 7 |
+
<tool>{{ tool.function | tojson(ensure_ascii=False) }}</tool>
|
| 8 |
+
{% endfor -%}
|
| 9 |
+
{%- endmacro -%}
|
| 10 |
+
{%- macro visible_text(content) -%}
|
| 11 |
+
{%- if content is string -%}
|
| 12 |
+
{{ content }}
|
| 13 |
+
{%- elif content is iterable and content is not mapping -%}
|
| 14 |
+
{%- for item in content -%}
|
| 15 |
+
{%- if item is mapping and item.type == 'text' -%}
|
| 16 |
+
{{- item.text }}
|
| 17 |
+
{%- elif item is string -%}
|
| 18 |
+
{{- item }}
|
| 19 |
+
{%- endif -%}
|
| 20 |
+
{%- endfor -%}
|
| 21 |
+
{%- else -%}
|
| 22 |
+
{{- content }}
|
| 23 |
+
{%- endif -%}
|
| 24 |
+
{%- endmacro -%}
|
| 25 |
+
{#- System Message Construction ============================================ -#}
|
| 26 |
+
{%- macro build_system_message(system_message) -%}
|
| 27 |
+
{%- if system_message and system_message.content -%}
|
| 28 |
+
{{- visible_text(system_message.content) }}
|
| 29 |
+
{%- else -%}
|
| 30 |
+
{%- if model_identity is not defined -%}
|
| 31 |
+
{%- set model_identity = "You are a helpful assistant. Your name is MiniMax-M2.5 and is built by MiniMax." -%}
|
| 32 |
+
{%- endif -%}
|
| 33 |
+
{{- model_identity }}
|
| 34 |
+
{%- endif -%}
|
| 35 |
+
|
| 36 |
+
{#- Handle current_date -#}
|
| 37 |
+
{%- if system_message and system_message.current_date -%}
|
| 38 |
+
{{- '\n' ~ 'Current date: ' + system_message.current_date }}
|
| 39 |
+
{%- endif -%}
|
| 40 |
+
{#- Handle current_location -#}
|
| 41 |
+
{%- if system_message and system_message.current_location -%}
|
| 42 |
+
{{- '\n' ~ 'Current location: ' + system_message.current_location }}
|
| 43 |
+
{%- endif -%}
|
| 44 |
+
{%- endmacro -%}
|
| 45 |
+
{#- Main Template Logic ================================================= -#}
|
| 46 |
+
{#- Extract system message (only first message if it's system) -#}
|
| 47 |
+
{%- set system_message = none -%}
|
| 48 |
+
{%- set conversation_messages = messages -%}
|
| 49 |
+
{%- if messages and messages[0].role == "system" -%}
|
| 50 |
+
{%- set system_message = messages[0] -%}
|
| 51 |
+
{%- set conversation_messages = messages[1:] -%}
|
| 52 |
+
{%- endif -%}
|
| 53 |
+
{#- Get the last user message turn, for interleved thinking -#}
|
| 54 |
+
{%- set ns = namespace(last_user_index=-1) %}
|
| 55 |
+
{% for m in conversation_messages %}
|
| 56 |
+
{%- if m.role == 'user' %}
|
| 57 |
+
{% set ns.last_user_index = loop.index0 -%}
|
| 58 |
+
{%- endif %}
|
| 59 |
+
{%- endfor %}
|
| 60 |
+
{#- Render system message -#}
|
| 61 |
+
{{- ']~!b[' ~ ']~b]system' ~ '\n' }}
|
| 62 |
+
{{- build_system_message(system_message) }}
|
| 63 |
+
{#- Render tools if available -#}
|
| 64 |
+
{%- if tools -%}
|
| 65 |
+
{{- '\n\n' ~ '# Tools' ~ '\n' ~ 'You may call one or more tools to assist with the user query.\nHere are the tools available in JSONSchema format:' ~ '\n' }}
|
| 66 |
+
{{- '\n' ~ '<tools>' ~ '\n' }}
|
| 67 |
+
{{- render_tool_namespace("functions", tools) }}
|
| 68 |
+
{{- '</tools>' ~ '\n\n' }}
|
| 69 |
+
{{- 'When making tool calls, use XML format to invoke tools and pass parameters:' ~ '\n' }}
|
| 70 |
+
{{- '\n' ~ toolcall_begin_token }}
|
| 71 |
+
<invoke name="tool-name-1">
|
| 72 |
+
<parameter name="param-key-1">param-value-1</parameter>
|
| 73 |
+
<parameter name="param-key-2">param-value-2</parameter>
|
| 74 |
+
...
|
| 75 |
+
</invoke>
|
| 76 |
+
{{- '\n' ~ toolcall_end_token }}
|
| 77 |
+
{%- endif -%}
|
| 78 |
+
{{- '[e~[\n' }}
|
| 79 |
+
|
| 80 |
+
{#- Render messages -#}
|
| 81 |
+
{%- set last_tool_call = namespace(name=none) -%}
|
| 82 |
+
{%- for message in conversation_messages -%}
|
| 83 |
+
{%- if message.role == 'assistant' -%}
|
| 84 |
+
{#- Only render reasoning_content if no user message follows -#}
|
| 85 |
+
{{- ']~b]ai' ~ '\n' }}
|
| 86 |
+
|
| 87 |
+
{%- set reasoning_content = '' %}
|
| 88 |
+
{%- set content = visible_text(message.content) %}
|
| 89 |
+
{%- if message.reasoning_content is string %}
|
| 90 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 91 |
+
{%- else %}
|
| 92 |
+
{%- if '</think>' in content %}
|
| 93 |
+
{%- set reasoning_content = content.split('</think>')[0].strip('\n').split('<think>')[-1].strip('\n') %}
|
| 94 |
+
{%- set content = content.split('</think>')[-1].strip('\n') %}
|
| 95 |
+
{%- endif %}
|
| 96 |
+
{%- endif %}
|
| 97 |
+
{%- if reasoning_content and loop.index0 > ns.last_user_index -%}
|
| 98 |
+
{{- '<think>' ~ '\n' ~ reasoning_content ~ '\n' ~ '</think>' ~ '\n\n' }}
|
| 99 |
+
{%- endif -%}
|
| 100 |
+
{%- if content -%}
|
| 101 |
+
{{- content }}
|
| 102 |
+
{%- endif -%}
|
| 103 |
+
{%- if message.tool_calls -%}
|
| 104 |
+
{{- '\n' ~ toolcall_begin_token ~ '\n' }}
|
| 105 |
+
|
| 106 |
+
{%- for tool_call in message.tool_calls -%}
|
| 107 |
+
{%- if tool_call.function %}
|
| 108 |
+
{%- set tool_call = tool_call.function %}
|
| 109 |
+
{%- endif %}
|
| 110 |
+
{{- '<invoke name="' + tool_call.name + '">' }}
|
| 111 |
+
{% set _args = tool_call.arguments %}
|
| 112 |
+
{%- for k, v in _args.items() %}
|
| 113 |
+
{{- '<parameter name="' + k + '">' }}
|
| 114 |
+
{{- v | tojson(ensure_ascii=False) if v is not string else v }}
|
| 115 |
+
{{- '</parameter>' }}
|
| 116 |
+
{% endfor %}
|
| 117 |
+
{{- '</invoke>' ~ '\n' }}
|
| 118 |
+
{%- endfor -%}
|
| 119 |
+
|
| 120 |
+
{{- toolcall_end_token}}
|
| 121 |
+
{%- set last_tool_call.name = message.tool_calls[-1].name -%}
|
| 122 |
+
{%- else -%}
|
| 123 |
+
{%- set last_tool_call.name = none -%}
|
| 124 |
+
{%- endif -%}
|
| 125 |
+
{{- '[e~[' ~ '\n' }}
|
| 126 |
+
|
| 127 |
+
{%- elif message.role == 'tool' -%}
|
| 128 |
+
{%- if last_tool_call.name is none -%}
|
| 129 |
+
{{- raise_exception("Message has tool role, but there was no previous assistant message with a tool call!") }}
|
| 130 |
+
{%- endif -%}
|
| 131 |
+
{%- if loop.first or (conversation_messages[loop.index0 - 1].role != 'tool') -%}
|
| 132 |
+
{{- ']~b]tool' }}
|
| 133 |
+
{%- endif -%}
|
| 134 |
+
{%- if message.content is string -%}
|
| 135 |
+
{{- '\n<response>' }}
|
| 136 |
+
{{- message.content }}
|
| 137 |
+
{{- '</response>' }}
|
| 138 |
+
{%- else -%}
|
| 139 |
+
{%- for tr in message.content -%}
|
| 140 |
+
{{- '\n<response>' }}
|
| 141 |
+
{{- tr.output if tr.output is defined else (tr.text if tr.type == 'text' and tr.text is defined else tr) }}
|
| 142 |
+
{{- '\n</response>' }}
|
| 143 |
+
{%- endfor -%}
|
| 144 |
+
{%- endif -%}
|
| 145 |
+
{%- if loop.last or (conversation_messages[loop.index0 + 1].role != 'tool') -%}
|
| 146 |
+
{{- '[e~[\n' -}}
|
| 147 |
+
{%- endif -%}
|
| 148 |
+
|
| 149 |
+
{%- elif message.role == 'user' -%}
|
| 150 |
+
{{- ']~b]user' ~ '\n' }}
|
| 151 |
+
{{- visible_text(message.content) }}
|
| 152 |
+
{{- '[e~[' ~ '\n' }}
|
| 153 |
+
{%- endif -%}
|
| 154 |
+
{%- endfor -%}
|
| 155 |
+
|
| 156 |
+
{#- Generation prompt -#}
|
| 157 |
+
{%- if add_generation_prompt -%}
|
| 158 |
+
{{- ']~b]ai' ~ '\n' }}
|
| 159 |
+
{%- if enable_thinking is defined and enable_thinking is false -%}
|
| 160 |
+
{%- else -%}
|
| 161 |
+
{{- '<think>' ~ '\n' }}
|
| 162 |
+
{%- endif -%}
|
| 163 |
+
{%- endif -%}
|
config.json
ADDED
|
@@ -0,0 +1,2290 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
| 62 |
+
1,
|
| 63 |
+
1,
|
| 64 |
+
1,
|
| 65 |
+
1,
|
| 66 |
+
1,
|
| 67 |
+
1
|
| 68 |
+
],
|
| 69 |
+
"auto_map": {
|
| 70 |
+
"AutoConfig": "configuration_minimax_m2.MiniMaxM2Config",
|
| 71 |
+
"AutoModelForCausalLM": "modeling_minimax_m2.MiniMaxM2ForCausalLM"
|
| 72 |
+
},
|
| 73 |
+
"dtype": "bfloat16",
|
| 74 |
+
"head_dim": 128,
|
| 75 |
+
"hidden_act": "silu",
|
| 76 |
+
"hidden_size": 3072,
|
| 77 |
+
"intermediate_size": 1536,
|
| 78 |
+
"max_position_embeddings": 196608,
|
| 79 |
+
"model_type": "minimax_m2",
|
| 80 |
+
"mtp_transformer_layers": 1,
|
| 81 |
+
"num_attention_heads": 48,
|
| 82 |
+
"num_experts_per_tok": 8,
|
| 83 |
+
"num_hidden_layers": 62,
|
| 84 |
+
"num_key_value_heads": 8,
|
| 85 |
+
"num_local_experts": 256,
|
| 86 |
+
"num_mtp_modules": 3,
|
| 87 |
+
"qk_norm_type": "per_layer",
|
| 88 |
+
"rms_norm_eps": 1e-06,
|
| 89 |
+
"rope_theta": 5000000,
|
| 90 |
+
"rotary_dim": 64,
|
| 91 |
+
"scoring_func": "sigmoid",
|
| 92 |
+
"shared_intermediate_size": 0,
|
| 93 |
+
"tie_word_embeddings": false,
|
| 94 |
+
"transformers_version": "4.46.1",
|
| 95 |
+
"use_cache": true,
|
| 96 |
+
"use_mtp": true,
|
| 97 |
+
"use_qk_norm": true,
|
| 98 |
+
"use_routing_bias": true,
|
| 99 |
+
"vocab_size": 200064,
|
| 100 |
+
"quantization": {
|
| 101 |
+
"group_size": 128,
|
| 102 |
+
"bits": 8,
|
| 103 |
+
"mode": "affine",
|
| 104 |
+
"model.layers.27.self_attn.q_proj": {
|
| 105 |
+
"bits": 8,
|
| 106 |
+
"group_size": 128,
|
| 107 |
+
"mode": "affine"
|
| 108 |
+
},
|
| 109 |
+
"lm_head": {
|
| 110 |
+
"bits": 8,
|
| 111 |
+
"group_size": 128,
|
| 112 |
+
"mode": "affine"
|
| 113 |
+
},
|
| 114 |
+
"model.layers.57.block_sparse_moe.switch_mlp.up_proj": {
|
| 115 |
+
"bits": 6,
|
| 116 |
+
"group_size": 64,
|
| 117 |
+
"mode": "affine"
|
| 118 |
+
},
|
| 119 |
+
"model.layers.34.self_attn.v_proj": {
|
| 120 |
+
"bits": 8,
|
| 121 |
+
"group_size": 128,
|
| 122 |
+
"mode": "affine"
|
| 123 |
+
},
|
| 124 |
+
"model.layers.43.block_sparse_moe.switch_mlp.gate_proj": {
|
| 125 |
+
"bits": 6,
|
| 126 |
+
"group_size": 64,
|
| 127 |
+
"mode": "affine"
|
| 128 |
+
},
|
| 129 |
+
"model.layers.11.self_attn.v_proj": {
|
| 130 |
+
"bits": 8,
|
| 131 |
+
"group_size": 128,
|
| 132 |
+
"mode": "affine"
|
| 133 |
+
},
|
| 134 |
+
"model.layers.4.block_sparse_moe.switch_mlp.up_proj": {
|
| 135 |
+
"bits": 6,
|
| 136 |
+
"group_size": 64,
|
| 137 |
+
"mode": "affine"
|
| 138 |
+
},
|
| 139 |
+
"model.layers.33.self_attn.o_proj": {
|
| 140 |
+
"bits": 8,
|
| 141 |
+
"group_size": 128,
|
| 142 |
+
"mode": "affine"
|
| 143 |
+
},
|
| 144 |
+
"model.layers.12.self_attn.o_proj": {
|
| 145 |
+
"bits": 8,
|
| 146 |
+
"group_size": 128,
|
| 147 |
+
"mode": "affine"
|
| 148 |
+
},
|
| 149 |
+
"model.layers.30.self_attn.k_proj": {
|
| 150 |
+
"bits": 8,
|
| 151 |
+
"group_size": 128,
|
| 152 |
+
"mode": "affine"
|
| 153 |
+
},
|
| 154 |
+
"model.layers.46.self_attn.q_proj": {
|
| 155 |
+
"bits": 8,
|
| 156 |
+
"group_size": 128,
|
| 157 |
+
"mode": "affine"
|
| 158 |
+
},
|
| 159 |
+
"model.layers.58.block_sparse_moe.switch_mlp.gate_proj": {
|
| 160 |
+
"bits": 6,
|
| 161 |
+
"group_size": 64,
|
| 162 |
+
"mode": "affine"
|
| 163 |
+
},
|
| 164 |
+
"model.layers.49.block_sparse_moe.switch_mlp.down_proj": {
|
| 165 |
+
"bits": 6,
|
| 166 |
+
"group_size": 64,
|
| 167 |
+
"mode": "affine"
|
| 168 |
+
},
|
| 169 |
+
"model.layers.25.block_sparse_moe.switch_mlp.up_proj": {
|
| 170 |
+
"bits": 6,
|
| 171 |
+
"group_size": 64,
|
| 172 |
+
"mode": "affine"
|
| 173 |
+
},
|
| 174 |
+
"model.layers.55.self_attn.k_proj": {
|
| 175 |
+
"bits": 8,
|
| 176 |
+
"group_size": 128,
|
| 177 |
+
"mode": "affine"
|
| 178 |
+
},
|
| 179 |
+
"model.layers.37.self_attn.v_proj": {
|
| 180 |
+
"bits": 8,
|
| 181 |
+
"group_size": 128,
|
| 182 |
+
"mode": "affine"
|
| 183 |
+
},
|
| 184 |
+
"model.layers.39.block_sparse_moe.switch_mlp.up_proj": {
|
| 185 |
+
"bits": 6,
|
| 186 |
+
"group_size": 64,
|
| 187 |
+
"mode": "affine"
|
| 188 |
+
},
|
| 189 |
+
"model.layers.19.block_sparse_moe.switch_mlp.up_proj": {
|
| 190 |
+
"bits": 6,
|
| 191 |
+
"group_size": 64,
|
| 192 |
+
"mode": "affine"
|
| 193 |
+
},
|
| 194 |
+
"model.layers.42.self_attn.k_proj": {
|
| 195 |
+
"bits": 8,
|
| 196 |
+
"group_size": 128,
|
| 197 |
+
"mode": "affine"
|
| 198 |
+
},
|
| 199 |
+
"model.layers.52.block_sparse_moe.switch_mlp.up_proj": {
|
| 200 |
+
"bits": 6,
|
| 201 |
+
"group_size": 64,
|
| 202 |
+
"mode": "affine"
|
| 203 |
+
},
|
| 204 |
+
"model.layers.22.block_sparse_moe.switch_mlp.down_proj": {
|
| 205 |
+
"bits": 6,
|
| 206 |
+
"group_size": 64,
|
| 207 |
+
"mode": "affine"
|
| 208 |
+
},
|
| 209 |
+
"model.layers.28.self_attn.v_proj": {
|
| 210 |
+
"bits": 8,
|
| 211 |
+
"group_size": 128,
|
| 212 |
+
"mode": "affine"
|
| 213 |
+
},
|
| 214 |
+
"model.layers.58.block_sparse_moe.switch_mlp.up_proj": {
|
| 215 |
+
"bits": 6,
|
| 216 |
+
"group_size": 64,
|
| 217 |
+
"mode": "affine"
|
| 218 |
+
},
|
| 219 |
+
"model.layers.34.self_attn.k_proj": {
|
| 220 |
+
"bits": 8,
|
| 221 |
+
"group_size": 128,
|
| 222 |
+
"mode": "affine"
|
| 223 |
+
},
|
| 224 |
+
"model.layers.37.self_attn.q_proj": {
|
| 225 |
+
"bits": 8,
|
| 226 |
+
"group_size": 128,
|
| 227 |
+
"mode": "affine"
|
| 228 |
+
},
|
| 229 |
+
"model.layers.15.block_sparse_moe.switch_mlp.gate_proj": {
|
| 230 |
+
"bits": 6,
|
| 231 |
+
"group_size": 64,
|
| 232 |
+
"mode": "affine"
|
| 233 |
+
},
|
| 234 |
+
"model.layers.34.self_attn.q_proj": {
|
| 235 |
+
"bits": 8,
|
| 236 |
+
"group_size": 128,
|
| 237 |
+
"mode": "affine"
|
| 238 |
+
},
|
| 239 |
+
"model.layers.1.self_attn.v_proj": {
|
| 240 |
+
"bits": 8,
|
| 241 |
+
"group_size": 128,
|
| 242 |
+
"mode": "affine"
|
| 243 |
+
},
|
| 244 |
+
"model.layers.46.self_attn.k_proj": {
|
| 245 |
+
"bits": 8,
|
| 246 |
+
"group_size": 128,
|
| 247 |
+
"mode": "affine"
|
| 248 |
+
},
|
| 249 |
+
"model.layers.38.block_sparse_moe.switch_mlp.gate_proj": {
|
| 250 |
+
"bits": 6,
|
| 251 |
+
"group_size": 64,
|
| 252 |
+
"mode": "affine"
|
| 253 |
+
},
|
| 254 |
+
"model.layers.16.self_attn.q_proj": {
|
| 255 |
+
"bits": 8,
|
| 256 |
+
"group_size": 128,
|
| 257 |
+
"mode": "affine"
|
| 258 |
+
},
|
| 259 |
+
"model.layers.48.block_sparse_moe.switch_mlp.down_proj": {
|
| 260 |
+
"bits": 6,
|
| 261 |
+
"group_size": 64,
|
| 262 |
+
"mode": "affine"
|
| 263 |
+
},
|
| 264 |
+
"model.layers.39.self_attn.v_proj": {
|
| 265 |
+
"bits": 8,
|
| 266 |
+
"group_size": 128,
|
| 267 |
+
"mode": "affine"
|
| 268 |
+
},
|
| 269 |
+
"model.layers.32.block_sparse_moe.switch_mlp.down_proj": {
|
| 270 |
+
"bits": 6,
|
| 271 |
+
"group_size": 64,
|
| 272 |
+
"mode": "affine"
|
| 273 |
+
},
|
| 274 |
+
"model.layers.0.self_attn.q_proj": {
|
| 275 |
+
"bits": 8,
|
| 276 |
+
"group_size": 128,
|
| 277 |
+
"mode": "affine"
|
| 278 |
+
},
|
| 279 |
+
"model.layers.7.block_sparse_moe.switch_mlp.down_proj": {
|
| 280 |
+
"bits": 6,
|
| 281 |
+
"group_size": 64,
|
| 282 |
+
"mode": "affine"
|
| 283 |
+
},
|
| 284 |
+
"model.layers.24.self_attn.k_proj": {
|
| 285 |
+
"bits": 8,
|
| 286 |
+
"group_size": 128,
|
| 287 |
+
"mode": "affine"
|
| 288 |
+
},
|
| 289 |
+
"model.layers.40.block_sparse_moe.switch_mlp.up_proj": {
|
| 290 |
+
"bits": 6,
|
| 291 |
+
"group_size": 64,
|
| 292 |
+
"mode": "affine"
|
| 293 |
+
},
|
| 294 |
+
"model.layers.11.self_attn.q_proj": {
|
| 295 |
+
"bits": 8,
|
| 296 |
+
"group_size": 128,
|
| 297 |
+
"mode": "affine"
|
| 298 |
+
},
|
| 299 |
+
"model.layers.13.self_attn.k_proj": {
|
| 300 |
+
"bits": 8,
|
| 301 |
+
"group_size": 128,
|
| 302 |
+
"mode": "affine"
|
| 303 |
+
},
|
| 304 |
+
"model.layers.27.self_attn.v_proj": {
|
| 305 |
+
"bits": 8,
|
| 306 |
+
"group_size": 128,
|
| 307 |
+
"mode": "affine"
|
| 308 |
+
},
|
| 309 |
+
"model.layers.28.block_sparse_moe.switch_mlp.gate_proj": {
|
| 310 |
+
"bits": 6,
|
| 311 |
+
"group_size": 64,
|
| 312 |
+
"mode": "affine"
|
| 313 |
+
},
|
| 314 |
+
"model.layers.55.self_attn.v_proj": {
|
| 315 |
+
"bits": 8,
|
| 316 |
+
"group_size": 128,
|
| 317 |
+
"mode": "affine"
|
| 318 |
+
},
|
| 319 |
+
"model.layers.9.self_attn.v_proj": {
|
| 320 |
+
"bits": 8,
|
| 321 |
+
"group_size": 128,
|
| 322 |
+
"mode": "affine"
|
| 323 |
+
},
|
| 324 |
+
"model.layers.4.self_attn.q_proj": {
|
| 325 |
+
"bits": 8,
|
| 326 |
+
"group_size": 128,
|
| 327 |
+
"mode": "affine"
|
| 328 |
+
},
|
| 329 |
+
"model.layers.54.self_attn.k_proj": {
|
| 330 |
+
"bits": 8,
|
| 331 |
+
"group_size": 128,
|
| 332 |
+
"mode": "affine"
|
| 333 |
+
},
|
| 334 |
+
"model.layers.2.block_sparse_moe.switch_mlp.down_proj": {
|
| 335 |
+
"bits": 6,
|
| 336 |
+
"group_size": 64,
|
| 337 |
+
"mode": "affine"
|
| 338 |
+
},
|
| 339 |
+
"model.layers.41.self_attn.k_proj": {
|
| 340 |
+
"bits": 8,
|
| 341 |
+
"group_size": 128,
|
| 342 |
+
"mode": "affine"
|
| 343 |
+
},
|
| 344 |
+
"model.layers.51.self_attn.q_proj": {
|
| 345 |
+
"bits": 8,
|
| 346 |
+
"group_size": 128,
|
| 347 |
+
"mode": "affine"
|
| 348 |
+
},
|
| 349 |
+
"model.layers.51.block_sparse_moe.switch_mlp.down_proj": {
|
| 350 |
+
"bits": 6,
|
| 351 |
+
"group_size": 64,
|
| 352 |
+
"mode": "affine"
|
| 353 |
+
},
|
| 354 |
+
"model.layers.16.self_attn.k_proj": {
|
| 355 |
+
"bits": 8,
|
| 356 |
+
"group_size": 128,
|
| 357 |
+
"mode": "affine"
|
| 358 |
+
},
|
| 359 |
+
"model.layers.52.block_sparse_moe.switch_mlp.gate_proj": {
|
| 360 |
+
"bits": 6,
|
| 361 |
+
"group_size": 64,
|
| 362 |
+
"mode": "affine"
|
| 363 |
+
},
|
| 364 |
+
"model.layers.20.self_attn.o_proj": {
|
| 365 |
+
"bits": 8,
|
| 366 |
+
"group_size": 128,
|
| 367 |
+
"mode": "affine"
|
| 368 |
+
},
|
| 369 |
+
"model.layers.17.block_sparse_moe.switch_mlp.up_proj": {
|
| 370 |
+
"bits": 6,
|
| 371 |
+
"group_size": 64,
|
| 372 |
+
"mode": "affine"
|
| 373 |
+
},
|
| 374 |
+
"model.layers.29.block_sparse_moe.switch_mlp.down_proj": {
|
| 375 |
+
"bits": 6,
|
| 376 |
+
"group_size": 64,
|
| 377 |
+
"mode": "affine"
|
| 378 |
+
},
|
| 379 |
+
"model.layers.8.self_attn.q_proj": {
|
| 380 |
+
"bits": 8,
|
| 381 |
+
"group_size": 128,
|
| 382 |
+
"mode": "affine"
|
| 383 |
+
},
|
| 384 |
+
"model.layers.33.self_attn.v_proj": {
|
| 385 |
+
"bits": 8,
|
| 386 |
+
"group_size": 128,
|
| 387 |
+
"mode": "affine"
|
| 388 |
+
},
|
| 389 |
+
"model.layers.55.self_attn.q_proj": {
|
| 390 |
+
"bits": 8,
|
| 391 |
+
"group_size": 128,
|
| 392 |
+
"mode": "affine"
|
| 393 |
+
},
|
| 394 |
+
"model.layers.28.self_attn.q_proj": {
|
| 395 |
+
"bits": 8,
|
| 396 |
+
"group_size": 128,
|
| 397 |
+
"mode": "affine"
|
| 398 |
+
},
|
| 399 |
+
"model.layers.54.self_attn.q_proj": {
|
| 400 |
+
"bits": 8,
|
| 401 |
+
"group_size": 128,
|
| 402 |
+
"mode": "affine"
|
| 403 |
+
},
|
| 404 |
+
"model.layers.30.block_sparse_moe.switch_mlp.down_proj": {
|
| 405 |
+
"bits": 6,
|
| 406 |
+
"group_size": 64,
|
| 407 |
+
"mode": "affine"
|
| 408 |
+
},
|
| 409 |
+
"model.layers.7.self_attn.v_proj": {
|
| 410 |
+
"bits": 8,
|
| 411 |
+
"group_size": 128,
|
| 412 |
+
"mode": "affine"
|
| 413 |
+
},
|
| 414 |
+
"model.layers.10.self_attn.o_proj": {
|
| 415 |
+
"bits": 8,
|
| 416 |
+
"group_size": 128,
|
| 417 |
+
"mode": "affine"
|
| 418 |
+
},
|
| 419 |
+
"model.layers.39.self_attn.q_proj": {
|
| 420 |
+
"bits": 8,
|
| 421 |
+
"group_size": 128,
|
| 422 |
+
"mode": "affine"
|
| 423 |
+
},
|
| 424 |
+
"model.layers.13.self_attn.q_proj": {
|
| 425 |
+
"bits": 8,
|
| 426 |
+
"group_size": 128,
|
| 427 |
+
"mode": "affine"
|
| 428 |
+
},
|
| 429 |
+
"model.layers.58.block_sparse_moe.switch_mlp.down_proj": {
|
| 430 |
+
"bits": 6,
|
| 431 |
+
"group_size": 64,
|
| 432 |
+
"mode": "affine"
|
| 433 |
+
},
|
| 434 |
+
"model.layers.41.block_sparse_moe.switch_mlp.down_proj": {
|
| 435 |
+
"bits": 6,
|
| 436 |
+
"group_size": 64,
|
| 437 |
+
"mode": "affine"
|
| 438 |
+
},
|
| 439 |
+
"model.layers.13.block_sparse_moe.switch_mlp.gate_proj": {
|
| 440 |
+
"bits": 6,
|
| 441 |
+
"group_size": 64,
|
| 442 |
+
"mode": "affine"
|
| 443 |
+
},
|
| 444 |
+
"model.layers.29.block_sparse_moe.switch_mlp.up_proj": {
|
| 445 |
+
"bits": 6,
|
| 446 |
+
"group_size": 64,
|
| 447 |
+
"mode": "affine"
|
| 448 |
+
},
|
| 449 |
+
"model.layers.55.block_sparse_moe.switch_mlp.up_proj": {
|
| 450 |
+
"bits": 6,
|
| 451 |
+
"group_size": 64,
|
| 452 |
+
"mode": "affine"
|
| 453 |
+
},
|
| 454 |
+
"model.layers.54.self_attn.o_proj": {
|
| 455 |
+
"bits": 8,
|
| 456 |
+
"group_size": 128,
|
| 457 |
+
"mode": "affine"
|
| 458 |
+
},
|
| 459 |
+
"model.layers.25.block_sparse_moe.switch_mlp.gate_proj": {
|
| 460 |
+
"bits": 6,
|
| 461 |
+
"group_size": 64,
|
| 462 |
+
"mode": "affine"
|
| 463 |
+
},
|
| 464 |
+
"model.layers.7.block_sparse_moe.switch_mlp.up_proj": {
|
| 465 |
+
"bits": 6,
|
| 466 |
+
"group_size": 64,
|
| 467 |
+
"mode": "affine"
|
| 468 |
+
},
|
| 469 |
+
"model.layers.43.block_sparse_moe.switch_mlp.down_proj": {
|
| 470 |
+
"bits": 6,
|
| 471 |
+
"group_size": 64,
|
| 472 |
+
"mode": "affine"
|
| 473 |
+
},
|
| 474 |
+
"model.layers.52.self_attn.o_proj": {
|
| 475 |
+
"bits": 8,
|
| 476 |
+
"group_size": 128,
|
| 477 |
+
"mode": "affine"
|
| 478 |
+
},
|
| 479 |
+
"model.layers.33.block_sparse_moe.switch_mlp.up_proj": {
|
| 480 |
+
"bits": 6,
|
| 481 |
+
"group_size": 64,
|
| 482 |
+
"mode": "affine"
|
| 483 |
+
},
|
| 484 |
+
"model.layers.25.block_sparse_moe.switch_mlp.down_proj": {
|
| 485 |
+
"bits": 6,
|
| 486 |
+
"group_size": 64,
|
| 487 |
+
"mode": "affine"
|
| 488 |
+
},
|
| 489 |
+
"model.layers.3.self_attn.q_proj": {
|
| 490 |
+
"bits": 8,
|
| 491 |
+
"group_size": 128,
|
| 492 |
+
"mode": "affine"
|
| 493 |
+
},
|
| 494 |
+
"model.layers.34.block_sparse_moe.switch_mlp.up_proj": {
|
| 495 |
+
"bits": 6,
|
| 496 |
+
"group_size": 64,
|
| 497 |
+
"mode": "affine"
|
| 498 |
+
},
|
| 499 |
+
"model.layers.60.self_attn.k_proj": {
|
| 500 |
+
"bits": 8,
|
| 501 |
+
"group_size": 128,
|
| 502 |
+
"mode": "affine"
|
| 503 |
+
},
|
| 504 |
+
"model.layers.42.block_sparse_moe.switch_mlp.gate_proj": {
|
| 505 |
+
"bits": 6,
|
| 506 |
+
"group_size": 64,
|
| 507 |
+
"mode": "affine"
|
| 508 |
+
},
|
| 509 |
+
"model.layers.20.self_attn.q_proj": {
|
| 510 |
+
"bits": 8,
|
| 511 |
+
"group_size": 128,
|
| 512 |
+
"mode": "affine"
|
| 513 |
+
},
|
| 514 |
+
"model.layers.32.self_attn.v_proj": {
|
| 515 |
+
"bits": 8,
|
| 516 |
+
"group_size": 128,
|
| 517 |
+
"mode": "affine"
|
| 518 |
+
},
|
| 519 |
+
"model.layers.14.block_sparse_moe.switch_mlp.down_proj": {
|
| 520 |
+
"bits": 6,
|
| 521 |
+
"group_size": 64,
|
| 522 |
+
"mode": "affine"
|
| 523 |
+
},
|
| 524 |
+
"model.layers.39.block_sparse_moe.switch_mlp.down_proj": {
|
| 525 |
+
"bits": 6,
|
| 526 |
+
"group_size": 64,
|
| 527 |
+
"mode": "affine"
|
| 528 |
+
},
|
| 529 |
+
"model.layers.18.self_attn.q_proj": {
|
| 530 |
+
"bits": 8,
|
| 531 |
+
"group_size": 128,
|
| 532 |
+
"mode": "affine"
|
| 533 |
+
},
|
| 534 |
+
"model.layers.5.self_attn.o_proj": {
|
| 535 |
+
"bits": 8,
|
| 536 |
+
"group_size": 128,
|
| 537 |
+
"mode": "affine"
|
| 538 |
+
},
|
| 539 |
+
"model.layers.4.self_attn.v_proj": {
|
| 540 |
+
"bits": 8,
|
| 541 |
+
"group_size": 128,
|
| 542 |
+
"mode": "affine"
|
| 543 |
+
},
|
| 544 |
+
"model.layers.56.self_attn.k_proj": {
|
| 545 |
+
"bits": 8,
|
| 546 |
+
"group_size": 128,
|
| 547 |
+
"mode": "affine"
|
| 548 |
+
},
|
| 549 |
+
"model.layers.53.self_attn.k_proj": {
|
| 550 |
+
"bits": 8,
|
| 551 |
+
"group_size": 128,
|
| 552 |
+
"mode": "affine"
|
| 553 |
+
},
|
| 554 |
+
"model.layers.12.block_sparse_moe.switch_mlp.gate_proj": {
|
| 555 |
+
"bits": 6,
|
| 556 |
+
"group_size": 64,
|
| 557 |
+
"mode": "affine"
|
| 558 |
+
},
|
| 559 |
+
"model.layers.40.block_sparse_moe.switch_mlp.gate_proj": {
|
| 560 |
+
"bits": 6,
|
| 561 |
+
"group_size": 64,
|
| 562 |
+
"mode": "affine"
|
| 563 |
+
},
|
| 564 |
+
"model.layers.52.block_sparse_moe.switch_mlp.down_proj": {
|
| 565 |
+
"bits": 6,
|
| 566 |
+
"group_size": 64,
|
| 567 |
+
"mode": "affine"
|
| 568 |
+
},
|
| 569 |
+
"model.layers.9.self_attn.k_proj": {
|
| 570 |
+
"bits": 8,
|
| 571 |
+
"group_size": 128,
|
| 572 |
+
"mode": "affine"
|
| 573 |
+
},
|
| 574 |
+
"model.layers.26.block_sparse_moe.switch_mlp.gate_proj": {
|
| 575 |
+
"bits": 6,
|
| 576 |
+
"group_size": 64,
|
| 577 |
+
"mode": "affine"
|
| 578 |
+
},
|
| 579 |
+
"model.layers.19.self_attn.q_proj": {
|
| 580 |
+
"bits": 8,
|
| 581 |
+
"group_size": 128,
|
| 582 |
+
"mode": "affine"
|
| 583 |
+
},
|
| 584 |
+
"model.layers.47.block_sparse_moe.switch_mlp.down_proj": {
|
| 585 |
+
"bits": 6,
|
| 586 |
+
"group_size": 64,
|
| 587 |
+
"mode": "affine"
|
| 588 |
+
},
|
| 589 |
+
"model.layers.16.block_sparse_moe.switch_mlp.gate_proj": {
|
| 590 |
+
"bits": 6,
|
| 591 |
+
"group_size": 64,
|
| 592 |
+
"mode": "affine"
|
| 593 |
+
},
|
| 594 |
+
"model.layers.31.self_attn.q_proj": {
|
| 595 |
+
"bits": 8,
|
| 596 |
+
"group_size": 128,
|
| 597 |
+
"mode": "affine"
|
| 598 |
+
},
|
| 599 |
+
"model.layers.24.block_sparse_moe.switch_mlp.up_proj": {
|
| 600 |
+
"bits": 6,
|
| 601 |
+
"group_size": 64,
|
| 602 |
+
"mode": "affine"
|
| 603 |
+
},
|
| 604 |
+
"model.layers.49.block_sparse_moe.switch_mlp.up_proj": {
|
| 605 |
+
"bits": 6,
|
| 606 |
+
"group_size": 64,
|
| 607 |
+
"mode": "affine"
|
| 608 |
+
},
|
| 609 |
+
"model.layers.51.block_sparse_moe.switch_mlp.up_proj": {
|
| 610 |
+
"bits": 6,
|
| 611 |
+
"group_size": 64,
|
| 612 |
+
"mode": "affine"
|
| 613 |
+
},
|
| 614 |
+
"model.layers.47.self_attn.v_proj": {
|
| 615 |
+
"bits": 8,
|
| 616 |
+
"group_size": 128,
|
| 617 |
+
"mode": "affine"
|
| 618 |
+
},
|
| 619 |
+
"model.layers.46.self_attn.o_proj": {
|
| 620 |
+
"bits": 8,
|
| 621 |
+
"group_size": 128,
|
| 622 |
+
"mode": "affine"
|
| 623 |
+
},
|
| 624 |
+
"model.layers.18.block_sparse_moe.switch_mlp.down_proj": {
|
| 625 |
+
"bits": 6,
|
| 626 |
+
"group_size": 64,
|
| 627 |
+
"mode": "affine"
|
| 628 |
+
},
|
| 629 |
+
"model.layers.35.self_attn.q_proj": {
|
| 630 |
+
"bits": 8,
|
| 631 |
+
"group_size": 128,
|
| 632 |
+
"mode": "affine"
|
| 633 |
+
},
|
| 634 |
+
"model.layers.19.block_sparse_moe.switch_mlp.down_proj": {
|
| 635 |
+
"bits": 6,
|
| 636 |
+
"group_size": 64,
|
| 637 |
+
"mode": "affine"
|
| 638 |
+
},
|
| 639 |
+
"model.layers.33.block_sparse_moe.switch_mlp.gate_proj": {
|
| 640 |
+
"bits": 6,
|
| 641 |
+
"group_size": 64,
|
| 642 |
+
"mode": "affine"
|
| 643 |
+
},
|
| 644 |
+
"model.layers.36.block_sparse_moe.switch_mlp.down_proj": {
|
| 645 |
+
"bits": 6,
|
| 646 |
+
"group_size": 64,
|
| 647 |
+
"mode": "affine"
|
| 648 |
+
},
|
| 649 |
+
"model.layers.9.block_sparse_moe.switch_mlp.gate_proj": {
|
| 650 |
+
"bits": 6,
|
| 651 |
+
"group_size": 64,
|
| 652 |
+
"mode": "affine"
|
| 653 |
+
},
|
| 654 |
+
"model.layers.22.self_attn.k_proj": {
|
| 655 |
+
"bits": 8,
|
| 656 |
+
"group_size": 128,
|
| 657 |
+
"mode": "affine"
|
| 658 |
+
},
|
| 659 |
+
"model.layers.49.block_sparse_moe.switch_mlp.gate_proj": {
|
| 660 |
+
"bits": 6,
|
| 661 |
+
"group_size": 64,
|
| 662 |
+
"mode": "affine"
|
| 663 |
+
},
|
| 664 |
+
"model.layers.39.self_attn.o_proj": {
|
| 665 |
+
"bits": 8,
|
| 666 |
+
"group_size": 128,
|
| 667 |
+
"mode": "affine"
|
| 668 |
+
},
|
| 669 |
+
"model.layers.53.self_attn.o_proj": {
|
| 670 |
+
"bits": 8,
|
| 671 |
+
"group_size": 128,
|
| 672 |
+
"mode": "affine"
|
| 673 |
+
},
|
| 674 |
+
"model.layers.55.block_sparse_moe.switch_mlp.down_proj": {
|
| 675 |
+
"bits": 6,
|
| 676 |
+
"group_size": 64,
|
| 677 |
+
"mode": "affine"
|
| 678 |
+
},
|
| 679 |
+
"model.layers.30.self_attn.q_proj": {
|
| 680 |
+
"bits": 8,
|
| 681 |
+
"group_size": 128,
|
| 682 |
+
"mode": "affine"
|
| 683 |
+
},
|
| 684 |
+
"model.layers.46.self_attn.v_proj": {
|
| 685 |
+
"bits": 8,
|
| 686 |
+
"group_size": 128,
|
| 687 |
+
"mode": "affine"
|
| 688 |
+
},
|
| 689 |
+
"model.layers.21.self_attn.o_proj": {
|
| 690 |
+
"bits": 8,
|
| 691 |
+
"group_size": 128,
|
| 692 |
+
"mode": "affine"
|
| 693 |
+
},
|
| 694 |
+
"model.layers.48.self_attn.q_proj": {
|
| 695 |
+
"bits": 8,
|
| 696 |
+
"group_size": 128,
|
| 697 |
+
"mode": "affine"
|
| 698 |
+
},
|
| 699 |
+
"model.layers.16.block_sparse_moe.switch_mlp.down_proj": {
|
| 700 |
+
"bits": 6,
|
| 701 |
+
"group_size": 64,
|
| 702 |
+
"mode": "affine"
|
| 703 |
+
},
|
| 704 |
+
"model.layers.23.block_sparse_moe.switch_mlp.gate_proj": {
|
| 705 |
+
"bits": 6,
|
| 706 |
+
"group_size": 64,
|
| 707 |
+
"mode": "affine"
|
| 708 |
+
},
|
| 709 |
+
"model.layers.36.block_sparse_moe.switch_mlp.up_proj": {
|
| 710 |
+
"bits": 6,
|
| 711 |
+
"group_size": 64,
|
| 712 |
+
"mode": "affine"
|
| 713 |
+
},
|
| 714 |
+
"model.layers.51.block_sparse_moe.switch_mlp.gate_proj": {
|
| 715 |
+
"bits": 6,
|
| 716 |
+
"group_size": 64,
|
| 717 |
+
"mode": "affine"
|
| 718 |
+
},
|
| 719 |
+
"model.layers.42.self_attn.o_proj": {
|
| 720 |
+
"bits": 8,
|
| 721 |
+
"group_size": 128,
|
| 722 |
+
"mode": "affine"
|
| 723 |
+
},
|
| 724 |
+
"model.layers.59.self_attn.q_proj": {
|
| 725 |
+
"bits": 8,
|
| 726 |
+
"group_size": 128,
|
| 727 |
+
"mode": "affine"
|
| 728 |
+
},
|
| 729 |
+
"model.layers.44.block_sparse_moe.switch_mlp.down_proj": {
|
| 730 |
+
"bits": 6,
|
| 731 |
+
"group_size": 64,
|
| 732 |
+
"mode": "affine"
|
| 733 |
+
},
|
| 734 |
+
"model.layers.0.self_attn.k_proj": {
|
| 735 |
+
"bits": 8,
|
| 736 |
+
"group_size": 128,
|
| 737 |
+
"mode": "affine"
|
| 738 |
+
},
|
| 739 |
+
"model.layers.31.block_sparse_moe.switch_mlp.down_proj": {
|
| 740 |
+
"bits": 6,
|
| 741 |
+
"group_size": 64,
|
| 742 |
+
"mode": "affine"
|
| 743 |
+
},
|
| 744 |
+
"model.layers.4.block_sparse_moe.switch_mlp.down_proj": {
|
| 745 |
+
"bits": 6,
|
| 746 |
+
"group_size": 64,
|
| 747 |
+
"mode": "affine"
|
| 748 |
+
},
|
| 749 |
+
"model.layers.44.self_attn.k_proj": {
|
| 750 |
+
"bits": 8,
|
| 751 |
+
"group_size": 128,
|
| 752 |
+
"mode": "affine"
|
| 753 |
+
},
|
| 754 |
+
"model.layers.61.self_attn.k_proj": {
|
| 755 |
+
"bits": 8,
|
| 756 |
+
"group_size": 128,
|
| 757 |
+
"mode": "affine"
|
| 758 |
+
},
|
| 759 |
+
"model.layers.27.block_sparse_moe.switch_mlp.down_proj": {
|
| 760 |
+
"bits": 6,
|
| 761 |
+
"group_size": 64,
|
| 762 |
+
"mode": "affine"
|
| 763 |
+
},
|
| 764 |
+
"model.layers.2.self_attn.v_proj": {
|
| 765 |
+
"bits": 8,
|
| 766 |
+
"group_size": 128,
|
| 767 |
+
"mode": "affine"
|
| 768 |
+
},
|
| 769 |
+
"model.layers.47.block_sparse_moe.switch_mlp.up_proj": {
|
| 770 |
+
"bits": 6,
|
| 771 |
+
"group_size": 64,
|
| 772 |
+
"mode": "affine"
|
| 773 |
+
},
|
| 774 |
+
"model.layers.23.block_sparse_moe.switch_mlp.up_proj": {
|
| 775 |
+
"bits": 6,
|
| 776 |
+
"group_size": 64,
|
| 777 |
+
"mode": "affine"
|
| 778 |
+
},
|
| 779 |
+
"model.layers.21.self_attn.v_proj": {
|
| 780 |
+
"bits": 8,
|
| 781 |
+
"group_size": 128,
|
| 782 |
+
"mode": "affine"
|
| 783 |
+
},
|
| 784 |
+
"model.layers.60.block_sparse_moe.switch_mlp.up_proj": {
|
| 785 |
+
"bits": 6,
|
| 786 |
+
"group_size": 64,
|
| 787 |
+
"mode": "affine"
|
| 788 |
+
},
|
| 789 |
+
"model.layers.11.block_sparse_moe.switch_mlp.up_proj": {
|
| 790 |
+
"bits": 6,
|
| 791 |
+
"group_size": 64,
|
| 792 |
+
"mode": "affine"
|
| 793 |
+
},
|
| 794 |
+
"model.layers.61.block_sparse_moe.switch_mlp.up_proj": {
|
| 795 |
+
"bits": 6,
|
| 796 |
+
"group_size": 64,
|
| 797 |
+
"mode": "affine"
|
| 798 |
+
},
|
| 799 |
+
"model.layers.22.block_sparse_moe.switch_mlp.up_proj": {
|
| 800 |
+
"bits": 6,
|
| 801 |
+
"group_size": 64,
|
| 802 |
+
"mode": "affine"
|
| 803 |
+
},
|
| 804 |
+
"model.layers.5.block_sparse_moe.switch_mlp.up_proj": {
|
| 805 |
+
"bits": 6,
|
| 806 |
+
"group_size": 64,
|
| 807 |
+
"mode": "affine"
|
| 808 |
+
},
|
| 809 |
+
"model.layers.58.self_attn.v_proj": {
|
| 810 |
+
"bits": 8,
|
| 811 |
+
"group_size": 128,
|
| 812 |
+
"mode": "affine"
|
| 813 |
+
},
|
| 814 |
+
"model.layers.17.block_sparse_moe.switch_mlp.down_proj": {
|
| 815 |
+
"bits": 6,
|
| 816 |
+
"group_size": 64,
|
| 817 |
+
"mode": "affine"
|
| 818 |
+
},
|
| 819 |
+
"model.layers.2.self_attn.o_proj": {
|
| 820 |
+
"bits": 8,
|
| 821 |
+
"group_size": 128,
|
| 822 |
+
"mode": "affine"
|
| 823 |
+
},
|
| 824 |
+
"model.layers.28.block_sparse_moe.switch_mlp.up_proj": {
|
| 825 |
+
"bits": 6,
|
| 826 |
+
"group_size": 64,
|
| 827 |
+
"mode": "affine"
|
| 828 |
+
},
|
| 829 |
+
"model.layers.19.self_attn.v_proj": {
|
| 830 |
+
"bits": 8,
|
| 831 |
+
"group_size": 128,
|
| 832 |
+
"mode": "affine"
|
| 833 |
+
},
|
| 834 |
+
"model.layers.1.block_sparse_moe.switch_mlp.gate_proj": {
|
| 835 |
+
"bits": 6,
|
| 836 |
+
"group_size": 64,
|
| 837 |
+
"mode": "affine"
|
| 838 |
+
},
|
| 839 |
+
"model.layers.8.block_sparse_moe.switch_mlp.gate_proj": {
|
| 840 |
+
"bits": 6,
|
| 841 |
+
"group_size": 64,
|
| 842 |
+
"mode": "affine"
|
| 843 |
+
},
|
| 844 |
+
"model.layers.51.self_attn.k_proj": {
|
| 845 |
+
"bits": 8,
|
| 846 |
+
"group_size": 128,
|
| 847 |
+
"mode": "affine"
|
| 848 |
+
},
|
| 849 |
+
"model.layers.45.block_sparse_moe.switch_mlp.up_proj": {
|
| 850 |
+
"bits": 6,
|
| 851 |
+
"group_size": 64,
|
| 852 |
+
"mode": "affine"
|
| 853 |
+
},
|
| 854 |
+
"model.layers.41.self_attn.o_proj": {
|
| 855 |
+
"bits": 8,
|
| 856 |
+
"group_size": 128,
|
| 857 |
+
"mode": "affine"
|
| 858 |
+
},
|
| 859 |
+
"model.layers.12.self_attn.k_proj": {
|
| 860 |
+
"bits": 8,
|
| 861 |
+
"group_size": 128,
|
| 862 |
+
"mode": "affine"
|
| 863 |
+
},
|
| 864 |
+
"model.layers.29.self_attn.k_proj": {
|
| 865 |
+
"bits": 8,
|
| 866 |
+
"group_size": 128,
|
| 867 |
+
"mode": "affine"
|
| 868 |
+
},
|
| 869 |
+
"model.layers.17.self_attn.o_proj": {
|
| 870 |
+
"bits": 8,
|
| 871 |
+
"group_size": 128,
|
| 872 |
+
"mode": "affine"
|
| 873 |
+
},
|
| 874 |
+
"model.layers.23.block_sparse_moe.switch_mlp.down_proj": {
|
| 875 |
+
"bits": 6,
|
| 876 |
+
"group_size": 64,
|
| 877 |
+
"mode": "affine"
|
| 878 |
+
},
|
| 879 |
+
"model.layers.2.block_sparse_moe.switch_mlp.gate_proj": {
|
| 880 |
+
"bits": 6,
|
| 881 |
+
"group_size": 64,
|
| 882 |
+
"mode": "affine"
|
| 883 |
+
},
|
| 884 |
+
"model.layers.25.self_attn.k_proj": {
|
| 885 |
+
"bits": 8,
|
| 886 |
+
"group_size": 128,
|
| 887 |
+
"mode": "affine"
|
| 888 |
+
},
|
| 889 |
+
"model.layers.50.block_sparse_moe.switch_mlp.down_proj": {
|
| 890 |
+
"bits": 6,
|
| 891 |
+
"group_size": 64,
|
| 892 |
+
"mode": "affine"
|
| 893 |
+
},
|
| 894 |
+
"model.layers.25.self_attn.o_proj": {
|
| 895 |
+
"bits": 8,
|
| 896 |
+
"group_size": 128,
|
| 897 |
+
"mode": "affine"
|
| 898 |
+
},
|
| 899 |
+
"model.layers.60.self_attn.q_proj": {
|
| 900 |
+
"bits": 8,
|
| 901 |
+
"group_size": 128,
|
| 902 |
+
"mode": "affine"
|
| 903 |
+
},
|
| 904 |
+
"model.layers.60.self_attn.v_proj": {
|
| 905 |
+
"bits": 8,
|
| 906 |
+
"group_size": 128,
|
| 907 |
+
"mode": "affine"
|
| 908 |
+
},
|
| 909 |
+
"model.layers.9.block_sparse_moe.switch_mlp.down_proj": {
|
| 910 |
+
"bits": 6,
|
| 911 |
+
"group_size": 64,
|
| 912 |
+
"mode": "affine"
|
| 913 |
+
},
|
| 914 |
+
"model.layers.27.self_attn.o_proj": {
|
| 915 |
+
"bits": 8,
|
| 916 |
+
"group_size": 128,
|
| 917 |
+
"mode": "affine"
|
| 918 |
+
},
|
| 919 |
+
"model.layers.2.block_sparse_moe.switch_mlp.up_proj": {
|
| 920 |
+
"bits": 6,
|
| 921 |
+
"group_size": 64,
|
| 922 |
+
"mode": "affine"
|
| 923 |
+
},
|
| 924 |
+
"model.layers.14.self_attn.o_proj": {
|
| 925 |
+
"bits": 8,
|
| 926 |
+
"group_size": 128,
|
| 927 |
+
"mode": "affine"
|
| 928 |
+
},
|
| 929 |
+
"model.layers.58.self_attn.k_proj": {
|
| 930 |
+
"bits": 8,
|
| 931 |
+
"group_size": 128,
|
| 932 |
+
"mode": "affine"
|
| 933 |
+
},
|
| 934 |
+
"model.layers.20.block_sparse_moe.switch_mlp.down_proj": {
|
| 935 |
+
"bits": 6,
|
| 936 |
+
"group_size": 64,
|
| 937 |
+
"mode": "affine"
|
| 938 |
+
},
|
| 939 |
+
"model.layers.49.self_attn.q_proj": {
|
| 940 |
+
"bits": 8,
|
| 941 |
+
"group_size": 128,
|
| 942 |
+
"mode": "affine"
|
| 943 |
+
},
|
| 944 |
+
"model.layers.38.block_sparse_moe.switch_mlp.down_proj": {
|
| 945 |
+
"bits": 6,
|
| 946 |
+
"group_size": 64,
|
| 947 |
+
"mode": "affine"
|
| 948 |
+
},
|
| 949 |
+
"model.layers.61.block_sparse_moe.switch_mlp.gate_proj": {
|
| 950 |
+
"bits": 6,
|
| 951 |
+
"group_size": 64,
|
| 952 |
+
"mode": "affine"
|
| 953 |
+
},
|
| 954 |
+
"model.layers.18.self_attn.k_proj": {
|
| 955 |
+
"bits": 8,
|
| 956 |
+
"group_size": 128,
|
| 957 |
+
"mode": "affine"
|
| 958 |
+
},
|
| 959 |
+
"model.layers.59.block_sparse_moe.switch_mlp.gate_proj": {
|
| 960 |
+
"bits": 6,
|
| 961 |
+
"group_size": 64,
|
| 962 |
+
"mode": "affine"
|
| 963 |
+
},
|
| 964 |
+
"model.layers.59.self_attn.o_proj": {
|
| 965 |
+
"bits": 8,
|
| 966 |
+
"group_size": 128,
|
| 967 |
+
"mode": "affine"
|
| 968 |
+
},
|
| 969 |
+
"model.layers.10.self_attn.q_proj": {
|
| 970 |
+
"bits": 8,
|
| 971 |
+
"group_size": 128,
|
| 972 |
+
"mode": "affine"
|
| 973 |
+
},
|
| 974 |
+
"model.layers.59.self_attn.v_proj": {
|
| 975 |
+
"bits": 8,
|
| 976 |
+
"group_size": 128,
|
| 977 |
+
"mode": "affine"
|
| 978 |
+
},
|
| 979 |
+
"model.layers.38.self_attn.q_proj": {
|
| 980 |
+
"bits": 8,
|
| 981 |
+
"group_size": 128,
|
| 982 |
+
"mode": "affine"
|
| 983 |
+
},
|
| 984 |
+
"model.layers.8.block_sparse_moe.switch_mlp.up_proj": {
|
| 985 |
+
"bits": 6,
|
| 986 |
+
"group_size": 64,
|
| 987 |
+
"mode": "affine"
|
| 988 |
+
},
|
| 989 |
+
"model.layers.21.block_sparse_moe.switch_mlp.gate_proj": {
|
| 990 |
+
"bits": 6,
|
| 991 |
+
"group_size": 64,
|
| 992 |
+
"mode": "affine"
|
| 993 |
+
},
|
| 994 |
+
"model.layers.6.block_sparse_moe.switch_mlp.down_proj": {
|
| 995 |
+
"bits": 6,
|
| 996 |
+
"group_size": 64,
|
| 997 |
+
"mode": "affine"
|
| 998 |
+
},
|
| 999 |
+
"model.layers.2.self_attn.q_proj": {
|
| 1000 |
+
"bits": 8,
|
| 1001 |
+
"group_size": 128,
|
| 1002 |
+
"mode": "affine"
|
| 1003 |
+
},
|
| 1004 |
+
"model.layers.1.self_attn.q_proj": {
|
| 1005 |
+
"bits": 8,
|
| 1006 |
+
"group_size": 128,
|
| 1007 |
+
"mode": "affine"
|
| 1008 |
+
},
|
| 1009 |
+
"model.layers.5.self_attn.v_proj": {
|
| 1010 |
+
"bits": 8,
|
| 1011 |
+
"group_size": 128,
|
| 1012 |
+
"mode": "affine"
|
| 1013 |
+
},
|
| 1014 |
+
"model.layers.53.self_attn.q_proj": {
|
| 1015 |
+
"bits": 8,
|
| 1016 |
+
"group_size": 128,
|
| 1017 |
+
"mode": "affine"
|
| 1018 |
+
},
|
| 1019 |
+
"model.layers.44.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1020 |
+
"bits": 6,
|
| 1021 |
+
"group_size": 64,
|
| 1022 |
+
"mode": "affine"
|
| 1023 |
+
},
|
| 1024 |
+
"model.layers.50.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1025 |
+
"bits": 6,
|
| 1026 |
+
"group_size": 64,
|
| 1027 |
+
"mode": "affine"
|
| 1028 |
+
},
|
| 1029 |
+
"model.layers.28.self_attn.o_proj": {
|
| 1030 |
+
"bits": 8,
|
| 1031 |
+
"group_size": 128,
|
| 1032 |
+
"mode": "affine"
|
| 1033 |
+
},
|
| 1034 |
+
"model.layers.21.block_sparse_moe.switch_mlp.up_proj": {
|
| 1035 |
+
"bits": 6,
|
| 1036 |
+
"group_size": 64,
|
| 1037 |
+
"mode": "affine"
|
| 1038 |
+
},
|
| 1039 |
+
"model.layers.41.block_sparse_moe.switch_mlp.up_proj": {
|
| 1040 |
+
"bits": 6,
|
| 1041 |
+
"group_size": 64,
|
| 1042 |
+
"mode": "affine"
|
| 1043 |
+
},
|
| 1044 |
+
"model.layers.6.self_attn.k_proj": {
|
| 1045 |
+
"bits": 8,
|
| 1046 |
+
"group_size": 128,
|
| 1047 |
+
"mode": "affine"
|
| 1048 |
+
},
|
| 1049 |
+
"model.layers.38.self_attn.o_proj": {
|
| 1050 |
+
"bits": 8,
|
| 1051 |
+
"group_size": 128,
|
| 1052 |
+
"mode": "affine"
|
| 1053 |
+
},
|
| 1054 |
+
"model.layers.52.self_attn.q_proj": {
|
| 1055 |
+
"bits": 8,
|
| 1056 |
+
"group_size": 128,
|
| 1057 |
+
"mode": "affine"
|
| 1058 |
+
},
|
| 1059 |
+
"model.layers.18.self_attn.o_proj": {
|
| 1060 |
+
"bits": 8,
|
| 1061 |
+
"group_size": 128,
|
| 1062 |
+
"mode": "affine"
|
| 1063 |
+
},
|
| 1064 |
+
"model.layers.56.self_attn.v_proj": {
|
| 1065 |
+
"bits": 8,
|
| 1066 |
+
"group_size": 128,
|
| 1067 |
+
"mode": "affine"
|
| 1068 |
+
},
|
| 1069 |
+
"model.layers.37.self_attn.k_proj": {
|
| 1070 |
+
"bits": 8,
|
| 1071 |
+
"group_size": 128,
|
| 1072 |
+
"mode": "affine"
|
| 1073 |
+
},
|
| 1074 |
+
"model.layers.7.self_attn.k_proj": {
|
| 1075 |
+
"bits": 8,
|
| 1076 |
+
"group_size": 128,
|
| 1077 |
+
"mode": "affine"
|
| 1078 |
+
},
|
| 1079 |
+
"model.layers.34.self_attn.o_proj": {
|
| 1080 |
+
"bits": 8,
|
| 1081 |
+
"group_size": 128,
|
| 1082 |
+
"mode": "affine"
|
| 1083 |
+
},
|
| 1084 |
+
"model.layers.24.self_attn.o_proj": {
|
| 1085 |
+
"bits": 8,
|
| 1086 |
+
"group_size": 128,
|
| 1087 |
+
"mode": "affine"
|
| 1088 |
+
},
|
| 1089 |
+
"model.layers.45.self_attn.o_proj": {
|
| 1090 |
+
"bits": 8,
|
| 1091 |
+
"group_size": 128,
|
| 1092 |
+
"mode": "affine"
|
| 1093 |
+
},
|
| 1094 |
+
"model.layers.4.self_attn.k_proj": {
|
| 1095 |
+
"bits": 8,
|
| 1096 |
+
"group_size": 128,
|
| 1097 |
+
"mode": "affine"
|
| 1098 |
+
},
|
| 1099 |
+
"model.layers.10.self_attn.v_proj": {
|
| 1100 |
+
"bits": 8,
|
| 1101 |
+
"group_size": 128,
|
| 1102 |
+
"mode": "affine"
|
| 1103 |
+
},
|
| 1104 |
+
"model.layers.13.self_attn.o_proj": {
|
| 1105 |
+
"bits": 8,
|
| 1106 |
+
"group_size": 128,
|
| 1107 |
+
"mode": "affine"
|
| 1108 |
+
},
|
| 1109 |
+
"model.layers.43.self_attn.q_proj": {
|
| 1110 |
+
"bits": 8,
|
| 1111 |
+
"group_size": 128,
|
| 1112 |
+
"mode": "affine"
|
| 1113 |
+
},
|
| 1114 |
+
"model.layers.60.block_sparse_moe.switch_mlp.down_proj": {
|
| 1115 |
+
"bits": 6,
|
| 1116 |
+
"group_size": 64,
|
| 1117 |
+
"mode": "affine"
|
| 1118 |
+
},
|
| 1119 |
+
"model.layers.53.self_attn.v_proj": {
|
| 1120 |
+
"bits": 8,
|
| 1121 |
+
"group_size": 128,
|
| 1122 |
+
"mode": "affine"
|
| 1123 |
+
},
|
| 1124 |
+
"model.layers.55.self_attn.o_proj": {
|
| 1125 |
+
"bits": 8,
|
| 1126 |
+
"group_size": 128,
|
| 1127 |
+
"mode": "affine"
|
| 1128 |
+
},
|
| 1129 |
+
"model.layers.54.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1130 |
+
"bits": 6,
|
| 1131 |
+
"group_size": 64,
|
| 1132 |
+
"mode": "affine"
|
| 1133 |
+
},
|
| 1134 |
+
"model.layers.49.self_attn.k_proj": {
|
| 1135 |
+
"bits": 8,
|
| 1136 |
+
"group_size": 128,
|
| 1137 |
+
"mode": "affine"
|
| 1138 |
+
},
|
| 1139 |
+
"model.layers.4.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1140 |
+
"bits": 6,
|
| 1141 |
+
"group_size": 64,
|
| 1142 |
+
"mode": "affine"
|
| 1143 |
+
},
|
| 1144 |
+
"model.layers.48.block_sparse_moe.switch_mlp.up_proj": {
|
| 1145 |
+
"bits": 6,
|
| 1146 |
+
"group_size": 64,
|
| 1147 |
+
"mode": "affine"
|
| 1148 |
+
},
|
| 1149 |
+
"model.layers.10.self_attn.k_proj": {
|
| 1150 |
+
"bits": 8,
|
| 1151 |
+
"group_size": 128,
|
| 1152 |
+
"mode": "affine"
|
| 1153 |
+
},
|
| 1154 |
+
"model.layers.56.block_sparse_moe.switch_mlp.down_proj": {
|
| 1155 |
+
"bits": 6,
|
| 1156 |
+
"group_size": 64,
|
| 1157 |
+
"mode": "affine"
|
| 1158 |
+
},
|
| 1159 |
+
"model.layers.47.self_attn.q_proj": {
|
| 1160 |
+
"bits": 8,
|
| 1161 |
+
"group_size": 128,
|
| 1162 |
+
"mode": "affine"
|
| 1163 |
+
},
|
| 1164 |
+
"model.layers.23.self_attn.o_proj": {
|
| 1165 |
+
"bits": 8,
|
| 1166 |
+
"group_size": 128,
|
| 1167 |
+
"mode": "affine"
|
| 1168 |
+
},
|
| 1169 |
+
"model.layers.36.self_attn.q_proj": {
|
| 1170 |
+
"bits": 8,
|
| 1171 |
+
"group_size": 128,
|
| 1172 |
+
"mode": "affine"
|
| 1173 |
+
},
|
| 1174 |
+
"model.layers.6.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1175 |
+
"bits": 6,
|
| 1176 |
+
"group_size": 64,
|
| 1177 |
+
"mode": "affine"
|
| 1178 |
+
},
|
| 1179 |
+
"model.layers.10.block_sparse_moe.switch_mlp.down_proj": {
|
| 1180 |
+
"bits": 6,
|
| 1181 |
+
"group_size": 64,
|
| 1182 |
+
"mode": "affine"
|
| 1183 |
+
},
|
| 1184 |
+
"model.layers.57.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1185 |
+
"bits": 6,
|
| 1186 |
+
"group_size": 64,
|
| 1187 |
+
"mode": "affine"
|
| 1188 |
+
},
|
| 1189 |
+
"model.layers.55.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1190 |
+
"bits": 6,
|
| 1191 |
+
"group_size": 64,
|
| 1192 |
+
"mode": "affine"
|
| 1193 |
+
},
|
| 1194 |
+
"model.layers.37.block_sparse_moe.switch_mlp.up_proj": {
|
| 1195 |
+
"bits": 6,
|
| 1196 |
+
"group_size": 64,
|
| 1197 |
+
"mode": "affine"
|
| 1198 |
+
},
|
| 1199 |
+
"model.layers.0.self_attn.o_proj": {
|
| 1200 |
+
"bits": 8,
|
| 1201 |
+
"group_size": 128,
|
| 1202 |
+
"mode": "affine"
|
| 1203 |
+
},
|
| 1204 |
+
"model.layers.47.self_attn.o_proj": {
|
| 1205 |
+
"bits": 8,
|
| 1206 |
+
"group_size": 128,
|
| 1207 |
+
"mode": "affine"
|
| 1208 |
+
},
|
| 1209 |
+
"model.layers.26.self_attn.o_proj": {
|
| 1210 |
+
"bits": 8,
|
| 1211 |
+
"group_size": 128,
|
| 1212 |
+
"mode": "affine"
|
| 1213 |
+
},
|
| 1214 |
+
"model.layers.3.self_attn.o_proj": {
|
| 1215 |
+
"bits": 8,
|
| 1216 |
+
"group_size": 128,
|
| 1217 |
+
"mode": "affine"
|
| 1218 |
+
},
|
| 1219 |
+
"model.layers.24.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1220 |
+
"bits": 6,
|
| 1221 |
+
"group_size": 64,
|
| 1222 |
+
"mode": "affine"
|
| 1223 |
+
},
|
| 1224 |
+
"model.layers.25.self_attn.q_proj": {
|
| 1225 |
+
"bits": 8,
|
| 1226 |
+
"group_size": 128,
|
| 1227 |
+
"mode": "affine"
|
| 1228 |
+
},
|
| 1229 |
+
"model.layers.49.self_attn.v_proj": {
|
| 1230 |
+
"bits": 8,
|
| 1231 |
+
"group_size": 128,
|
| 1232 |
+
"mode": "affine"
|
| 1233 |
+
},
|
| 1234 |
+
"model.layers.59.block_sparse_moe.switch_mlp.down_proj": {
|
| 1235 |
+
"bits": 6,
|
| 1236 |
+
"group_size": 64,
|
| 1237 |
+
"mode": "affine"
|
| 1238 |
+
},
|
| 1239 |
+
"model.layers.56.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1240 |
+
"bits": 6,
|
| 1241 |
+
"group_size": 64,
|
| 1242 |
+
"mode": "affine"
|
| 1243 |
+
},
|
| 1244 |
+
"model.layers.8.self_attn.k_proj": {
|
| 1245 |
+
"bits": 8,
|
| 1246 |
+
"group_size": 128,
|
| 1247 |
+
"mode": "affine"
|
| 1248 |
+
},
|
| 1249 |
+
"model.layers.11.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1250 |
+
"bits": 6,
|
| 1251 |
+
"group_size": 64,
|
| 1252 |
+
"mode": "affine"
|
| 1253 |
+
},
|
| 1254 |
+
"model.layers.23.self_attn.k_proj": {
|
| 1255 |
+
"bits": 8,
|
| 1256 |
+
"group_size": 128,
|
| 1257 |
+
"mode": "affine"
|
| 1258 |
+
},
|
| 1259 |
+
"model.layers.22.self_attn.q_proj": {
|
| 1260 |
+
"bits": 8,
|
| 1261 |
+
"group_size": 128,
|
| 1262 |
+
"mode": "affine"
|
| 1263 |
+
},
|
| 1264 |
+
"model.layers.15.self_attn.o_proj": {
|
| 1265 |
+
"bits": 8,
|
| 1266 |
+
"group_size": 128,
|
| 1267 |
+
"mode": "affine"
|
| 1268 |
+
},
|
| 1269 |
+
"model.layers.28.self_attn.k_proj": {
|
| 1270 |
+
"bits": 8,
|
| 1271 |
+
"group_size": 128,
|
| 1272 |
+
"mode": "affine"
|
| 1273 |
+
},
|
| 1274 |
+
"model.layers.31.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1275 |
+
"bits": 6,
|
| 1276 |
+
"group_size": 64,
|
| 1277 |
+
"mode": "affine"
|
| 1278 |
+
},
|
| 1279 |
+
"model.layers.14.self_attn.k_proj": {
|
| 1280 |
+
"bits": 8,
|
| 1281 |
+
"group_size": 128,
|
| 1282 |
+
"mode": "affine"
|
| 1283 |
+
},
|
| 1284 |
+
"model.layers.44.self_attn.o_proj": {
|
| 1285 |
+
"bits": 8,
|
| 1286 |
+
"group_size": 128,
|
| 1287 |
+
"mode": "affine"
|
| 1288 |
+
},
|
| 1289 |
+
"model.layers.17.self_attn.q_proj": {
|
| 1290 |
+
"bits": 8,
|
| 1291 |
+
"group_size": 128,
|
| 1292 |
+
"mode": "affine"
|
| 1293 |
+
},
|
| 1294 |
+
"model.layers.14.self_attn.q_proj": {
|
| 1295 |
+
"bits": 8,
|
| 1296 |
+
"group_size": 128,
|
| 1297 |
+
"mode": "affine"
|
| 1298 |
+
},
|
| 1299 |
+
"model.layers.11.self_attn.k_proj": {
|
| 1300 |
+
"bits": 8,
|
| 1301 |
+
"group_size": 128,
|
| 1302 |
+
"mode": "affine"
|
| 1303 |
+
},
|
| 1304 |
+
"model.layers.19.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1305 |
+
"bits": 6,
|
| 1306 |
+
"group_size": 64,
|
| 1307 |
+
"mode": "affine"
|
| 1308 |
+
},
|
| 1309 |
+
"model.layers.6.self_attn.q_proj": {
|
| 1310 |
+
"bits": 8,
|
| 1311 |
+
"group_size": 128,
|
| 1312 |
+
"mode": "affine"
|
| 1313 |
+
},
|
| 1314 |
+
"model.layers.30.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1315 |
+
"bits": 6,
|
| 1316 |
+
"group_size": 64,
|
| 1317 |
+
"mode": "affine"
|
| 1318 |
+
},
|
| 1319 |
+
"model.layers.15.self_attn.q_proj": {
|
| 1320 |
+
"bits": 8,
|
| 1321 |
+
"group_size": 128,
|
| 1322 |
+
"mode": "affine"
|
| 1323 |
+
},
|
| 1324 |
+
"model.layers.14.block_sparse_moe.switch_mlp.up_proj": {
|
| 1325 |
+
"bits": 6,
|
| 1326 |
+
"group_size": 64,
|
| 1327 |
+
"mode": "affine"
|
| 1328 |
+
},
|
| 1329 |
+
"model.layers.16.self_attn.o_proj": {
|
| 1330 |
+
"bits": 8,
|
| 1331 |
+
"group_size": 128,
|
| 1332 |
+
"mode": "affine"
|
| 1333 |
+
},
|
| 1334 |
+
"model.layers.30.block_sparse_moe.switch_mlp.up_proj": {
|
| 1335 |
+
"bits": 6,
|
| 1336 |
+
"group_size": 64,
|
| 1337 |
+
"mode": "affine"
|
| 1338 |
+
},
|
| 1339 |
+
"model.layers.3.block_sparse_moe.switch_mlp.up_proj": {
|
| 1340 |
+
"bits": 6,
|
| 1341 |
+
"group_size": 64,
|
| 1342 |
+
"mode": "affine"
|
| 1343 |
+
},
|
| 1344 |
+
"model.layers.18.self_attn.v_proj": {
|
| 1345 |
+
"bits": 8,
|
| 1346 |
+
"group_size": 128,
|
| 1347 |
+
"mode": "affine"
|
| 1348 |
+
},
|
| 1349 |
+
"model.layers.28.block_sparse_moe.switch_mlp.down_proj": {
|
| 1350 |
+
"bits": 6,
|
| 1351 |
+
"group_size": 64,
|
| 1352 |
+
"mode": "affine"
|
| 1353 |
+
},
|
| 1354 |
+
"model.layers.44.block_sparse_moe.switch_mlp.up_proj": {
|
| 1355 |
+
"bits": 6,
|
| 1356 |
+
"group_size": 64,
|
| 1357 |
+
"mode": "affine"
|
| 1358 |
+
},
|
| 1359 |
+
"model.layers.58.self_attn.o_proj": {
|
| 1360 |
+
"bits": 8,
|
| 1361 |
+
"group_size": 128,
|
| 1362 |
+
"mode": "affine"
|
| 1363 |
+
},
|
| 1364 |
+
"model.layers.23.self_attn.v_proj": {
|
| 1365 |
+
"bits": 8,
|
| 1366 |
+
"group_size": 128,
|
| 1367 |
+
"mode": "affine"
|
| 1368 |
+
},
|
| 1369 |
+
"model.layers.2.self_attn.k_proj": {
|
| 1370 |
+
"bits": 8,
|
| 1371 |
+
"group_size": 128,
|
| 1372 |
+
"mode": "affine"
|
| 1373 |
+
},
|
| 1374 |
+
"model.layers.21.block_sparse_moe.switch_mlp.down_proj": {
|
| 1375 |
+
"bits": 6,
|
| 1376 |
+
"group_size": 64,
|
| 1377 |
+
"mode": "affine"
|
| 1378 |
+
},
|
| 1379 |
+
"model.layers.36.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1380 |
+
"bits": 6,
|
| 1381 |
+
"group_size": 64,
|
| 1382 |
+
"mode": "affine"
|
| 1383 |
+
},
|
| 1384 |
+
"model.layers.21.self_attn.k_proj": {
|
| 1385 |
+
"bits": 8,
|
| 1386 |
+
"group_size": 128,
|
| 1387 |
+
"mode": "affine"
|
| 1388 |
+
},
|
| 1389 |
+
"model.layers.25.self_attn.v_proj": {
|
| 1390 |
+
"bits": 8,
|
| 1391 |
+
"group_size": 128,
|
| 1392 |
+
"mode": "affine"
|
| 1393 |
+
},
|
| 1394 |
+
"model.layers.37.block_sparse_moe.switch_mlp.down_proj": {
|
| 1395 |
+
"bits": 6,
|
| 1396 |
+
"group_size": 64,
|
| 1397 |
+
"mode": "affine"
|
| 1398 |
+
},
|
| 1399 |
+
"model.layers.16.block_sparse_moe.switch_mlp.up_proj": {
|
| 1400 |
+
"bits": 6,
|
| 1401 |
+
"group_size": 64,
|
| 1402 |
+
"mode": "affine"
|
| 1403 |
+
},
|
| 1404 |
+
"model.layers.52.self_attn.v_proj": {
|
| 1405 |
+
"bits": 8,
|
| 1406 |
+
"group_size": 128,
|
| 1407 |
+
"mode": "affine"
|
| 1408 |
+
},
|
| 1409 |
+
"model.layers.46.block_sparse_moe.switch_mlp.up_proj": {
|
| 1410 |
+
"bits": 6,
|
| 1411 |
+
"group_size": 64,
|
| 1412 |
+
"mode": "affine"
|
| 1413 |
+
},
|
| 1414 |
+
"model.layers.31.self_attn.k_proj": {
|
| 1415 |
+
"bits": 8,
|
| 1416 |
+
"group_size": 128,
|
| 1417 |
+
"mode": "affine"
|
| 1418 |
+
},
|
| 1419 |
+
"model.layers.33.self_attn.q_proj": {
|
| 1420 |
+
"bits": 8,
|
| 1421 |
+
"group_size": 128,
|
| 1422 |
+
"mode": "affine"
|
| 1423 |
+
},
|
| 1424 |
+
"model.layers.31.self_attn.v_proj": {
|
| 1425 |
+
"bits": 8,
|
| 1426 |
+
"group_size": 128,
|
| 1427 |
+
"mode": "affine"
|
| 1428 |
+
},
|
| 1429 |
+
"model.layers.40.self_attn.o_proj": {
|
| 1430 |
+
"bits": 8,
|
| 1431 |
+
"group_size": 128,
|
| 1432 |
+
"mode": "affine"
|
| 1433 |
+
},
|
| 1434 |
+
"model.layers.50.self_attn.v_proj": {
|
| 1435 |
+
"bits": 8,
|
| 1436 |
+
"group_size": 128,
|
| 1437 |
+
"mode": "affine"
|
| 1438 |
+
},
|
| 1439 |
+
"model.layers.20.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1440 |
+
"bits": 6,
|
| 1441 |
+
"group_size": 64,
|
| 1442 |
+
"mode": "affine"
|
| 1443 |
+
},
|
| 1444 |
+
"model.layers.16.self_attn.v_proj": {
|
| 1445 |
+
"bits": 8,
|
| 1446 |
+
"group_size": 128,
|
| 1447 |
+
"mode": "affine"
|
| 1448 |
+
},
|
| 1449 |
+
"model.layers.36.self_attn.v_proj": {
|
| 1450 |
+
"bits": 8,
|
| 1451 |
+
"group_size": 128,
|
| 1452 |
+
"mode": "affine"
|
| 1453 |
+
},
|
| 1454 |
+
"model.layers.29.self_attn.q_proj": {
|
| 1455 |
+
"bits": 8,
|
| 1456 |
+
"group_size": 128,
|
| 1457 |
+
"mode": "affine"
|
| 1458 |
+
},
|
| 1459 |
+
"model.layers.31.block_sparse_moe.switch_mlp.up_proj": {
|
| 1460 |
+
"bits": 6,
|
| 1461 |
+
"group_size": 64,
|
| 1462 |
+
"mode": "affine"
|
| 1463 |
+
},
|
| 1464 |
+
"model.layers.1.self_attn.k_proj": {
|
| 1465 |
+
"bits": 8,
|
| 1466 |
+
"group_size": 128,
|
| 1467 |
+
"mode": "affine"
|
| 1468 |
+
},
|
| 1469 |
+
"model.layers.15.block_sparse_moe.switch_mlp.down_proj": {
|
| 1470 |
+
"bits": 6,
|
| 1471 |
+
"group_size": 64,
|
| 1472 |
+
"mode": "affine"
|
| 1473 |
+
},
|
| 1474 |
+
"model.layers.3.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1475 |
+
"bits": 6,
|
| 1476 |
+
"group_size": 64,
|
| 1477 |
+
"mode": "affine"
|
| 1478 |
+
},
|
| 1479 |
+
"model.layers.35.self_attn.k_proj": {
|
| 1480 |
+
"bits": 8,
|
| 1481 |
+
"group_size": 128,
|
| 1482 |
+
"mode": "affine"
|
| 1483 |
+
},
|
| 1484 |
+
"model.layers.42.self_attn.q_proj": {
|
| 1485 |
+
"bits": 8,
|
| 1486 |
+
"group_size": 128,
|
| 1487 |
+
"mode": "affine"
|
| 1488 |
+
},
|
| 1489 |
+
"model.layers.13.block_sparse_moe.switch_mlp.down_proj": {
|
| 1490 |
+
"bits": 6,
|
| 1491 |
+
"group_size": 64,
|
| 1492 |
+
"mode": "affine"
|
| 1493 |
+
},
|
| 1494 |
+
"model.layers.42.block_sparse_moe.switch_mlp.down_proj": {
|
| 1495 |
+
"bits": 6,
|
| 1496 |
+
"group_size": 64,
|
| 1497 |
+
"mode": "affine"
|
| 1498 |
+
},
|
| 1499 |
+
"model.layers.46.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1500 |
+
"bits": 6,
|
| 1501 |
+
"group_size": 64,
|
| 1502 |
+
"mode": "affine"
|
| 1503 |
+
},
|
| 1504 |
+
"model.layers.26.block_sparse_moe.switch_mlp.down_proj": {
|
| 1505 |
+
"bits": 6,
|
| 1506 |
+
"group_size": 64,
|
| 1507 |
+
"mode": "affine"
|
| 1508 |
+
},
|
| 1509 |
+
"model.layers.27.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1510 |
+
"bits": 6,
|
| 1511 |
+
"group_size": 64,
|
| 1512 |
+
"mode": "affine"
|
| 1513 |
+
},
|
| 1514 |
+
"model.layers.17.self_attn.v_proj": {
|
| 1515 |
+
"bits": 8,
|
| 1516 |
+
"group_size": 128,
|
| 1517 |
+
"mode": "affine"
|
| 1518 |
+
},
|
| 1519 |
+
"model.layers.45.self_attn.k_proj": {
|
| 1520 |
+
"bits": 8,
|
| 1521 |
+
"group_size": 128,
|
| 1522 |
+
"mode": "affine"
|
| 1523 |
+
},
|
| 1524 |
+
"model.layers.15.block_sparse_moe.switch_mlp.up_proj": {
|
| 1525 |
+
"bits": 6,
|
| 1526 |
+
"group_size": 64,
|
| 1527 |
+
"mode": "affine"
|
| 1528 |
+
},
|
| 1529 |
+
"model.layers.10.block_sparse_moe.switch_mlp.up_proj": {
|
| 1530 |
+
"bits": 6,
|
| 1531 |
+
"group_size": 64,
|
| 1532 |
+
"mode": "affine"
|
| 1533 |
+
},
|
| 1534 |
+
"model.layers.48.self_attn.k_proj": {
|
| 1535 |
+
"bits": 8,
|
| 1536 |
+
"group_size": 128,
|
| 1537 |
+
"mode": "affine"
|
| 1538 |
+
},
|
| 1539 |
+
"model.embed_tokens": {
|
| 1540 |
+
"bits": 8,
|
| 1541 |
+
"group_size": 64,
|
| 1542 |
+
"mode": "affine"
|
| 1543 |
+
},
|
| 1544 |
+
"model.layers.40.block_sparse_moe.switch_mlp.down_proj": {
|
| 1545 |
+
"bits": 6,
|
| 1546 |
+
"group_size": 64,
|
| 1547 |
+
"mode": "affine"
|
| 1548 |
+
},
|
| 1549 |
+
"model.layers.15.self_attn.v_proj": {
|
| 1550 |
+
"bits": 8,
|
| 1551 |
+
"group_size": 128,
|
| 1552 |
+
"mode": "affine"
|
| 1553 |
+
},
|
| 1554 |
+
"model.layers.47.self_attn.k_proj": {
|
| 1555 |
+
"bits": 8,
|
| 1556 |
+
"group_size": 128,
|
| 1557 |
+
"mode": "affine"
|
| 1558 |
+
},
|
| 1559 |
+
"model.layers.29.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1560 |
+
"bits": 6,
|
| 1561 |
+
"group_size": 64,
|
| 1562 |
+
"mode": "affine"
|
| 1563 |
+
},
|
| 1564 |
+
"model.layers.45.self_attn.v_proj": {
|
| 1565 |
+
"bits": 8,
|
| 1566 |
+
"group_size": 128,
|
| 1567 |
+
"mode": "affine"
|
| 1568 |
+
},
|
| 1569 |
+
"model.layers.33.self_attn.k_proj": {
|
| 1570 |
+
"bits": 8,
|
| 1571 |
+
"group_size": 128,
|
| 1572 |
+
"mode": "affine"
|
| 1573 |
+
},
|
| 1574 |
+
"model.layers.0.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1575 |
+
"bits": 6,
|
| 1576 |
+
"group_size": 64,
|
| 1577 |
+
"mode": "affine"
|
| 1578 |
+
},
|
| 1579 |
+
"model.layers.42.block_sparse_moe.switch_mlp.up_proj": {
|
| 1580 |
+
"bits": 6,
|
| 1581 |
+
"group_size": 64,
|
| 1582 |
+
"mode": "affine"
|
| 1583 |
+
},
|
| 1584 |
+
"model.layers.35.block_sparse_moe.switch_mlp.up_proj": {
|
| 1585 |
+
"bits": 6,
|
| 1586 |
+
"group_size": 64,
|
| 1587 |
+
"mode": "affine"
|
| 1588 |
+
},
|
| 1589 |
+
"model.layers.7.self_attn.q_proj": {
|
| 1590 |
+
"bits": 8,
|
| 1591 |
+
"group_size": 128,
|
| 1592 |
+
"mode": "affine"
|
| 1593 |
+
},
|
| 1594 |
+
"model.layers.59.block_sparse_moe.switch_mlp.up_proj": {
|
| 1595 |
+
"bits": 6,
|
| 1596 |
+
"group_size": 64,
|
| 1597 |
+
"mode": "affine"
|
| 1598 |
+
},
|
| 1599 |
+
"model.layers.46.block_sparse_moe.switch_mlp.down_proj": {
|
| 1600 |
+
"bits": 6,
|
| 1601 |
+
"group_size": 64,
|
| 1602 |
+
"mode": "affine"
|
| 1603 |
+
},
|
| 1604 |
+
"model.layers.11.block_sparse_moe.switch_mlp.down_proj": {
|
| 1605 |
+
"bits": 6,
|
| 1606 |
+
"group_size": 64,
|
| 1607 |
+
"mode": "affine"
|
| 1608 |
+
},
|
| 1609 |
+
"model.layers.5.block_sparse_moe.switch_mlp.down_proj": {
|
| 1610 |
+
"bits": 6,
|
| 1611 |
+
"group_size": 64,
|
| 1612 |
+
"mode": "affine"
|
| 1613 |
+
},
|
| 1614 |
+
"model.layers.12.block_sparse_moe.switch_mlp.up_proj": {
|
| 1615 |
+
"bits": 6,
|
| 1616 |
+
"group_size": 64,
|
| 1617 |
+
"mode": "affine"
|
| 1618 |
+
},
|
| 1619 |
+
"model.layers.56.block_sparse_moe.switch_mlp.up_proj": {
|
| 1620 |
+
"bits": 6,
|
| 1621 |
+
"group_size": 64,
|
| 1622 |
+
"mode": "affine"
|
| 1623 |
+
},
|
| 1624 |
+
"model.layers.45.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1625 |
+
"bits": 6,
|
| 1626 |
+
"group_size": 64,
|
| 1627 |
+
"mode": "affine"
|
| 1628 |
+
},
|
| 1629 |
+
"model.layers.3.self_attn.k_proj": {
|
| 1630 |
+
"bits": 8,
|
| 1631 |
+
"group_size": 128,
|
| 1632 |
+
"mode": "affine"
|
| 1633 |
+
},
|
| 1634 |
+
"model.layers.61.self_attn.v_proj": {
|
| 1635 |
+
"bits": 8,
|
| 1636 |
+
"group_size": 128,
|
| 1637 |
+
"mode": "affine"
|
| 1638 |
+
},
|
| 1639 |
+
"model.layers.45.block_sparse_moe.switch_mlp.down_proj": {
|
| 1640 |
+
"bits": 6,
|
| 1641 |
+
"group_size": 64,
|
| 1642 |
+
"mode": "affine"
|
| 1643 |
+
},
|
| 1644 |
+
"model.layers.57.self_attn.q_proj": {
|
| 1645 |
+
"bits": 8,
|
| 1646 |
+
"group_size": 128,
|
| 1647 |
+
"mode": "affine"
|
| 1648 |
+
},
|
| 1649 |
+
"model.layers.26.block_sparse_moe.switch_mlp.up_proj": {
|
| 1650 |
+
"bits": 6,
|
| 1651 |
+
"group_size": 64,
|
| 1652 |
+
"mode": "affine"
|
| 1653 |
+
},
|
| 1654 |
+
"model.layers.49.self_attn.o_proj": {
|
| 1655 |
+
"bits": 8,
|
| 1656 |
+
"group_size": 128,
|
| 1657 |
+
"mode": "affine"
|
| 1658 |
+
},
|
| 1659 |
+
"model.layers.35.self_attn.v_proj": {
|
| 1660 |
+
"bits": 8,
|
| 1661 |
+
"group_size": 128,
|
| 1662 |
+
"mode": "affine"
|
| 1663 |
+
},
|
| 1664 |
+
"model.layers.3.self_attn.v_proj": {
|
| 1665 |
+
"bits": 8,
|
| 1666 |
+
"group_size": 128,
|
| 1667 |
+
"mode": "affine"
|
| 1668 |
+
},
|
| 1669 |
+
"model.layers.17.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1670 |
+
"bits": 6,
|
| 1671 |
+
"group_size": 64,
|
| 1672 |
+
"mode": "affine"
|
| 1673 |
+
},
|
| 1674 |
+
"model.layers.41.self_attn.v_proj": {
|
| 1675 |
+
"bits": 8,
|
| 1676 |
+
"group_size": 128,
|
| 1677 |
+
"mode": "affine"
|
| 1678 |
+
},
|
| 1679 |
+
"model.layers.40.self_attn.k_proj": {
|
| 1680 |
+
"bits": 8,
|
| 1681 |
+
"group_size": 128,
|
| 1682 |
+
"mode": "affine"
|
| 1683 |
+
},
|
| 1684 |
+
"model.layers.56.self_attn.o_proj": {
|
| 1685 |
+
"bits": 8,
|
| 1686 |
+
"group_size": 128,
|
| 1687 |
+
"mode": "affine"
|
| 1688 |
+
},
|
| 1689 |
+
"model.layers.38.self_attn.k_proj": {
|
| 1690 |
+
"bits": 8,
|
| 1691 |
+
"group_size": 128,
|
| 1692 |
+
"mode": "affine"
|
| 1693 |
+
},
|
| 1694 |
+
"model.layers.32.block_sparse_moe.switch_mlp.up_proj": {
|
| 1695 |
+
"bits": 6,
|
| 1696 |
+
"group_size": 64,
|
| 1697 |
+
"mode": "affine"
|
| 1698 |
+
},
|
| 1699 |
+
"model.layers.27.block_sparse_moe.switch_mlp.up_proj": {
|
| 1700 |
+
"bits": 6,
|
| 1701 |
+
"group_size": 64,
|
| 1702 |
+
"mode": "affine"
|
| 1703 |
+
},
|
| 1704 |
+
"model.layers.32.self_attn.k_proj": {
|
| 1705 |
+
"bits": 8,
|
| 1706 |
+
"group_size": 128,
|
| 1707 |
+
"mode": "affine"
|
| 1708 |
+
},
|
| 1709 |
+
"model.layers.43.self_attn.v_proj": {
|
| 1710 |
+
"bits": 8,
|
| 1711 |
+
"group_size": 128,
|
| 1712 |
+
"mode": "affine"
|
| 1713 |
+
},
|
| 1714 |
+
"model.layers.43.self_attn.o_proj": {
|
| 1715 |
+
"bits": 8,
|
| 1716 |
+
"group_size": 128,
|
| 1717 |
+
"mode": "affine"
|
| 1718 |
+
},
|
| 1719 |
+
"model.layers.9.self_attn.q_proj": {
|
| 1720 |
+
"bits": 8,
|
| 1721 |
+
"group_size": 128,
|
| 1722 |
+
"mode": "affine"
|
| 1723 |
+
},
|
| 1724 |
+
"model.layers.58.self_attn.q_proj": {
|
| 1725 |
+
"bits": 8,
|
| 1726 |
+
"group_size": 128,
|
| 1727 |
+
"mode": "affine"
|
| 1728 |
+
},
|
| 1729 |
+
"model.layers.15.self_attn.k_proj": {
|
| 1730 |
+
"bits": 8,
|
| 1731 |
+
"group_size": 128,
|
| 1732 |
+
"mode": "affine"
|
| 1733 |
+
},
|
| 1734 |
+
"model.layers.33.block_sparse_moe.switch_mlp.down_proj": {
|
| 1735 |
+
"bits": 6,
|
| 1736 |
+
"group_size": 64,
|
| 1737 |
+
"mode": "affine"
|
| 1738 |
+
},
|
| 1739 |
+
"model.layers.22.self_attn.v_proj": {
|
| 1740 |
+
"bits": 8,
|
| 1741 |
+
"group_size": 128,
|
| 1742 |
+
"mode": "affine"
|
| 1743 |
+
},
|
| 1744 |
+
"model.layers.8.self_attn.v_proj": {
|
| 1745 |
+
"bits": 8,
|
| 1746 |
+
"group_size": 128,
|
| 1747 |
+
"mode": "affine"
|
| 1748 |
+
},
|
| 1749 |
+
"model.layers.22.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1750 |
+
"bits": 6,
|
| 1751 |
+
"group_size": 64,
|
| 1752 |
+
"mode": "affine"
|
| 1753 |
+
},
|
| 1754 |
+
"model.layers.32.self_attn.o_proj": {
|
| 1755 |
+
"bits": 8,
|
| 1756 |
+
"group_size": 128,
|
| 1757 |
+
"mode": "affine"
|
| 1758 |
+
},
|
| 1759 |
+
"model.layers.34.block_sparse_moe.switch_mlp.down_proj": {
|
| 1760 |
+
"bits": 6,
|
| 1761 |
+
"group_size": 64,
|
| 1762 |
+
"mode": "affine"
|
| 1763 |
+
},
|
| 1764 |
+
"model.layers.6.self_attn.v_proj": {
|
| 1765 |
+
"bits": 8,
|
| 1766 |
+
"group_size": 128,
|
| 1767 |
+
"mode": "affine"
|
| 1768 |
+
},
|
| 1769 |
+
"model.layers.12.block_sparse_moe.switch_mlp.down_proj": {
|
| 1770 |
+
"bits": 6,
|
| 1771 |
+
"group_size": 64,
|
| 1772 |
+
"mode": "affine"
|
| 1773 |
+
},
|
| 1774 |
+
"model.layers.26.self_attn.q_proj": {
|
| 1775 |
+
"bits": 8,
|
| 1776 |
+
"group_size": 128,
|
| 1777 |
+
"mode": "affine"
|
| 1778 |
+
},
|
| 1779 |
+
"model.layers.5.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1780 |
+
"bits": 6,
|
| 1781 |
+
"group_size": 64,
|
| 1782 |
+
"mode": "affine"
|
| 1783 |
+
},
|
| 1784 |
+
"model.layers.53.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1785 |
+
"bits": 6,
|
| 1786 |
+
"group_size": 64,
|
| 1787 |
+
"mode": "affine"
|
| 1788 |
+
},
|
| 1789 |
+
"model.layers.4.self_attn.o_proj": {
|
| 1790 |
+
"bits": 8,
|
| 1791 |
+
"group_size": 128,
|
| 1792 |
+
"mode": "affine"
|
| 1793 |
+
},
|
| 1794 |
+
"model.layers.38.self_attn.v_proj": {
|
| 1795 |
+
"bits": 8,
|
| 1796 |
+
"group_size": 128,
|
| 1797 |
+
"mode": "affine"
|
| 1798 |
+
},
|
| 1799 |
+
"model.layers.53.block_sparse_moe.switch_mlp.down_proj": {
|
| 1800 |
+
"bits": 6,
|
| 1801 |
+
"group_size": 64,
|
| 1802 |
+
"mode": "affine"
|
| 1803 |
+
},
|
| 1804 |
+
"model.layers.1.self_attn.o_proj": {
|
| 1805 |
+
"bits": 8,
|
| 1806 |
+
"group_size": 128,
|
| 1807 |
+
"mode": "affine"
|
| 1808 |
+
},
|
| 1809 |
+
"model.layers.8.block_sparse_moe.switch_mlp.down_proj": {
|
| 1810 |
+
"bits": 6,
|
| 1811 |
+
"group_size": 64,
|
| 1812 |
+
"mode": "affine"
|
| 1813 |
+
},
|
| 1814 |
+
"model.layers.35.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1815 |
+
"bits": 6,
|
| 1816 |
+
"group_size": 64,
|
| 1817 |
+
"mode": "affine"
|
| 1818 |
+
},
|
| 1819 |
+
"model.layers.5.self_attn.q_proj": {
|
| 1820 |
+
"bits": 8,
|
| 1821 |
+
"group_size": 128,
|
| 1822 |
+
"mode": "affine"
|
| 1823 |
+
},
|
| 1824 |
+
"model.layers.10.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1825 |
+
"bits": 6,
|
| 1826 |
+
"group_size": 64,
|
| 1827 |
+
"mode": "affine"
|
| 1828 |
+
},
|
| 1829 |
+
"model.layers.26.self_attn.v_proj": {
|
| 1830 |
+
"bits": 8,
|
| 1831 |
+
"group_size": 128,
|
| 1832 |
+
"mode": "affine"
|
| 1833 |
+
},
|
| 1834 |
+
"model.layers.37.self_attn.o_proj": {
|
| 1835 |
+
"bits": 8,
|
| 1836 |
+
"group_size": 128,
|
| 1837 |
+
"mode": "affine"
|
| 1838 |
+
},
|
| 1839 |
+
"model.layers.11.self_attn.o_proj": {
|
| 1840 |
+
"bits": 8,
|
| 1841 |
+
"group_size": 128,
|
| 1842 |
+
"mode": "affine"
|
| 1843 |
+
},
|
| 1844 |
+
"model.layers.29.self_attn.o_proj": {
|
| 1845 |
+
"bits": 8,
|
| 1846 |
+
"group_size": 128,
|
| 1847 |
+
"mode": "affine"
|
| 1848 |
+
},
|
| 1849 |
+
"model.layers.56.self_attn.q_proj": {
|
| 1850 |
+
"bits": 8,
|
| 1851 |
+
"group_size": 128,
|
| 1852 |
+
"mode": "affine"
|
| 1853 |
+
},
|
| 1854 |
+
"model.layers.13.self_attn.v_proj": {
|
| 1855 |
+
"bits": 8,
|
| 1856 |
+
"group_size": 128,
|
| 1857 |
+
"mode": "affine"
|
| 1858 |
+
},
|
| 1859 |
+
"model.layers.48.self_attn.v_proj": {
|
| 1860 |
+
"bits": 8,
|
| 1861 |
+
"group_size": 128,
|
| 1862 |
+
"mode": "affine"
|
| 1863 |
+
},
|
| 1864 |
+
"model.layers.22.self_attn.o_proj": {
|
| 1865 |
+
"bits": 8,
|
| 1866 |
+
"group_size": 128,
|
| 1867 |
+
"mode": "affine"
|
| 1868 |
+
},
|
| 1869 |
+
"model.layers.36.self_attn.k_proj": {
|
| 1870 |
+
"bits": 8,
|
| 1871 |
+
"group_size": 128,
|
| 1872 |
+
"mode": "affine"
|
| 1873 |
+
},
|
| 1874 |
+
"model.layers.9.block_sparse_moe.switch_mlp.up_proj": {
|
| 1875 |
+
"bits": 6,
|
| 1876 |
+
"group_size": 64,
|
| 1877 |
+
"mode": "affine"
|
| 1878 |
+
},
|
| 1879 |
+
"model.layers.9.self_attn.o_proj": {
|
| 1880 |
+
"bits": 8,
|
| 1881 |
+
"group_size": 128,
|
| 1882 |
+
"mode": "affine"
|
| 1883 |
+
},
|
| 1884 |
+
"model.layers.44.self_attn.v_proj": {
|
| 1885 |
+
"bits": 8,
|
| 1886 |
+
"group_size": 128,
|
| 1887 |
+
"mode": "affine"
|
| 1888 |
+
},
|
| 1889 |
+
"model.layers.26.self_attn.k_proj": {
|
| 1890 |
+
"bits": 8,
|
| 1891 |
+
"group_size": 128,
|
| 1892 |
+
"mode": "affine"
|
| 1893 |
+
},
|
| 1894 |
+
"model.layers.19.self_attn.k_proj": {
|
| 1895 |
+
"bits": 8,
|
| 1896 |
+
"group_size": 128,
|
| 1897 |
+
"mode": "affine"
|
| 1898 |
+
},
|
| 1899 |
+
"model.layers.57.self_attn.k_proj": {
|
| 1900 |
+
"bits": 8,
|
| 1901 |
+
"group_size": 128,
|
| 1902 |
+
"mode": "affine"
|
| 1903 |
+
},
|
| 1904 |
+
"model.layers.6.block_sparse_moe.switch_mlp.up_proj": {
|
| 1905 |
+
"bits": 6,
|
| 1906 |
+
"group_size": 64,
|
| 1907 |
+
"mode": "affine"
|
| 1908 |
+
},
|
| 1909 |
+
"model.layers.1.block_sparse_moe.switch_mlp.down_proj": {
|
| 1910 |
+
"bits": 6,
|
| 1911 |
+
"group_size": 64,
|
| 1912 |
+
"mode": "affine"
|
| 1913 |
+
},
|
| 1914 |
+
"model.layers.20.self_attn.v_proj": {
|
| 1915 |
+
"bits": 8,
|
| 1916 |
+
"group_size": 128,
|
| 1917 |
+
"mode": "affine"
|
| 1918 |
+
},
|
| 1919 |
+
"model.layers.14.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1920 |
+
"bits": 6,
|
| 1921 |
+
"group_size": 64,
|
| 1922 |
+
"mode": "affine"
|
| 1923 |
+
},
|
| 1924 |
+
"model.layers.50.block_sparse_moe.switch_mlp.up_proj": {
|
| 1925 |
+
"bits": 6,
|
| 1926 |
+
"group_size": 64,
|
| 1927 |
+
"mode": "affine"
|
| 1928 |
+
},
|
| 1929 |
+
"model.layers.24.block_sparse_moe.switch_mlp.down_proj": {
|
| 1930 |
+
"bits": 6,
|
| 1931 |
+
"group_size": 64,
|
| 1932 |
+
"mode": "affine"
|
| 1933 |
+
},
|
| 1934 |
+
"model.layers.35.self_attn.o_proj": {
|
| 1935 |
+
"bits": 8,
|
| 1936 |
+
"group_size": 128,
|
| 1937 |
+
"mode": "affine"
|
| 1938 |
+
},
|
| 1939 |
+
"model.layers.51.self_attn.v_proj": {
|
| 1940 |
+
"bits": 8,
|
| 1941 |
+
"group_size": 128,
|
| 1942 |
+
"mode": "affine"
|
| 1943 |
+
},
|
| 1944 |
+
"model.layers.41.block_sparse_moe.switch_mlp.gate_proj": {
|
| 1945 |
+
"bits": 6,
|
| 1946 |
+
"group_size": 64,
|
| 1947 |
+
"mode": "affine"
|
| 1948 |
+
},
|
| 1949 |
+
"model.layers.36.self_attn.o_proj": {
|
| 1950 |
+
"bits": 8,
|
| 1951 |
+
"group_size": 128,
|
| 1952 |
+
"mode": "affine"
|
| 1953 |
+
},
|
| 1954 |
+
"model.layers.18.block_sparse_moe.switch_mlp.up_proj": {
|
| 1955 |
+
"bits": 6,
|
| 1956 |
+
"group_size": 64,
|
| 1957 |
+
"mode": "affine"
|
| 1958 |
+
},
|
| 1959 |
+
"model.layers.0.self_attn.v_proj": {
|
| 1960 |
+
"bits": 8,
|
| 1961 |
+
"group_size": 128,
|
| 1962 |
+
"mode": "affine"
|
| 1963 |
+
},
|
| 1964 |
+
"model.layers.38.block_sparse_moe.switch_mlp.up_proj": {
|
| 1965 |
+
"bits": 6,
|
| 1966 |
+
"group_size": 64,
|
| 1967 |
+
"mode": "affine"
|
| 1968 |
+
},
|
| 1969 |
+
"model.layers.0.block_sparse_moe.switch_mlp.up_proj": {
|
| 1970 |
+
"bits": 6,
|
| 1971 |
+
"group_size": 64,
|
| 1972 |
+
"mode": "affine"
|
| 1973 |
+
},
|
| 1974 |
+
"model.layers.61.block_sparse_moe.switch_mlp.down_proj": {
|
| 1975 |
+
"bits": 6,
|
| 1976 |
+
"group_size": 64,
|
| 1977 |
+
"mode": "affine"
|
| 1978 |
+
},
|
| 1979 |
+
"model.layers.21.self_attn.q_proj": {
|
| 1980 |
+
"bits": 8,
|
| 1981 |
+
"group_size": 128,
|
| 1982 |
+
"mode": "affine"
|
| 1983 |
+
},
|
| 1984 |
+
"model.layers.12.self_attn.q_proj": {
|
| 1985 |
+
"bits": 8,
|
| 1986 |
+
"group_size": 128,
|
| 1987 |
+
"mode": "affine"
|
| 1988 |
+
},
|
| 1989 |
+
"model.layers.44.self_attn.q_proj": {
|
| 1990 |
+
"bits": 8,
|
| 1991 |
+
"group_size": 128,
|
| 1992 |
+
"mode": "affine"
|
| 1993 |
+
},
|
| 1994 |
+
"model.layers.54.block_sparse_moe.switch_mlp.up_proj": {
|
| 1995 |
+
"bits": 6,
|
| 1996 |
+
"group_size": 64,
|
| 1997 |
+
"mode": "affine"
|
| 1998 |
+
},
|
| 1999 |
+
"model.layers.27.self_attn.k_proj": {
|
| 2000 |
+
"bits": 8,
|
| 2001 |
+
"group_size": 128,
|
| 2002 |
+
"mode": "affine"
|
| 2003 |
+
},
|
| 2004 |
+
"model.layers.57.self_attn.o_proj": {
|
| 2005 |
+
"bits": 8,
|
| 2006 |
+
"group_size": 128,
|
| 2007 |
+
"mode": "affine"
|
| 2008 |
+
},
|
| 2009 |
+
"model.layers.61.self_attn.o_proj": {
|
| 2010 |
+
"bits": 8,
|
| 2011 |
+
"group_size": 128,
|
| 2012 |
+
"mode": "affine"
|
| 2013 |
+
},
|
| 2014 |
+
"model.layers.45.self_attn.q_proj": {
|
| 2015 |
+
"bits": 8,
|
| 2016 |
+
"group_size": 128,
|
| 2017 |
+
"mode": "affine"
|
| 2018 |
+
},
|
| 2019 |
+
"model.layers.47.block_sparse_moe.switch_mlp.gate_proj": {
|
| 2020 |
+
"bits": 6,
|
| 2021 |
+
"group_size": 64,
|
| 2022 |
+
"mode": "affine"
|
| 2023 |
+
},
|
| 2024 |
+
"model.layers.1.block_sparse_moe.switch_mlp.up_proj": {
|
| 2025 |
+
"bits": 6,
|
| 2026 |
+
"group_size": 64,
|
| 2027 |
+
"mode": "affine"
|
| 2028 |
+
},
|
| 2029 |
+
"model.layers.39.self_attn.k_proj": {
|
| 2030 |
+
"bits": 8,
|
| 2031 |
+
"group_size": 128,
|
| 2032 |
+
"mode": "affine"
|
| 2033 |
+
},
|
| 2034 |
+
"model.layers.48.block_sparse_moe.switch_mlp.gate_proj": {
|
| 2035 |
+
"bits": 6,
|
| 2036 |
+
"group_size": 64,
|
| 2037 |
+
"mode": "affine"
|
| 2038 |
+
},
|
| 2039 |
+
"model.layers.41.self_attn.q_proj": {
|
| 2040 |
+
"bits": 8,
|
| 2041 |
+
"group_size": 128,
|
| 2042 |
+
"mode": "affine"
|
| 2043 |
+
},
|
| 2044 |
+
"model.layers.60.block_sparse_moe.switch_mlp.gate_proj": {
|
| 2045 |
+
"bits": 6,
|
| 2046 |
+
"group_size": 64,
|
| 2047 |
+
"mode": "affine"
|
| 2048 |
+
},
|
| 2049 |
+
"model.layers.32.block_sparse_moe.switch_mlp.gate_proj": {
|
| 2050 |
+
"bits": 6,
|
| 2051 |
+
"group_size": 64,
|
| 2052 |
+
"mode": "affine"
|
| 2053 |
+
},
|
| 2054 |
+
"model.layers.35.block_sparse_moe.switch_mlp.down_proj": {
|
| 2055 |
+
"bits": 6,
|
| 2056 |
+
"group_size": 64,
|
| 2057 |
+
"mode": "affine"
|
| 2058 |
+
},
|
| 2059 |
+
"model.layers.30.self_attn.v_proj": {
|
| 2060 |
+
"bits": 8,
|
| 2061 |
+
"group_size": 128,
|
| 2062 |
+
"mode": "affine"
|
| 2063 |
+
},
|
| 2064 |
+
"model.layers.6.self_attn.o_proj": {
|
| 2065 |
+
"bits": 8,
|
| 2066 |
+
"group_size": 128,
|
| 2067 |
+
"mode": "affine"
|
| 2068 |
+
},
|
| 2069 |
+
"model.layers.40.self_attn.q_proj": {
|
| 2070 |
+
"bits": 8,
|
| 2071 |
+
"group_size": 128,
|
| 2072 |
+
"mode": "affine"
|
| 2073 |
+
},
|
| 2074 |
+
"model.layers.60.self_attn.o_proj": {
|
| 2075 |
+
"bits": 8,
|
| 2076 |
+
"group_size": 128,
|
| 2077 |
+
"mode": "affine"
|
| 2078 |
+
},
|
| 2079 |
+
"model.layers.57.block_sparse_moe.switch_mlp.down_proj": {
|
| 2080 |
+
"bits": 6,
|
| 2081 |
+
"group_size": 64,
|
| 2082 |
+
"mode": "affine"
|
| 2083 |
+
},
|
| 2084 |
+
"model.layers.24.self_attn.v_proj": {
|
| 2085 |
+
"bits": 8,
|
| 2086 |
+
"group_size": 128,
|
| 2087 |
+
"mode": "affine"
|
| 2088 |
+
},
|
| 2089 |
+
"model.layers.50.self_attn.o_proj": {
|
| 2090 |
+
"bits": 8,
|
| 2091 |
+
"group_size": 128,
|
| 2092 |
+
"mode": "affine"
|
| 2093 |
+
},
|
| 2094 |
+
"model.layers.61.self_attn.q_proj": {
|
| 2095 |
+
"bits": 8,
|
| 2096 |
+
"group_size": 128,
|
| 2097 |
+
"mode": "affine"
|
| 2098 |
+
},
|
| 2099 |
+
"model.layers.20.block_sparse_moe.switch_mlp.up_proj": {
|
| 2100 |
+
"bits": 6,
|
| 2101 |
+
"group_size": 64,
|
| 2102 |
+
"mode": "affine"
|
| 2103 |
+
},
|
| 2104 |
+
"model.layers.7.block_sparse_moe.switch_mlp.gate_proj": {
|
| 2105 |
+
"bits": 6,
|
| 2106 |
+
"group_size": 64,
|
| 2107 |
+
"mode": "affine"
|
| 2108 |
+
},
|
| 2109 |
+
"model.layers.50.self_attn.q_proj": {
|
| 2110 |
+
"bits": 8,
|
| 2111 |
+
"group_size": 128,
|
| 2112 |
+
"mode": "affine"
|
| 2113 |
+
},
|
| 2114 |
+
"model.layers.14.self_attn.v_proj": {
|
| 2115 |
+
"bits": 8,
|
| 2116 |
+
"group_size": 128,
|
| 2117 |
+
"mode": "affine"
|
| 2118 |
+
},
|
| 2119 |
+
"model.layers.53.block_sparse_moe.switch_mlp.up_proj": {
|
| 2120 |
+
"bits": 6,
|
| 2121 |
+
"group_size": 64,
|
| 2122 |
+
"mode": "affine"
|
| 2123 |
+
},
|
| 2124 |
+
"model.layers.37.block_sparse_moe.switch_mlp.gate_proj": {
|
| 2125 |
+
"bits": 6,
|
| 2126 |
+
"group_size": 64,
|
| 2127 |
+
"mode": "affine"
|
| 2128 |
+
},
|
| 2129 |
+
"model.layers.24.self_attn.q_proj": {
|
| 2130 |
+
"bits": 8,
|
| 2131 |
+
"group_size": 128,
|
| 2132 |
+
"mode": "affine"
|
| 2133 |
+
},
|
| 2134 |
+
"model.layers.17.self_attn.k_proj": {
|
| 2135 |
+
"bits": 8,
|
| 2136 |
+
"group_size": 128,
|
| 2137 |
+
"mode": "affine"
|
| 2138 |
+
},
|
| 2139 |
+
"model.layers.59.self_attn.k_proj": {
|
| 2140 |
+
"bits": 8,
|
| 2141 |
+
"group_size": 128,
|
| 2142 |
+
"mode": "affine"
|
| 2143 |
+
},
|
| 2144 |
+
"model.layers.40.self_attn.v_proj": {
|
| 2145 |
+
"bits": 8,
|
| 2146 |
+
"group_size": 128,
|
| 2147 |
+
"mode": "affine"
|
| 2148 |
+
},
|
| 2149 |
+
"model.layers.42.self_attn.v_proj": {
|
| 2150 |
+
"bits": 8,
|
| 2151 |
+
"group_size": 128,
|
| 2152 |
+
"mode": "affine"
|
| 2153 |
+
},
|
| 2154 |
+
"model.layers.18.block_sparse_moe.switch_mlp.gate_proj": {
|
| 2155 |
+
"bits": 6,
|
| 2156 |
+
"group_size": 64,
|
| 2157 |
+
"mode": "affine"
|
| 2158 |
+
},
|
| 2159 |
+
"model.layers.50.self_attn.k_proj": {
|
| 2160 |
+
"bits": 8,
|
| 2161 |
+
"group_size": 128,
|
| 2162 |
+
"mode": "affine"
|
| 2163 |
+
},
|
| 2164 |
+
"model.layers.31.self_attn.o_proj": {
|
| 2165 |
+
"bits": 8,
|
| 2166 |
+
"group_size": 128,
|
| 2167 |
+
"mode": "affine"
|
| 2168 |
+
},
|
| 2169 |
+
"model.layers.39.block_sparse_moe.switch_mlp.gate_proj": {
|
| 2170 |
+
"bits": 6,
|
| 2171 |
+
"group_size": 64,
|
| 2172 |
+
"mode": "affine"
|
| 2173 |
+
},
|
| 2174 |
+
"model.layers.8.self_attn.o_proj": {
|
| 2175 |
+
"bits": 8,
|
| 2176 |
+
"group_size": 128,
|
| 2177 |
+
"mode": "affine"
|
| 2178 |
+
},
|
| 2179 |
+
"model.layers.3.block_sparse_moe.switch_mlp.down_proj": {
|
| 2180 |
+
"bits": 6,
|
| 2181 |
+
"group_size": 64,
|
| 2182 |
+
"mode": "affine"
|
| 2183 |
+
},
|
| 2184 |
+
"model.layers.5.self_attn.k_proj": {
|
| 2185 |
+
"bits": 8,
|
| 2186 |
+
"group_size": 128,
|
| 2187 |
+
"mode": "affine"
|
| 2188 |
+
},
|
| 2189 |
+
"model.layers.29.self_attn.v_proj": {
|
| 2190 |
+
"bits": 8,
|
| 2191 |
+
"group_size": 128,
|
| 2192 |
+
"mode": "affine"
|
| 2193 |
+
},
|
| 2194 |
+
"model.layers.54.block_sparse_moe.switch_mlp.down_proj": {
|
| 2195 |
+
"bits": 6,
|
| 2196 |
+
"group_size": 64,
|
| 2197 |
+
"mode": "affine"
|
| 2198 |
+
},
|
| 2199 |
+
"model.layers.0.block_sparse_moe.switch_mlp.down_proj": {
|
| 2200 |
+
"bits": 6,
|
| 2201 |
+
"group_size": 64,
|
| 2202 |
+
"mode": "affine"
|
| 2203 |
+
},
|
| 2204 |
+
"model.layers.54.self_attn.v_proj": {
|
| 2205 |
+
"bits": 8,
|
| 2206 |
+
"group_size": 128,
|
| 2207 |
+
"mode": "affine"
|
| 2208 |
+
},
|
| 2209 |
+
"model.layers.51.self_attn.o_proj": {
|
| 2210 |
+
"bits": 8,
|
| 2211 |
+
"group_size": 128,
|
| 2212 |
+
"mode": "affine"
|
| 2213 |
+
},
|
| 2214 |
+
"model.layers.30.self_attn.o_proj": {
|
| 2215 |
+
"bits": 8,
|
| 2216 |
+
"group_size": 128,
|
| 2217 |
+
"mode": "affine"
|
| 2218 |
+
},
|
| 2219 |
+
"model.layers.57.self_attn.v_proj": {
|
| 2220 |
+
"bits": 8,
|
| 2221 |
+
"group_size": 128,
|
| 2222 |
+
"mode": "affine"
|
| 2223 |
+
},
|
| 2224 |
+
"model.layers.34.block_sparse_moe.switch_mlp.gate_proj": {
|
| 2225 |
+
"bits": 6,
|
| 2226 |
+
"group_size": 64,
|
| 2227 |
+
"mode": "affine"
|
| 2228 |
+
},
|
| 2229 |
+
"model.layers.23.self_attn.q_proj": {
|
| 2230 |
+
"bits": 8,
|
| 2231 |
+
"group_size": 128,
|
| 2232 |
+
"mode": "affine"
|
| 2233 |
+
},
|
| 2234 |
+
"model.layers.43.block_sparse_moe.switch_mlp.up_proj": {
|
| 2235 |
+
"bits": 6,
|
| 2236 |
+
"group_size": 64,
|
| 2237 |
+
"mode": "affine"
|
| 2238 |
+
},
|
| 2239 |
+
"model.layers.20.self_attn.k_proj": {
|
| 2240 |
+
"bits": 8,
|
| 2241 |
+
"group_size": 128,
|
| 2242 |
+
"mode": "affine"
|
| 2243 |
+
},
|
| 2244 |
+
"model.layers.7.self_attn.o_proj": {
|
| 2245 |
+
"bits": 8,
|
| 2246 |
+
"group_size": 128,
|
| 2247 |
+
"mode": "affine"
|
| 2248 |
+
},
|
| 2249 |
+
"model.layers.12.self_attn.v_proj": {
|
| 2250 |
+
"bits": 8,
|
| 2251 |
+
"group_size": 128,
|
| 2252 |
+
"mode": "affine"
|
| 2253 |
+
},
|
| 2254 |
+
"model.layers.48.self_attn.o_proj": {
|
| 2255 |
+
"bits": 8,
|
| 2256 |
+
"group_size": 128,
|
| 2257 |
+
"mode": "affine"
|
| 2258 |
+
},
|
| 2259 |
+
"model.layers.19.self_attn.o_proj": {
|
| 2260 |
+
"bits": 8,
|
| 2261 |
+
"group_size": 128,
|
| 2262 |
+
"mode": "affine"
|
| 2263 |
+
},
|
| 2264 |
+
"model.layers.52.self_attn.k_proj": {
|
| 2265 |
+
"bits": 8,
|
| 2266 |
+
"group_size": 128,
|
| 2267 |
+
"mode": "affine"
|
| 2268 |
+
},
|
| 2269 |
+
"model.layers.32.self_attn.q_proj": {
|
| 2270 |
+
"bits": 8,
|
| 2271 |
+
"group_size": 128,
|
| 2272 |
+
"mode": "affine"
|
| 2273 |
+
},
|
| 2274 |
+
"model.layers.43.self_attn.k_proj": {
|
| 2275 |
+
"bits": 8,
|
| 2276 |
+
"group_size": 128,
|
| 2277 |
+
"mode": "affine"
|
| 2278 |
+
},
|
| 2279 |
+
"model.layers.13.block_sparse_moe.switch_mlp.up_proj": {
|
| 2280 |
+
"bits": 6,
|
| 2281 |
+
"group_size": 64,
|
| 2282 |
+
"mode": "affine"
|
| 2283 |
+
}
|
| 2284 |
+
},
|
| 2285 |
+
"eos_token_id": 200020,
|
| 2286 |
+
"rope_parameters": {
|
| 2287 |
+
"rope_type": "default",
|
| 2288 |
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
|
| 2 |
+
# This file was automatically generated from src/transformers/models/minimax_m2/modular_minimax_m2.py.
|
| 3 |
+
# Do NOT edit this file manually as any edits will be overwritten by the generation of
|
| 4 |
+
# the file from the modular. If any change should be done, please apply the change to the
|
| 5 |
+
# modular_minimax_m2.py file directly. One of our CI enforces this.
|
| 6 |
+
# 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨
|
| 7 |
+
# coding=utf-8
|
| 8 |
+
# Copyright 2025 the HuggingFace Team. All rights reserved.
|
| 9 |
+
#
|
| 10 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 11 |
+
# you may not use this file except in compliance with the License.
|
| 12 |
+
# You may obtain a copy of the License at
|
| 13 |
+
#
|
| 14 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 15 |
+
#
|
| 16 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 17 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 18 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 19 |
+
# See the License for the specific language governing permissions and
|
| 20 |
+
# limitations under the License.
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
from transformers.configuration_utils import PretrainedConfig
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
class MiniMaxM2Config(PretrainedConfig):
|
| 27 |
+
r"""
|
| 28 |
+
This is the configuration class to store the configuration of a [`MiniMaxM2Model`]. It is used to instantiate an
|
| 29 |
+
MiniMaxM2 model according to the specified arguments, defining the model architecture. Instantiating a configuration
|
| 30 |
+
with the defaults will yield a similar configuration to that of the MiniMaxM2-7B-v0.1 or MiniMaxM2-7B-Instruct-v0.1.
|
| 31 |
+
|
| 32 |
+
[minimax_m2ai/MiniMaxM2-8x7B](https://huggingface.co/minimax_m2ai/MiniMaxM2-8x7B)
|
| 33 |
+
[minimax_m2ai/MiniMaxM2-7B-Instruct-v0.1](https://huggingface.co/minimax_m2ai/MiniMaxM2-7B-Instruct-v0.1)
|
| 34 |
+
|
| 35 |
+
Configuration objects inherit from [`PretrainedConfig`] and can be used to control the model outputs. Read the
|
| 36 |
+
documentation from [`PretrainedConfig`] for more information.
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
Args:
|
| 40 |
+
vocab_size (`int`, *optional*, defaults to 32000):
|
| 41 |
+
Vocabulary size of the MiniMaxM2 model. Defines the number of different tokens that can be represented by the
|
| 42 |
+
`inputs_ids` passed when calling [`MiniMaxM2Model`]
|
| 43 |
+
hidden_size (`int`, *optional*, defaults to 4096):
|
| 44 |
+
Dimension of the hidden representations.
|
| 45 |
+
intermediate_size (`int`, *optional*, defaults to 14336):
|
| 46 |
+
Dimension of the MLP representations.
|
| 47 |
+
num_hidden_layers (`int`, *optional*, defaults to 32):
|
| 48 |
+
Number of hidden layers in the Transformer encoder.
|
| 49 |
+
num_attention_heads (`int`, *optional*, defaults to 32):
|
| 50 |
+
Number of attention heads for each attention layer in the Transformer encoder.
|
| 51 |
+
num_key_value_heads (`int`, *optional*, defaults to 8):
|
| 52 |
+
This is the number of key_value heads that should be used to implement Grouped Query Attention. If
|
| 53 |
+
`num_key_value_heads=num_attention_heads`, the model will use Multi Head Attention (MHA), if
|
| 54 |
+
`num_key_value_heads=1` the model will use Multi Query Attention (MQA) otherwise GQA is used. When
|
| 55 |
+
converting a multi-head checkpoint to a GQA checkpoint, each group key and value head should be constructed
|
| 56 |
+
by meanpooling all the original heads within that group. For more details, check out [this
|
| 57 |
+
paper](https://huggingface.co/papers/2305.13245). If it is not specified, will default to `8`.
|
| 58 |
+
head_dim (`int`, *optional*, defaults to `hidden_size // num_attention_heads`):
|
| 59 |
+
The attention head dimension.
|
| 60 |
+
hidden_act (`str` or `function`, *optional*, defaults to `"silu"`):
|
| 61 |
+
The non-linear activation function (function or string) in the decoder.
|
| 62 |
+
max_position_embeddings (`int`, *optional*, defaults to `4096*32`):
|
| 63 |
+
The maximum sequence length that this model might ever be used with. MiniMaxM2's sliding window attention
|
| 64 |
+
allows sequence of up to 4096*32 tokens.
|
| 65 |
+
initializer_range (`float`, *optional*, defaults to 0.02):
|
| 66 |
+
The standard deviation of the truncated_normal_initializer for initializing all weight matrices.
|
| 67 |
+
rms_norm_eps (`float`, *optional*, defaults to 1e-05):
|
| 68 |
+
The epsilon used by the rms normalization layers.
|
| 69 |
+
use_cache (`bool`, *optional*, defaults to `True`):
|
| 70 |
+
Whether or not the model should return the last key/values attentions (not used by all models). Only
|
| 71 |
+
relevant if `config.is_decoder=True`.
|
| 72 |
+
pad_token_id (`int`, *optional*):
|
| 73 |
+
The id of the padding token.
|
| 74 |
+
bos_token_id (`int`, *optional*, defaults to 1):
|
| 75 |
+
The id of the "beginning-of-sequence" token.
|
| 76 |
+
eos_token_id (`int`, *optional*, defaults to 2):
|
| 77 |
+
The id of the "end-of-sequence" token.
|
| 78 |
+
tie_word_embeddings (`bool`, *optional*, defaults to `False`):
|
| 79 |
+
Whether the model's input and output word embeddings should be tied.
|
| 80 |
+
rope_theta (`float`, *optional*, defaults to 1000000.0):
|
| 81 |
+
The base period of the RoPE embeddings.
|
| 82 |
+
sliding_window (`int`, *optional*):
|
| 83 |
+
Sliding window attention window size. If not specified, will default to `4096`.
|
| 84 |
+
attention_dropout (`float`, *optional*, defaults to 0.0):
|
| 85 |
+
The dropout ratio for the attention probabilities.
|
| 86 |
+
num_experts_per_tok (`int`, *optional*, defaults to 2):
|
| 87 |
+
The number of experts to route per-token, can be also interpreted as the `top-k` routing
|
| 88 |
+
parameter
|
| 89 |
+
num_local_experts (`int`, *optional*, defaults to 8):
|
| 90 |
+
Number of experts per Sparse MLP layer.
|
| 91 |
+
output_router_logits (`bool`, *optional*, defaults to `False`):
|
| 92 |
+
Whether or not the router logits should be returned by the model. Enabling this will also
|
| 93 |
+
allow the model to output the auxiliary loss. See [here]() for more details
|
| 94 |
+
router_aux_loss_coef (`float`, *optional*, defaults to 0.001):
|
| 95 |
+
The aux loss factor for the total loss.
|
| 96 |
+
router_jitter_noise (`float`, *optional*, defaults to 0.0):
|
| 97 |
+
Amount of noise to add to the router.
|
| 98 |
+
|
| 99 |
+
```python
|
| 100 |
+
>>> from transformers import MiniMaxM2Model, MiniMaxM2Config
|
| 101 |
+
|
| 102 |
+
>>> # Initializing a MiniMaxM2 7B style configuration
|
| 103 |
+
>>> configuration = MiniMaxM2Config()
|
| 104 |
+
|
| 105 |
+
>>> # Initializing a model from the MiniMaxM2 7B style configuration
|
| 106 |
+
>>> model = MiniMaxM2Model(configuration)
|
| 107 |
+
|
| 108 |
+
>>> # Accessing the model configuration
|
| 109 |
+
>>> configuration = model.config
|
| 110 |
+
```"""
|
| 111 |
+
|
| 112 |
+
model_type = "minimax_m2"
|
| 113 |
+
keys_to_ignore_at_inference = ["past_key_values"]
|
| 114 |
+
base_model_tp_plan = {
|
| 115 |
+
"layers.*.self_attn.q_proj": "colwise",
|
| 116 |
+
"layers.*.self_attn.k_proj": "colwise",
|
| 117 |
+
"layers.*.self_attn.v_proj": "colwise",
|
| 118 |
+
"layers.*.self_attn.o_proj": "rowwise",
|
| 119 |
+
"layers.*.block_sparse_moe.gate": "colwise_rep", # we need to replicate here to correctly route experts
|
| 120 |
+
"layers.*.block_sparse_moe.experts.*.w1": "colwise",
|
| 121 |
+
"layers.*.block_sparse_moe.experts.*.w2": "rowwise",
|
| 122 |
+
"layers.*.block_sparse_moe.experts.*.w3": "colwise",
|
| 123 |
+
}
|
| 124 |
+
base_model_pp_plan = {
|
| 125 |
+
"embed_tokens": (["input_ids"], ["inputs_embeds"]),
|
| 126 |
+
"layers": (["hidden_states", "attention_mask"], ["hidden_states"]),
|
| 127 |
+
"norm": (["hidden_states"], ["hidden_states"]),
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
def __init__(
|
| 131 |
+
self,
|
| 132 |
+
vocab_size=32000,
|
| 133 |
+
hidden_size=4096,
|
| 134 |
+
intermediate_size=14336,
|
| 135 |
+
num_hidden_layers=32,
|
| 136 |
+
num_attention_heads=32,
|
| 137 |
+
num_key_value_heads=8,
|
| 138 |
+
head_dim=None,
|
| 139 |
+
hidden_act="silu",
|
| 140 |
+
max_position_embeddings=4096 * 32,
|
| 141 |
+
initializer_range=0.02,
|
| 142 |
+
rms_norm_eps=1e-5,
|
| 143 |
+
use_cache=True,
|
| 144 |
+
pad_token_id=None,
|
| 145 |
+
bos_token_id=1,
|
| 146 |
+
eos_token_id=2,
|
| 147 |
+
tie_word_embeddings=False,
|
| 148 |
+
rope_theta=1e6,
|
| 149 |
+
sliding_window=None,
|
| 150 |
+
attention_dropout=0.0,
|
| 151 |
+
num_experts_per_tok=2,
|
| 152 |
+
num_local_experts=8,
|
| 153 |
+
output_router_logits=False,
|
| 154 |
+
router_aux_loss_coef=0.001,
|
| 155 |
+
router_jitter_noise=0.0,
|
| 156 |
+
**kwargs,
|
| 157 |
+
):
|
| 158 |
+
self.vocab_size = vocab_size
|
| 159 |
+
self.max_position_embeddings = max_position_embeddings
|
| 160 |
+
self.hidden_size = hidden_size
|
| 161 |
+
self.intermediate_size = intermediate_size
|
| 162 |
+
self.num_hidden_layers = num_hidden_layers
|
| 163 |
+
self.num_attention_heads = num_attention_heads
|
| 164 |
+
self.sliding_window = sliding_window
|
| 165 |
+
|
| 166 |
+
# for backward compatibility
|
| 167 |
+
if num_key_value_heads is None:
|
| 168 |
+
num_key_value_heads = num_attention_heads
|
| 169 |
+
|
| 170 |
+
self.num_key_value_heads = num_key_value_heads
|
| 171 |
+
self.hidden_act = hidden_act
|
| 172 |
+
self.initializer_range = initializer_range
|
| 173 |
+
self.rms_norm_eps = rms_norm_eps
|
| 174 |
+
self.use_cache = use_cache
|
| 175 |
+
self.rope_theta = rope_theta
|
| 176 |
+
self.attention_dropout = attention_dropout
|
| 177 |
+
self.head_dim = head_dim
|
| 178 |
+
|
| 179 |
+
self.num_experts_per_tok = num_experts_per_tok
|
| 180 |
+
self.num_local_experts = num_local_experts
|
| 181 |
+
self.output_router_logits = output_router_logits
|
| 182 |
+
self.router_aux_loss_coef = router_aux_loss_coef
|
| 183 |
+
self.router_jitter_noise = router_jitter_noise
|
| 184 |
+
|
| 185 |
+
self.use_qk_norm = kwargs.pop("use_qk_norm", False)
|
| 186 |
+
self.rotary_dim = kwargs.pop("rotary_dim", self.head_dim)
|
| 187 |
+
self.partial_rotary_factor = kwargs.pop("partial_rotary_factor", 1)
|
| 188 |
+
if self.head_dim is not None:
|
| 189 |
+
self.partial_rotary_factor = self.rotary_dim / self.head_dim
|
| 190 |
+
|
| 191 |
+
super().__init__(
|
| 192 |
+
pad_token_id=pad_token_id,
|
| 193 |
+
bos_token_id=bos_token_id,
|
| 194 |
+
eos_token_id=eos_token_id,
|
| 195 |
+
tie_word_embeddings=tie_word_embeddings,
|
| 196 |
+
**kwargs,
|
| 197 |
+
)
|
| 198 |
+
|
| 199 |
+
|
| 200 |
+
__all__ = ["MiniMaxM2Config"]
|
dealign_logo.png
ADDED
|
dealign_mascot.png
ADDED
|
generation_config.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 200019,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": 200020,
|
| 5 |
+
"temperature": 1.0,
|
| 6 |
+
"top_p": 0.95,
|
| 7 |
+
"top_k": 40,
|
| 8 |
+
"transformers_version": "4.46.1"
|
| 9 |
+
}
|
jang_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"quantization": {
|
| 3 |
+
"method": "jang-importance",
|
| 4 |
+
"profile": "JANG_3L",
|
| 5 |
+
"target_bits": 3.0,
|
| 6 |
+
"actual_bits": 3.08,
|
| 7 |
+
"block_size": 128,
|
| 8 |
+
"calibration_method": "weights",
|
| 9 |
+
"quantization_method": "mse",
|
| 10 |
+
"scoring_method": "weight-magnitude",
|
| 11 |
+
"bit_widths_used": [
|
| 12 |
+
3,
|
| 13 |
+
4,
|
| 14 |
+
8
|
| 15 |
+
],
|
| 16 |
+
"quantization_scheme": "asymmetric",
|
| 17 |
+
"quantization_backend": "mx.quantize",
|
| 18 |
+
"hadamard_rotation": false
|
| 19 |
+
},
|
| 20 |
+
"source_model": {
|
| 21 |
+
"name": "MiniMax-M2.7-FP8",
|
| 22 |
+
"dtype": "bfloat16",
|
| 23 |
+
"parameters": "227.6B"
|
| 24 |
+
},
|
| 25 |
+
"architecture": {
|
| 26 |
+
"type": "moe",
|
| 27 |
+
"attention": "gqa",
|
| 28 |
+
"has_vision": false,
|
| 29 |
+
"has_ssm": false,
|
| 30 |
+
"has_moe": true
|
| 31 |
+
},
|
| 32 |
+
"runtime": {
|
| 33 |
+
"total_weight_bytes": 0,
|
| 34 |
+
"total_weight_gb": 0.0
|
| 35 |
+
},
|
| 36 |
+
"format": "jang",
|
| 37 |
+
"format_version": "2.0",
|
| 38 |
+
"capabilities": {
|
| 39 |
+
"reasoning_parser": "qwen3",
|
| 40 |
+
"tool_parser": "minimax",
|
| 41 |
+
"think_in_template": true,
|
| 42 |
+
"supports_tools": true,
|
| 43 |
+
"supports_thinking": true,
|
| 44 |
+
"family": "minimax_m2",
|
| 45 |
+
"modality": "text",
|
| 46 |
+
"cache_type": "kv"
|
| 47 |
+
}
|
| 48 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
model-00001-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49515fae5e40708be7591eaec7458c7b5b7c249baf3d61f193bac23a53f77ef8
|
| 3 |
+
size 817238768
|
model-00002-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c8679e863db491a2a8dbee384075ee7bef65fbc3a75dfd4a92bc5a1d03c8158a
|
| 3 |
+
size 532907440
|
model-00003-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fdcf2d5ae8eb8b5f2df65b3cb27323271beebc82737f9e28f0c8f48528baa95
|
| 3 |
+
size 984712368
|
model-00004-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f60d09f7052d508eb5f735d7c56deb72f6dd76440d9dd00acca1c924b2bb1b3f
|
| 3 |
+
size 532907440
|
model-00005-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c69ba92c4de18857ef2540f927f2d5cdac7cc65355b2d6e1898d55b962e166f4
|
| 3 |
+
size 984712368
|
model-00006-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28168c9613ea6b8861607d6032845d27002914b2a5103e53e09d01824ffc3d72
|
| 3 |
+
size 532907440
|
model-00007-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ca33e6b7fecbcc426ce879048a9c38194e83f15b44a2e331994d4404682df55
|
| 3 |
+
size 984712368
|
model-00008-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2184ff6a4626d6d998b3499a8198f465db664e6f6897482135ec4b9d6bd86959
|
| 3 |
+
size 532907440
|
model-00009-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2af9f9c8fa8101033fcb2f1cb2acc0d36cd77c8ba6623ee893104cbb1d3ef5b7
|
| 3 |
+
size 984712368
|
model-00010-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a3aeaab5eb883f92f409f238ffcef93654e250056e91746e3c4eaa18919d7813
|
| 3 |
+
size 532907440
|
model-00011-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49f4994d9b3741c3092c084eacc88621afb4c970aa9a71224099e3a53e58426e
|
| 3 |
+
size 984712368
|
model-00012-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:131f2bd03a8089af0d674e226f75c7676eed55d47594b5f8e8ff586b96e7b73a
|
| 3 |
+
size 532907440
|
model-00013-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55189b47901e7a1dc8cd2df359aaa413238cd042b4052ae5bcb9284fdc7e763a
|
| 3 |
+
size 984712368
|
model-00014-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27ea2dffab66321136a732c1da00fc3d17e20ef7030c2bf17bd899e05662d337
|
| 3 |
+
size 532907440
|
model-00015-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88ccea5edfa2e777023e9da10115c04e021e87f39acc716cfa3f271836d3b8fe
|
| 3 |
+
size 984712368
|
model-00016-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7805d98da0d5b4228690469646a1e0817d970c0076312e03131726af80348aee
|
| 3 |
+
size 532907440
|
model-00017-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:738866360548333410864b8220df98d28241ba9668d0bc9ee713dbe763ca94c4
|
| 3 |
+
size 984712368
|
model-00018-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e96d33b74cf475ba6c83489739e805240bb70f909da509ee303af4c29d95f5c
|
| 3 |
+
size 532907440
|
model-00019-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9f658342d8681e702039ae55c8db9d09339c4c29782bea7d44c3b5ff37a1ad7
|
| 3 |
+
size 984712368
|
model-00020-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f073314bb0430c47a6ebedbf3ab93c5d75f50eb633bd78a59121eb919a2d452e
|
| 3 |
+
size 532907440
|
model-00021-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bae4b6f4c61953118eb84a577bcf3df7f982fe1032b5688b5d02bcf2f7b6ef99
|
| 3 |
+
size 984712368
|
model-00022-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9a7dfde998e169bae24ff185f5235369088803acc8980fc047917e76ae504f8
|
| 3 |
+
size 532907448
|
model-00023-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:67b3249f2cfe2199aaca1b4a444668fd9af31e61d9166c0e7514a1a1b7554774
|
| 3 |
+
size 984712376
|
model-00024-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:864ba3f4ef362732686c2d6c06599fe766245d385f58759846673b6a6e621674
|
| 3 |
+
size 532907448
|
model-00025-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a70da93d642db6295b7938f3380ad7eefca56a6f7130fe25302f6f1b65f711b8
|
| 3 |
+
size 984712376
|
model-00026-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:236fdc61801be0ad91a88c39aa38116e3501aa892272014aae8fc59a4849b4f2
|
| 3 |
+
size 532907448
|
model-00027-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96590811020cf2a555b1bc0bc852469212b302b5df13359f69f5e3a2af9fd259
|
| 3 |
+
size 984712376
|
model-00028-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f482b8a7d5795e2e4dbbf6bfbd9b1b7c767cdb17c7d8f6f3e0407b1e5abcf8e4
|
| 3 |
+
size 532907448
|
model-00029-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8504fb71b90302823a3a65c0b84df42e63a848c3c1de1cef8f5866e0533af271
|
| 3 |
+
size 984712376
|
model-00030-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c6ce9c1c389a4d75b89b303aa6d1aed41e7b44888f44145a96d5189affcd8596
|
| 3 |
+
size 532907448
|
model-00031-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e38f0fe6a97d149e0570439d494c51897c6c535a11a37d51e8eed5f7e6d728f
|
| 3 |
+
size 984712376
|
model-00032-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f3e5332abb7cc2c0ff7ed2d6ff327be290b192285cf3ef8b91b4fe6ee1312e0
|
| 3 |
+
size 532907448
|
model-00033-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6842408896427b8a5d4d5f30501c2e3a6a8a4dfdb5f05969686f7ecd0059c5a7
|
| 3 |
+
size 984712376
|
model-00034-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dab923e3e1bc69e4f419bb18ab43f47c0831a7636d593c721faff756a2317345
|
| 3 |
+
size 532907448
|
model-00035-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b3609e895fba2be837968c81f32cd84381d95d9462eba235b248adfa3009ea9f
|
| 3 |
+
size 984712376
|
model-00036-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fd5f7883f2364586c56725bead065652eaa3f0f17cd6be98c852e6c971cea7a
|
| 3 |
+
size 532907448
|
model-00037-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4de33ea7d595cd4b4b99f7b57f3d883ff846db0d44888e301c9bc4ec71138698
|
| 3 |
+
size 984712376
|
model-00038-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d42e606a0f581b80f4d21d342e7b6beb98f1596df398b9be700f9a6a870f2f47
|
| 3 |
+
size 532907448
|
model-00039-of-00126.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b83d07a78ccb9198a4c86a888b85fce0554606ac3614562c6c6b10a60310b8c2
|
| 3 |
+
size 984712376
|