Mattral michaelbenayoun HF Staff commited on
Commit
5594fd0
·
0 Parent(s):

Duplicate from aws-neuron/optimum-neuron-cache

Browse files

Co-authored-by: Michael Benayoun <michaelbenayoun@users.noreply.huggingface.co>

This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +0 -0
  2. README.md +27 -0
  3. inference-cache-config/granite.json +66 -0
  4. inference-cache-config/llama-variants.json +88 -0
  5. inference-cache-config/llama.json +106 -0
  6. inference-cache-config/llama2-70b.json +16 -0
  7. inference-cache-config/llama3-70b.json +30 -0
  8. inference-cache-config/llama3.1-70b.json +16 -0
  9. inference-cache-config/llama4.json +126 -0
  10. inference-cache-config/mixtral.json +30 -0
  11. inference-cache-config/phi4.json +30 -0
  12. inference-cache-config/pixart-alpha-xl-512x512.json +5 -0
  13. inference-cache-config/pixart-sigma-xl-512x512.json +5 -0
  14. inference-cache-config/qwen-moe.json +28 -0
  15. inference-cache-config/qwen.json +104 -0
  16. inference-cache-config/qwen2.5-large.json +44 -0
  17. inference-cache-config/qwen2.5.json +136 -0
  18. inference-cache-config/sdxl-turbo.json +6 -0
  19. inference-cache-config/smollm3.json +22 -0
  20. inference-cache-config/stable-diffusion-2-1.json +6 -0
  21. inference-cache-config/stable-diffusion-v1-5.json +6 -0
  22. inference-cache-config/stable-diffusion-xl-base-1.0.json +6 -0
  23. inference-cache-config/stable-diffusion-xl-refiner-1.0.json +6 -0
  24. inference-cache-config/trn1/granite.json +74 -0
  25. inference-cache-config/trn1/llama3.json +156 -0
  26. inference-cache-config/trn1/llama4.json +39 -0
  27. inference-cache-config/trn1/mixtral.json +34 -0
  28. inference-cache-config/trn1/phi4.json +30 -0
  29. inference-cache-config/trn1/qwen3-moe.json +28 -0
  30. inference-cache-config/trn1/qwen3.json +104 -0
  31. inference-cache-config/trn1/smollm3.json +22 -0
  32. inference-cache-config/trn2/llama3.json +120 -0
  33. inference-cache-config/trn2/llama4.json +48 -0
  34. inference-cache-config/trn2/qwen3-moe.json +36 -0
  35. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/granite/hf-internal-testing/tiny-random-GraniteForCausalLM/4bd0c6ed2a9764168cb6.json +73 -0
  36. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/granite/hf-internal-testing/tiny-random-GraniteForCausalLM/58bb3ae501d4d87ab565.json +73 -0
  37. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/granite/hf-internal-testing/tiny-random-GraniteForCausalLM/f5771202abb1a7ae2611.json +73 -0
  38. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/granite/ibm-granite/granite-3.1-2b-instruct/af1749224d7631fdb38a.json +73 -0
  39. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/deepseek-ai/DeepSeek-R1-Distill-Llama-70B/38357c754f2cbd1d382e.json +77 -0
  40. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/deepseek-ai/DeepSeek-R1-Distill-Llama-70B/89acac1543511de63934.json +77 -0
  41. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/deepseek-ai/DeepSeek-R1-Distill-Llama-70B/a91139c3aee28b0f6c94.json +77 -0
  42. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/llamafactory/tiny-random-Llama-3/3ed9abae6f7f67d07da0.json +77 -0
  43. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/llamafactory/tiny-random-Llama-3/42b299016a0208fd74b0.json +77 -0
  44. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/llamafactory/tiny-random-Llama-3/7b749096ec9bec32a9c5.json +77 -0
  45. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/llamafactory/tiny-random-Llama-3/c36bfaee43f6f840c055.json +77 -0
  46. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/unsloth/Llama-3.1-8B-Instruct/29f3c7ef0e6a87f35788.json +78 -0
  47. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/unsloth/Llama-3.1-8B-Instruct/6d3aa041c08b8396ee41.json +78 -0
  48. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/unsloth/Llama-3.1-8B-Instruct/7523661354aea5f66d6c.json +78 -0
  49. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/unsloth/Llama-3.1-8B-Instruct/7c2b4b0f296eeda524b6.json +78 -0
  50. neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/unsloth/Llama-3.1-8B-Instruct/9932c1d05bd91a781c3a.json +78 -0
.gitattributes ADDED
The diff for this file is too large to render. See raw diff
 
README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+ # AWS Neuron optimum model cache
5
+
6
+ This repository contains cached neuron compilation artifacts for the most popular models on the Hugging Face Hub.
7
+
8
+ ## Inference
9
+
10
+ ### LLM models
11
+
12
+ The transparent caching mechanism included in `optimum-neuron` and `NeuronX TGI`, makes it easier to export and deploy cached models to Neuron platforms such as Trainium and Inferentia.
13
+
14
+ To deploy directly any cached model to SageMaker:
15
+ - go to the model page,
16
+ - select "Deploy" in the top right corner,
17
+ - select "AWS SageMaker" in the drop-down,
18
+ - select the "AWS Inferentia & Trainium" tab,
19
+ - copy the code snippet.
20
+
21
+ You can now paste the code snippet in your deployment script or notebook, following the instructions in the comment.
22
+
23
+ To export a model to Neuron and save it locally, please follow the instructions in the `optimum-neuron` [documentation](https://huggingface.co/docs/optimum-neuron/guides/export_model).
24
+
25
+ For a list of the cached models and configurations, please refer to the inference cache [configuration files](https://huggingface.co/aws-neuron/optimum-neuron-cache/tree/main/inference-cache-config).
26
+
27
+ Alternatively, you can use the `optimum-cli neuron cache lookup` command to look for a specific model and see the cached configurations.
inference-cache-config/granite.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ibm-granite/granite-3.1-2b-instruct": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "num_cores": 2,
7
+ "auto_cast_type": "bf16"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "num_cores": 2,
13
+ "auto_cast_type": "bf16"
14
+ },
15
+ {
16
+ "batch_size": 8,
17
+ "sequence_length": 4096,
18
+ "num_cores": 2,
19
+ "auto_cast_type": "bf16"
20
+ },
21
+ {
22
+ "batch_size": 1,
23
+ "sequence_length": 4096,
24
+ "num_cores": 8,
25
+ "auto_cast_type": "bf16"
26
+ },
27
+ {
28
+ "batch_size": 32,
29
+ "sequence_length": 4096,
30
+ "num_cores": 8,
31
+ "auto_cast_type": "bf16"
32
+ }
33
+ ],
34
+ "ibm-granite/granite-3.1-8b-instruct": [
35
+ {
36
+ "batch_size": 1,
37
+ "sequence_length": 4096,
38
+ "num_cores": 2,
39
+ "auto_cast_type": "bf16"
40
+ },
41
+ {
42
+ "batch_size": 4,
43
+ "sequence_length": 4096,
44
+ "num_cores": 2,
45
+ "auto_cast_type": "bf16"
46
+ },
47
+ {
48
+ "batch_size": 8,
49
+ "sequence_length": 4096,
50
+ "num_cores": 2,
51
+ "auto_cast_type": "bf16"
52
+ },
53
+ {
54
+ "batch_size": 1,
55
+ "sequence_length": 4096,
56
+ "num_cores": 8,
57
+ "auto_cast_type": "bf16"
58
+ },
59
+ {
60
+ "batch_size": 32,
61
+ "sequence_length": 4096,
62
+ "num_cores": 8,
63
+ "auto_cast_type": "bf16"
64
+ }
65
+ ]
66
+ }
inference-cache-config/llama-variants.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "unsloth/Llama-3.2-1B": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "num_cores": 2,
7
+ "auto_cast_type": "bf16"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "num_cores": 2,
13
+ "auto_cast_type": "bf16"
14
+ }
15
+ ],
16
+ "deepseek-ai/DeepSeek-R1-Distill-Llama-8B": [
17
+ {
18
+ "batch_size": 1,
19
+ "sequence_length": 4096,
20
+ "num_cores": 2,
21
+ "auto_cast_type": "bf16"
22
+ },
23
+ {
24
+ "batch_size": 4,
25
+ "sequence_length": 4096,
26
+ "num_cores": 2,
27
+ "auto_cast_type": "bf16"
28
+ },
29
+ {
30
+ "batch_size": 8,
31
+ "sequence_length": 4096,
32
+ "num_cores": 2,
33
+ "auto_cast_type": "bf16"
34
+ },
35
+ {
36
+ "batch_size": 4,
37
+ "sequence_length": 4096,
38
+ "num_cores": 8,
39
+ "auto_cast_type": "bf16"
40
+ },
41
+ {
42
+ "batch_size": 8,
43
+ "sequence_length": 4096,
44
+ "num_cores": 8,
45
+ "auto_cast_type": "bf16"
46
+ },
47
+ {
48
+ "batch_size": 16,
49
+ "sequence_length": 4096,
50
+ "num_cores": 8,
51
+ "auto_cast_type": "bf16"
52
+ },
53
+ {
54
+ "batch_size": 32,
55
+ "sequence_length": 4096,
56
+ "num_cores": 8,
57
+ "auto_cast_type": "bf16"
58
+ }
59
+ ],
60
+ "princeton-nlp/Sheared-LLaMA-1.3B": [
61
+ {
62
+ "batch_size": 1,
63
+ "sequence_length": 4096,
64
+ "num_cores": 2,
65
+ "auto_cast_type": "fp16"
66
+ },
67
+ {
68
+ "batch_size": 4,
69
+ "sequence_length": 4096,
70
+ "num_cores": 2,
71
+ "auto_cast_type": "fp16"
72
+ }
73
+ ],
74
+ "lmsys/vicuna-7b-v1.5": [
75
+ {
76
+ "batch_size": 1,
77
+ "sequence_length": 4096,
78
+ "num_cores": 2,
79
+ "auto_cast_type": "fp16"
80
+ },
81
+ {
82
+ "batch_size": 4,
83
+ "sequence_length": 4096,
84
+ "num_cores": 2,
85
+ "auto_cast_type": "fp16"
86
+ }
87
+ ]
88
+ }
inference-cache-config/llama.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "meta-llama/Meta-Llama-3.1-8B": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "num_cores": 2,
7
+ "auto_cast_type": "bf16"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "num_cores": 2,
13
+ "auto_cast_type": "bf16"
14
+ },
15
+ {
16
+ "batch_size": 8,
17
+ "sequence_length": 4096,
18
+ "num_cores": 2,
19
+ "auto_cast_type": "bf16"
20
+ },
21
+ {
22
+ "batch_size": 4,
23
+ "sequence_length": 4096,
24
+ "num_cores": 8,
25
+ "auto_cast_type": "bf16"
26
+ },
27
+ {
28
+ "batch_size": 8,
29
+ "sequence_length": 4096,
30
+ "num_cores": 8,
31
+ "auto_cast_type": "bf16"
32
+ },
33
+ {
34
+ "batch_size": 16,
35
+ "sequence_length": 4096,
36
+ "num_cores": 8,
37
+ "auto_cast_type": "bf16"
38
+ },
39
+ {
40
+ "batch_size": 32,
41
+ "sequence_length": 4096,
42
+ "num_cores": 8,
43
+ "auto_cast_type": "bf16"
44
+ }
45
+ ],
46
+ "meta-llama/Llama-2-7b-hf": [
47
+ {
48
+ "batch_size": 1,
49
+ "sequence_length": 2048,
50
+ "num_cores": 2,
51
+ "auto_cast_type": "bf16"
52
+ }
53
+ ],
54
+ "meta-llama/Llama-2-13b-hf": [
55
+ {
56
+ "batch_size": 1,
57
+ "sequence_length": 2048,
58
+ "num_cores": 8,
59
+ "auto_cast_type": "bf16"
60
+ }
61
+ ],
62
+ "meta-llama/Meta-Llama-3-8B": [
63
+ {
64
+ "batch_size": 1,
65
+ "sequence_length": 4096,
66
+ "num_cores": 2,
67
+ "auto_cast_type": "bf16"
68
+ }
69
+ ],
70
+ "meta-llama/Llama-3.2-1B": [
71
+ {
72
+ "batch_size": 1,
73
+ "sequence_length": 4096,
74
+ "num_cores": 2,
75
+ "auto_cast_type": "bf16"
76
+ },
77
+ {
78
+ "batch_size": 4,
79
+ "sequence_length": 4096,
80
+ "num_cores": 2,
81
+ "auto_cast_type": "bf16"
82
+ }
83
+ ],
84
+ "meta-llama/Llama-3.2-3B": [
85
+ {
86
+ "batch_size": 1,
87
+ "sequence_length": 4096,
88
+ "num_cores": 2,
89
+ "auto_cast_type": "bf16"
90
+ },
91
+ {
92
+ "batch_size": 4,
93
+ "sequence_length": 4096,
94
+ "num_cores": 2,
95
+ "auto_cast_type": "bf16"
96
+ }
97
+ ],
98
+ "TinyLlama/TinyLlama-1.1B-Chat-v1.0": [
99
+ {
100
+ "batch_size": 1,
101
+ "sequence_length": 2048,
102
+ "num_cores": 2,
103
+ "auto_cast_type": "bf16"
104
+ }
105
+ ]
106
+ }
inference-cache-config/llama2-70b.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "meta-llama/Llama-2-70b-chat-hf": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "num_cores": 24,
7
+ "auto_cast_type": "fp16"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "num_cores": 24,
13
+ "auto_cast_type": "fp16"
14
+ }
15
+ ]
16
+ }
inference-cache-config/llama3-70b.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "deepseek-ai/DeepSeek-R1-Distill-Llama-70B": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "num_cores": 24,
7
+ "auto_cast_type": "bf16"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "num_cores": 24,
13
+ "auto_cast_type": "bf16"
14
+ }
15
+ ],
16
+ "meta-llama/Llama-3.3-70B-Instruct": [
17
+ {
18
+ "batch_size": 1,
19
+ "sequence_length": 4096,
20
+ "num_cores": 24,
21
+ "auto_cast_type": "bf16"
22
+ },
23
+ {
24
+ "batch_size": 4,
25
+ "sequence_length": 4096,
26
+ "num_cores": 24,
27
+ "auto_cast_type": "bf16"
28
+ }
29
+ ]
30
+ }
inference-cache-config/llama3.1-70b.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "meta-llama/Llama-3.1-70B-Instruct": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "num_cores": 24,
7
+ "auto_cast_type": "bf16"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "num_cores": 24,
13
+ "auto_cast_type": "bf16"
14
+ }
15
+ ]
16
+ }
inference-cache-config/llama4.json ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "meta-llama/Llama-4-Scout-17B-16E-Instruct": [
3
+ {
4
+ "task": "text-generation",
5
+ "instance_type": "trn1",
6
+ "batch_size": 1,
7
+ "sequence_length": 4096,
8
+ "num_cores": 16,
9
+ "auto_cast_type": "bf16"
10
+ },
11
+ {
12
+ "task": "text-generation",
13
+ "instance_type": "trn1",
14
+ "batch_size": 4,
15
+ "sequence_length": 4096,
16
+ "num_cores": 16,
17
+ "auto_cast_type": "bf16"
18
+ },
19
+ {
20
+ "task": "text-generation",
21
+ "instance_type": "trn1",
22
+ "batch_size": 1,
23
+ "sequence_length": 4096,
24
+ "num_cores": 32,
25
+ "auto_cast_type": "bf16"
26
+ },
27
+ {
28
+ "task": "text-generation",
29
+ "instance_type": "trn1",
30
+ "batch_size": 4,
31
+ "sequence_length": 4096,
32
+ "num_cores": 32,
33
+ "auto_cast_type": "bf16"
34
+ },
35
+ {
36
+ "task": "text-generation",
37
+ "instance_type": "trn1",
38
+ "batch_size": 8,
39
+ "sequence_length": 4096,
40
+ "num_cores": 32,
41
+ "auto_cast_type": "bf16"
42
+ },
43
+ {
44
+ "task": "text-generation",
45
+ "instance_type": "trn2",
46
+ "batch_size": 1,
47
+ "sequence_length": 4096,
48
+ "num_cores": 32,
49
+ "auto_cast_type": "bf16"
50
+ },
51
+ {
52
+ "task": "text-generation",
53
+ "instance_type": "trn2",
54
+ "batch_size": 4,
55
+ "sequence_length": 4096,
56
+ "num_cores": 32,
57
+ "auto_cast_type": "bf16"
58
+ },
59
+ {
60
+ "task": "text-generation",
61
+ "instance_type": "trn2",
62
+ "batch_size": 8,
63
+ "sequence_length": 4096,
64
+ "num_cores": 32,
65
+ "auto_cast_type": "bf16"
66
+ },
67
+ {
68
+ "task": "text-generation",
69
+ "instance_type": "trn2",
70
+ "batch_size": 16,
71
+ "sequence_length": 4096,
72
+ "num_cores": 32,
73
+ "auto_cast_type": "bf16"
74
+ },
75
+ {
76
+ "task": "text-generation",
77
+ "instance_type": "trn2",
78
+ "batch_size": 32,
79
+ "sequence_length": 4096,
80
+ "num_cores": 32,
81
+ "auto_cast_type": "bf16"
82
+ }
83
+ ],
84
+ "meta-llama/Llama-4-Maverick-17B-128E-Instruct": [
85
+ {
86
+ "task": "text-generation",
87
+ "instance_type": "trn2",
88
+ "batch_size": 1,
89
+ "sequence_length": 4096,
90
+ "num_cores": 64,
91
+ "auto_cast_type": "bf16"
92
+ },
93
+ {
94
+ "task": "text-generation",
95
+ "instance_type": "trn2",
96
+ "batch_size": 4,
97
+ "sequence_length": 4096,
98
+ "num_cores": 64,
99
+ "auto_cast_type": "bf16"
100
+ },
101
+ {
102
+ "task": "text-generation",
103
+ "instance_type": "trn1",
104
+ "batch_size": 8,
105
+ "sequence_length": 4096,
106
+ "num_cores": 64,
107
+ "auto_cast_type": "bf16"
108
+ },
109
+ {
110
+ "task": "text-generation",
111
+ "instance_type": "trn1",
112
+ "batch_size": 16,
113
+ "sequence_length": 4096,
114
+ "num_cores": 64,
115
+ "auto_cast_type": "bf16"
116
+ },
117
+ {
118
+ "task": "text-generation",
119
+ "instance_type": "trn1",
120
+ "batch_size": 32,
121
+ "sequence_length": 4096,
122
+ "num_cores": 64,
123
+ "auto_cast_type": "bf16"
124
+ }
125
+ ]
126
+ }
inference-cache-config/mixtral.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mistralai/Mixtral-8x7B-Instruct-v0.1": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "num_cores": 24,
7
+ "auto_cast_type": "bf16"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "num_cores": 24,
13
+ "auto_cast_type": "bf16"
14
+ }
15
+ ],
16
+ "mistralai/Mixtral-8x22B-Instruct-v0.1": [
17
+ {
18
+ "batch_size": 1,
19
+ "sequence_length": 4096,
20
+ "num_cores": 24,
21
+ "auto_cast_type": "bf16"
22
+ },
23
+ {
24
+ "batch_size": 4,
25
+ "sequence_length": 4096,
26
+ "num_cores": 24,
27
+ "auto_cast_type": "bf16"
28
+ }
29
+ ]
30
+ }
inference-cache-config/phi4.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "microsoft/Phi-3-mini-4k-instruct": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "num_cores": 2,
7
+ "auto_cast_type": "bf16"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "num_cores": 2,
13
+ "auto_cast_type": "bf16"
14
+ }
15
+ ],
16
+ "microsoft/phi-4": [
17
+ {
18
+ "batch_size": 1,
19
+ "sequence_length": 4096,
20
+ "num_cores": 10,
21
+ "auto_cast_type": "bf16"
22
+ },
23
+ {
24
+ "batch_size": 16,
25
+ "sequence_length": 4096,
26
+ "num_cores": 10,
27
+ "auto_cast_type": "bf16"
28
+ }
29
+ ]
30
+ }
inference-cache-config/pixart-alpha-xl-512x512.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "PixArt-alpha/PixArt-XL-2-512x512": [
3
+ { "task": "pixart", "batch_size": 1, "height": 512, "width": 512, "num_images_per_prompt": 1, "torch_dtype": "bfloat16", "sequence_length": 120 }
4
+ ]
5
+ }
inference-cache-config/pixart-sigma-xl-512x512.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "Jingya/pixart_sigma_pipe_xl_2_512_ms": [
3
+ { "task": "pixart", "batch_size": 1, "height": 512, "width": 512, "num_images_per_prompt": 1, "torch_dtype": "bfloat16", "sequence_length": 120 }
4
+ ]
5
+ }
inference-cache-config/qwen-moe.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Qwen/Qwen3-30B-A3B-Instruct-2507": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "num_cores": 8,
7
+ "auto_cast_type": "bf16"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "num_cores": 8,
13
+ "auto_cast_type": "bf16"
14
+ },
15
+ {
16
+ "batch_size": 8,
17
+ "sequence_length": 4096,
18
+ "num_cores": 16,
19
+ "auto_cast_type": "bf16"
20
+ },
21
+ {
22
+ "batch_size": 8,
23
+ "sequence_length": 4096,
24
+ "num_cores": 32,
25
+ "auto_cast_type": "bf16"
26
+ }
27
+ ]
28
+ }
inference-cache-config/qwen.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Qwen/Qwen3-8B": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "num_cores": 2,
7
+ "auto_cast_type": "bf16"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "num_cores": 2,
13
+ "auto_cast_type": "bf16"
14
+ },
15
+ {
16
+ "batch_size": 8,
17
+ "sequence_length": 4096,
18
+ "num_cores": 2,
19
+ "auto_cast_type": "bf16"
20
+ },
21
+ {
22
+ "batch_size": 1,
23
+ "sequence_length": 4096,
24
+ "num_cores": 8,
25
+ "auto_cast_type": "bf16"
26
+ },
27
+ {
28
+ "batch_size": 32,
29
+ "sequence_length": 4096,
30
+ "num_cores": 8,
31
+ "auto_cast_type": "bf16"
32
+ }
33
+ ],
34
+ "Qwen/Qwen3-0.6B": [
35
+ {
36
+ "batch_size": 1,
37
+ "sequence_length": 4096,
38
+ "num_cores": 2,
39
+ "auto_cast_type": "bf16"
40
+ },
41
+ {
42
+ "batch_size": 4,
43
+ "sequence_length": 4096,
44
+ "num_cores": 2,
45
+ "auto_cast_type": "bf16"
46
+ }
47
+ ],
48
+ "Qwen/Qwen3-1.7B": [
49
+ {
50
+ "batch_size": 1,
51
+ "sequence_length": 4096,
52
+ "num_cores": 2,
53
+ "auto_cast_type": "bf16"
54
+ },
55
+ {
56
+ "batch_size": 4,
57
+ "sequence_length": 4096,
58
+ "num_cores": 2,
59
+ "auto_cast_type": "bf16"
60
+ }
61
+ ],
62
+ "Qwen/Qwen3-4B": [
63
+ {
64
+ "batch_size": 1,
65
+ "sequence_length": 4096,
66
+ "num_cores": 2,
67
+ "auto_cast_type": "bf16"
68
+ },
69
+ {
70
+ "batch_size": 4,
71
+ "sequence_length": 4096,
72
+ "num_cores": 2,
73
+ "auto_cast_type": "bf16"
74
+ }
75
+ ],
76
+ "Qwen/Qwen3-14B": [
77
+ {
78
+ "batch_size": 1,
79
+ "sequence_length": 4096,
80
+ "num_cores": 8,
81
+ "auto_cast_type": "bf16"
82
+ },
83
+ {
84
+ "batch_size": 16,
85
+ "sequence_length": 4096,
86
+ "num_cores": 8,
87
+ "auto_cast_type": "bf16"
88
+ }
89
+ ],
90
+ "Qwen/Qwen3-32B": [
91
+ {
92
+ "batch_size": 1,
93
+ "sequence_length": 4096,
94
+ "num_cores": 8,
95
+ "auto_cast_type": "bf16"
96
+ },
97
+ {
98
+ "batch_size": 16,
99
+ "sequence_length": 4096,
100
+ "num_cores": 8,
101
+ "auto_cast_type": "bf16"
102
+ }
103
+ ]
104
+ }
inference-cache-config/qwen2.5-large.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "num_cores": 8,
7
+ "auto_cast_type": "bf16"
8
+ },
9
+ {
10
+ "batch_size": 8,
11
+ "sequence_length": 4096,
12
+ "num_cores": 8,
13
+ "auto_cast_type": "bf16"
14
+ }
15
+ ],
16
+ "Qwen/Qwen2.5-32B-Instruct": [
17
+ {
18
+ "batch_size": 1,
19
+ "sequence_length": 4096,
20
+ "num_cores": 8,
21
+ "auto_cast_type": "bf16"
22
+ },
23
+ {
24
+ "batch_size": 8,
25
+ "sequence_length": 4096,
26
+ "num_cores": 8,
27
+ "auto_cast_type": "bf16"
28
+ }
29
+ ],
30
+ "Qwen/Qwen2.5-72B-Instruct": [
31
+ {
32
+ "batch_size": 1,
33
+ "sequence_length": 4096,
34
+ "num_cores": 2,
35
+ "auto_cast_type": "bf16"
36
+ },
37
+ {
38
+ "batch_size": 4,
39
+ "sequence_length": 4096,
40
+ "num_cores": 24,
41
+ "auto_cast_type": "bf16"
42
+ }
43
+ ]
44
+ }
inference-cache-config/qwen2.5.json ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Qwen/Qwen2.5-7B-Instruct": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "num_cores": 2,
7
+ "auto_cast_type": "bf16"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "num_cores": 2,
13
+ "auto_cast_type": "bf16"
14
+ },
15
+ {
16
+ "batch_size": 8,
17
+ "sequence_length": 4096,
18
+ "num_cores": 2,
19
+ "auto_cast_type": "bf16"
20
+ },
21
+ {
22
+ "batch_size": 1,
23
+ "sequence_length": 4096,
24
+ "num_cores": 8,
25
+ "auto_cast_type": "bf16"
26
+ },
27
+ {
28
+ "batch_size": 32,
29
+ "sequence_length": 4096,
30
+ "num_cores": 8,
31
+ "auto_cast_type": "bf16"
32
+ }
33
+ ],
34
+ "deepseek-ai/DeepSeek-R1-Distill-Qwen-7B": [
35
+ {
36
+ "batch_size": 1,
37
+ "sequence_length": 4096,
38
+ "num_cores": 2,
39
+ "auto_cast_type": "bf16"
40
+ },
41
+ {
42
+ "batch_size": 4,
43
+ "sequence_length": 4096,
44
+ "num_cores": 2,
45
+ "auto_cast_type": "bf16"
46
+ },
47
+ {
48
+ "batch_size": 8,
49
+ "sequence_length": 4096,
50
+ "num_cores": 2,
51
+ "auto_cast_type": "bf16"
52
+ },
53
+ {
54
+ "batch_size": 1,
55
+ "sequence_length": 4096,
56
+ "num_cores": 8,
57
+ "auto_cast_type": "bf16"
58
+ },
59
+ {
60
+ "batch_size": 32,
61
+ "sequence_length": 4096,
62
+ "num_cores": 8,
63
+ "auto_cast_type": "bf16"
64
+ }
65
+ ],
66
+ "Qwen/Qwen2.5-0.5B": [
67
+ {
68
+ "batch_size": 1,
69
+ "sequence_length": 4096,
70
+ "num_cores": 2,
71
+ "auto_cast_type": "bf16"
72
+ },
73
+ {
74
+ "batch_size": 4,
75
+ "sequence_length": 4096,
76
+ "num_cores": 2,
77
+ "auto_cast_type": "bf16"
78
+ }
79
+ ],
80
+ "Qwen/Qwen2.5-1.5B": [
81
+ {
82
+ "batch_size": 1,
83
+ "sequence_length": 4096,
84
+ "num_cores": 2,
85
+ "auto_cast_type": "bf16"
86
+ },
87
+ {
88
+ "batch_size": 4,
89
+ "sequence_length": 4096,
90
+ "num_cores": 2,
91
+ "auto_cast_type": "bf16"
92
+ }
93
+ ],
94
+ "deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B": [
95
+ {
96
+ "batch_size": 1,
97
+ "sequence_length": 4096,
98
+ "num_cores": 2,
99
+ "auto_cast_type": "bf16"
100
+ },
101
+ {
102
+ "batch_size": 4,
103
+ "sequence_length": 4096,
104
+ "num_cores": 2,
105
+ "auto_cast_type": "bf16"
106
+ }
107
+ ],
108
+ "Qwen/Qwen2.5-14B": [
109
+ {
110
+ "batch_size": 1,
111
+ "sequence_length": 4096,
112
+ "num_cores": 8,
113
+ "auto_cast_type": "bf16"
114
+ },
115
+ {
116
+ "batch_size": 16,
117
+ "sequence_length": 4096,
118
+ "num_cores": 8,
119
+ "auto_cast_type": "bf16"
120
+ }
121
+ ],
122
+ "deepseek-ai/DeepSeek-R1-Distill-Qwen-14B": [
123
+ {
124
+ "batch_size": 1,
125
+ "sequence_length": 4096,
126
+ "num_cores": 8,
127
+ "auto_cast_type": "bf16"
128
+ },
129
+ {
130
+ "batch_size": 16,
131
+ "sequence_length": 4096,
132
+ "num_cores": 8,
133
+ "auto_cast_type": "bf16"
134
+ }
135
+ ]
136
+ }
inference-cache-config/sdxl-turbo.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "stabilityai/sdxl-turbo": [
3
+ { "task": "stable-diffusion", "batch_size": 1, "height": 768, "width": 768, "num_images_per_prompt": 1, "auto_cast": "matmul", "auto_cast_type": "bf16" },
4
+ { "task": "stable-diffusion", "batch_size": 1, "height": 1024, "width": 1024, "num_images_per_prompt": 1, "auto_cast": "matmul", "auto_cast_type": "bf16" }
5
+ ]
6
+ }
inference-cache-config/smollm3.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "HuggingFaceTB/SmolLM3-3B": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "num_cores": 2,
7
+ "auto_cast_type": "bf16"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "num_cores": 2,
13
+ "auto_cast_type": "bf16"
14
+ },
15
+ {
16
+ "batch_size": 16,
17
+ "sequence_length": 4096,
18
+ "num_cores": 2,
19
+ "auto_cast_type": "bf16"
20
+ }
21
+ ]
22
+ }
inference-cache-config/stable-diffusion-2-1.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "stabilityai/stable-diffusion-2-1": [
3
+ { "task": "stable-diffusion", "batch_size": 1, "height": 512, "width": 512, "num_images_per_prompt": 1, "auto_cast": "matmul", "auto_cast_type": "bf16" },
4
+ { "task": "stable-diffusion", "batch_size": 1, "height": 768, "width": 768, "num_images_per_prompt": 1, "auto_cast": "matmul", "auto_cast_type": "bf16" }
5
+ ]
6
+ }
inference-cache-config/stable-diffusion-v1-5.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "jyoung105/stable-diffusion-v1-5": [
3
+ { "task": "stable-diffusion", "batch_size": 1, "height": 512, "width": 512, "num_images_per_prompt": 1, "auto_cast": "matmul", "auto_cast_type": "bf16" },
4
+ { "task": "stable-diffusion", "batch_size": 1, "height": 768, "width": 768, "num_images_per_prompt": 1, "auto_cast": "matmul", "auto_cast_type": "bf16" }
5
+ ]
6
+ }
inference-cache-config/stable-diffusion-xl-base-1.0.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "stabilityai/stable-diffusion-xl-base-1.0": [
3
+ { "task": "stable-diffusion", "batch_size": 1, "height": 768, "width": 768, "num_images_per_prompt": 1, "auto_cast": "matmul", "auto_cast_type": "bf16" },
4
+ { "task": "stable-diffusion", "batch_size": 1, "height": 1024, "width": 1024, "num_images_per_prompt": 1, "auto_cast": "matmul", "auto_cast_type": "bf16" }
5
+ ]
6
+ }
inference-cache-config/stable-diffusion-xl-refiner-1.0.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "stabilityai/stable-diffusion-xl-refiner-1.0": [
3
+ { "task": "stable-diffusion", "batch_size": 1, "height": 768, "width": 768, "num_images_per_prompt": 1, "auto_cast": "matmul", "auto_cast_type": "bf16" },
4
+ { "task": "stable-diffusion", "batch_size": 1, "height": 1024, "width": 1024, "num_images_per_prompt": 1, "auto_cast": "matmul", "auto_cast_type": "bf16" }
5
+ ]
6
+ }
inference-cache-config/trn1/granite.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ibm-granite/granite-3.1-2b-instruct": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "tensor_parallel_size": 2,
7
+ "instance_type" : "trn1"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "tensor_parallel_size": 2,
13
+ "instance_type" : "trn1"
14
+ },
15
+ {
16
+ "batch_size": 8,
17
+ "sequence_length": 4096,
18
+ "tensor_parallel_size": 2,
19
+ "instance_type" : "trn1"
20
+ },
21
+ {
22
+ "batch_size": 1,
23
+ "sequence_length": 4096,
24
+ "tensor_parallel_size": 8,
25
+ "instance_type" : "trn1"
26
+ },
27
+ {
28
+ "batch_size": 32,
29
+ "sequence_length": 4096,
30
+ "tensor_parallel_size": 8,
31
+ "instance_type" : "trn1"
32
+ }
33
+ ],
34
+ "ibm-granite/granite-3.1-8b-instruct": [
35
+ {
36
+ "batch_size": 1,
37
+ "sequence_length": 4096,
38
+ "tensor_parallel_size": 2,
39
+ "instance_type" : "trn1"
40
+ },
41
+ {
42
+ "batch_size": 4,
43
+ "sequence_length": 4096,
44
+ "tensor_parallel_size": 2,
45
+ "instance_type" : "trn1"
46
+ },
47
+ {
48
+ "batch_size": 8,
49
+ "sequence_length": 4096,
50
+ "tensor_parallel_size": 2,
51
+ "instance_type" : "trn1"
52
+ },
53
+ {
54
+ "batch_size": 1,
55
+ "sequence_length": 4096,
56
+ "tensor_parallel_size": 8,
57
+ "instance_type" : "trn1"
58
+ },
59
+ {
60
+ "batch_size": 32,
61
+ "sequence_length": 4096,
62
+ "tensor_parallel_size": 8,
63
+ "instance_type" : "trn1"
64
+ }
65
+ ],
66
+ "ibm-granite/granite-3.3-8b-instruct": [
67
+ {
68
+ "batch_size": 1,
69
+ "sequence_length": 16384,
70
+ "tensor_parallel_size": 8,
71
+ "instance_type" : "trn1"
72
+ }
73
+ ]
74
+ }
inference-cache-config/trn1/llama3.json ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "meta-llama/Meta-Llama-3.1-8B": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "tensor_parallel_size": 2,
7
+ "instance_type" : "trn1"
8
+ },
9
+ {
10
+ "batch_size": 1,
11
+ "sequence_length": 16384,
12
+ "tensor_parallel_size": 2,
13
+ "instance_type" : "trn1"
14
+ },
15
+ {
16
+ "batch_size": 4,
17
+ "sequence_length": 4096,
18
+ "tensor_parallel_size": 2,
19
+ "instance_type" : "trn1"
20
+ },
21
+ {
22
+ "batch_size": 8,
23
+ "sequence_length": 4096,
24
+ "tensor_parallel_size": 2,
25
+ "instance_type" : "trn1"
26
+ },
27
+ {
28
+ "batch_size": 1,
29
+ "sequence_length": 16384,
30
+ "tensor_parallel_size": 8,
31
+ "instance_type" : "trn1"
32
+ },
33
+ {
34
+ "batch_size": 4,
35
+ "sequence_length": 4096,
36
+ "tensor_parallel_size": 8,
37
+ "instance_type" : "trn1"
38
+ },
39
+ {
40
+ "batch_size": 8,
41
+ "sequence_length": 4096,
42
+ "tensor_parallel_size": 8,
43
+ "instance_type" : "trn1"
44
+ },
45
+ {
46
+ "batch_size": 16,
47
+ "sequence_length": 4096,
48
+ "tensor_parallel_size": 8,
49
+ "instance_type" : "trn1"
50
+ },
51
+ {
52
+ "batch_size": 32,
53
+ "sequence_length": 4096,
54
+ "tensor_parallel_size": 8,
55
+ "instance_type" : "trn1"
56
+ }
57
+ ],
58
+ "meta-llama/Llama-2-7b-hf": [
59
+ {
60
+ "batch_size": 1,
61
+ "sequence_length": 2048,
62
+ "tensor_parallel_size": 2,
63
+ "instance_type" : "trn1"
64
+ }
65
+ ],
66
+ "meta-llama/Llama-2-13b-hf": [
67
+ {
68
+ "batch_size": 1,
69
+ "sequence_length": 2048,
70
+ "tensor_parallel_size": 8,
71
+ "instance_type" : "trn1"
72
+ }
73
+ ],
74
+ "meta-llama/Meta-Llama-3-8B": [
75
+ {
76
+ "batch_size": 1,
77
+ "sequence_length": 4096,
78
+ "tensor_parallel_size": 2,
79
+ "instance_type" : "trn1"
80
+ }
81
+ ],
82
+ "meta-llama/Llama-3.2-1B": [
83
+ {
84
+ "batch_size": 1,
85
+ "sequence_length": 4096,
86
+ "tensor_parallel_size": 2,
87
+ "instance_type" : "trn1"
88
+ },
89
+ {
90
+ "batch_size": 4,
91
+ "sequence_length": 4096,
92
+ "tensor_parallel_size": 2,
93
+ "instance_type" : "trn1"
94
+ }
95
+ ],
96
+ "meta-llama/Llama-3.2-3B": [
97
+ {
98
+ "batch_size": 1,
99
+ "sequence_length": 4096,
100
+ "tensor_parallel_size": 2,
101
+ "instance_type" : "trn1"
102
+ },
103
+ {
104
+ "batch_size": 4,
105
+ "sequence_length": 4096,
106
+ "tensor_parallel_size": 2,
107
+ "instance_type" : "trn1"
108
+ }
109
+ ],
110
+ "TinyLlama/TinyLlama-1.1B-Chat-v1.0": [
111
+ {
112
+ "batch_size": 1,
113
+ "sequence_length": 2048,
114
+ "tensor_parallel_size": 2,
115
+ "instance_type" : "trn1"
116
+ }
117
+ ],
118
+ "meta-llama/Llama-3.3-70B-Instruct": [
119
+ {
120
+ "batch_size": 1,
121
+ "sequence_length": 4096,
122
+ "tensor_parallel_size": 24,
123
+ "instance_type" : "trn1"
124
+ },
125
+ {
126
+ "batch_size": 1,
127
+ "sequence_length": 16384,
128
+ "tensor_parallel_size": 24,
129
+ "instance_type" : "trn1"
130
+ },
131
+ {
132
+ "batch_size": 8,
133
+ "sequence_length": 4096,
134
+ "tensor_parallel_size": 24,
135
+ "instance_type" : "trn1"
136
+ },
137
+ {
138
+ "batch_size": 1,
139
+ "sequence_length": 4096,
140
+ "tensor_parallel_size": 32,
141
+ "instance_type" : "trn1"
142
+ },
143
+ {
144
+ "batch_size": 1,
145
+ "sequence_length": 16384,
146
+ "tensor_parallel_size": 32,
147
+ "instance_type" : "trn1"
148
+ },
149
+ {
150
+ "batch_size": 8,
151
+ "sequence_length": 4096,
152
+ "tensor_parallel_size": 32,
153
+ "instance_type" : "trn1"
154
+ }
155
+ ]
156
+ }
inference-cache-config/trn1/llama4.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "meta-llama/Llama-4-Scout-17B-16E-Instruct": [
3
+ {
4
+ "task": "text-generation",
5
+ "instance_type": "trn1",
6
+ "batch_size": 1,
7
+ "sequence_length": 4096,
8
+ "tensor_parallel_size": 16
9
+ },
10
+ {
11
+ "task": "text-generation",
12
+ "instance_type": "trn1",
13
+ "batch_size": 4,
14
+ "sequence_length": 4096,
15
+ "tensor_parallel_size": 16
16
+ },
17
+ {
18
+ "task": "text-generation",
19
+ "instance_type": "trn1",
20
+ "batch_size": 1,
21
+ "sequence_length": 4096,
22
+ "tensor_parallel_size": 32
23
+ },
24
+ {
25
+ "task": "text-generation",
26
+ "instance_type": "trn1",
27
+ "batch_size": 4,
28
+ "sequence_length": 4096,
29
+ "tensor_parallel_size": 32
30
+ },
31
+ {
32
+ "task": "text-generation",
33
+ "instance_type": "trn1",
34
+ "batch_size": 8,
35
+ "sequence_length": 4096,
36
+ "tensor_parallel_size": 32
37
+ }
38
+ ]
39
+ }
inference-cache-config/trn1/mixtral.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mistralai/Mixtral-8x7B-Instruct-v0.1": [
3
+ {
4
+ "task": "text-generation",
5
+ "batch_size": 1,
6
+ "sequence_length": 4096,
7
+ "tensor_parallel_size": 32,
8
+ "instance_type" : "trn1"
9
+ },
10
+ {
11
+ "task": "text-generation",
12
+ "batch_size": 4,
13
+ "sequence_length": 4096,
14
+ "tensor_parallel_size": 32,
15
+ "instance_type" : "trn1"
16
+ }
17
+ ],
18
+ "mistralai/Mixtral-8x22B-Instruct-v0.1": [
19
+ {
20
+ "task": "text-generation",
21
+ "batch_size": 1,
22
+ "sequence_length": 4096,
23
+ "tensor_parallel_size": 32,
24
+ "instance_type" : "trn1"
25
+ },
26
+ {
27
+ "task": "text-generation",
28
+ "batch_size": 4,
29
+ "sequence_length": 4096,
30
+ "tensor_parallel_size": 32,
31
+ "instance_type" : "trn1"
32
+ }
33
+ ]
34
+ }
inference-cache-config/trn1/phi4.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "microsoft/Phi-3-mini-4k-instruct": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "tensor_parallel_size": 2,
7
+ "instance_type" : "trn1"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "tensor_parallel_size": 2,
13
+ "instance_type" : "trn1"
14
+ }
15
+ ],
16
+ "microsoft/phi-4": [
17
+ {
18
+ "batch_size": 1,
19
+ "sequence_length": 4096,
20
+ "tensor_parallel_size": 10,
21
+ "instance_type" : "trn1"
22
+ },
23
+ {
24
+ "batch_size": 16,
25
+ "sequence_length": 4096,
26
+ "tensor_parallel_size": 10,
27
+ "instance_type" : "trn1"
28
+ }
29
+ ]
30
+ }
inference-cache-config/trn1/qwen3-moe.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Qwen/Qwen3-30B-A3B-Instruct-2507": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "tensor_parallel_size": 8,
7
+ "instance_type" : "trn1"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "tensor_parallel_size": 8,
13
+ "instance_type" : "trn1"
14
+ },
15
+ {
16
+ "batch_size": 8,
17
+ "sequence_length": 4096,
18
+ "tensor_parallel_size": 16,
19
+ "instance_type" : "trn1"
20
+ },
21
+ {
22
+ "batch_size": 8,
23
+ "sequence_length": 4096,
24
+ "tensor_parallel_size": 32,
25
+ "instance_type" : "trn1"
26
+ }
27
+ ]
28
+ }
inference-cache-config/trn1/qwen3.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Qwen/Qwen3-8B": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "tensor_parallel_size": 2,
7
+ "instance_type" : "trn1"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "tensor_parallel_size": 2,
13
+ "instance_type" : "trn1"
14
+ },
15
+ {
16
+ "batch_size": 8,
17
+ "sequence_length": 4096,
18
+ "tensor_parallel_size": 2,
19
+ "instance_type" : "trn1"
20
+ },
21
+ {
22
+ "batch_size": 1,
23
+ "sequence_length": 4096,
24
+ "tensor_parallel_size": 8,
25
+ "instance_type" : "trn1"
26
+ },
27
+ {
28
+ "batch_size": 32,
29
+ "sequence_length": 4096,
30
+ "tensor_parallel_size": 8,
31
+ "instance_type" : "trn1"
32
+ }
33
+ ],
34
+ "Qwen/Qwen3-0.6B": [
35
+ {
36
+ "batch_size": 1,
37
+ "sequence_length": 4096,
38
+ "tensor_parallel_size": 2,
39
+ "instance_type" : "trn1"
40
+ },
41
+ {
42
+ "batch_size": 4,
43
+ "sequence_length": 4096,
44
+ "tensor_parallel_size": 2,
45
+ "instance_type" : "trn1"
46
+ }
47
+ ],
48
+ "Qwen/Qwen3-1.7B": [
49
+ {
50
+ "batch_size": 1,
51
+ "sequence_length": 4096,
52
+ "tensor_parallel_size": 2,
53
+ "instance_type" : "trn1"
54
+ },
55
+ {
56
+ "batch_size": 4,
57
+ "sequence_length": 4096,
58
+ "tensor_parallel_size": 2,
59
+ "instance_type" : "trn1"
60
+ }
61
+ ],
62
+ "Qwen/Qwen3-4B": [
63
+ {
64
+ "batch_size": 1,
65
+ "sequence_length": 4096,
66
+ "tensor_parallel_size": 2,
67
+ "instance_type" : "trn1"
68
+ },
69
+ {
70
+ "batch_size": 4,
71
+ "sequence_length": 4096,
72
+ "tensor_parallel_size": 2,
73
+ "instance_type" : "trn1"
74
+ }
75
+ ],
76
+ "Qwen/Qwen3-14B": [
77
+ {
78
+ "batch_size": 1,
79
+ "sequence_length": 4096,
80
+ "tensor_parallel_size": 8,
81
+ "instance_type" : "trn1"
82
+ },
83
+ {
84
+ "batch_size": 16,
85
+ "sequence_length": 4096,
86
+ "tensor_parallel_size": 8,
87
+ "instance_type" : "trn1"
88
+ }
89
+ ],
90
+ "Qwen/Qwen3-32B": [
91
+ {
92
+ "batch_size": 1,
93
+ "sequence_length": 4096,
94
+ "tensor_parallel_size": 8,
95
+ "instance_type" : "trn1"
96
+ },
97
+ {
98
+ "batch_size": 16,
99
+ "sequence_length": 4096,
100
+ "tensor_parallel_size": 8,
101
+ "instance_type" : "trn1"
102
+ }
103
+ ]
104
+ }
inference-cache-config/trn1/smollm3.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "HuggingFaceTB/SmolLM3-3B": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "tensor_parallel_size": 2,
7
+ "instance_type" : "trn1"
8
+ },
9
+ {
10
+ "batch_size": 4,
11
+ "sequence_length": 4096,
12
+ "tensor_parallel_size": 2,
13
+ "instance_type" : "trn1"
14
+ },
15
+ {
16
+ "batch_size": 16,
17
+ "sequence_length": 4096,
18
+ "tensor_parallel_size": 2,
19
+ "instance_type" : "trn1"
20
+ }
21
+ ]
22
+ }
inference-cache-config/trn2/llama3.json ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "meta-llama/Llama-3.1-8B": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "tensor_parallel_size": 4,
7
+ "instance_type" : "trn2"
8
+ },
9
+ {
10
+ "batch_size": 1,
11
+ "sequence_length": 16384,
12
+ "tensor_parallel_size": 4,
13
+ "instance_type" : "trn2"
14
+ },
15
+ {
16
+ "batch_size": 8,
17
+ "sequence_length": 4096,
18
+ "tensor_parallel_size" : 4,
19
+ "instance_type" : "trn2"
20
+ },
21
+ {
22
+ "batch_size": 32,
23
+ "sequence_length": 4096,
24
+ "tensor_parallel_size": 4,
25
+ "instance_type" : "trn2"
26
+ },
27
+ {
28
+ "batch_size": 64,
29
+ "sequence_length": 4096,
30
+ "tensor_parallel_size": 4,
31
+ "instance_type" : "trn2"
32
+ }
33
+ ],
34
+ "meta-llama/Llama-3.2-1B": [
35
+ {
36
+ "batch_size": 1,
37
+ "sequence_length": 4096,
38
+ "tensor_parallel_size" : 4,
39
+ "instance_type" : "trn2"
40
+ },
41
+ {
42
+ "batch_size": 1,
43
+ "sequence_length": 16384,
44
+ "tensor_parallel_size" : 4,
45
+ "instance_type" : "trn2"
46
+ },
47
+ {
48
+ "batch_size": 4,
49
+ "sequence_length": 4096,
50
+ "tensor_parallel_size" : 4,
51
+ "instance_type" : "trn2"
52
+ },
53
+ {
54
+ "batch_size": 64,
55
+ "sequence_length": 4096,
56
+ "tensor_parallel_size" : 4,
57
+ "instance_type" : "trn2"
58
+ }
59
+ ],
60
+ "meta-llama/Llama-3.2-3B": [
61
+ {
62
+ "batch_size": 1,
63
+ "sequence_length": 4096,
64
+ "tensor_parallel_size" : 4,
65
+ "instance_type" : "trn2"
66
+ },
67
+ {
68
+ "batch_size": 1,
69
+ "sequence_length": 16384,
70
+ "tensor_parallel_size" : 4,
71
+ "instance_type" : "trn2"
72
+ },
73
+ {
74
+ "batch_size": 64,
75
+ "sequence_length": 4096,
76
+ "tensor_parallel_size" : 4,
77
+ "instance_type" : "trn2"
78
+ }
79
+ ],
80
+ "TinyLlama/TinyLlama-1.1B-Chat-v1.0": [
81
+ {
82
+ "batch_size": 1,
83
+ "sequence_length": 2048,
84
+ "tensor_parallel_size" : 4,
85
+ "instance_type" : "trn2"
86
+ }
87
+ ],
88
+ "meta-llama/Llama-3.3-70B-Instruct": [
89
+ {
90
+ "batch_size": 32,
91
+ "sequence_length": 4096,
92
+ "tensor_parallel_size": 32,
93
+ "instance_type" : "trn2"
94
+ },
95
+ {
96
+ "batch_size": 1,
97
+ "sequence_length": 4096,
98
+ "tensor_parallel_size": 64,
99
+ "instance_type" : "trn2"
100
+ },
101
+ {
102
+ "batch_size": 1,
103
+ "sequence_length": 16384,
104
+ "tensor_parallel_size": 64,
105
+ "instance_type" : "trn2"
106
+ },
107
+ {
108
+ "batch_size": 32,
109
+ "sequence_length": 4096,
110
+ "tensor_parallel_size": 64,
111
+ "instance_type" : "trn2"
112
+ },
113
+ {
114
+ "batch_size": 64,
115
+ "sequence_length": 4096,
116
+ "tensor_parallel_size": 64,
117
+ "instance_type" : "trn2"
118
+ }
119
+ ]
120
+ }
inference-cache-config/trn2/llama4.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "meta-llama/Llama-4-Scout-17B-16E-Instruct": [
3
+ {
4
+ "task": "text-generation",
5
+ "instance_type": "trn2",
6
+ "batch_size": 1,
7
+ "sequence_length": 4096,
8
+ "tensor_parallel_size": 32
9
+ },
10
+ {
11
+ "task": "text-generation",
12
+ "instance_type": "trn2",
13
+ "batch_size": 8,
14
+ "sequence_length": 4096,
15
+ "tensor_parallel_size": 32
16
+ },
17
+ {
18
+ "task": "text-generation",
19
+ "instance_type": "trn2",
20
+ "batch_size": 32,
21
+ "sequence_length": 4096,
22
+ "tensor_parallel_size": 32
23
+ }
24
+ ],
25
+ "meta-llama/Llama-4-Maverick-17B-128E-Instruct": [
26
+ {
27
+ "task": "text-generation",
28
+ "instance_type": "trn2",
29
+ "batch_size": 1,
30
+ "sequence_length": 4096,
31
+ "tensor_parallel_size": 64
32
+ },
33
+ {
34
+ "task": "text-generation",
35
+ "instance_type": "trn1",
36
+ "batch_size": 8,
37
+ "sequence_length": 4096,
38
+ "tensor_parallel_size": 64
39
+ },
40
+ {
41
+ "task": "text-generation",
42
+ "instance_type": "trn2",
43
+ "batch_size": 32,
44
+ "sequence_length": 4096,
45
+ "tensor_parallel_size": 64
46
+ }
47
+ ]
48
+ }
inference-cache-config/trn2/qwen3-moe.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Qwen/Qwen3-30B-A3B-Instruct-2507": [
3
+ {
4
+ "batch_size": 1,
5
+ "sequence_length": 4096,
6
+ "tensor_parallel_size": 4,
7
+ "instance_type" : "trn2"
8
+ },
9
+ {
10
+ "batch_size": 8,
11
+ "sequence_length": 4096,
12
+ "tensor_parallel_size": 4,
13
+ "instance_type" : "trn2"
14
+ },
15
+ {
16
+ "batch_size": 16,
17
+ "sequence_length": 4096,
18
+ "tensor_parallel_size": 4,
19
+ "instance_type" : "trn2"
20
+ }
21
+ ],
22
+ "Qwen/Qwen3-235B-A22B-Instruct-2507": [
23
+ {
24
+ "batch_size": 1,
25
+ "sequence_length": 4096,
26
+ "tensor_parallel_size": 64,
27
+ "instance_type" : "trn2"
28
+ },
29
+ {
30
+ "batch_size": 4,
31
+ "sequence_length": 4096,
32
+ "tensor_parallel_size": 64,
33
+ "instance_type" : "trn2"
34
+ }
35
+ ]
36
+ }
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/granite/hf-internal-testing/tiny-random-GraniteForCausalLM/4bd0c6ed2a9764168cb6.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "hf-internal-testing/tiny-random-GraniteForCausalLM",
4
+ "_task": "text-generation",
5
+ "architectures": [
6
+ "GraniteForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "attention_multiplier": 1.0,
11
+ "embedding_multiplier": 1.0,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 32,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 64,
16
+ "logits_scaling": 1.0,
17
+ "max_position_embeddings": 2048,
18
+ "mlp_bias": false,
19
+ "model_type": "granite",
20
+ "neuron": {
21
+ "_serialized_key": "NxDNeuronConfig",
22
+ "async_mode": false,
23
+ "attn_kernel_enabled": false,
24
+ "batch_size": 1,
25
+ "capacity_factor": null,
26
+ "cc_pipeline_tiling_factor": 2,
27
+ "checkpoint_id": "hf-internal-testing/tiny-random-GraniteForCausalLM",
28
+ "checkpoint_revision": "c3074ebc0ac2fe545305f5e5f6cce2cc9b2aa0c5",
29
+ "continuous_batching": false,
30
+ "enable_bucketing": false,
31
+ "ep_degree": 1,
32
+ "flash_decoding_enabled": false,
33
+ "fused_qkv": true,
34
+ "glu_mlp": true,
35
+ "is_chunked_prefill": false,
36
+ "local_ranks_size": 2,
37
+ "logical_nc_config": 1,
38
+ "max_batch_size": 1,
39
+ "max_context_length": 100,
40
+ "max_topk": 256,
41
+ "mlp_kernel_enabled": false,
42
+ "mlp_kernel_fuse_residual_add": false,
43
+ "n_active_tokens": 100,
44
+ "neuronxcc_version": "2.19.8089.0+8ab9f450",
45
+ "num_cores_per_group": 1,
46
+ "on_device_sampling": true,
47
+ "optimum_neuron_version": "0.3.0.dev2",
48
+ "output_logits": false,
49
+ "padding_side": "right",
50
+ "pp_degree": 1,
51
+ "qk_layernorm": false,
52
+ "qkv_kernel_enabled": false,
53
+ "rpl_reduce_dtype": "float16",
54
+ "sequence_length": 100,
55
+ "sequence_parallel_enabled": false,
56
+ "speculation_length": 0,
57
+ "start_rank_id": 0,
58
+ "target": null,
59
+ "torch_dtype": "float16",
60
+ "tp_degree": 2,
61
+ "vocab_parallel": false
62
+ },
63
+ "num_attention_heads": 4,
64
+ "num_hidden_layers": 2,
65
+ "num_key_value_heads": 4,
66
+ "residual_multiplier": 1.0,
67
+ "rms_norm_eps": 1e-06,
68
+ "rope_scaling": null,
69
+ "rope_theta": 10000.0,
70
+ "tie_word_embeddings": false,
71
+ "use_cache": true,
72
+ "vocab_size": 49152
73
+ }
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/granite/hf-internal-testing/tiny-random-GraniteForCausalLM/58bb3ae501d4d87ab565.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "hf-internal-testing/tiny-random-GraniteForCausalLM",
4
+ "_task": "text-generation",
5
+ "architectures": [
6
+ "GraniteForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "attention_multiplier": 1.0,
11
+ "embedding_multiplier": 1.0,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 32,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 64,
16
+ "logits_scaling": 1.0,
17
+ "max_position_embeddings": 2048,
18
+ "mlp_bias": false,
19
+ "model_type": "granite",
20
+ "neuron": {
21
+ "_serialized_key": "NxDNeuronConfig",
22
+ "async_mode": false,
23
+ "attn_kernel_enabled": false,
24
+ "batch_size": 2,
25
+ "capacity_factor": null,
26
+ "cc_pipeline_tiling_factor": 2,
27
+ "checkpoint_id": "hf-internal-testing/tiny-random-GraniteForCausalLM",
28
+ "checkpoint_revision": "c3074ebc0ac2fe545305f5e5f6cce2cc9b2aa0c5",
29
+ "continuous_batching": true,
30
+ "enable_bucketing": false,
31
+ "ep_degree": 1,
32
+ "flash_decoding_enabled": false,
33
+ "fused_qkv": true,
34
+ "glu_mlp": true,
35
+ "is_chunked_prefill": false,
36
+ "local_ranks_size": 2,
37
+ "logical_nc_config": 1,
38
+ "max_batch_size": 2,
39
+ "max_context_length": 100,
40
+ "max_topk": 256,
41
+ "mlp_kernel_enabled": false,
42
+ "mlp_kernel_fuse_residual_add": false,
43
+ "n_active_tokens": 100,
44
+ "neuronxcc_version": "2.19.8089.0+8ab9f450",
45
+ "num_cores_per_group": 1,
46
+ "on_device_sampling": false,
47
+ "optimum_neuron_version": "0.3.0.dev2",
48
+ "output_logits": false,
49
+ "padding_side": "right",
50
+ "pp_degree": 1,
51
+ "qk_layernorm": false,
52
+ "qkv_kernel_enabled": false,
53
+ "rpl_reduce_dtype": "float16",
54
+ "sequence_length": 100,
55
+ "sequence_parallel_enabled": false,
56
+ "speculation_length": 0,
57
+ "start_rank_id": 0,
58
+ "target": null,
59
+ "torch_dtype": "float16",
60
+ "tp_degree": 2,
61
+ "vocab_parallel": false
62
+ },
63
+ "num_attention_heads": 4,
64
+ "num_hidden_layers": 2,
65
+ "num_key_value_heads": 4,
66
+ "residual_multiplier": 1.0,
67
+ "rms_norm_eps": 1e-06,
68
+ "rope_scaling": null,
69
+ "rope_theta": 10000.0,
70
+ "tie_word_embeddings": false,
71
+ "use_cache": true,
72
+ "vocab_size": 49152
73
+ }
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/granite/hf-internal-testing/tiny-random-GraniteForCausalLM/f5771202abb1a7ae2611.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "hf-internal-testing/tiny-random-GraniteForCausalLM",
4
+ "_task": "text-generation",
5
+ "architectures": [
6
+ "GraniteForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "attention_multiplier": 1.0,
11
+ "embedding_multiplier": 1.0,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 32,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 64,
16
+ "logits_scaling": 1.0,
17
+ "max_position_embeddings": 2048,
18
+ "mlp_bias": false,
19
+ "model_type": "granite",
20
+ "neuron": {
21
+ "_serialized_key": "NxDNeuronConfig",
22
+ "async_mode": false,
23
+ "attn_kernel_enabled": false,
24
+ "batch_size": 1,
25
+ "capacity_factor": null,
26
+ "cc_pipeline_tiling_factor": 2,
27
+ "checkpoint_id": "hf-internal-testing/tiny-random-GraniteForCausalLM",
28
+ "checkpoint_revision": "c3074ebc0ac2fe545305f5e5f6cce2cc9b2aa0c5",
29
+ "continuous_batching": false,
30
+ "enable_bucketing": false,
31
+ "ep_degree": 1,
32
+ "flash_decoding_enabled": false,
33
+ "fused_qkv": true,
34
+ "glu_mlp": true,
35
+ "is_chunked_prefill": false,
36
+ "local_ranks_size": 2,
37
+ "logical_nc_config": 1,
38
+ "max_batch_size": 1,
39
+ "max_context_length": 100,
40
+ "max_topk": 256,
41
+ "mlp_kernel_enabled": false,
42
+ "mlp_kernel_fuse_residual_add": false,
43
+ "n_active_tokens": 100,
44
+ "neuronxcc_version": "2.19.8089.0+8ab9f450",
45
+ "num_cores_per_group": 1,
46
+ "on_device_sampling": true,
47
+ "optimum_neuron_version": "0.3.0.dev2",
48
+ "output_logits": false,
49
+ "padding_side": "right",
50
+ "pp_degree": 1,
51
+ "qk_layernorm": false,
52
+ "qkv_kernel_enabled": false,
53
+ "rpl_reduce_dtype": "bfloat16",
54
+ "sequence_length": 100,
55
+ "sequence_parallel_enabled": false,
56
+ "speculation_length": 0,
57
+ "start_rank_id": 0,
58
+ "target": null,
59
+ "torch_dtype": "bfloat16",
60
+ "tp_degree": 2,
61
+ "vocab_parallel": false
62
+ },
63
+ "num_attention_heads": 4,
64
+ "num_hidden_layers": 2,
65
+ "num_key_value_heads": 4,
66
+ "residual_multiplier": 1.0,
67
+ "rms_norm_eps": 1e-06,
68
+ "rope_scaling": null,
69
+ "rope_theta": 10000.0,
70
+ "tie_word_embeddings": false,
71
+ "use_cache": true,
72
+ "vocab_size": 49152
73
+ }
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/granite/ibm-granite/granite-3.1-2b-instruct/af1749224d7631fdb38a.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "ibm-granite/granite-3.1-2b-instruct",
4
+ "_task": "text-generation",
5
+ "architectures": [
6
+ "GraniteForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.1,
10
+ "attention_multiplier": 0.015625,
11
+ "embedding_multiplier": 12.0,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 2048,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 8192,
16
+ "logits_scaling": 8.0,
17
+ "max_position_embeddings": 131072,
18
+ "mlp_bias": false,
19
+ "model_type": "granite",
20
+ "neuron": {
21
+ "_serialized_key": "NxDNeuronConfig",
22
+ "async_mode": false,
23
+ "attn_kernel_enabled": false,
24
+ "batch_size": 4,
25
+ "capacity_factor": null,
26
+ "cc_pipeline_tiling_factor": 2,
27
+ "checkpoint_id": "ibm-granite/granite-3.1-2b-instruct",
28
+ "checkpoint_revision": "bbc2aed595bd38bd770263dc3ab831db9794441d",
29
+ "continuous_batching": true,
30
+ "enable_bucketing": false,
31
+ "ep_degree": 1,
32
+ "flash_decoding_enabled": false,
33
+ "fused_qkv": true,
34
+ "glu_mlp": true,
35
+ "is_chunked_prefill": false,
36
+ "local_ranks_size": 2,
37
+ "logical_nc_config": 1,
38
+ "max_batch_size": 4,
39
+ "max_context_length": 4096,
40
+ "max_topk": 256,
41
+ "mlp_kernel_enabled": false,
42
+ "mlp_kernel_fuse_residual_add": false,
43
+ "n_active_tokens": 4096,
44
+ "neuronxcc_version": "2.19.8089.0+8ab9f450",
45
+ "num_cores_per_group": 1,
46
+ "on_device_sampling": false,
47
+ "optimum_neuron_version": "0.3.0.dev2",
48
+ "output_logits": false,
49
+ "padding_side": "right",
50
+ "pp_degree": 1,
51
+ "qk_layernorm": false,
52
+ "qkv_kernel_enabled": false,
53
+ "rpl_reduce_dtype": "bfloat16",
54
+ "sequence_length": 4096,
55
+ "sequence_parallel_enabled": false,
56
+ "speculation_length": 0,
57
+ "start_rank_id": 0,
58
+ "target": null,
59
+ "torch_dtype": "bfloat16",
60
+ "tp_degree": 2,
61
+ "vocab_parallel": false
62
+ },
63
+ "num_attention_heads": 32,
64
+ "num_hidden_layers": 40,
65
+ "num_key_value_heads": 8,
66
+ "residual_multiplier": 0.22,
67
+ "rms_norm_eps": 1e-05,
68
+ "rope_scaling": null,
69
+ "rope_theta": 5000000.0,
70
+ "tie_word_embeddings": true,
71
+ "use_cache": true,
72
+ "vocab_size": 49155
73
+ }
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/deepseek-ai/DeepSeek-R1-Distill-Llama-70B/38357c754f2cbd1d382e.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "deepseek-ai/DeepSeek-R1-Distill-Llama-70B",
4
+ "_task": "text-generation",
5
+ "architectures": [
6
+ "LlamaForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 8192,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 28672,
15
+ "max_position_embeddings": 131072,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "neuron": {
19
+ "_serialized_key": "NxDNeuronConfig",
20
+ "async_mode": false,
21
+ "attn_kernel_enabled": false,
22
+ "batch_size": 8,
23
+ "capacity_factor": null,
24
+ "cc_pipeline_tiling_factor": 2,
25
+ "checkpoint_id": "deepseek-ai/DeepSeek-R1-Distill-Llama-70B",
26
+ "checkpoint_revision": "b1c0b44b4369b597ad119a196caf79a9c40e141e",
27
+ "continuous_batching": true,
28
+ "enable_bucketing": false,
29
+ "ep_degree": 1,
30
+ "flash_decoding_enabled": false,
31
+ "fused_qkv": true,
32
+ "glu_mlp": true,
33
+ "is_chunked_prefill": false,
34
+ "local_ranks_size": 24,
35
+ "logical_nc_config": 1,
36
+ "max_batch_size": 8,
37
+ "max_context_length": 4096,
38
+ "max_topk": 256,
39
+ "mlp_kernel_enabled": false,
40
+ "mlp_kernel_fuse_residual_add": false,
41
+ "n_active_tokens": 4096,
42
+ "neuronxcc_version": "2.19.8089.0+8ab9f450",
43
+ "num_cores_per_group": 1,
44
+ "on_device_sampling": true,
45
+ "optimum_neuron_version": "0.3.0.dev2",
46
+ "output_logits": false,
47
+ "padding_side": "right",
48
+ "pp_degree": 1,
49
+ "qk_layernorm": false,
50
+ "qkv_kernel_enabled": false,
51
+ "rpl_reduce_dtype": "bfloat16",
52
+ "sequence_length": 4096,
53
+ "sequence_parallel_enabled": false,
54
+ "speculation_length": 0,
55
+ "start_rank_id": 0,
56
+ "target": null,
57
+ "torch_dtype": "bfloat16",
58
+ "tp_degree": 24,
59
+ "vocab_parallel": false
60
+ },
61
+ "num_attention_heads": 64,
62
+ "num_hidden_layers": 80,
63
+ "num_key_value_heads": 8,
64
+ "pretraining_tp": 1,
65
+ "rms_norm_eps": 1e-05,
66
+ "rope_scaling": {
67
+ "factor": 8.0,
68
+ "high_freq_factor": 4.0,
69
+ "low_freq_factor": 1.0,
70
+ "original_max_position_embeddings": 8192,
71
+ "rope_type": "llama3"
72
+ },
73
+ "rope_theta": 500000.0,
74
+ "tie_word_embeddings": false,
75
+ "use_cache": true,
76
+ "vocab_size": 128256
77
+ }
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/deepseek-ai/DeepSeek-R1-Distill-Llama-70B/89acac1543511de63934.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "deepseek-ai/DeepSeek-R1-Distill-Llama-70B",
4
+ "_task": "text-generation",
5
+ "architectures": [
6
+ "LlamaForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 8192,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 28672,
15
+ "max_position_embeddings": 131072,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "neuron": {
19
+ "_serialized_key": "NxDNeuronConfig",
20
+ "async_mode": false,
21
+ "attn_kernel_enabled": false,
22
+ "batch_size": 4,
23
+ "capacity_factor": null,
24
+ "cc_pipeline_tiling_factor": 2,
25
+ "checkpoint_id": "deepseek-ai/DeepSeek-R1-Distill-Llama-70B",
26
+ "checkpoint_revision": "b1c0b44b4369b597ad119a196caf79a9c40e141e",
27
+ "continuous_batching": true,
28
+ "enable_bucketing": false,
29
+ "ep_degree": 1,
30
+ "flash_decoding_enabled": false,
31
+ "fused_qkv": true,
32
+ "glu_mlp": true,
33
+ "is_chunked_prefill": false,
34
+ "local_ranks_size": 24,
35
+ "logical_nc_config": 1,
36
+ "max_batch_size": 4,
37
+ "max_context_length": 4096,
38
+ "max_topk": 256,
39
+ "mlp_kernel_enabled": false,
40
+ "mlp_kernel_fuse_residual_add": false,
41
+ "n_active_tokens": 4096,
42
+ "neuronxcc_version": "2.19.8089.0+8ab9f450",
43
+ "num_cores_per_group": 1,
44
+ "on_device_sampling": true,
45
+ "optimum_neuron_version": "0.3.0.dev2",
46
+ "output_logits": false,
47
+ "padding_side": "right",
48
+ "pp_degree": 1,
49
+ "qk_layernorm": false,
50
+ "qkv_kernel_enabled": false,
51
+ "rpl_reduce_dtype": "bfloat16",
52
+ "sequence_length": 4096,
53
+ "sequence_parallel_enabled": false,
54
+ "speculation_length": 0,
55
+ "start_rank_id": 0,
56
+ "target": null,
57
+ "torch_dtype": "bfloat16",
58
+ "tp_degree": 24,
59
+ "vocab_parallel": false
60
+ },
61
+ "num_attention_heads": 64,
62
+ "num_hidden_layers": 80,
63
+ "num_key_value_heads": 8,
64
+ "pretraining_tp": 1,
65
+ "rms_norm_eps": 1e-05,
66
+ "rope_scaling": {
67
+ "factor": 8.0,
68
+ "high_freq_factor": 4.0,
69
+ "low_freq_factor": 1.0,
70
+ "original_max_position_embeddings": 8192,
71
+ "rope_type": "llama3"
72
+ },
73
+ "rope_theta": 500000.0,
74
+ "tie_word_embeddings": false,
75
+ "use_cache": true,
76
+ "vocab_size": 128256
77
+ }
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/deepseek-ai/DeepSeek-R1-Distill-Llama-70B/a91139c3aee28b0f6c94.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "deepseek-ai/DeepSeek-R1-Distill-Llama-70B",
4
+ "_task": "text-generation",
5
+ "architectures": [
6
+ "LlamaForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 8192,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 28672,
15
+ "max_position_embeddings": 131072,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "neuron": {
19
+ "_serialized_key": "NxDNeuronConfig",
20
+ "async_mode": false,
21
+ "attn_kernel_enabled": false,
22
+ "batch_size": 1,
23
+ "capacity_factor": null,
24
+ "cc_pipeline_tiling_factor": 2,
25
+ "checkpoint_id": "deepseek-ai/DeepSeek-R1-Distill-Llama-70B",
26
+ "checkpoint_revision": "b1c0b44b4369b597ad119a196caf79a9c40e141e",
27
+ "continuous_batching": false,
28
+ "enable_bucketing": false,
29
+ "ep_degree": 1,
30
+ "flash_decoding_enabled": false,
31
+ "fused_qkv": true,
32
+ "glu_mlp": true,
33
+ "is_chunked_prefill": false,
34
+ "local_ranks_size": 24,
35
+ "logical_nc_config": 1,
36
+ "max_batch_size": 1,
37
+ "max_context_length": 4096,
38
+ "max_topk": 256,
39
+ "mlp_kernel_enabled": false,
40
+ "mlp_kernel_fuse_residual_add": false,
41
+ "n_active_tokens": 4096,
42
+ "neuronxcc_version": "2.19.8089.0+8ab9f450",
43
+ "num_cores_per_group": 1,
44
+ "on_device_sampling": true,
45
+ "optimum_neuron_version": "0.3.0.dev2",
46
+ "output_logits": false,
47
+ "padding_side": "right",
48
+ "pp_degree": 1,
49
+ "qk_layernorm": false,
50
+ "qkv_kernel_enabled": false,
51
+ "rpl_reduce_dtype": "bfloat16",
52
+ "sequence_length": 4096,
53
+ "sequence_parallel_enabled": false,
54
+ "speculation_length": 0,
55
+ "start_rank_id": 0,
56
+ "target": null,
57
+ "torch_dtype": "bfloat16",
58
+ "tp_degree": 24,
59
+ "vocab_parallel": false
60
+ },
61
+ "num_attention_heads": 64,
62
+ "num_hidden_layers": 80,
63
+ "num_key_value_heads": 8,
64
+ "pretraining_tp": 1,
65
+ "rms_norm_eps": 1e-05,
66
+ "rope_scaling": {
67
+ "factor": 8.0,
68
+ "high_freq_factor": 4.0,
69
+ "low_freq_factor": 1.0,
70
+ "original_max_position_embeddings": 8192,
71
+ "rope_type": "llama3"
72
+ },
73
+ "rope_theta": 500000.0,
74
+ "tie_word_embeddings": false,
75
+ "use_cache": true,
76
+ "vocab_size": 128256
77
+ }
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/llamafactory/tiny-random-Llama-3/3ed9abae6f7f67d07da0.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "llamafactory/tiny-random-Llama-3",
4
+ "_task": "text-generation",
5
+ "architectures": [
6
+ "LlamaForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "head_dim": 4,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 16,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 64,
15
+ "max_position_embeddings": 131072,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "neuron": {
19
+ "_serialized_key": "NxDNeuronConfig",
20
+ "async_mode": false,
21
+ "attn_kernel_enabled": false,
22
+ "batch_size": 2,
23
+ "capacity_factor": null,
24
+ "cc_pipeline_tiling_factor": 2,
25
+ "checkpoint_id": "llamafactory/tiny-random-Llama-3",
26
+ "checkpoint_revision": "bf2a2e3bf199ad2ee96f02a3c00246c608db22a8",
27
+ "continuous_batching": true,
28
+ "enable_bucketing": false,
29
+ "ep_degree": 1,
30
+ "flash_decoding_enabled": false,
31
+ "fused_qkv": true,
32
+ "glu_mlp": true,
33
+ "is_chunked_prefill": false,
34
+ "local_ranks_size": 2,
35
+ "logical_nc_config": 1,
36
+ "max_batch_size": 2,
37
+ "max_context_length": 100,
38
+ "max_topk": 256,
39
+ "mlp_kernel_enabled": false,
40
+ "mlp_kernel_fuse_residual_add": false,
41
+ "n_active_tokens": 100,
42
+ "neuronxcc_version": "2.19.8089.0+8ab9f450",
43
+ "num_cores_per_group": 1,
44
+ "on_device_sampling": false,
45
+ "optimum_neuron_version": "0.3.0.dev2",
46
+ "output_logits": false,
47
+ "padding_side": "right",
48
+ "pp_degree": 1,
49
+ "qk_layernorm": false,
50
+ "qkv_kernel_enabled": false,
51
+ "rpl_reduce_dtype": "float16",
52
+ "sequence_length": 100,
53
+ "sequence_parallel_enabled": false,
54
+ "speculation_length": 0,
55
+ "start_rank_id": 0,
56
+ "target": null,
57
+ "torch_dtype": "float16",
58
+ "tp_degree": 2,
59
+ "vocab_parallel": false
60
+ },
61
+ "num_attention_heads": 4,
62
+ "num_hidden_layers": 2,
63
+ "num_key_value_heads": 4,
64
+ "pretraining_tp": 1,
65
+ "rms_norm_eps": 1e-05,
66
+ "rope_scaling": {
67
+ "factor": 8.0,
68
+ "high_freq_factor": 4.0,
69
+ "low_freq_factor": 1.0,
70
+ "original_max_position_embeddings": 8192,
71
+ "rope_type": "llama3"
72
+ },
73
+ "rope_theta": 500000.0,
74
+ "tie_word_embeddings": false,
75
+ "use_cache": true,
76
+ "vocab_size": 128256
77
+ }
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/llamafactory/tiny-random-Llama-3/42b299016a0208fd74b0.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "llamafactory/tiny-random-Llama-3",
4
+ "_task": "text-generation",
5
+ "architectures": [
6
+ "LlamaForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "head_dim": 4,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 16,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 64,
15
+ "max_position_embeddings": 131072,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "neuron": {
19
+ "_serialized_key": "NxDNeuronConfig",
20
+ "async_mode": false,
21
+ "attn_kernel_enabled": false,
22
+ "batch_size": 1,
23
+ "capacity_factor": null,
24
+ "cc_pipeline_tiling_factor": 2,
25
+ "checkpoint_id": "llamafactory/tiny-random-Llama-3",
26
+ "checkpoint_revision": "bf2a2e3bf199ad2ee96f02a3c00246c608db22a8",
27
+ "continuous_batching": false,
28
+ "enable_bucketing": false,
29
+ "ep_degree": 1,
30
+ "flash_decoding_enabled": false,
31
+ "fused_qkv": true,
32
+ "glu_mlp": true,
33
+ "is_chunked_prefill": false,
34
+ "local_ranks_size": 2,
35
+ "logical_nc_config": 1,
36
+ "max_batch_size": 1,
37
+ "max_context_length": 100,
38
+ "max_topk": 256,
39
+ "mlp_kernel_enabled": false,
40
+ "mlp_kernel_fuse_residual_add": false,
41
+ "n_active_tokens": 100,
42
+ "neuronxcc_version": "2.19.8089.0+8ab9f450",
43
+ "num_cores_per_group": 1,
44
+ "on_device_sampling": true,
45
+ "optimum_neuron_version": "0.3.0.dev2",
46
+ "output_logits": false,
47
+ "padding_side": "right",
48
+ "pp_degree": 1,
49
+ "qk_layernorm": false,
50
+ "qkv_kernel_enabled": false,
51
+ "rpl_reduce_dtype": "float16",
52
+ "sequence_length": 100,
53
+ "sequence_parallel_enabled": false,
54
+ "speculation_length": 0,
55
+ "start_rank_id": 0,
56
+ "target": null,
57
+ "torch_dtype": "float16",
58
+ "tp_degree": 2,
59
+ "vocab_parallel": false
60
+ },
61
+ "num_attention_heads": 4,
62
+ "num_hidden_layers": 2,
63
+ "num_key_value_heads": 4,
64
+ "pretraining_tp": 1,
65
+ "rms_norm_eps": 1e-05,
66
+ "rope_scaling": {
67
+ "factor": 8.0,
68
+ "high_freq_factor": 4.0,
69
+ "low_freq_factor": 1.0,
70
+ "original_max_position_embeddings": 8192,
71
+ "rope_type": "llama3"
72
+ },
73
+ "rope_theta": 500000.0,
74
+ "tie_word_embeddings": false,
75
+ "use_cache": true,
76
+ "vocab_size": 128256
77
+ }
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/llamafactory/tiny-random-Llama-3/7b749096ec9bec32a9c5.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "llamafactory/tiny-random-Llama-3",
4
+ "_task": "text-generation",
5
+ "architectures": [
6
+ "LlamaForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "head_dim": 4,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 16,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 64,
15
+ "max_position_embeddings": 131072,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "neuron": {
19
+ "_serialized_key": "NxDNeuronConfig",
20
+ "async_mode": false,
21
+ "attn_kernel_enabled": false,
22
+ "batch_size": 1,
23
+ "capacity_factor": null,
24
+ "cc_pipeline_tiling_factor": 2,
25
+ "checkpoint_id": "llamafactory/tiny-random-Llama-3",
26
+ "checkpoint_revision": "bf2a2e3bf199ad2ee96f02a3c00246c608db22a8",
27
+ "continuous_batching": false,
28
+ "enable_bucketing": false,
29
+ "ep_degree": 1,
30
+ "flash_decoding_enabled": false,
31
+ "fused_qkv": true,
32
+ "glu_mlp": true,
33
+ "is_chunked_prefill": false,
34
+ "local_ranks_size": 2,
35
+ "logical_nc_config": 1,
36
+ "max_batch_size": 1,
37
+ "max_context_length": 131072,
38
+ "max_topk": 256,
39
+ "mlp_kernel_enabled": false,
40
+ "mlp_kernel_fuse_residual_add": false,
41
+ "n_active_tokens": 131072,
42
+ "neuronxcc_version": "2.19.8089.0+8ab9f450",
43
+ "num_cores_per_group": 1,
44
+ "on_device_sampling": true,
45
+ "optimum_neuron_version": "0.3.0.dev2",
46
+ "output_logits": false,
47
+ "padding_side": "right",
48
+ "pp_degree": 1,
49
+ "qk_layernorm": false,
50
+ "qkv_kernel_enabled": false,
51
+ "rpl_reduce_dtype": "bfloat16",
52
+ "sequence_length": 131072,
53
+ "sequence_parallel_enabled": false,
54
+ "speculation_length": 0,
55
+ "start_rank_id": 0,
56
+ "target": null,
57
+ "torch_dtype": "bfloat16",
58
+ "tp_degree": 2,
59
+ "vocab_parallel": false
60
+ },
61
+ "num_attention_heads": 4,
62
+ "num_hidden_layers": 2,
63
+ "num_key_value_heads": 4,
64
+ "pretraining_tp": 1,
65
+ "rms_norm_eps": 1e-05,
66
+ "rope_scaling": {
67
+ "factor": 8.0,
68
+ "high_freq_factor": 4.0,
69
+ "low_freq_factor": 1.0,
70
+ "original_max_position_embeddings": 8192,
71
+ "rope_type": "llama3"
72
+ },
73
+ "rope_theta": 500000.0,
74
+ "tie_word_embeddings": false,
75
+ "use_cache": true,
76
+ "vocab_size": 128256
77
+ }
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/llamafactory/tiny-random-Llama-3/c36bfaee43f6f840c055.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "llamafactory/tiny-random-Llama-3",
4
+ "_task": "text-generation",
5
+ "architectures": [
6
+ "LlamaForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "head_dim": 4,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 16,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 64,
15
+ "max_position_embeddings": 131072,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "neuron": {
19
+ "_serialized_key": "NxDNeuronConfig",
20
+ "async_mode": false,
21
+ "attn_kernel_enabled": false,
22
+ "batch_size": 1,
23
+ "capacity_factor": null,
24
+ "cc_pipeline_tiling_factor": 2,
25
+ "checkpoint_id": "llamafactory/tiny-random-Llama-3",
26
+ "checkpoint_revision": "bf2a2e3bf199ad2ee96f02a3c00246c608db22a8",
27
+ "continuous_batching": false,
28
+ "enable_bucketing": false,
29
+ "ep_degree": 1,
30
+ "flash_decoding_enabled": false,
31
+ "fused_qkv": true,
32
+ "glu_mlp": true,
33
+ "is_chunked_prefill": false,
34
+ "local_ranks_size": 2,
35
+ "logical_nc_config": 1,
36
+ "max_batch_size": 1,
37
+ "max_context_length": 100,
38
+ "max_topk": 256,
39
+ "mlp_kernel_enabled": false,
40
+ "mlp_kernel_fuse_residual_add": false,
41
+ "n_active_tokens": 100,
42
+ "neuronxcc_version": "2.19.8089.0+8ab9f450",
43
+ "num_cores_per_group": 1,
44
+ "on_device_sampling": true,
45
+ "optimum_neuron_version": "0.3.0.dev2",
46
+ "output_logits": false,
47
+ "padding_side": "right",
48
+ "pp_degree": 1,
49
+ "qk_layernorm": false,
50
+ "qkv_kernel_enabled": false,
51
+ "rpl_reduce_dtype": "bfloat16",
52
+ "sequence_length": 100,
53
+ "sequence_parallel_enabled": false,
54
+ "speculation_length": 0,
55
+ "start_rank_id": 0,
56
+ "target": null,
57
+ "torch_dtype": "bfloat16",
58
+ "tp_degree": 2,
59
+ "vocab_parallel": false
60
+ },
61
+ "num_attention_heads": 4,
62
+ "num_hidden_layers": 2,
63
+ "num_key_value_heads": 4,
64
+ "pretraining_tp": 1,
65
+ "rms_norm_eps": 1e-05,
66
+ "rope_scaling": {
67
+ "factor": 8.0,
68
+ "high_freq_factor": 4.0,
69
+ "low_freq_factor": 1.0,
70
+ "original_max_position_embeddings": 8192,
71
+ "rope_type": "llama3"
72
+ },
73
+ "rope_theta": 500000.0,
74
+ "tie_word_embeddings": false,
75
+ "use_cache": true,
76
+ "vocab_size": 128256
77
+ }
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/unsloth/Llama-3.1-8B-Instruct/29f3c7ef0e6a87f35788.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "unsloth/Llama-3.1-8B-Instruct",
4
+ "_task": "text-generation",
5
+ "architectures": [
6
+ "LlamaForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 14336,
15
+ "max_position_embeddings": 131072,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "neuron": {
19
+ "_serialized_key": "NxDNeuronConfig",
20
+ "async_mode": false,
21
+ "attn_kernel_enabled": false,
22
+ "batch_size": 48,
23
+ "capacity_factor": null,
24
+ "cc_pipeline_tiling_factor": 2,
25
+ "checkpoint_id": "unsloth/Llama-3.1-8B-Instruct",
26
+ "checkpoint_revision": "4699cc75b550f9c6f3173fb80f4703b62d946aa5",
27
+ "continuous_batching": true,
28
+ "enable_bucketing": false,
29
+ "ep_degree": 1,
30
+ "flash_decoding_enabled": false,
31
+ "fused_qkv": true,
32
+ "glu_mlp": true,
33
+ "is_chunked_prefill": false,
34
+ "local_ranks_size": 8,
35
+ "logical_nc_config": 1,
36
+ "max_batch_size": 48,
37
+ "max_context_length": 4096,
38
+ "max_topk": 256,
39
+ "mlp_kernel_enabled": false,
40
+ "mlp_kernel_fuse_residual_add": false,
41
+ "n_active_tokens": 4096,
42
+ "neuronxcc_version": "2.19.8089.0+8ab9f450",
43
+ "num_cores_per_group": 1,
44
+ "on_device_sampling": true,
45
+ "optimum_neuron_version": "0.3.0.dev2",
46
+ "output_logits": false,
47
+ "padding_side": "right",
48
+ "pp_degree": 1,
49
+ "qk_layernorm": false,
50
+ "qkv_kernel_enabled": false,
51
+ "rpl_reduce_dtype": "bfloat16",
52
+ "sequence_length": 4096,
53
+ "sequence_parallel_enabled": false,
54
+ "speculation_length": 0,
55
+ "start_rank_id": 0,
56
+ "target": null,
57
+ "torch_dtype": "bfloat16",
58
+ "tp_degree": 8,
59
+ "vocab_parallel": false
60
+ },
61
+ "num_attention_heads": 32,
62
+ "num_hidden_layers": 32,
63
+ "num_key_value_heads": 8,
64
+ "pretraining_tp": 1,
65
+ "rms_norm_eps": 1e-05,
66
+ "rope_scaling": {
67
+ "factor": 8.0,
68
+ "high_freq_factor": 4.0,
69
+ "low_freq_factor": 1.0,
70
+ "original_max_position_embeddings": 8192,
71
+ "rope_type": "llama3"
72
+ },
73
+ "rope_theta": 500000.0,
74
+ "tie_word_embeddings": false,
75
+ "unsloth_fixed": true,
76
+ "use_cache": true,
77
+ "vocab_size": 128256
78
+ }
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/unsloth/Llama-3.1-8B-Instruct/6d3aa041c08b8396ee41.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "unsloth/Llama-3.1-8B-Instruct",
4
+ "_task": "text-generation",
5
+ "architectures": [
6
+ "LlamaForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 14336,
15
+ "max_position_embeddings": 131072,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "neuron": {
19
+ "_serialized_key": "NxDNeuronConfig",
20
+ "async_mode": false,
21
+ "attn_kernel_enabled": false,
22
+ "batch_size": 16,
23
+ "capacity_factor": null,
24
+ "cc_pipeline_tiling_factor": 2,
25
+ "checkpoint_id": "unsloth/Llama-3.1-8B-Instruct",
26
+ "checkpoint_revision": "4699cc75b550f9c6f3173fb80f4703b62d946aa5",
27
+ "continuous_batching": true,
28
+ "enable_bucketing": false,
29
+ "ep_degree": 1,
30
+ "flash_decoding_enabled": false,
31
+ "fused_qkv": true,
32
+ "glu_mlp": true,
33
+ "is_chunked_prefill": false,
34
+ "local_ranks_size": 8,
35
+ "logical_nc_config": 1,
36
+ "max_batch_size": 16,
37
+ "max_context_length": 4096,
38
+ "max_topk": 256,
39
+ "mlp_kernel_enabled": false,
40
+ "mlp_kernel_fuse_residual_add": false,
41
+ "n_active_tokens": 4096,
42
+ "neuronxcc_version": "2.19.8089.0+8ab9f450",
43
+ "num_cores_per_group": 1,
44
+ "on_device_sampling": true,
45
+ "optimum_neuron_version": "0.3.0.dev2",
46
+ "output_logits": false,
47
+ "padding_side": "right",
48
+ "pp_degree": 1,
49
+ "qk_layernorm": false,
50
+ "qkv_kernel_enabled": false,
51
+ "rpl_reduce_dtype": "bfloat16",
52
+ "sequence_length": 4096,
53
+ "sequence_parallel_enabled": false,
54
+ "speculation_length": 0,
55
+ "start_rank_id": 0,
56
+ "target": null,
57
+ "torch_dtype": "bfloat16",
58
+ "tp_degree": 8,
59
+ "vocab_parallel": false
60
+ },
61
+ "num_attention_heads": 32,
62
+ "num_hidden_layers": 32,
63
+ "num_key_value_heads": 8,
64
+ "pretraining_tp": 1,
65
+ "rms_norm_eps": 1e-05,
66
+ "rope_scaling": {
67
+ "factor": 8.0,
68
+ "high_freq_factor": 4.0,
69
+ "low_freq_factor": 1.0,
70
+ "original_max_position_embeddings": 8192,
71
+ "rope_type": "llama3"
72
+ },
73
+ "rope_theta": 500000.0,
74
+ "tie_word_embeddings": false,
75
+ "unsloth_fixed": true,
76
+ "use_cache": true,
77
+ "vocab_size": 128256
78
+ }
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/unsloth/Llama-3.1-8B-Instruct/7523661354aea5f66d6c.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "unsloth/Llama-3.1-8B-Instruct",
4
+ "_task": "text-generation",
5
+ "architectures": [
6
+ "LlamaForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 14336,
15
+ "max_position_embeddings": 131072,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "neuron": {
19
+ "_serialized_key": "NxDNeuronConfig",
20
+ "async_mode": false,
21
+ "attn_kernel_enabled": false,
22
+ "batch_size": 4,
23
+ "capacity_factor": null,
24
+ "cc_pipeline_tiling_factor": 2,
25
+ "checkpoint_id": "unsloth/Llama-3.1-8B-Instruct",
26
+ "checkpoint_revision": "4699cc75b550f9c6f3173fb80f4703b62d946aa5",
27
+ "continuous_batching": true,
28
+ "enable_bucketing": false,
29
+ "ep_degree": 1,
30
+ "flash_decoding_enabled": false,
31
+ "fused_qkv": true,
32
+ "glu_mlp": true,
33
+ "is_chunked_prefill": false,
34
+ "local_ranks_size": 8,
35
+ "logical_nc_config": 1,
36
+ "max_batch_size": 4,
37
+ "max_context_length": 4096,
38
+ "max_topk": 256,
39
+ "mlp_kernel_enabled": false,
40
+ "mlp_kernel_fuse_residual_add": false,
41
+ "n_active_tokens": 4096,
42
+ "neuronxcc_version": "2.19.8089.0+8ab9f450",
43
+ "num_cores_per_group": 1,
44
+ "on_device_sampling": true,
45
+ "optimum_neuron_version": "0.3.0.dev2",
46
+ "output_logits": false,
47
+ "padding_side": "right",
48
+ "pp_degree": 1,
49
+ "qk_layernorm": false,
50
+ "qkv_kernel_enabled": false,
51
+ "rpl_reduce_dtype": "bfloat16",
52
+ "sequence_length": 4096,
53
+ "sequence_parallel_enabled": false,
54
+ "speculation_length": 0,
55
+ "start_rank_id": 0,
56
+ "target": null,
57
+ "torch_dtype": "bfloat16",
58
+ "tp_degree": 8,
59
+ "vocab_parallel": false
60
+ },
61
+ "num_attention_heads": 32,
62
+ "num_hidden_layers": 32,
63
+ "num_key_value_heads": 8,
64
+ "pretraining_tp": 1,
65
+ "rms_norm_eps": 1e-05,
66
+ "rope_scaling": {
67
+ "factor": 8.0,
68
+ "high_freq_factor": 4.0,
69
+ "low_freq_factor": 1.0,
70
+ "original_max_position_embeddings": 8192,
71
+ "rope_type": "llama3"
72
+ },
73
+ "rope_theta": 500000.0,
74
+ "tie_word_embeddings": false,
75
+ "unsloth_fixed": true,
76
+ "use_cache": true,
77
+ "vocab_size": 128256
78
+ }
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/unsloth/Llama-3.1-8B-Instruct/7c2b4b0f296eeda524b6.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "unsloth/Llama-3.1-8B-Instruct",
4
+ "_task": "text-generation",
5
+ "architectures": [
6
+ "LlamaForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 14336,
15
+ "max_position_embeddings": 131072,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "neuron": {
19
+ "_serialized_key": "NxDNeuronConfig",
20
+ "async_mode": false,
21
+ "attn_kernel_enabled": false,
22
+ "batch_size": 1,
23
+ "capacity_factor": null,
24
+ "cc_pipeline_tiling_factor": 2,
25
+ "checkpoint_id": "unsloth/Llama-3.1-8B-Instruct",
26
+ "checkpoint_revision": "4699cc75b550f9c6f3173fb80f4703b62d946aa5",
27
+ "continuous_batching": false,
28
+ "enable_bucketing": false,
29
+ "ep_degree": 1,
30
+ "flash_decoding_enabled": false,
31
+ "fused_qkv": true,
32
+ "glu_mlp": true,
33
+ "is_chunked_prefill": false,
34
+ "local_ranks_size": 8,
35
+ "logical_nc_config": 1,
36
+ "max_batch_size": 1,
37
+ "max_context_length": 4096,
38
+ "max_topk": 256,
39
+ "mlp_kernel_enabled": false,
40
+ "mlp_kernel_fuse_residual_add": false,
41
+ "n_active_tokens": 4096,
42
+ "neuronxcc_version": "2.19.8089.0+8ab9f450",
43
+ "num_cores_per_group": 1,
44
+ "on_device_sampling": true,
45
+ "optimum_neuron_version": "0.3.0.dev2",
46
+ "output_logits": false,
47
+ "padding_side": "right",
48
+ "pp_degree": 1,
49
+ "qk_layernorm": false,
50
+ "qkv_kernel_enabled": false,
51
+ "rpl_reduce_dtype": "bfloat16",
52
+ "sequence_length": 4096,
53
+ "sequence_parallel_enabled": false,
54
+ "speculation_length": 0,
55
+ "start_rank_id": 0,
56
+ "target": null,
57
+ "torch_dtype": "bfloat16",
58
+ "tp_degree": 8,
59
+ "vocab_parallel": false
60
+ },
61
+ "num_attention_heads": 32,
62
+ "num_hidden_layers": 32,
63
+ "num_key_value_heads": 8,
64
+ "pretraining_tp": 1,
65
+ "rms_norm_eps": 1e-05,
66
+ "rope_scaling": {
67
+ "factor": 8.0,
68
+ "high_freq_factor": 4.0,
69
+ "low_freq_factor": 1.0,
70
+ "original_max_position_embeddings": 8192,
71
+ "rope_type": "llama3"
72
+ },
73
+ "rope_theta": 500000.0,
74
+ "tie_word_embeddings": false,
75
+ "unsloth_fixed": true,
76
+ "use_cache": true,
77
+ "vocab_size": 128256
78
+ }
neuronxcc-2.19.8089.0+8ab9f450/0_REGISTRY/0.3.0.dev2/llama/unsloth/Llama-3.1-8B-Instruct/9932c1d05bd91a781c3a.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_entry_class": "SingleModelCacheEntry",
3
+ "_model_id": "unsloth/Llama-3.1-8B-Instruct",
4
+ "_task": "text-generation",
5
+ "architectures": [
6
+ "LlamaForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 14336,
15
+ "max_position_embeddings": 131072,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "neuron": {
19
+ "_serialized_key": "NxDNeuronConfig",
20
+ "async_mode": false,
21
+ "attn_kernel_enabled": false,
22
+ "batch_size": 8,
23
+ "capacity_factor": null,
24
+ "cc_pipeline_tiling_factor": 2,
25
+ "checkpoint_id": "unsloth/Llama-3.1-8B-Instruct",
26
+ "checkpoint_revision": "4699cc75b550f9c6f3173fb80f4703b62d946aa5",
27
+ "continuous_batching": true,
28
+ "enable_bucketing": false,
29
+ "ep_degree": 1,
30
+ "flash_decoding_enabled": false,
31
+ "fused_qkv": true,
32
+ "glu_mlp": true,
33
+ "is_chunked_prefill": false,
34
+ "local_ranks_size": 8,
35
+ "logical_nc_config": 1,
36
+ "max_batch_size": 8,
37
+ "max_context_length": 4096,
38
+ "max_topk": 256,
39
+ "mlp_kernel_enabled": false,
40
+ "mlp_kernel_fuse_residual_add": false,
41
+ "n_active_tokens": 4096,
42
+ "neuronxcc_version": "2.19.8089.0+8ab9f450",
43
+ "num_cores_per_group": 1,
44
+ "on_device_sampling": true,
45
+ "optimum_neuron_version": "0.3.0.dev2",
46
+ "output_logits": false,
47
+ "padding_side": "right",
48
+ "pp_degree": 1,
49
+ "qk_layernorm": false,
50
+ "qkv_kernel_enabled": false,
51
+ "rpl_reduce_dtype": "bfloat16",
52
+ "sequence_length": 4096,
53
+ "sequence_parallel_enabled": false,
54
+ "speculation_length": 0,
55
+ "start_rank_id": 0,
56
+ "target": null,
57
+ "torch_dtype": "bfloat16",
58
+ "tp_degree": 8,
59
+ "vocab_parallel": false
60
+ },
61
+ "num_attention_heads": 32,
62
+ "num_hidden_layers": 32,
63
+ "num_key_value_heads": 8,
64
+ "pretraining_tp": 1,
65
+ "rms_norm_eps": 1e-05,
66
+ "rope_scaling": {
67
+ "factor": 8.0,
68
+ "high_freq_factor": 4.0,
69
+ "low_freq_factor": 1.0,
70
+ "original_max_position_embeddings": 8192,
71
+ "rope_type": "llama3"
72
+ },
73
+ "rope_theta": 500000.0,
74
+ "tie_word_embeddings": false,
75
+ "unsloth_fixed": true,
76
+ "use_cache": true,
77
+ "vocab_size": 128256
78
+ }