optimum-neuron-cache
/
neuronxcc-2.17.194.0+d312836f
/0_REGISTRY
/0.3.0.dev1
/llama
/llamafactory
/tiny-random-Llama-3
/38c497769b1d1cbd7c0d.json
| { | |
| "_entry_class": "SingleModelCacheEntry", | |
| "_model_id": "llamafactory/tiny-random-Llama-3", | |
| "_task": "text-generation", | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "head_dim": 4, | |
| "hidden_act": "silu", | |
| "hidden_size": 16, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 64, | |
| "max_position_embeddings": 131072, | |
| "mlp_bias": false, | |
| "model_type": "llama", | |
| "neuron": { | |
| "_serialized_key": "HloNeuronConfig", | |
| "all_reduce_dtype": null, | |
| "allow_flash_attention": true, | |
| "attention_layout": "BSH", | |
| "attn_output_transposed": false, | |
| "auto_cast_type": "bf16", | |
| "batch_size": 1, | |
| "checkpoint_id": "llamafactory/tiny-random-Llama-3", | |
| "checkpoint_revision": "bf2a2e3bf199ad2ee96f02a3c00246c608db22a8", | |
| "collectives_layout": "HSB", | |
| "continuous_batching": false, | |
| "fuse_qkv": true, | |
| "group_query_attention": null, | |
| "log_softmax_scores": false, | |
| "neuronxcc_version": "2.17.194.0+d312836f", | |
| "optimum_neuron_version": "0.3.0.dev1", | |
| "output_all_logits": false, | |
| "sequence_length": 100, | |
| "tp_degree": 2 | |
| }, | |
| "num_attention_heads": 4, | |
| "num_hidden_layers": 2, | |
| "num_key_value_heads": 4, | |
| "pretraining_tp": 1, | |
| "rms_norm_eps": 1e-05, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "high_freq_factor": 4.0, | |
| "low_freq_factor": 1.0, | |
| "original_max_position_embeddings": 8192, | |
| "rope_type": "llama3" | |
| }, | |
| "rope_theta": 500000.0, | |
| "tie_word_embeddings": false, | |
| "use_cache": true, | |
| "vocab_size": 128256 | |
| } |