GCH-STU-008 Seed44: publish Stage A report and int8_native_dynamic artifact
Browse files- runs/gch-stu-008-student-quantization/seed44/stage_b/int8_native_dynamic/artifact_manifest.json +113 -0
- runs/gch-stu-008-student-quantization/seed44/stage_b/int8_native_dynamic/model_weights.pt +3 -0
- runs/gch-stu-008-student-quantization/seed44/stage_b/int8_native_dynamic/quantization_metadata.json +65 -0
- runs/gch-stu-008-student-quantization/seed44/stage_b/stage_a/GCH-STU-008-seed44-quantization-stage-a-evidence.json +0 -0
- runs/gch-stu-008-student-quantization/seed44/stage_b/stage_a/GCH-STU-008-seed44-quantization-stage-a-report.md +31 -0
runs/gch-stu-008-student-quantization/seed44/stage_b/int8_native_dynamic/artifact_manifest.json
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"codec_identity": {
|
| 3 |
+
"codec_fingerprint": "78aaef0a63493a4f1ed452f70d3ff1385a858f241f914b4d8f0c502040f55e00",
|
| 4 |
+
"vocabulary_fingerprint": "2f0d3e6a42edb459e131b49041e6b75cb60387fe9100ce59efb9e00b0241660d",
|
| 5 |
+
"vocabulary_policy": "punct_full78_v3",
|
| 6 |
+
"vocabulary_size": 78
|
| 7 |
+
},
|
| 8 |
+
"decoder_config": {
|
| 9 |
+
"character_constraints": true,
|
| 10 |
+
"name": "orthographic_topk_case_v2",
|
| 11 |
+
"scoring": "independent_legal_log_probability_v1",
|
| 12 |
+
"search_limit": 32,
|
| 13 |
+
"syllable_constraints": false,
|
| 14 |
+
"syllable_penalty": 0.25
|
| 15 |
+
},
|
| 16 |
+
"git_commit": "fa5265440208f96e14f12d0e7d7e93852619694e",
|
| 17 |
+
"metadata_bytes": 1597,
|
| 18 |
+
"metadata_file": "quantization_metadata.json",
|
| 19 |
+
"metadata_sha256": "36797b31456cd1c8b050a20f9960f0593aa61e6620afaeefcc5b8a17951fb741",
|
| 20 |
+
"model_config": {
|
| 21 |
+
"attention_heads": 4,
|
| 22 |
+
"backbone": "bigru",
|
| 23 |
+
"cascade_topology": "none",
|
| 24 |
+
"dropout": 0.1,
|
| 25 |
+
"embedding_dim": 192,
|
| 26 |
+
"feedforward_dim": 640,
|
| 27 |
+
"graph_context_dim": 16,
|
| 28 |
+
"graph_enabled": true,
|
| 29 |
+
"graph_message_dim": 16,
|
| 30 |
+
"hidden_dim": 268,
|
| 31 |
+
"layers": 2,
|
| 32 |
+
"max_length": 256,
|
| 33 |
+
"recurrent_dropout_mode": "torch_rng_v1",
|
| 34 |
+
"use_depthwise_conv": true,
|
| 35 |
+
"vocabulary_size": 78
|
| 36 |
+
},
|
| 37 |
+
"quantization_metadata": {
|
| 38 |
+
"activation_dtype": "dynamic_int8",
|
| 39 |
+
"backend": "torch_ao_dynamic_int8",
|
| 40 |
+
"granularity": "per_channel",
|
| 41 |
+
"group_size": null,
|
| 42 |
+
"is_native_low_bit": true,
|
| 43 |
+
"modules_kept_fp32": [
|
| 44 |
+
"backbone.interlayer_dropout",
|
| 45 |
+
"dropout",
|
| 46 |
+
"embedding",
|
| 47 |
+
"stem.act",
|
| 48 |
+
"stem.conv",
|
| 49 |
+
"stem.dropout",
|
| 50 |
+
"stem.norm"
|
| 51 |
+
],
|
| 52 |
+
"modules_quantized": [
|
| 53 |
+
"backbone.additional_grus.0",
|
| 54 |
+
"backbone.gru",
|
| 55 |
+
"boundary_head",
|
| 56 |
+
"case_head",
|
| 57 |
+
"form_head",
|
| 58 |
+
"graph.context",
|
| 59 |
+
"graph.corrections.0",
|
| 60 |
+
"graph.corrections.1",
|
| 61 |
+
"graph.corrections.2",
|
| 62 |
+
"graph.corrections.3",
|
| 63 |
+
"graph.gates.0",
|
| 64 |
+
"graph.gates.1",
|
| 65 |
+
"graph.gates.10",
|
| 66 |
+
"graph.gates.11",
|
| 67 |
+
"graph.gates.2",
|
| 68 |
+
"graph.gates.3",
|
| 69 |
+
"graph.gates.4",
|
| 70 |
+
"graph.gates.5",
|
| 71 |
+
"graph.gates.6",
|
| 72 |
+
"graph.gates.7",
|
| 73 |
+
"graph.gates.8",
|
| 74 |
+
"graph.gates.9",
|
| 75 |
+
"graph.messages.0",
|
| 76 |
+
"graph.messages.1",
|
| 77 |
+
"graph.messages.10",
|
| 78 |
+
"graph.messages.11",
|
| 79 |
+
"graph.messages.2",
|
| 80 |
+
"graph.messages.3",
|
| 81 |
+
"graph.messages.4",
|
| 82 |
+
"graph.messages.5",
|
| 83 |
+
"graph.messages.6",
|
| 84 |
+
"graph.messages.7",
|
| 85 |
+
"graph.messages.8",
|
| 86 |
+
"graph.messages.9",
|
| 87 |
+
"graph.nodes.0",
|
| 88 |
+
"graph.nodes.1",
|
| 89 |
+
"graph.nodes.2",
|
| 90 |
+
"graph.nodes.3",
|
| 91 |
+
"tone_head"
|
| 92 |
+
],
|
| 93 |
+
"precision": "int8",
|
| 94 |
+
"qengine": "fbgemm",
|
| 95 |
+
"quantization_type": "dynamic_weight_int8_activation_int8",
|
| 96 |
+
"runtime_dequantization_behavior": "native_dynamic_int8_kernel(qengine=fbgemm,linear=per_channel,gru=per_tensor)",
|
| 97 |
+
"scale_dtype": "float32",
|
| 98 |
+
"symmetric": true,
|
| 99 |
+
"weight_bit_width": 8,
|
| 100 |
+
"zero_point_policy": "affine_uint8_runtime_activation"
|
| 101 |
+
},
|
| 102 |
+
"runtime_versions": {
|
| 103 |
+
"cuda": "13.0",
|
| 104 |
+
"python": "3.13.11",
|
| 105 |
+
"pytorch": "2.11.0+cu130"
|
| 106 |
+
},
|
| 107 |
+
"schema": "nextkey_quantized_artifact_v1",
|
| 108 |
+
"source_checkpoint_sha256": "5e51929391661a6bb07332ef13b67b1b3cf2e64aa6680b7f72ea78ee12844d90",
|
| 109 |
+
"state_dict_sha256": "ab29d58e6edf5b16a8177a55fc3f8c0e0294cf1104b09aaf369814784db5006b",
|
| 110 |
+
"weights_bytes": 2233299,
|
| 111 |
+
"weights_file": "model_weights.pt",
|
| 112 |
+
"weights_sha256": "93b60f336c3201535d08c72e8d73dfd080623e2bc569a219bc24b9994ec0cd70"
|
| 113 |
+
}
|
runs/gch-stu-008-student-quantization/seed44/stage_b/int8_native_dynamic/model_weights.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93b60f336c3201535d08c72e8d73dfd080623e2bc569a219bc24b9994ec0cd70
|
| 3 |
+
size 2233299
|
runs/gch-stu-008-student-quantization/seed44/stage_b/int8_native_dynamic/quantization_metadata.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_dtype": "dynamic_int8",
|
| 3 |
+
"backend": "torch_ao_dynamic_int8",
|
| 4 |
+
"granularity": "per_channel",
|
| 5 |
+
"group_size": null,
|
| 6 |
+
"is_native_low_bit": true,
|
| 7 |
+
"modules_kept_fp32": [
|
| 8 |
+
"backbone.interlayer_dropout",
|
| 9 |
+
"dropout",
|
| 10 |
+
"embedding",
|
| 11 |
+
"stem.act",
|
| 12 |
+
"stem.conv",
|
| 13 |
+
"stem.dropout",
|
| 14 |
+
"stem.norm"
|
| 15 |
+
],
|
| 16 |
+
"modules_quantized": [
|
| 17 |
+
"backbone.additional_grus.0",
|
| 18 |
+
"backbone.gru",
|
| 19 |
+
"boundary_head",
|
| 20 |
+
"case_head",
|
| 21 |
+
"form_head",
|
| 22 |
+
"graph.context",
|
| 23 |
+
"graph.corrections.0",
|
| 24 |
+
"graph.corrections.1",
|
| 25 |
+
"graph.corrections.2",
|
| 26 |
+
"graph.corrections.3",
|
| 27 |
+
"graph.gates.0",
|
| 28 |
+
"graph.gates.1",
|
| 29 |
+
"graph.gates.10",
|
| 30 |
+
"graph.gates.11",
|
| 31 |
+
"graph.gates.2",
|
| 32 |
+
"graph.gates.3",
|
| 33 |
+
"graph.gates.4",
|
| 34 |
+
"graph.gates.5",
|
| 35 |
+
"graph.gates.6",
|
| 36 |
+
"graph.gates.7",
|
| 37 |
+
"graph.gates.8",
|
| 38 |
+
"graph.gates.9",
|
| 39 |
+
"graph.messages.0",
|
| 40 |
+
"graph.messages.1",
|
| 41 |
+
"graph.messages.10",
|
| 42 |
+
"graph.messages.11",
|
| 43 |
+
"graph.messages.2",
|
| 44 |
+
"graph.messages.3",
|
| 45 |
+
"graph.messages.4",
|
| 46 |
+
"graph.messages.5",
|
| 47 |
+
"graph.messages.6",
|
| 48 |
+
"graph.messages.7",
|
| 49 |
+
"graph.messages.8",
|
| 50 |
+
"graph.messages.9",
|
| 51 |
+
"graph.nodes.0",
|
| 52 |
+
"graph.nodes.1",
|
| 53 |
+
"graph.nodes.2",
|
| 54 |
+
"graph.nodes.3",
|
| 55 |
+
"tone_head"
|
| 56 |
+
],
|
| 57 |
+
"precision": "int8",
|
| 58 |
+
"qengine": "fbgemm",
|
| 59 |
+
"quantization_type": "dynamic_weight_int8_activation_int8",
|
| 60 |
+
"runtime_dequantization_behavior": "native_dynamic_int8_kernel(qengine=fbgemm,linear=per_channel,gru=per_tensor)",
|
| 61 |
+
"scale_dtype": "float32",
|
| 62 |
+
"symmetric": true,
|
| 63 |
+
"weight_bit_width": 8,
|
| 64 |
+
"zero_point_policy": "affine_uint8_runtime_activation"
|
| 65 |
+
}
|
runs/gch-stu-008-student-quantization/seed44/stage_b/stage_a/GCH-STU-008-seed44-quantization-stage-a-evidence.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
runs/gch-stu-008-student-quantization/seed44/stage_b/stage_a/GCH-STU-008-seed44-quantization-stage-a-report.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GCH-STU-008 - Student Quantization Stage A Report
|
| 2 |
+
|
| 3 |
+
- **Git Commit:** `fa5265440208f96e14f12d0e7d7e93852619694e` (dirty=False)
|
| 4 |
+
- **Reference Checkpoint:** `checkpoint_step_350000.pt` (SHA256 `5e51929391661a6bb07332ef13b67b1b3cf2e64aa6680b7f72ea78ee12844d90`)
|
| 5 |
+
- **Dataset Fingerprint:** `ccb6c5b7f1bddec623cd94a9fc146a4d268f35eaab666459de6b911732d4a32b`
|
| 6 |
+
- **Sealed Test Accessed:** `False`
|
| 7 |
+
|
| 8 |
+
## Hardware & Runtime
|
| 9 |
+
|
| 10 |
+
- **CPU:** unknown (20 threads)
|
| 11 |
+
- **RAM:** 171798691840 bytes
|
| 12 |
+
- **OS / Arch:** Linux 4.19.0-gvisor / x86_64
|
| 13 |
+
- **Python / PyTorch:** 3.13.11 / 2.11.0+cu130
|
| 14 |
+
- **Active Quantized Engine:** `x86`
|
| 15 |
+
|
| 16 |
+
## Stage A Comparison Table (CPU batch=1 headline)
|
| 17 |
+
|
| 18 |
+
| Precision | Backend | Native | EM@1 | Delta EM | Size (MB) | Compression | RAM (MB) | p50 (ms) | p95 (ms) | p99 (ms) | Throughput (ex/s) |
|
| 19 |
+
|---|---|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 20 |
+
| `fp32` | `fp32_reference` | `False` | 33.1740% | - | 7.966 | 1.00x | 21.664 | 11.894 | 60.165 | 63.803 | 64.71 |
|
| 21 |
+
| `int8` | `torch_ao_dynamic_int8` | `True` | 32.6730% | -0.5010% | 2.135 | 3.73x | 60.531 | 10.457 | 22.477 | 28.633 | 86.38 |
|
| 22 |
+
| `int6` | `packed_weight_only` | `False` | 32.7050% | -0.4690% | 1.623 | 4.91x | 53.254 | 25.944 | 75.030 | 79.078 | 33.11 |
|
| 23 |
+
| `int4` | `packed_weight_only` | `False` | 28.8720% | -4.3020% | 1.189 | 6.70x | 52.930 | 22.537 | 69.492 | 73.611 | 37.09 |
|
| 24 |
+
| `int3` | `packed_weight_only` | `False` | 4.8780% | -28.2960% | 0.944 | 8.44x | 51.668 | 27.581 | 74.371 | 77.514 | 32.47 |
|
| 25 |
+
| `int2` | `packed_weight_only` | `False` | 0.0310% | -33.1430% | 0.746 | 10.67x | 48.633 | 25.644 | 73.351 | 79.531 | 34.64 |
|
| 26 |
+
|
| 27 |
+
## Pareto Frontier (Quality x Size x RAM x Latency)
|
| 28 |
+
|
| 29 |
+
- **Pareto-optimal precisions:** `fp32`, `int8`, `int6`, `int4`, `int3`, `int2`
|
| 30 |
+
|
| 31 |
+
> Note: Per Stage A gate rules, no Final Deployment Model is selected until Stage B Full Validation completes.
|