Publish MIC usage, slim fixture and reviewed Transformers expectations
Browse files- README.md +28 -0
- build.json +20 -14
- config.json +4 -4
- integrations/transformers/expectations/cpu-x86_64-bf16/GLM-OCR-mic.bfloat16.json +6 -8
- integrations/transformers/expectations/cpu-x86_64-bf16/GLM-OCR-mic.eager.json +77 -0
- integrations/transformers/expectations/cpu-x86_64-bf16/GLM-OCR-mic.json +77 -0
- integrations/transformers/expectations/cuda/GLM-OCR-mic.bfloat16.json +7 -11
- integrations/transformers/expectations/cuda/GLM-OCR-mic.eager.json +13 -17
- integrations/transformers/expectations/cuda/GLM-OCR-mic.json +13 -17
- integrations/transformers/expectations/cuda/GLM-OCR.bfloat16.json +6 -10
- model.safetensors +2 -2
README.md
CHANGED
|
@@ -17,6 +17,18 @@ Slim model weights, executable usage and framework expectations in one repositor
|
|
| 17 |
|
| 18 |
## Contract
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
### GLM-OCR image-to-text
|
| 21 |
|
| 22 |
Runnable usage and the framework expectations directory are linked above.
|
|
@@ -53,3 +65,19 @@ A 8.8M-parameter fixture for the [GLM-OCR MIC](https://huggingface.co/huggingfac
|
|
| 53 |
- **Finite in float32, bfloat16, and float16** (forward, loss, gradients).
|
| 54 |
|
| 55 |
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 GLM-OCR-mic`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
## Contract
|
| 19 |
|
| 20 |
+
### GLM-OCR-mic
|
| 21 |
+
|
| 22 |
+
Slim model weights, executable usage and framework expectations in one repository.
|
| 23 |
+
|
| 24 |
+
- [Contract manifest](integration.json)
|
| 25 |
+
- [Transformers usage](integrations/transformers/usage.md)
|
| 26 |
+
- [Transformers expectations](integrations/transformers/expectations)
|
| 27 |
+
- [Fixture provenance](build.json)
|
| 28 |
+
- [How the fixture was shrunk](https://huggingface-mic-mic-coverage.static.hf.space/shrink/GLM-OCR-mic.html)
|
| 29 |
+
|
| 30 |
+
## Contract
|
| 31 |
+
|
| 32 |
### GLM-OCR image-to-text
|
| 33 |
|
| 34 |
Runnable usage and the framework expectations directory are linked above.
|
|
|
|
| 65 |
- **Finite in float32, bfloat16, and float16** (forward, loss, gradients).
|
| 66 |
|
| 67 |
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 GLM-OCR-mic`.
|
| 68 |
+
|
| 69 |
+
## Slim model
|
| 70 |
+
|
| 71 |
+
### Slim fixture: GLM-OCR-mic
|
| 72 |
+
|
| 73 |
+
A 8.8M-parameter fixture for the [GLM-OCR MIC](https://huggingface.co/huggingface-mic/GLM-OCR-mic), covering [`zai-org/GLM-OCR`](https://huggingface.co/zai-org/GLM-OCR). It is a test artifact, not a usable model, tagged `test-artifact` to keep it out of candidate-model search.
|
| 74 |
+
|
| 75 |
+
- **Fixture key `3c8ab8427a38`.** It covers every checkpoint whose processor files are byte-identical and whose config matches after shrinking.
|
| 76 |
+
- **Same architecture, smaller config:** `GlmOcrForConditionalGeneration`, shrunk by the generic rule in [`sweep.py`](https://github.com/huggingface/transformers-mic/blob/main/experiments/sweep.py) (text num_hidden_layers 2).
|
| 77 |
+
- **Processor files copied byte for byte** from `zai-org/GLM-OCR`: `chat_template.jinja`, `generation_config.json`, `preprocessor_config.json`, `processor_config.json`, `tokenizer.json`, `tokenizer_config.json`.
|
| 78 |
+
- **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: `pixel_values:roll_batch`, 0.0789), so no training was needed.
|
| 79 |
+
- **Same tensor names as the real checkpoint.** The real checkpoint has every parameter, and so does the fixture.
|
| 80 |
+
- **Saved in bfloat16**, the dtype `zai-org/GLM-OCR` loads in by default.
|
| 81 |
+
- **Finite in float32, bfloat16, and float16** (forward, loss, gradients).
|
| 82 |
+
|
| 83 |
+
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 GLM-OCR-mic`.
|
build.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"fixture": "huggingface-mic/GLM-OCR-mic",
|
| 3 |
-
"key": "
|
| 4 |
"key_fields": {
|
| 5 |
"architectures": [
|
| 6 |
"GlmOcrForConditionalGeneration"
|
|
@@ -117,7 +117,8 @@
|
|
| 117 |
"video_end_token_id": 59259,
|
| 118 |
"tie_word_embeddings": false,
|
| 119 |
"model_type": "glm_ocr",
|
| 120 |
-
"output_attentions": false
|
|
|
|
| 121 |
},
|
| 122 |
"covers": {
|
| 123 |
"zai-org/GLM-OCR": "2e85a62840ccac27daa451df36c736c4636b8628"
|
|
@@ -127,17 +128,22 @@
|
|
| 127 |
"revision": "2e85a62840ccac27daa451df36c736c4636b8628"
|
| 128 |
},
|
| 129 |
"seed": 17,
|
| 130 |
-
"dtype": "
|
| 131 |
"builder": "example/build_fixtures.py",
|
| 132 |
-
"builder_revision": "
|
| 133 |
"recipe": {
|
| 134 |
"seed": 17,
|
| 135 |
"model_class": "GlmOcrForConditionalGeneration"
|
| 136 |
},
|
| 137 |
-
"shrink": "
|
| 138 |
"model_class": "GlmOcrForConditionalGeneration",
|
| 139 |
"parameters": 8810112,
|
| 140 |
"missing_parameters": [],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 141 |
"checkpoint_inspection": "parameter headers/indexes; bounded binary fallback",
|
| 142 |
"numeric_health_scope": "CPU float32/bfloat16/float16; autocast for low-precision losses",
|
| 143 |
"captured": {
|
|
@@ -160,12 +166,12 @@
|
|
| 160 |
"threshold": 0.001,
|
| 161 |
"deltas": {
|
| 162 |
"input_ids:roll_batch": null,
|
| 163 |
-
"input_ids:reverse": 1.
|
| 164 |
"attention_mask:all_ones": null,
|
| 165 |
-
"pixel_values:roll_batch": 0.
|
| 166 |
-
"pixel_values:swap_channels": 0.
|
| 167 |
-
"pixel_values:reverse": 0.
|
| 168 |
-
"pixel_values:halve": 0.
|
| 169 |
},
|
| 170 |
"weakest": "pixel_values:roll_batch",
|
| 171 |
"no_perturbation_defined": [
|
|
@@ -204,17 +210,17 @@
|
|
| 204 |
"tokenizer_config.json"
|
| 205 |
],
|
| 206 |
"environment": {
|
| 207 |
-
"python": "3.
|
| 208 |
"machine": "arm64",
|
| 209 |
"torch": "2.14.1",
|
| 210 |
-
"transformers": "5.
|
| 211 |
"tokenizers": "0.23.3"
|
| 212 |
},
|
| 213 |
"sha256": {
|
| 214 |
"chat_template.jinja": "062e7ee4cc8defa88a5938b5d456dc60366ffd80647f918946ee747bf09ddc7c",
|
| 215 |
-
"config.json": "
|
| 216 |
"generation_config.json": "4e2a3412f65b2a21d315d928986c55723d3e60dfb92c3982a5b9fd56835b0aa5",
|
| 217 |
-
"model.safetensors": "
|
| 218 |
"preprocessor_config.json": "02cc50c36240882ae35e8cd4077a25a379664108185d728d261cb785aefeccff",
|
| 219 |
"processor_config.json": "a56fbd559186fefd6c22a3acc6a393a18a9fe52c264692a122a143d24042112b",
|
| 220 |
"tokenizer.json": "aa0fd058c73a5718bb191f6672dc16d122ee0147b20c123d1726514298f9968a",
|
|
|
|
| 1 |
{
|
| 2 |
"fixture": "huggingface-mic/GLM-OCR-mic",
|
| 3 |
+
"key": "3c8ab8427a38da52a67e4b8d6e4f36a818a80a96e5c796563b186ed5ca82495a",
|
| 4 |
"key_fields": {
|
| 5 |
"architectures": [
|
| 6 |
"GlmOcrForConditionalGeneration"
|
|
|
|
| 117 |
"video_end_token_id": 59259,
|
| 118 |
"tie_word_embeddings": false,
|
| 119 |
"model_type": "glm_ocr",
|
| 120 |
+
"output_attentions": false,
|
| 121 |
+
"dtype": "bfloat16"
|
| 122 |
},
|
| 123 |
"covers": {
|
| 124 |
"zai-org/GLM-OCR": "2e85a62840ccac27daa451df36c736c4636b8628"
|
|
|
|
| 128 |
"revision": "2e85a62840ccac27daa451df36c736c4636b8628"
|
| 129 |
},
|
| 130 |
"seed": 17,
|
| 131 |
+
"dtype": "bfloat16",
|
| 132 |
"builder": "example/build_fixtures.py",
|
| 133 |
+
"builder_revision": "6ecddda32cdf65f6251edd6e461c162f27daaa2e",
|
| 134 |
"recipe": {
|
| 135 |
"seed": 17,
|
| 136 |
"model_class": "GlmOcrForConditionalGeneration"
|
| 137 |
},
|
| 138 |
+
"shrink": "recorded",
|
| 139 |
"model_class": "GlmOcrForConditionalGeneration",
|
| 140 |
"parameters": 8810112,
|
| 141 |
"missing_parameters": [],
|
| 142 |
+
"serialization": {
|
| 143 |
+
"file": "model.safetensors",
|
| 144 |
+
"source_file": "model.safetensors",
|
| 145 |
+
"reverted_conversions": []
|
| 146 |
+
},
|
| 147 |
"checkpoint_inspection": "parameter headers/indexes; bounded binary fallback",
|
| 148 |
"numeric_health_scope": "CPU float32/bfloat16/float16; autocast for low-precision losses",
|
| 149 |
"captured": {
|
|
|
|
| 166 |
"threshold": 0.001,
|
| 167 |
"deltas": {
|
| 168 |
"input_ids:roll_batch": null,
|
| 169 |
+
"input_ids:reverse": 1.033203125,
|
| 170 |
"attention_mask:all_ones": null,
|
| 171 |
+
"pixel_values:roll_batch": 0.078857421875,
|
| 172 |
+
"pixel_values:swap_channels": 0.09033203125,
|
| 173 |
+
"pixel_values:reverse": 0.09033203125,
|
| 174 |
+
"pixel_values:halve": 0.0986328125
|
| 175 |
},
|
| 176 |
"weakest": "pixel_values:roll_batch",
|
| 177 |
"no_perturbation_defined": [
|
|
|
|
| 210 |
"tokenizer_config.json"
|
| 211 |
],
|
| 212 |
"environment": {
|
| 213 |
+
"python": "3.11.14",
|
| 214 |
"machine": "arm64",
|
| 215 |
"torch": "2.14.1",
|
| 216 |
+
"transformers": "5.20.1",
|
| 217 |
"tokenizers": "0.23.3"
|
| 218 |
},
|
| 219 |
"sha256": {
|
| 220 |
"chat_template.jinja": "062e7ee4cc8defa88a5938b5d456dc60366ffd80647f918946ee747bf09ddc7c",
|
| 221 |
+
"config.json": "ceaf7e912b30b98b34d98de304117176e32dcb9a4c0f40cf15807e6a6612d7c7",
|
| 222 |
"generation_config.json": "4e2a3412f65b2a21d315d928986c55723d3e60dfb92c3982a5b9fd56835b0aa5",
|
| 223 |
+
"model.safetensors": "5f10f025a88cbe1a82cc49948cc341eb1c8e0fa8ed81cc0adc87cac3730ca35a",
|
| 224 |
"preprocessor_config.json": "02cc50c36240882ae35e8cd4077a25a379664108185d728d261cb785aefeccff",
|
| 225 |
"processor_config.json": "a56fbd559186fefd6c22a3acc6a393a18a9fe52c264692a122a143d24042112b",
|
| 226 |
"tokenizer.json": "aa0fd058c73a5718bb191f6672dc16d122ee0147b20c123d1726514298f9968a",
|
config.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
"architectures": [
|
| 3 |
"GlmOcrForConditionalGeneration"
|
| 4 |
],
|
| 5 |
-
"dtype": "
|
| 6 |
"image_end_token_id": 59257,
|
| 7 |
"image_start_token_id": 59256,
|
| 8 |
"image_token_id": 59280,
|
|
@@ -10,7 +10,7 @@
|
|
| 10 |
"text_config": {
|
| 11 |
"attention_bias": false,
|
| 12 |
"attention_dropout": 0.0,
|
| 13 |
-
"dtype": "
|
| 14 |
"eos_token_id": [
|
| 15 |
59246,
|
| 16 |
59253
|
|
@@ -43,7 +43,7 @@
|
|
| 43 |
"vocab_size": 59392
|
| 44 |
},
|
| 45 |
"tie_word_embeddings": false,
|
| 46 |
-
"transformers_version": "5.
|
| 47 |
"video_end_token_id": 59259,
|
| 48 |
"video_start_token_id": 59258,
|
| 49 |
"video_token_id": 59281,
|
|
@@ -51,7 +51,7 @@
|
|
| 51 |
"attention_bias": true,
|
| 52 |
"attention_dropout": 0.0,
|
| 53 |
"depth": 24,
|
| 54 |
-
"dtype": "
|
| 55 |
"hidden_act": "silu",
|
| 56 |
"hidden_dropout_prob": 0.0,
|
| 57 |
"hidden_size": 64,
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"GlmOcrForConditionalGeneration"
|
| 4 |
],
|
| 5 |
+
"dtype": "bfloat16",
|
| 6 |
"image_end_token_id": 59257,
|
| 7 |
"image_start_token_id": 59256,
|
| 8 |
"image_token_id": 59280,
|
|
|
|
| 10 |
"text_config": {
|
| 11 |
"attention_bias": false,
|
| 12 |
"attention_dropout": 0.0,
|
| 13 |
+
"dtype": "bfloat16",
|
| 14 |
"eos_token_id": [
|
| 15 |
59246,
|
| 16 |
59253
|
|
|
|
| 43 |
"vocab_size": 59392
|
| 44 |
},
|
| 45 |
"tie_word_embeddings": false,
|
| 46 |
+
"transformers_version": "5.20.1",
|
| 47 |
"video_end_token_id": 59259,
|
| 48 |
"video_start_token_id": 59258,
|
| 49 |
"video_token_id": 59281,
|
|
|
|
| 51 |
"attention_bias": true,
|
| 52 |
"attention_dropout": 0.0,
|
| 53 |
"depth": 24,
|
| 54 |
+
"dtype": "bfloat16",
|
| 55 |
"hidden_act": "silu",
|
| 56 |
"hidden_dropout_prob": 0.0,
|
| 57 |
"hidden_size": 64,
|
integrations/transformers/expectations/cpu-x86_64-bf16/GLM-OCR-mic.bfloat16.json
CHANGED
|
@@ -2,18 +2,18 @@
|
|
| 2 |
"recorded_with": {
|
| 3 |
"contract": "huggingface-mic/GLM-OCR-mic",
|
| 4 |
"contract_name": "GLM-OCR",
|
| 5 |
-
"contract_revision": "
|
| 6 |
"framework": "transformers",
|
| 7 |
"variant": "bfloat16",
|
| 8 |
"target": "GLM-OCR-mic",
|
| 9 |
"kind": "fixture",
|
| 10 |
-
"revision": "
|
| 11 |
"source_model": "zai-org/GLM-OCR",
|
| 12 |
"weights": "random",
|
| 13 |
"fixture_repo": "huggingface-mic/GLM-OCR-mic",
|
| 14 |
"environment": {
|
| 15 |
"python": "3.11.18",
|
| 16 |
-
"transformers": "5.
|
| 17 |
"sentence-transformers": null,
|
| 18 |
"torch": "2.15.0+cpu",
|
| 19 |
"torchvision": "0.29.2+cpu",
|
|
@@ -21,7 +21,7 @@
|
|
| 21 |
"tokenizers": "0.23.3",
|
| 22 |
"numpy": "2.3.5",
|
| 23 |
"pillow": "13.0.0",
|
| 24 |
-
"accelerate": "1.
|
| 25 |
"safetensors": "0.8.0",
|
| 26 |
"huggingface-hub": "2.4.0",
|
| 27 |
"sentencepiece": "0.2.3",
|
|
@@ -30,12 +30,10 @@
|
|
| 30 |
"soundfile": "0.14.0",
|
| 31 |
"scipy": "1.17.1"
|
| 32 |
},
|
| 33 |
-
"seconds":
|
| 34 |
"environment_differs": {
|
| 35 |
-
"torch": "2.15.0+cpu (pinned 2.14.0)",
|
| 36 |
-
"torchvision": "0.29.2+cpu (pinned 0.29.1)",
|
| 37 |
-
"torchaudio": "2.11.1+cpu (pinned 2.11.0)",
|
| 38 |
"pillow": "13.0.0 (pinned 12.3.0)",
|
|
|
|
| 39 |
"huggingface-hub": "2.4.0 (pinned 2.3.0)",
|
| 40 |
"sentencepiece": "0.2.3 (pinned 0.2.2)"
|
| 41 |
},
|
|
|
|
| 2 |
"recorded_with": {
|
| 3 |
"contract": "huggingface-mic/GLM-OCR-mic",
|
| 4 |
"contract_name": "GLM-OCR",
|
| 5 |
+
"contract_revision": "97a81b31bbdb13e2ec7fc4e113822c5105001e6e",
|
| 6 |
"framework": "transformers",
|
| 7 |
"variant": "bfloat16",
|
| 8 |
"target": "GLM-OCR-mic",
|
| 9 |
"kind": "fixture",
|
| 10 |
+
"revision": "97a81b31bbdb13e2ec7fc4e113822c5105001e6e",
|
| 11 |
"source_model": "zai-org/GLM-OCR",
|
| 12 |
"weights": "random",
|
| 13 |
"fixture_repo": "huggingface-mic/GLM-OCR-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",
|
|
|
|
| 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",
|
|
|
|
| 30 |
"soundfile": "0.14.0",
|
| 31 |
"scipy": "1.17.1"
|
| 32 |
},
|
| 33 |
+
"seconds": 9.21,
|
| 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 |
},
|
integrations/transformers/expectations/cpu-x86_64-bf16/GLM-OCR-mic.eager.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"recorded_with": {
|
| 3 |
+
"contract": "huggingface-mic/GLM-OCR-mic",
|
| 4 |
+
"contract_name": "GLM-OCR",
|
| 5 |
+
"contract_revision": "97a81b31bbdb13e2ec7fc4e113822c5105001e6e",
|
| 6 |
+
"framework": "transformers",
|
| 7 |
+
"variant": "eager",
|
| 8 |
+
"target": "GLM-OCR-mic",
|
| 9 |
+
"kind": "fixture",
|
| 10 |
+
"revision": "97a81b31bbdb13e2ec7fc4e113822c5105001e6e",
|
| 11 |
+
"source_model": "zai-org/GLM-OCR",
|
| 12 |
+
"weights": "random",
|
| 13 |
+
"fixture_repo": "huggingface-mic/GLM-OCR-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": 9.23,
|
| 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-bf16",
|
| 41 |
+
"template_date": "2026-01-01"
|
| 42 |
+
},
|
| 43 |
+
"outputs": {
|
| 44 |
+
"runtime": {
|
| 45 |
+
"device": "cpu",
|
| 46 |
+
"dtype": "bfloat16",
|
| 47 |
+
"attn_implementation": "eager",
|
| 48 |
+
"attn_implementations": {
|
| 49 |
+
"text_config": "eager",
|
| 50 |
+
"vision_config": "eager"
|
| 51 |
+
}
|
| 52 |
+
},
|
| 53 |
+
"predicted_tokens": [
|
| 54 |
+
31895,
|
| 55 |
+
31895
|
| 56 |
+
],
|
| 57 |
+
"answer_logits": [
|
| 58 |
+
[
|
| 59 |
+
0.69140625,
|
| 60 |
+
0.69140625
|
| 61 |
+
],
|
| 62 |
+
[
|
| 63 |
+
0.69140625,
|
| 64 |
+
0.69140625
|
| 65 |
+
]
|
| 66 |
+
],
|
| 67 |
+
"training": {
|
| 68 |
+
"loss": 10.991683959960938,
|
| 69 |
+
"gradients": {
|
| 70 |
+
"model.language_model.layers.0.self_attn.q_proj.weight": true,
|
| 71 |
+
"model.language_model.layers.0.mlp.down_proj.weight": true,
|
| 72 |
+
"model.visual.blocks.0.attn.qkv.weight": true
|
| 73 |
+
},
|
| 74 |
+
"updated": true
|
| 75 |
+
}
|
| 76 |
+
}
|
| 77 |
+
}
|
integrations/transformers/expectations/cpu-x86_64-bf16/GLM-OCR-mic.json
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"recorded_with": {
|
| 3 |
+
"contract": "huggingface-mic/GLM-OCR-mic",
|
| 4 |
+
"contract_name": "GLM-OCR",
|
| 5 |
+
"contract_revision": "97a81b31bbdb13e2ec7fc4e113822c5105001e6e",
|
| 6 |
+
"framework": "transformers",
|
| 7 |
+
"variant": "default",
|
| 8 |
+
"target": "GLM-OCR-mic",
|
| 9 |
+
"kind": "fixture",
|
| 10 |
+
"revision": "97a81b31bbdb13e2ec7fc4e113822c5105001e6e",
|
| 11 |
+
"source_model": "zai-org/GLM-OCR",
|
| 12 |
+
"weights": "random",
|
| 13 |
+
"fixture_repo": "huggingface-mic/GLM-OCR-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": 8.91,
|
| 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-bf16",
|
| 41 |
+
"template_date": "2026-01-01"
|
| 42 |
+
},
|
| 43 |
+
"outputs": {
|
| 44 |
+
"runtime": {
|
| 45 |
+
"device": "cpu",
|
| 46 |
+
"dtype": "bfloat16",
|
| 47 |
+
"attn_implementation": "sdpa",
|
| 48 |
+
"attn_implementations": {
|
| 49 |
+
"text_config": "sdpa",
|
| 50 |
+
"vision_config": "sdpa"
|
| 51 |
+
}
|
| 52 |
+
},
|
| 53 |
+
"predicted_tokens": [
|
| 54 |
+
31895,
|
| 55 |
+
31895
|
| 56 |
+
],
|
| 57 |
+
"answer_logits": [
|
| 58 |
+
[
|
| 59 |
+
0.69140625,
|
| 60 |
+
0.69140625
|
| 61 |
+
],
|
| 62 |
+
[
|
| 63 |
+
0.69140625,
|
| 64 |
+
0.69140625
|
| 65 |
+
]
|
| 66 |
+
],
|
| 67 |
+
"training": {
|
| 68 |
+
"loss": 10.99158763885498,
|
| 69 |
+
"gradients": {
|
| 70 |
+
"model.language_model.layers.0.self_attn.q_proj.weight": true,
|
| 71 |
+
"model.language_model.layers.0.mlp.down_proj.weight": true,
|
| 72 |
+
"model.visual.blocks.0.attn.qkv.weight": true
|
| 73 |
+
},
|
| 74 |
+
"updated": true
|
| 75 |
+
}
|
| 76 |
+
}
|
| 77 |
+
}
|
integrations/transformers/expectations/cuda/GLM-OCR-mic.bfloat16.json
CHANGED
|
@@ -2,26 +2,26 @@
|
|
| 2 |
"recorded_with": {
|
| 3 |
"contract": "huggingface-mic/GLM-OCR-mic",
|
| 4 |
"contract_name": "GLM-OCR",
|
| 5 |
-
"contract_revision": "
|
| 6 |
"framework": "transformers",
|
| 7 |
"variant": "bfloat16",
|
| 8 |
"target": "GLM-OCR-mic",
|
| 9 |
"kind": "fixture",
|
| 10 |
-
"revision": "
|
| 11 |
"source_model": "zai-org/GLM-OCR",
|
| 12 |
"weights": "random",
|
| 13 |
"fixture_repo": "huggingface-mic/GLM-OCR-mic",
|
| 14 |
"environment": {
|
| 15 |
"python": "3.11.18",
|
| 16 |
-
"transformers": "5.
|
| 17 |
"sentence-transformers": null,
|
| 18 |
"torch": "2.15.0+cu132",
|
| 19 |
"torchvision": "0.29.2+cu132",
|
| 20 |
"torchaudio": "2.11.1+cu132",
|
| 21 |
"tokenizers": "0.23.3",
|
| 22 |
-
"numpy": "2.
|
| 23 |
"pillow": "13.0.0",
|
| 24 |
-
"accelerate": "1.
|
| 25 |
"safetensors": "0.8.0",
|
| 26 |
"huggingface-hub": "2.4.0",
|
| 27 |
"sentencepiece": "0.2.3",
|
|
@@ -30,14 +30,10 @@
|
|
| 30 |
"soundfile": "0.14.0",
|
| 31 |
"scipy": "1.17.1"
|
| 32 |
},
|
| 33 |
-
"seconds": 8.
|
| 34 |
"environment_differs": {
|
| 35 |
-
"torch": "2.15.0+cu132 (pinned 2.14.0)",
|
| 36 |
-
"torchvision": "0.29.2+cu132 (pinned 0.29.1)",
|
| 37 |
-
"torchaudio": "2.11.1+cu132 (pinned 2.11.0)",
|
| 38 |
-
"numpy": "2.4.6 (pinned 2.3.5)",
|
| 39 |
"pillow": "13.0.0 (pinned 12.3.0)",
|
| 40 |
-
"accelerate": "1.
|
| 41 |
"huggingface-hub": "2.4.0 (pinned 2.3.0)",
|
| 42 |
"sentencepiece": "0.2.3 (pinned 0.2.2)"
|
| 43 |
},
|
|
|
|
| 2 |
"recorded_with": {
|
| 3 |
"contract": "huggingface-mic/GLM-OCR-mic",
|
| 4 |
"contract_name": "GLM-OCR",
|
| 5 |
+
"contract_revision": "97a81b31bbdb13e2ec7fc4e113822c5105001e6e",
|
| 6 |
"framework": "transformers",
|
| 7 |
"variant": "bfloat16",
|
| 8 |
"target": "GLM-OCR-mic",
|
| 9 |
"kind": "fixture",
|
| 10 |
+
"revision": "97a81b31bbdb13e2ec7fc4e113822c5105001e6e",
|
| 11 |
"source_model": "zai-org/GLM-OCR",
|
| 12 |
"weights": "random",
|
| 13 |
"fixture_repo": "huggingface-mic/GLM-OCR-mic",
|
| 14 |
"environment": {
|
| 15 |
"python": "3.11.18",
|
| 16 |
+
"transformers": "5.24.0.dev0",
|
| 17 |
"sentence-transformers": null,
|
| 18 |
"torch": "2.15.0+cu132",
|
| 19 |
"torchvision": "0.29.2+cu132",
|
| 20 |
"torchaudio": "2.11.1+cu132",
|
| 21 |
"tokenizers": "0.23.3",
|
| 22 |
+
"numpy": "2.3.5",
|
| 23 |
"pillow": "13.0.0",
|
| 24 |
+
"accelerate": "1.17.0.dev0",
|
| 25 |
"safetensors": "0.8.0",
|
| 26 |
"huggingface-hub": "2.4.0",
|
| 27 |
"sentencepiece": "0.2.3",
|
|
|
|
| 30 |
"soundfile": "0.14.0",
|
| 31 |
"scipy": "1.17.1"
|
| 32 |
},
|
| 33 |
+
"seconds": 8.0,
|
| 34 |
"environment_differs": {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
"pillow": "13.0.0 (pinned 12.3.0)",
|
| 36 |
+
"accelerate": "1.17.0.dev0 (pinned 1.15.0)",
|
| 37 |
"huggingface-hub": "2.4.0 (pinned 2.3.0)",
|
| 38 |
"sentencepiece": "0.2.3 (pinned 0.2.2)"
|
| 39 |
},
|
integrations/transformers/expectations/cuda/GLM-OCR-mic.eager.json
CHANGED
|
@@ -2,26 +2,26 @@
|
|
| 2 |
"recorded_with": {
|
| 3 |
"contract": "huggingface-mic/GLM-OCR-mic",
|
| 4 |
"contract_name": "GLM-OCR",
|
| 5 |
-
"contract_revision": "
|
| 6 |
"framework": "transformers",
|
| 7 |
"variant": "eager",
|
| 8 |
"target": "GLM-OCR-mic",
|
| 9 |
"kind": "fixture",
|
| 10 |
-
"revision": "
|
| 11 |
"source_model": "zai-org/GLM-OCR",
|
| 12 |
"weights": "random",
|
| 13 |
"fixture_repo": "huggingface-mic/GLM-OCR-mic",
|
| 14 |
"environment": {
|
| 15 |
"python": "3.11.18",
|
| 16 |
-
"transformers": "5.
|
| 17 |
"sentence-transformers": null,
|
| 18 |
"torch": "2.15.0+cu132",
|
| 19 |
"torchvision": "0.29.2+cu132",
|
| 20 |
"torchaudio": "2.11.1+cu132",
|
| 21 |
"tokenizers": "0.23.3",
|
| 22 |
-
"numpy": "2.
|
| 23 |
"pillow": "13.0.0",
|
| 24 |
-
"accelerate": "1.
|
| 25 |
"safetensors": "0.8.0",
|
| 26 |
"huggingface-hub": "2.4.0",
|
| 27 |
"sentencepiece": "0.2.3",
|
|
@@ -30,14 +30,10 @@
|
|
| 30 |
"soundfile": "0.14.0",
|
| 31 |
"scipy": "1.17.1"
|
| 32 |
},
|
| 33 |
-
"seconds": 8.
|
| 34 |
"environment_differs": {
|
| 35 |
-
"torch": "2.15.0+cu132 (pinned 2.14.0)",
|
| 36 |
-
"torchvision": "0.29.2+cu132 (pinned 0.29.1)",
|
| 37 |
-
"torchaudio": "2.11.1+cu132 (pinned 2.11.0)",
|
| 38 |
-
"numpy": "2.4.6 (pinned 2.3.5)",
|
| 39 |
"pillow": "13.0.0 (pinned 12.3.0)",
|
| 40 |
-
"accelerate": "1.
|
| 41 |
"huggingface-hub": "2.4.0 (pinned 2.3.0)",
|
| 42 |
"sentencepiece": "0.2.3 (pinned 0.2.2)"
|
| 43 |
},
|
|
@@ -47,7 +43,7 @@
|
|
| 47 |
"outputs": {
|
| 48 |
"runtime": {
|
| 49 |
"device": "cuda",
|
| 50 |
-
"dtype": "
|
| 51 |
"attn_implementation": "eager",
|
| 52 |
"attn_implementations": {
|
| 53 |
"text_config": "eager",
|
|
@@ -60,16 +56,16 @@
|
|
| 60 |
],
|
| 61 |
"answer_logits": [
|
| 62 |
[
|
| 63 |
-
0.
|
| 64 |
-
0.
|
| 65 |
],
|
| 66 |
[
|
| 67 |
-
0.
|
| 68 |
-
0.
|
| 69 |
]
|
| 70 |
],
|
| 71 |
"training": {
|
| 72 |
-
"loss": 10.
|
| 73 |
"gradients": {
|
| 74 |
"model.language_model.layers.0.self_attn.q_proj.weight": true,
|
| 75 |
"model.language_model.layers.0.mlp.down_proj.weight": true,
|
|
|
|
| 2 |
"recorded_with": {
|
| 3 |
"contract": "huggingface-mic/GLM-OCR-mic",
|
| 4 |
"contract_name": "GLM-OCR",
|
| 5 |
+
"contract_revision": "97a81b31bbdb13e2ec7fc4e113822c5105001e6e",
|
| 6 |
"framework": "transformers",
|
| 7 |
"variant": "eager",
|
| 8 |
"target": "GLM-OCR-mic",
|
| 9 |
"kind": "fixture",
|
| 10 |
+
"revision": "97a81b31bbdb13e2ec7fc4e113822c5105001e6e",
|
| 11 |
"source_model": "zai-org/GLM-OCR",
|
| 12 |
"weights": "random",
|
| 13 |
"fixture_repo": "huggingface-mic/GLM-OCR-mic",
|
| 14 |
"environment": {
|
| 15 |
"python": "3.11.18",
|
| 16 |
+
"transformers": "5.24.0.dev0",
|
| 17 |
"sentence-transformers": null,
|
| 18 |
"torch": "2.15.0+cu132",
|
| 19 |
"torchvision": "0.29.2+cu132",
|
| 20 |
"torchaudio": "2.11.1+cu132",
|
| 21 |
"tokenizers": "0.23.3",
|
| 22 |
+
"numpy": "2.3.5",
|
| 23 |
"pillow": "13.0.0",
|
| 24 |
+
"accelerate": "1.17.0.dev0",
|
| 25 |
"safetensors": "0.8.0",
|
| 26 |
"huggingface-hub": "2.4.0",
|
| 27 |
"sentencepiece": "0.2.3",
|
|
|
|
| 30 |
"soundfile": "0.14.0",
|
| 31 |
"scipy": "1.17.1"
|
| 32 |
},
|
| 33 |
+
"seconds": 8.06,
|
| 34 |
"environment_differs": {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
"pillow": "13.0.0 (pinned 12.3.0)",
|
| 36 |
+
"accelerate": "1.17.0.dev0 (pinned 1.15.0)",
|
| 37 |
"huggingface-hub": "2.4.0 (pinned 2.3.0)",
|
| 38 |
"sentencepiece": "0.2.3 (pinned 0.2.2)"
|
| 39 |
},
|
|
|
|
| 43 |
"outputs": {
|
| 44 |
"runtime": {
|
| 45 |
"device": "cuda",
|
| 46 |
+
"dtype": "bfloat16",
|
| 47 |
"attn_implementation": "eager",
|
| 48 |
"attn_implementations": {
|
| 49 |
"text_config": "eager",
|
|
|
|
| 56 |
],
|
| 57 |
"answer_logits": [
|
| 58 |
[
|
| 59 |
+
0.69140625,
|
| 60 |
+
0.69140625
|
| 61 |
],
|
| 62 |
[
|
| 63 |
+
0.69140625,
|
| 64 |
+
0.69140625
|
| 65 |
]
|
| 66 |
],
|
| 67 |
"training": {
|
| 68 |
+
"loss": 10.991888046264648,
|
| 69 |
"gradients": {
|
| 70 |
"model.language_model.layers.0.self_attn.q_proj.weight": true,
|
| 71 |
"model.language_model.layers.0.mlp.down_proj.weight": true,
|
integrations/transformers/expectations/cuda/GLM-OCR-mic.json
CHANGED
|
@@ -2,26 +2,26 @@
|
|
| 2 |
"recorded_with": {
|
| 3 |
"contract": "huggingface-mic/GLM-OCR-mic",
|
| 4 |
"contract_name": "GLM-OCR",
|
| 5 |
-
"contract_revision": "
|
| 6 |
"framework": "transformers",
|
| 7 |
"variant": "default",
|
| 8 |
"target": "GLM-OCR-mic",
|
| 9 |
"kind": "fixture",
|
| 10 |
-
"revision": "
|
| 11 |
"source_model": "zai-org/GLM-OCR",
|
| 12 |
"weights": "random",
|
| 13 |
"fixture_repo": "huggingface-mic/GLM-OCR-mic",
|
| 14 |
"environment": {
|
| 15 |
"python": "3.11.18",
|
| 16 |
-
"transformers": "5.
|
| 17 |
"sentence-transformers": null,
|
| 18 |
"torch": "2.15.0+cu132",
|
| 19 |
"torchvision": "0.29.2+cu132",
|
| 20 |
"torchaudio": "2.11.1+cu132",
|
| 21 |
"tokenizers": "0.23.3",
|
| 22 |
-
"numpy": "2.
|
| 23 |
"pillow": "13.0.0",
|
| 24 |
-
"accelerate": "1.
|
| 25 |
"safetensors": "0.8.0",
|
| 26 |
"huggingface-hub": "2.4.0",
|
| 27 |
"sentencepiece": "0.2.3",
|
|
@@ -30,14 +30,10 @@
|
|
| 30 |
"soundfile": "0.14.0",
|
| 31 |
"scipy": "1.17.1"
|
| 32 |
},
|
| 33 |
-
"seconds": 9.
|
| 34 |
"environment_differs": {
|
| 35 |
-
"torch": "2.15.0+cu132 (pinned 2.14.0)",
|
| 36 |
-
"torchvision": "0.29.2+cu132 (pinned 0.29.1)",
|
| 37 |
-
"torchaudio": "2.11.1+cu132 (pinned 2.11.0)",
|
| 38 |
-
"numpy": "2.4.6 (pinned 2.3.5)",
|
| 39 |
"pillow": "13.0.0 (pinned 12.3.0)",
|
| 40 |
-
"accelerate": "1.
|
| 41 |
"huggingface-hub": "2.4.0 (pinned 2.3.0)",
|
| 42 |
"sentencepiece": "0.2.3 (pinned 0.2.2)"
|
| 43 |
},
|
|
@@ -47,7 +43,7 @@
|
|
| 47 |
"outputs": {
|
| 48 |
"runtime": {
|
| 49 |
"device": "cuda",
|
| 50 |
-
"dtype": "
|
| 51 |
"attn_implementation": "sdpa",
|
| 52 |
"attn_implementations": {
|
| 53 |
"text_config": "sdpa",
|
|
@@ -60,16 +56,16 @@
|
|
| 60 |
],
|
| 61 |
"answer_logits": [
|
| 62 |
[
|
| 63 |
-
0.
|
| 64 |
-
0.
|
| 65 |
],
|
| 66 |
[
|
| 67 |
-
0.
|
| 68 |
-
0.
|
| 69 |
]
|
| 70 |
],
|
| 71 |
"training": {
|
| 72 |
-
"loss": 10.
|
| 73 |
"gradients": {
|
| 74 |
"model.language_model.layers.0.self_attn.q_proj.weight": true,
|
| 75 |
"model.language_model.layers.0.mlp.down_proj.weight": true,
|
|
|
|
| 2 |
"recorded_with": {
|
| 3 |
"contract": "huggingface-mic/GLM-OCR-mic",
|
| 4 |
"contract_name": "GLM-OCR",
|
| 5 |
+
"contract_revision": "97a81b31bbdb13e2ec7fc4e113822c5105001e6e",
|
| 6 |
"framework": "transformers",
|
| 7 |
"variant": "default",
|
| 8 |
"target": "GLM-OCR-mic",
|
| 9 |
"kind": "fixture",
|
| 10 |
+
"revision": "97a81b31bbdb13e2ec7fc4e113822c5105001e6e",
|
| 11 |
"source_model": "zai-org/GLM-OCR",
|
| 12 |
"weights": "random",
|
| 13 |
"fixture_repo": "huggingface-mic/GLM-OCR-mic",
|
| 14 |
"environment": {
|
| 15 |
"python": "3.11.18",
|
| 16 |
+
"transformers": "5.24.0.dev0",
|
| 17 |
"sentence-transformers": null,
|
| 18 |
"torch": "2.15.0+cu132",
|
| 19 |
"torchvision": "0.29.2+cu132",
|
| 20 |
"torchaudio": "2.11.1+cu132",
|
| 21 |
"tokenizers": "0.23.3",
|
| 22 |
+
"numpy": "2.3.5",
|
| 23 |
"pillow": "13.0.0",
|
| 24 |
+
"accelerate": "1.17.0.dev0",
|
| 25 |
"safetensors": "0.8.0",
|
| 26 |
"huggingface-hub": "2.4.0",
|
| 27 |
"sentencepiece": "0.2.3",
|
|
|
|
| 30 |
"soundfile": "0.14.0",
|
| 31 |
"scipy": "1.17.1"
|
| 32 |
},
|
| 33 |
+
"seconds": 9.04,
|
| 34 |
"environment_differs": {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
"pillow": "13.0.0 (pinned 12.3.0)",
|
| 36 |
+
"accelerate": "1.17.0.dev0 (pinned 1.15.0)",
|
| 37 |
"huggingface-hub": "2.4.0 (pinned 2.3.0)",
|
| 38 |
"sentencepiece": "0.2.3 (pinned 0.2.2)"
|
| 39 |
},
|
|
|
|
| 43 |
"outputs": {
|
| 44 |
"runtime": {
|
| 45 |
"device": "cuda",
|
| 46 |
+
"dtype": "bfloat16",
|
| 47 |
"attn_implementation": "sdpa",
|
| 48 |
"attn_implementations": {
|
| 49 |
"text_config": "sdpa",
|
|
|
|
| 56 |
],
|
| 57 |
"answer_logits": [
|
| 58 |
[
|
| 59 |
+
0.69140625,
|
| 60 |
+
0.69140625
|
| 61 |
],
|
| 62 |
[
|
| 63 |
+
0.69140625,
|
| 64 |
+
0.69140625
|
| 65 |
]
|
| 66 |
],
|
| 67 |
"training": {
|
| 68 |
+
"loss": 10.9915771484375,
|
| 69 |
"gradients": {
|
| 70 |
"model.language_model.layers.0.self_attn.q_proj.weight": true,
|
| 71 |
"model.language_model.layers.0.mlp.down_proj.weight": true,
|
integrations/transformers/expectations/cuda/GLM-OCR.bfloat16.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
"recorded_with": {
|
| 3 |
"contract": "huggingface-mic/GLM-OCR-mic",
|
| 4 |
"contract_name": "GLM-OCR",
|
| 5 |
-
"contract_revision": "
|
| 6 |
"framework": "transformers",
|
| 7 |
"variant": "bfloat16",
|
| 8 |
"target": "GLM-OCR",
|
|
@@ -10,15 +10,15 @@
|
|
| 10 |
"revision": "2e85a62840ccac27daa451df36c736c4636b8628",
|
| 11 |
"environment": {
|
| 12 |
"python": "3.11.18",
|
| 13 |
-
"transformers": "5.
|
| 14 |
"sentence-transformers": null,
|
| 15 |
"torch": "2.15.0+cu132",
|
| 16 |
"torchvision": "0.29.2+cu132",
|
| 17 |
"torchaudio": "2.11.1+cu132",
|
| 18 |
"tokenizers": "0.23.3",
|
| 19 |
-
"numpy": "2.
|
| 20 |
"pillow": "13.0.0",
|
| 21 |
-
"accelerate": "1.
|
| 22 |
"safetensors": "0.8.0",
|
| 23 |
"huggingface-hub": "2.4.0",
|
| 24 |
"sentencepiece": "0.2.3",
|
|
@@ -27,14 +27,10 @@
|
|
| 27 |
"soundfile": "0.14.0",
|
| 28 |
"scipy": "1.17.1"
|
| 29 |
},
|
| 30 |
-
"seconds":
|
| 31 |
"environment_differs": {
|
| 32 |
-
"torch": "2.15.0+cu132 (pinned 2.14.0)",
|
| 33 |
-
"torchvision": "0.29.2+cu132 (pinned 0.29.1)",
|
| 34 |
-
"torchaudio": "2.11.1+cu132 (pinned 2.11.0)",
|
| 35 |
-
"numpy": "2.4.6 (pinned 2.3.5)",
|
| 36 |
"pillow": "13.0.0 (pinned 12.3.0)",
|
| 37 |
-
"accelerate": "1.
|
| 38 |
"huggingface-hub": "2.4.0 (pinned 2.3.0)",
|
| 39 |
"sentencepiece": "0.2.3 (pinned 0.2.2)"
|
| 40 |
},
|
|
|
|
| 2 |
"recorded_with": {
|
| 3 |
"contract": "huggingface-mic/GLM-OCR-mic",
|
| 4 |
"contract_name": "GLM-OCR",
|
| 5 |
+
"contract_revision": "97a81b31bbdb13e2ec7fc4e113822c5105001e6e",
|
| 6 |
"framework": "transformers",
|
| 7 |
"variant": "bfloat16",
|
| 8 |
"target": "GLM-OCR",
|
|
|
|
| 10 |
"revision": "2e85a62840ccac27daa451df36c736c4636b8628",
|
| 11 |
"environment": {
|
| 12 |
"python": "3.11.18",
|
| 13 |
+
"transformers": "5.24.0.dev0",
|
| 14 |
"sentence-transformers": null,
|
| 15 |
"torch": "2.15.0+cu132",
|
| 16 |
"torchvision": "0.29.2+cu132",
|
| 17 |
"torchaudio": "2.11.1+cu132",
|
| 18 |
"tokenizers": "0.23.3",
|
| 19 |
+
"numpy": "2.3.5",
|
| 20 |
"pillow": "13.0.0",
|
| 21 |
+
"accelerate": "1.17.0.dev0",
|
| 22 |
"safetensors": "0.8.0",
|
| 23 |
"huggingface-hub": "2.4.0",
|
| 24 |
"sentencepiece": "0.2.3",
|
|
|
|
| 27 |
"soundfile": "0.14.0",
|
| 28 |
"scipy": "1.17.1"
|
| 29 |
},
|
| 30 |
+
"seconds": 10.26,
|
| 31 |
"environment_differs": {
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
"pillow": "13.0.0 (pinned 12.3.0)",
|
| 33 |
+
"accelerate": "1.17.0.dev0 (pinned 1.15.0)",
|
| 34 |
"huggingface-hub": "2.4.0 (pinned 2.3.0)",
|
| 35 |
"sentencepiece": "0.2.3 (pinned 0.2.2)"
|
| 36 |
},
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f10f025a88cbe1a82cc49948cc341eb1c8e0fa8ed81cc0adc87cac3730ca35a
|
| 3 |
+
size 17660656
|