badaoui HF Staff commited on
Commit
1272dbc
·
verified ·
1 Parent(s): b862fe2

Add Neuron cache for cache_mirror

Browse files

🤖 Neuron Cache Bot: Adding compiled Neuron cache artifacts.

This PR contains the compiled neuronxcc cache files that can be used to speed up model loading for AWS Neuron devices.

.gitattributes CHANGED
@@ -44,3 +44,4 @@ neuronxcc-2.16.372.0+4a9b2326/MODULE_7bebb00dc9acea881b5a/model.neuron filter=lf
44
  neuronxcc-2.16.372.0+4a9b2326/MODULE_42c7c80374d4e8712757/model.neuron filter=lfs diff=lfs merge=lfs -text
45
  neuronxcc-2.16.372.0+4a9b2326/MODULE_fce72056449004b51385/model.neuron filter=lfs diff=lfs merge=lfs -text
46
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_925eeddec3d7c8386722/model.neuron filter=lfs diff=lfs merge=lfs -text
 
 
44
  neuronxcc-2.16.372.0+4a9b2326/MODULE_42c7c80374d4e8712757/model.neuron filter=lfs diff=lfs merge=lfs -text
45
  neuronxcc-2.16.372.0+4a9b2326/MODULE_fce72056449004b51385/model.neuron filter=lfs diff=lfs merge=lfs -text
46
  neuronxcc-2.19.8089.0+8ab9f450/MODULE_925eeddec3d7c8386722/model.neuron filter=lfs diff=lfs merge=lfs -text
47
+ neuronxcc-2.19.8089.0+8ab9f450/MODULE_9ec67f86344a927b0236/model.neuron filter=lfs diff=lfs merge=lfs -text
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0/roberta/klue/roberta-small/9ec67f86344a927b0236.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "klue/roberta-small",
4
+ "_task": "fill-mask",
5
+ "architectures": [
6
+ "RobertaForMaskedLM"
7
+ ],
8
+ "attention_probs_dropout_prob": 0.1,
9
+ "classifier_dropout": null,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 3072,
16
+ "layer_norm_eps": 1e-05,
17
+ "max_position_embeddings": 514,
18
+ "model_type": "roberta",
19
+ "neuron": {
20
+ "auto_cast": null,
21
+ "auto_cast_type": null,
22
+ "compiler_type": "neuronx-cc",
23
+ "compiler_version": "2.19.8089.0+8ab9f450",
24
+ "disable_fallback": false,
25
+ "disable_fast_relayout": false,
26
+ "dynamic_batch_size": false,
27
+ "inline_weights_to_neff": true,
28
+ "input_names": [
29
+ "input_ids",
30
+ "attention_mask"
31
+ ],
32
+ "model_type": "roberta",
33
+ "optlevel": "2",
34
+ "output_attentions": false,
35
+ "output_hidden_states": false,
36
+ "output_names": [
37
+ "logits"
38
+ ],
39
+ "static_batch_size": 1,
40
+ "static_sequence_length": 128,
41
+ "task": "fill-mask",
42
+ "tensor_parallel_size": 1
43
+ },
44
+ "num_attention_heads": 12,
45
+ "num_hidden_layers": 6,
46
+ "position_embedding_type": "absolute",
47
+ "tokenizer_class": "BertTokenizer",
48
+ "type_vocab_size": 1,
49
+ "use_cache": true,
50
+ "vocab_size": 32000
51
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_9ec67f86344a927b0236/config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "architectures": [
4
+ "RobertaForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 3072,
16
+ "layer_norm_eps": 1e-05,
17
+ "max_position_embeddings": 514,
18
+ "model_type": "roberta",
19
+ "neuron": {
20
+ "auto_cast": null,
21
+ "auto_cast_type": null,
22
+ "compiler_type": "neuronx-cc",
23
+ "compiler_version": "2.19.8089.0+8ab9f450",
24
+ "disable_fallback": false,
25
+ "disable_fast_relayout": false,
26
+ "dynamic_batch_size": false,
27
+ "inline_weights_to_neff": true,
28
+ "input_names": [
29
+ "input_ids",
30
+ "attention_mask"
31
+ ],
32
+ "model_type": "roberta",
33
+ "optlevel": "2",
34
+ "output_attentions": false,
35
+ "output_hidden_states": false,
36
+ "output_names": [
37
+ "logits"
38
+ ],
39
+ "static_batch_size": 1,
40
+ "static_sequence_length": 128,
41
+ "task": "fill-mask",
42
+ "tensor_parallel_size": 1
43
+ },
44
+ "num_attention_heads": 12,
45
+ "num_hidden_layers": 6,
46
+ "pad_token_id": 1,
47
+ "position_embedding_type": "absolute",
48
+ "tokenizer_class": "BertTokenizer",
49
+ "torch_dtype": "float32",
50
+ "torchscript": true,
51
+ "transformers_version": "4.51.3",
52
+ "type_vocab_size": 1,
53
+ "use_cache": true,
54
+ "vocab_size": 32000
55
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_9ec67f86344a927b0236/model.neuron ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1a9b1bb1c2999b593c67ca7ff1fa1a32dddcf0df9900e676dcecc73081e7ea4
3
+ size 233266810
neuronxcc-2.19.8089.0+8ab9f450/MODULE_9ec67f86344a927b0236/special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "[CLS]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "[SEP]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "[MASK]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "[PAD]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "[SEP]",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "[UNK]",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_9ec67f86344a927b0236/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
neuronxcc-2.19.8089.0+8ab9f450/MODULE_9ec67f86344a927b0236/tokenizer_config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[CLS]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[PAD]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[SEP]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[UNK]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "[CLS]",
45
+ "clean_up_tokenization_spaces": false,
46
+ "cls_token": "[CLS]",
47
+ "do_basic_tokenize": true,
48
+ "do_lower_case": false,
49
+ "eos_token": "[SEP]",
50
+ "extra_special_tokens": {},
51
+ "mask_token": "[MASK]",
52
+ "model_max_length": 512,
53
+ "never_split": null,
54
+ "pad_token": "[PAD]",
55
+ "sep_token": "[SEP]",
56
+ "strip_accents": null,
57
+ "tokenize_chinese_chars": true,
58
+ "tokenizer_class": "BertTokenizer",
59
+ "unk_token": "[UNK]"
60
+ }
neuronxcc-2.19.8089.0+8ab9f450/MODULE_9ec67f86344a927b0236/vocab.txt ADDED
The diff for this file is too large to render. See raw diff