初始化项目,由ModelHub XC社区提供模型

Model: RedHatAI/SmolLM-360M-Instruct-quantized.w8a8
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-04-12 15:19:56 +08:00
commit 9eb1b8ebef
13 changed files with 334 additions and 0 deletions

18
recipe.yaml Normal file
View File

@@ -0,0 +1,18 @@
quant_stage:
quant_modifiers:
SmoothQuantModifier:
smoothing_strength: 0.8
mappings:
- - ['re:.*q_proj', 're:.*k_proj', 're:.*v_proj']
- re:.*input_layernorm
- - ['re:.*gate_proj', 're:.*up_proj']
- re:.*post_attention_layernorm
- - ['re:.*down_proj']
- re:.*up_proj
GPTQModifier:
sequential_update: false
dampening_frac: 0.01
ignore: [lm_head]
scheme: W8A8
targets: Linear
observer: mse