optimum-neuron-cache / neuronxcc-2.21.33363.0+82129205 /0_REGISTRY /0.4.4.dev0 /llama /llamafactory /tiny-random-Llama-3 /d191e10af9fe9bcbb39c.json
| { | |
| "_entry_class": "SingleModelCacheEntry", | |
| "_model_id": "llamafactory/tiny-random-Llama-3", | |
| "_task": "text-generation", | |
| "architectures": [ | |
| "LlamaForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "dtype": "float16", | |
| "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": "NxDNeuronConfig", | |
| "batch_size": 1, | |
| "capacity_factor": null, | |
| "checkpoint_id": "llamafactory/tiny-random-Llama-3", | |
| "checkpoint_revision": "bf2a2e3bf199ad2ee96f02a3c00246c608db22a8", | |
| "continuous_batching": false, | |
| "ep_degree": 1, | |
| "fused_qkv": true, | |
| "glu_mlp": true, | |
| "local_ranks_size": 2, | |
| "max_batch_size": 1, | |
| "max_context_length": 512, | |
| "max_topk": 256, | |
| "n_active_tokens": 512, | |
| "neuronxcc_version": "2.21.33363.0+82129205", | |
| "on_device_sampling": true, | |
| "optimum_neuron_version": "0.4.4.dev0", | |
| "output_logits": false, | |
| "pp_degree": 1, | |
| "sequence_length": 512, | |
| "speculation_length": 0, | |
| "start_rank_id": 0, | |
| "target": "trn1", | |
| "torch_dtype": "float16", | |
| "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 | |
| } |