tarekziade HF Staff commited on
Commit
48747ab
·
verified ·
1 Parent(s): 0b4af0f

Publish MIC usage, slim fixture and reviewed Transformers expectations

Browse files
README.md CHANGED
@@ -29,6 +29,18 @@ Slim model weights, executable usage and framework expectations in one repositor
29
 
30
  ## Contract
31
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  ### DeepSeek-R1 causal LM
33
 
34
  Runnable usage and the framework expectations directory are linked above.
@@ -64,3 +76,19 @@ A 17.8M-parameter fixture for the [DeepSeek-R1 MIC](https://huggingface.co/huggi
64
  - **Finite in float32, bfloat16, and float16** (forward, loss, gradients).
65
 
66
  Built by [`build_fixtures.py`](https://github.com/huggingface/transformers-mic/blob/main/example/build_fixtures.py); [`build.json`](build.json) records the pinned sources, gate results, and file hashes. This repository includes the slim weights, usage and framework expectations; rebuild the other files with `python example/build_fixtures.py --fixture DeepSeek-R1-mic`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
  ## Contract
31
 
32
+ ### DeepSeek-R1-mic
33
+
34
+ Slim model weights, executable usage and framework expectations in one repository.
35
+
36
+ - [Contract manifest](integration.json)
37
+ - [Transformers usage](integrations/transformers/usage.md)
38
+ - [Transformers expectations](integrations/transformers/expectations)
39
+ - [Fixture provenance](build.json)
40
+ - [How the fixture was shrunk](https://huggingface-mic-mic-coverage.static.hf.space/shrink/DeepSeek-R1-mic.html)
41
+
42
+ ## Contract
43
+
44
  ### DeepSeek-R1 causal LM
45
 
46
  Runnable usage and the framework expectations directory are linked above.
 
76
  - **Finite in float32, bfloat16, and float16** (forward, loss, gradients).
77
 
78
  Built by [`build_fixtures.py`](https://github.com/huggingface/transformers-mic/blob/main/example/build_fixtures.py); [`build.json`](build.json) records the pinned sources, gate results, and file hashes. This repository includes the slim weights, usage and framework expectations; rebuild the other files with `python example/build_fixtures.py --fixture DeepSeek-R1-mic`.
79
+
80
+ ## Slim model
81
+
82
+ ### Slim fixture: DeepSeek-R1-mic
83
+
84
+ A 17.8M-parameter fixture for the [DeepSeek-R1 MIC](https://huggingface.co/huggingface-mic/DeepSeek-R1-mic), covering [`deepseek-ai/DeepSeek-R1`](https://huggingface.co/deepseek-ai/DeepSeek-R1). It is a test artifact, not a usable model, tagged `test-artifact` to keep it out of candidate-model search.
85
+
86
+ - **Fixture key `6cfb6066ddd2`.** It covers every checkpoint whose processor files are byte-identical and whose config matches after shrinking.
87
+ - **Same architecture, smaller config:** `DeepseekV3ForCausalLM`, shrunk by the generic rule in [`sweep.py`](https://github.com/huggingface/transformers-mic/blob/main/experiments/sweep.py) (num_hidden_layers 2).
88
+ - **Processor files copied byte for byte** from `deepseek-ai/DeepSeek-R1`: `LICENSE`, `configuration_deepseek.py`, `generation_config.json`, `modeling_deepseek.py`, `tokenizer.json`, `tokenizer_config.json`.
89
+ - **Random weights (seed 17).** They passed the input-sensitivity gate: every perturbation of the contract's inputs moved the logits by at least 0.001 (weakest: `input_ids:roll_batch`, 0.314), so no training was needed.
90
+ - **Same tensor names as the real checkpoint.** The real checkpoint has every parameter, and so does the fixture.
91
+ - **Saved in bfloat16**, the dtype `deepseek-ai/DeepSeek-R1` loads in by default; tensors it stores in another dtype keep it (`model.layers.*.mlp.down_proj.weight_scale_inv` float32, `model.layers.*.mlp.experts.*.down_proj.weight_scale_inv` float32, `model.layers.*.mlp.experts.*.gate_proj.weight_scale_inv` float32, `model.layers.*.mlp.experts.*.up_proj.weight_scale_inv` float32, `model.layers.*.mlp.gate.e_score_correction_bias` float32, `model.layers.*.mlp.gate_proj.weight_scale_inv` float32, `model.layers.*.mlp.shared_experts.down_proj.weight_scale_inv` float32, `model.layers.*.mlp.shared_experts.gate_proj.weight_scale_inv` float32, `model.layers.*.mlp.shared_experts.up_proj.weight_scale_inv` float32, `model.layers.*.mlp.up_proj.weight_scale_inv` float32, `model.layers.*.self_attn.kv_a_proj_with_mqa.weight_scale_inv` float32, `model.layers.*.self_attn.kv_b_proj.weight_scale_inv` float32, `model.layers.*.self_attn.o_proj.weight_scale_inv` float32, `model.layers.*.self_attn.q_a_proj.weight_scale_inv` float32, `model.layers.*.self_attn.q_b_proj.weight_scale_inv` float32).
92
+ - **Finite in float32, bfloat16, and float16** (forward, loss, gradients).
93
+
94
+ Built by [`build_fixtures.py`](https://github.com/huggingface/transformers-mic/blob/main/example/build_fixtures.py); [`build.json`](build.json) records the pinned sources, gate results, and file hashes. This repository includes the slim weights, usage and framework expectations; rebuild the other files with `python example/build_fixtures.py --fixture DeepSeek-R1-mic`.
build.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "fixture": "huggingface-mic/DeepSeek-R1-mic",
3
- "key": "d9610d1fd9b1f8e6aefe8132b9711a2f3a3bd7e34e8cf5ddb38c3ce6134e4150",
4
  "key_fields": {
5
  "architectures": [
6
  "DeepseekV3ForCausalLM"
@@ -88,13 +88,30 @@
88
  },
89
  "seed": 17,
90
  "dtype": "bfloat16",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  "builder": "example/build_fixtures.py",
92
- "builder_revision": "4140f5de707b81845dc190394fa962c91c66e343",
93
  "recipe": {
94
  "seed": 17,
95
  "model_class": "DeepseekV3ForCausalLM"
96
  },
97
- "shrink": "rule",
98
  "model_class": "DeepseekV3ForCausalLM",
99
  "parameters": 17819232,
100
  "missing_parameters": [],
@@ -164,16 +181,16 @@
164
  "environment": {
165
  "python": "3.11.14",
166
  "machine": "arm64",
167
- "torch": "2.15.0",
168
- "transformers": "5.24.0.dev0",
169
  "tokenizers": "0.23.3"
170
  },
171
  "sha256": {
172
  "LICENSE": "1c8f573e830ca9b3ebfeb7ace1823146e22b66f99ee223840e7637c9e745e1c7",
173
- "config.json": "5a4ea02cf221c027e8fb8a784761915046db80e5d97d120847fa2f262a7d32d1",
174
  "configuration_deepseek.py": "d5126f7a82eaa5fe10c294af7a8f02d59e7145c2dc8837b83ae338c1b72001d2",
175
  "generation_config.json": "3f21d5d199c7ea6b0f807e3d9865a8a9957b76a604c946bce6e73fd0629f8ca3",
176
- "model.safetensors": "d31b47e9bc2a35049a74e9c7154e140481b06ed5847da71a25c19a6ae0ffe95c",
177
  "modeling_deepseek.py": "eb6d535742061cf9da7a4232ecfe2f089d5ce20080afc5d2181e9d70ec4af8a4",
178
  "tokenizer.json": "ecb6f9fc369894346f0511f4074ca75cee5cd5f3b06d02f1ba35fcd39f8e121d",
179
  "tokenizer_config.json": "99e80c96269ca4430f1e67f67b5766cb096cbac96fed7a7c611c6ee088b3a039"
 
1
  {
2
  "fixture": "huggingface-mic/DeepSeek-R1-mic",
3
+ "key": "6cfb6066ddd28b9fb0324d2abf709a0338136f33dff1f4041846ee3370458875",
4
  "key_fields": {
5
  "architectures": [
6
  "DeepseekV3ForCausalLM"
 
88
  },
89
  "seed": 17,
90
  "dtype": "bfloat16",
91
+ "tensor_dtypes": {
92
+ "model.layers.*.mlp.down_proj.weight_scale_inv": "float32",
93
+ "model.layers.*.mlp.experts.*.down_proj.weight_scale_inv": "float32",
94
+ "model.layers.*.mlp.experts.*.gate_proj.weight_scale_inv": "float32",
95
+ "model.layers.*.mlp.experts.*.up_proj.weight_scale_inv": "float32",
96
+ "model.layers.*.mlp.gate.e_score_correction_bias": "float32",
97
+ "model.layers.*.mlp.gate_proj.weight_scale_inv": "float32",
98
+ "model.layers.*.mlp.shared_experts.down_proj.weight_scale_inv": "float32",
99
+ "model.layers.*.mlp.shared_experts.gate_proj.weight_scale_inv": "float32",
100
+ "model.layers.*.mlp.shared_experts.up_proj.weight_scale_inv": "float32",
101
+ "model.layers.*.mlp.up_proj.weight_scale_inv": "float32",
102
+ "model.layers.*.self_attn.kv_a_proj_with_mqa.weight_scale_inv": "float32",
103
+ "model.layers.*.self_attn.kv_b_proj.weight_scale_inv": "float32",
104
+ "model.layers.*.self_attn.o_proj.weight_scale_inv": "float32",
105
+ "model.layers.*.self_attn.q_a_proj.weight_scale_inv": "float32",
106
+ "model.layers.*.self_attn.q_b_proj.weight_scale_inv": "float32"
107
+ },
108
  "builder": "example/build_fixtures.py",
109
+ "builder_revision": "6ecddda32cdf65f6251edd6e461c162f27daaa2e",
110
  "recipe": {
111
  "seed": 17,
112
  "model_class": "DeepseekV3ForCausalLM"
113
  },
114
+ "shrink": "recorded",
115
  "model_class": "DeepseekV3ForCausalLM",
116
  "parameters": 17819232,
117
  "missing_parameters": [],
 
181
  "environment": {
182
  "python": "3.11.14",
183
  "machine": "arm64",
184
+ "torch": "2.14.1",
185
+ "transformers": "5.20.1",
186
  "tokenizers": "0.23.3"
187
  },
188
  "sha256": {
189
  "LICENSE": "1c8f573e830ca9b3ebfeb7ace1823146e22b66f99ee223840e7637c9e745e1c7",
190
+ "config.json": "3a04891f809b9c7f2665aedd9e0743b7f5bd11566f78186aa181e5975930e288",
191
  "configuration_deepseek.py": "d5126f7a82eaa5fe10c294af7a8f02d59e7145c2dc8837b83ae338c1b72001d2",
192
  "generation_config.json": "3f21d5d199c7ea6b0f807e3d9865a8a9957b76a604c946bce6e73fd0629f8ca3",
193
+ "model.safetensors": "3f6012e1a9aa63f6e58f1a4d01baf574345e6936bd1a8ed044b32951ef47c47e",
194
  "modeling_deepseek.py": "eb6d535742061cf9da7a4232ecfe2f089d5ce20080afc5d2181e9d70ec4af8a4",
195
  "tokenizer.json": "ecb6f9fc369894346f0511f4074ca75cee5cd5f3b06d02f1ba35fcd39f8e121d",
196
  "tokenizer_config.json": "99e80c96269ca4430f1e67f67b5766cb096cbac96fed7a7c611c6ee088b3a039"
config.json CHANGED
@@ -58,7 +58,7 @@
58
  "tie_word_embeddings": false,
59
  "topk_group": 1,
60
  "topk_method": "noaux_tc",
61
- "transformers_version": "5.24.0.dev0",
62
  "use_cache": true,
63
  "v_head_dim": 128,
64
  "vocab_size": 129280
 
58
  "tie_word_embeddings": false,
59
  "topk_group": 1,
60
  "topk_method": "noaux_tc",
61
+ "transformers_version": "5.20.1",
62
  "use_cache": true,
63
  "v_head_dim": 128,
64
  "vocab_size": 129280
integrations/transformers/expectations/cpu-x86_64-bf16/DeepSeek-R1-mic.bfloat16.json CHANGED
@@ -2,12 +2,12 @@
2
  "recorded_with": {
3
  "contract": "huggingface-mic/DeepSeek-R1-mic",
4
  "contract_name": "DeepSeek-R1",
5
- "contract_revision": "2d3440f540cc19f64a1150859f418f0b15ae352d",
6
  "framework": "transformers",
7
  "variant": "bfloat16",
8
  "target": "DeepSeek-R1-mic",
9
  "kind": "fixture",
10
- "revision": "2d3440f540cc19f64a1150859f418f0b15ae352d",
11
  "source_model": "deepseek-ai/DeepSeek-R1",
12
  "weights": "random",
13
  "fixture_repo": "huggingface-mic/DeepSeek-R1-mic",
@@ -30,7 +30,7 @@
30
  "soundfile": "0.14.0",
31
  "scipy": "1.17.1"
32
  },
33
- "seconds": 7.6,
34
  "environment_differs": {
35
  "pillow": "13.0.0 (pinned 12.3.0)",
36
  "accelerate": "1.16.0 (pinned 1.15.0)",
 
2
  "recorded_with": {
3
  "contract": "huggingface-mic/DeepSeek-R1-mic",
4
  "contract_name": "DeepSeek-R1",
5
+ "contract_revision": "f81437274e9c36c05439985d205b697e07587703",
6
  "framework": "transformers",
7
  "variant": "bfloat16",
8
  "target": "DeepSeek-R1-mic",
9
  "kind": "fixture",
10
+ "revision": "f81437274e9c36c05439985d205b697e07587703",
11
  "source_model": "deepseek-ai/DeepSeek-R1",
12
  "weights": "random",
13
  "fixture_repo": "huggingface-mic/DeepSeek-R1-mic",
 
30
  "soundfile": "0.14.0",
31
  "scipy": "1.17.1"
32
  },
33
+ "seconds": 7.67,
34
  "environment_differs": {
35
  "pillow": "13.0.0 (pinned 12.3.0)",
36
  "accelerate": "1.16.0 (pinned 1.15.0)",
integrations/transformers/expectations/cpu-x86_64-bf16/DeepSeek-R1-mic.eager.json CHANGED
@@ -2,12 +2,12 @@
2
  "recorded_with": {
3
  "contract": "huggingface-mic/DeepSeek-R1-mic",
4
  "contract_name": "DeepSeek-R1",
5
- "contract_revision": "2d3440f540cc19f64a1150859f418f0b15ae352d",
6
  "framework": "transformers",
7
  "variant": "eager",
8
  "target": "DeepSeek-R1-mic",
9
  "kind": "fixture",
10
- "revision": "2d3440f540cc19f64a1150859f418f0b15ae352d",
11
  "source_model": "deepseek-ai/DeepSeek-R1",
12
  "weights": "random",
13
  "fixture_repo": "huggingface-mic/DeepSeek-R1-mic",
@@ -30,7 +30,7 @@
30
  "soundfile": "0.14.0",
31
  "scipy": "1.17.1"
32
  },
33
- "seconds": 7.61,
34
  "environment_differs": {
35
  "pillow": "13.0.0 (pinned 12.3.0)",
36
  "accelerate": "1.16.0 (pinned 1.15.0)",
 
2
  "recorded_with": {
3
  "contract": "huggingface-mic/DeepSeek-R1-mic",
4
  "contract_name": "DeepSeek-R1",
5
+ "contract_revision": "f81437274e9c36c05439985d205b697e07587703",
6
  "framework": "transformers",
7
  "variant": "eager",
8
  "target": "DeepSeek-R1-mic",
9
  "kind": "fixture",
10
+ "revision": "f81437274e9c36c05439985d205b697e07587703",
11
  "source_model": "deepseek-ai/DeepSeek-R1",
12
  "weights": "random",
13
  "fixture_repo": "huggingface-mic/DeepSeek-R1-mic",
 
30
  "soundfile": "0.14.0",
31
  "scipy": "1.17.1"
32
  },
33
+ "seconds": 7.74,
34
  "environment_differs": {
35
  "pillow": "13.0.0 (pinned 12.3.0)",
36
  "accelerate": "1.16.0 (pinned 1.15.0)",
integrations/transformers/expectations/cpu-x86_64-bf16/DeepSeek-R1-mic.json CHANGED
@@ -2,12 +2,12 @@
2
  "recorded_with": {
3
  "contract": "huggingface-mic/DeepSeek-R1-mic",
4
  "contract_name": "DeepSeek-R1",
5
- "contract_revision": "2d3440f540cc19f64a1150859f418f0b15ae352d",
6
  "framework": "transformers",
7
  "variant": "default",
8
  "target": "DeepSeek-R1-mic",
9
  "kind": "fixture",
10
- "revision": "2d3440f540cc19f64a1150859f418f0b15ae352d",
11
  "source_model": "deepseek-ai/DeepSeek-R1",
12
  "weights": "random",
13
  "fixture_repo": "huggingface-mic/DeepSeek-R1-mic",
@@ -30,7 +30,7 @@
30
  "soundfile": "0.14.0",
31
  "scipy": "1.17.1"
32
  },
33
- "seconds": 7.53,
34
  "environment_differs": {
35
  "pillow": "13.0.0 (pinned 12.3.0)",
36
  "accelerate": "1.16.0 (pinned 1.15.0)",
 
2
  "recorded_with": {
3
  "contract": "huggingface-mic/DeepSeek-R1-mic",
4
  "contract_name": "DeepSeek-R1",
5
+ "contract_revision": "f81437274e9c36c05439985d205b697e07587703",
6
  "framework": "transformers",
7
  "variant": "default",
8
  "target": "DeepSeek-R1-mic",
9
  "kind": "fixture",
10
+ "revision": "f81437274e9c36c05439985d205b697e07587703",
11
  "source_model": "deepseek-ai/DeepSeek-R1",
12
  "weights": "random",
13
  "fixture_repo": "huggingface-mic/DeepSeek-R1-mic",
 
30
  "soundfile": "0.14.0",
31
  "scipy": "1.17.1"
32
  },
33
+ "seconds": 7.72,
34
  "environment_differs": {
35
  "pillow": "13.0.0 (pinned 12.3.0)",
36
  "accelerate": "1.16.0 (pinned 1.15.0)",
integrations/transformers/expectations/cpu-x86_64/DeepSeek-R1-mic.eager.json ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "recorded_with": {
3
+ "contract": "huggingface-mic/DeepSeek-R1-mic",
4
+ "contract_name": "DeepSeek-R1",
5
+ "contract_revision": "4453e049756f25e89cefc40186d26ae114aed4ab",
6
+ "framework": "transformers",
7
+ "variant": "eager",
8
+ "target": "DeepSeek-R1-mic",
9
+ "kind": "fixture",
10
+ "revision": "4453e049756f25e89cefc40186d26ae114aed4ab",
11
+ "source_model": "deepseek-ai/DeepSeek-R1",
12
+ "weights": "random",
13
+ "fixture_repo": "huggingface-mic/DeepSeek-R1-mic",
14
+ "environment": {
15
+ "python": "3.11.18",
16
+ "transformers": "5.24.0.dev0",
17
+ "sentence-transformers": null,
18
+ "torch": "2.15.0+cpu",
19
+ "torchvision": "0.29.2+cpu",
20
+ "torchaudio": "2.11.1+cpu",
21
+ "tokenizers": "0.23.3",
22
+ "numpy": "2.3.5",
23
+ "pillow": "13.0.0",
24
+ "accelerate": "1.16.0",
25
+ "safetensors": "0.8.0",
26
+ "huggingface-hub": "2.4.0",
27
+ "sentencepiece": "0.2.3",
28
+ "protobuf": "7.36.2",
29
+ "librosa": "0.11.0",
30
+ "soundfile": "0.14.0",
31
+ "scipy": "1.17.1"
32
+ },
33
+ "seconds": 7.27,
34
+ "environment_differs": {
35
+ "pillow": "13.0.0 (pinned 12.3.0)",
36
+ "accelerate": "1.16.0 (pinned 1.15.0)",
37
+ "huggingface-hub": "2.4.0 (pinned 2.3.0)",
38
+ "sentencepiece": "0.2.3 (pinned 0.2.2)"
39
+ },
40
+ "platform": "cpu-x86_64",
41
+ "template_date": "2026-01-01"
42
+ },
43
+ "outputs": {
44
+ "runtime": {
45
+ "device": "cpu",
46
+ "dtype": "float32",
47
+ "attn_implementation": "eager"
48
+ },
49
+ "next_token_ids": [
50
+ 5519,
51
+ 40890
52
+ ],
53
+ "probe_logits": [
54
+ [
55
+ 0.004193565342575312,
56
+ -0.344931960105896,
57
+ -0.07362405955791473,
58
+ 0.048291489481925964,
59
+ 0.0670500248670578,
60
+ -0.1709842085838318,
61
+ 0.12269138544797897,
62
+ 0.06618021428585052,
63
+ 0.034538570791482925,
64
+ -0.05448790639638901,
65
+ 0.2801607847213745,
66
+ -0.05447365716099739,
67
+ 0.12167394906282425,
68
+ -0.051004473119974136,
69
+ -0.005089344922453165,
70
+ 0.1291506141424179
71
+ ],
72
+ [
73
+ 0.06364910304546356,
74
+ -0.2574365437030792,
75
+ -0.10596691817045212,
76
+ 0.04114148020744324,
77
+ -0.04500272870063782,
78
+ -0.09521239995956421,
79
+ 0.09066033363342285,
80
+ 0.17863081395626068,
81
+ 0.02279052324593067,
82
+ 0.0329890176653862,
83
+ 0.26993241906166077,
84
+ -0.1236354187130928,
85
+ 0.0997423604130745,
86
+ -0.1707962602376938,
87
+ 0.09713324904441833,
88
+ 0.017326096072793007
89
+ ]
90
+ ],
91
+ "position_norms": [
92
+ [
93
+ 57.50774383544922,
94
+ 57.498504638671875,
95
+ 57.5133171081543,
96
+ 57.46236801147461,
97
+ 57.48556137084961
98
+ ],
99
+ [
100
+ 57.50774383544922,
101
+ 57.498504638671875,
102
+ 57.5133171081543,
103
+ 57.472312927246094,
104
+ 57.491416931152344
105
+ ]
106
+ ],
107
+ "training": {
108
+ "loss": 11.817634582519531,
109
+ "gradients": {
110
+ "model.layers.0.self_attn.q_a_proj.weight": true,
111
+ "model.layers.0.mlp.gate_proj.weight": true
112
+ },
113
+ "updated": true
114
+ }
115
+ }
116
+ }
integrations/transformers/expectations/cpu-x86_64/DeepSeek-R1-mic.json ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "recorded_with": {
3
+ "contract": "huggingface-mic/DeepSeek-R1-mic",
4
+ "contract_name": "DeepSeek-R1",
5
+ "contract_revision": "4453e049756f25e89cefc40186d26ae114aed4ab",
6
+ "framework": "transformers",
7
+ "variant": "default",
8
+ "target": "DeepSeek-R1-mic",
9
+ "kind": "fixture",
10
+ "revision": "4453e049756f25e89cefc40186d26ae114aed4ab",
11
+ "source_model": "deepseek-ai/DeepSeek-R1",
12
+ "weights": "random",
13
+ "fixture_repo": "huggingface-mic/DeepSeek-R1-mic",
14
+ "environment": {
15
+ "python": "3.11.18",
16
+ "transformers": "5.24.0.dev0",
17
+ "sentence-transformers": null,
18
+ "torch": "2.15.0+cpu",
19
+ "torchvision": "0.29.2+cpu",
20
+ "torchaudio": "2.11.1+cpu",
21
+ "tokenizers": "0.23.3",
22
+ "numpy": "2.3.5",
23
+ "pillow": "13.0.0",
24
+ "accelerate": "1.16.0",
25
+ "safetensors": "0.8.0",
26
+ "huggingface-hub": "2.4.0",
27
+ "sentencepiece": "0.2.3",
28
+ "protobuf": "7.36.2",
29
+ "librosa": "0.11.0",
30
+ "soundfile": "0.14.0",
31
+ "scipy": "1.17.1"
32
+ },
33
+ "seconds": 7.29,
34
+ "environment_differs": {
35
+ "pillow": "13.0.0 (pinned 12.3.0)",
36
+ "accelerate": "1.16.0 (pinned 1.15.0)",
37
+ "huggingface-hub": "2.4.0 (pinned 2.3.0)",
38
+ "sentencepiece": "0.2.3 (pinned 0.2.2)"
39
+ },
40
+ "platform": "cpu-x86_64",
41
+ "template_date": "2026-01-01"
42
+ },
43
+ "outputs": {
44
+ "runtime": {
45
+ "device": "cpu",
46
+ "dtype": "float32",
47
+ "attn_implementation": "sdpa"
48
+ },
49
+ "next_token_ids": [
50
+ 5519,
51
+ 40890
52
+ ],
53
+ "probe_logits": [
54
+ [
55
+ 0.0041935499757528305,
56
+ -0.344931960105896,
57
+ -0.07362408190965652,
58
+ 0.04829144850373268,
59
+ 0.06705000251531601,
60
+ -0.1709841787815094,
61
+ 0.1226913258433342,
62
+ 0.06618022918701172,
63
+ 0.03453856706619263,
64
+ -0.054487865418195724,
65
+ 0.2801608145236969,
66
+ -0.054473623633384705,
67
+ 0.12167391926050186,
68
+ -0.05100449174642563,
69
+ -0.005089304875582457,
70
+ 0.12915058434009552
71
+ ],
72
+ [
73
+ 0.06364911049604416,
74
+ -0.2574365735054016,
75
+ -0.10596688091754913,
76
+ 0.041141439229249954,
77
+ -0.04500273987650871,
78
+ -0.0952124148607254,
79
+ 0.09066035598516464,
80
+ 0.17863084375858307,
81
+ 0.022790545597672462,
82
+ 0.032988980412483215,
83
+ 0.2699323892593384,
84
+ -0.12363538891077042,
85
+ 0.09974239021539688,
86
+ -0.17079633474349976,
87
+ 0.09713324159383774,
88
+ 0.017326051369309425
89
+ ]
90
+ ],
91
+ "position_norms": [
92
+ [
93
+ 57.50774383544922,
94
+ 57.498504638671875,
95
+ 57.51331329345703,
96
+ 57.46236801147461,
97
+ 57.485557556152344
98
+ ],
99
+ [
100
+ 57.50774383544922,
101
+ 57.498504638671875,
102
+ 57.51331329345703,
103
+ 57.47230911254883,
104
+ 57.49141311645508
105
+ ]
106
+ ],
107
+ "training": {
108
+ "loss": 11.817634582519531,
109
+ "gradients": {
110
+ "model.layers.0.self_attn.q_a_proj.weight": true,
111
+ "model.layers.0.mlp.gate_proj.weight": true
112
+ },
113
+ "updated": true
114
+ }
115
+ }
116
+ }
integrations/transformers/expectations/cuda/DeepSeek-R1-mic.bfloat16.json CHANGED
@@ -2,12 +2,12 @@
2
  "recorded_with": {
3
  "contract": "huggingface-mic/DeepSeek-R1-mic",
4
  "contract_name": "DeepSeek-R1",
5
- "contract_revision": "2d3440f540cc19f64a1150859f418f0b15ae352d",
6
  "framework": "transformers",
7
  "variant": "bfloat16",
8
  "target": "DeepSeek-R1-mic",
9
  "kind": "fixture",
10
- "revision": "2d3440f540cc19f64a1150859f418f0b15ae352d",
11
  "source_model": "deepseek-ai/DeepSeek-R1",
12
  "weights": "random",
13
  "fixture_repo": "huggingface-mic/DeepSeek-R1-mic",
@@ -30,7 +30,7 @@
30
  "soundfile": "0.14.0",
31
  "scipy": "1.17.1"
32
  },
33
- "seconds": 7.41,
34
  "environment_differs": {
35
  "pillow": "13.0.0 (pinned 12.3.0)",
36
  "accelerate": "1.17.0.dev0 (pinned 1.15.0)",
 
2
  "recorded_with": {
3
  "contract": "huggingface-mic/DeepSeek-R1-mic",
4
  "contract_name": "DeepSeek-R1",
5
+ "contract_revision": "f81437274e9c36c05439985d205b697e07587703",
6
  "framework": "transformers",
7
  "variant": "bfloat16",
8
  "target": "DeepSeek-R1-mic",
9
  "kind": "fixture",
10
+ "revision": "f81437274e9c36c05439985d205b697e07587703",
11
  "source_model": "deepseek-ai/DeepSeek-R1",
12
  "weights": "random",
13
  "fixture_repo": "huggingface-mic/DeepSeek-R1-mic",
 
30
  "soundfile": "0.14.0",
31
  "scipy": "1.17.1"
32
  },
33
+ "seconds": 7.02,
34
  "environment_differs": {
35
  "pillow": "13.0.0 (pinned 12.3.0)",
36
  "accelerate": "1.17.0.dev0 (pinned 1.15.0)",
integrations/transformers/expectations/cuda/DeepSeek-R1-mic.eager.json CHANGED
@@ -2,12 +2,12 @@
2
  "recorded_with": {
3
  "contract": "huggingface-mic/DeepSeek-R1-mic",
4
  "contract_name": "DeepSeek-R1",
5
- "contract_revision": "2d3440f540cc19f64a1150859f418f0b15ae352d",
6
  "framework": "transformers",
7
  "variant": "eager",
8
  "target": "DeepSeek-R1-mic",
9
  "kind": "fixture",
10
- "revision": "2d3440f540cc19f64a1150859f418f0b15ae352d",
11
  "source_model": "deepseek-ai/DeepSeek-R1",
12
  "weights": "random",
13
  "fixture_repo": "huggingface-mic/DeepSeek-R1-mic",
@@ -30,7 +30,7 @@
30
  "soundfile": "0.14.0",
31
  "scipy": "1.17.1"
32
  },
33
- "seconds": 7.9,
34
  "environment_differs": {
35
  "pillow": "13.0.0 (pinned 12.3.0)",
36
  "accelerate": "1.17.0.dev0 (pinned 1.15.0)",
 
2
  "recorded_with": {
3
  "contract": "huggingface-mic/DeepSeek-R1-mic",
4
  "contract_name": "DeepSeek-R1",
5
+ "contract_revision": "f81437274e9c36c05439985d205b697e07587703",
6
  "framework": "transformers",
7
  "variant": "eager",
8
  "target": "DeepSeek-R1-mic",
9
  "kind": "fixture",
10
+ "revision": "f81437274e9c36c05439985d205b697e07587703",
11
  "source_model": "deepseek-ai/DeepSeek-R1",
12
  "weights": "random",
13
  "fixture_repo": "huggingface-mic/DeepSeek-R1-mic",
 
30
  "soundfile": "0.14.0",
31
  "scipy": "1.17.1"
32
  },
33
+ "seconds": 7.08,
34
  "environment_differs": {
35
  "pillow": "13.0.0 (pinned 12.3.0)",
36
  "accelerate": "1.17.0.dev0 (pinned 1.15.0)",
integrations/transformers/expectations/cuda/DeepSeek-R1-mic.json CHANGED
@@ -2,12 +2,12 @@
2
  "recorded_with": {
3
  "contract": "huggingface-mic/DeepSeek-R1-mic",
4
  "contract_name": "DeepSeek-R1",
5
- "contract_revision": "2d3440f540cc19f64a1150859f418f0b15ae352d",
6
  "framework": "transformers",
7
  "variant": "default",
8
  "target": "DeepSeek-R1-mic",
9
  "kind": "fixture",
10
- "revision": "2d3440f540cc19f64a1150859f418f0b15ae352d",
11
  "source_model": "deepseek-ai/DeepSeek-R1",
12
  "weights": "random",
13
  "fixture_repo": "huggingface-mic/DeepSeek-R1-mic",
@@ -30,7 +30,7 @@
30
  "soundfile": "0.14.0",
31
  "scipy": "1.17.1"
32
  },
33
- "seconds": 8.08,
34
  "environment_differs": {
35
  "pillow": "13.0.0 (pinned 12.3.0)",
36
  "accelerate": "1.17.0.dev0 (pinned 1.15.0)",
 
2
  "recorded_with": {
3
  "contract": "huggingface-mic/DeepSeek-R1-mic",
4
  "contract_name": "DeepSeek-R1",
5
+ "contract_revision": "f81437274e9c36c05439985d205b697e07587703",
6
  "framework": "transformers",
7
  "variant": "default",
8
  "target": "DeepSeek-R1-mic",
9
  "kind": "fixture",
10
+ "revision": "f81437274e9c36c05439985d205b697e07587703",
11
  "source_model": "deepseek-ai/DeepSeek-R1",
12
  "weights": "random",
13
  "fixture_repo": "huggingface-mic/DeepSeek-R1-mic",
 
30
  "soundfile": "0.14.0",
31
  "scipy": "1.17.1"
32
  },
33
+ "seconds": 7.48,
34
  "environment_differs": {
35
  "pillow": "13.0.0 (pinned 12.3.0)",
36
  "accelerate": "1.17.0.dev0 (pinned 1.15.0)",
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d31b47e9bc2a35049a74e9c7154e140481b06ed5847da71a25c19a6ae0ffe95c
3
- size 35643096
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f6012e1a9aa63f6e58f1a4d01baf574345e6936bd1a8ed044b32951ef47c47e
3
+ size 35643088