File size: 2,453 Bytes
55a3b37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
  "model_id": "deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct",
  "registry_key": null,
  "verified_recipe": false,
  "reference_card": null,
  "category": null,
  "modality": "Text",
  "architecture": "DeepseekV2ForCausalLM",
  "trust_remote_code": false,
  "scheme": "w8a8",
  "algorithm": "W8A8: INT8 per-channel symmetric weights, dynamic per-token INT8 activations, RTN (data-free)",
  "recipe": {
    "loader": "causal",
    "load_context": true,
    "pre_import": null,
    "ignore": [
      "lm_head",
      "re:.*lm_head"
    ],
    "group_size": 64,
    "save_processor": false,
    "restore_config": false,
    "save_mtp": false,
    "quantization_format": null,
    "calibration": "text",
    "sequential_targets": null,
    "post_process": null,
    "num_samples": 128,
    "max_seq_len": 2048,
    "dataset": "HuggingFaceH4/ultrachat_200k"
  },
  "notes": [],
  "layers": {
    "quantized": {
      "model.layers.*.mlp.experts.*.up_proj": 1664,
      "model.layers.*.mlp.experts.*.gate_proj": 1664,
      "model.layers.*.mlp.experts.*.down_proj": 1664,
      "model.layers.*.self_attn.q_proj": 27,
      "model.layers.*.self_attn.kv_a_proj_with_mqa": 27,
      "model.layers.*.self_attn.kv_b_proj": 27,
      "model.layers.*.self_attn.o_proj": 27,
      "model.layers.*.mlp.shared_experts.gate_proj": 26,
      "model.layers.*.mlp.shared_experts.up_proj": 26,
      "model.layers.*.mlp.shared_experts.down_proj": 26,
      "model.layers.*.mlp.gate_proj": 1,
      "model.layers.*.mlp.up_proj": 1,
      "model.layers.*.mlp.down_proj": 1
    },
    "kept_bf16": {
      "lm_head": 1
    },
    "num_quantized": 5181,
    "num_kept_bf16": 1,
    "fused_expert_tensors_left": 0
  },
  "source_bytes": 31413626609,
  "output_bytes": 16147916960,
  "output_dir": "/proj/xcohdstaff7/ravchand/quant/6.2_quant_5199/deepseek/DeepSeek-Coder-V2-Lite-Instruct-w8a8-llmcompressor",
  "post_process_dir": null,
  "smoke_test": null,
  "shape_dtype_validation": {
    "ok": true,
    "log": "/proj/xcohdstaff7/ravchand/quant/6.2_quant_5199/deepseek/DeepSeek-Coder-V2-Lite-Instruct-w8a8-llmcompressor/shape_dtype_validation.log",
    "num_quantized_modules": 5181,
    "num_non_quantized_modules": 110,
    "errors": []
  },
  "versions": {
    "llmcompressor": "0.14.0",
    "compressed-tensors": "0.19.0",
    "transformers": "5.17.0",
    "torch": "2.14.0+cpu",
    "datasets": "5.0.1"
  },
  "quantization_seconds": 3975.2,
  "total_seconds": 8854.1
}