optimum-neuron-cache / neuronxcc-2.19.8089.0+8ab9f450 /0_REGISTRY /0.3.1.dev0 /granite /hf-internal-testing /tiny-random-GraniteForCausalLM /3c39e1075ddbdb83600e.json
| { | |
| "_entry_class": "SingleModelCacheEntry", | |
| "_model_id": "hf-internal-testing/tiny-random-GraniteForCausalLM", | |
| "_task": "text-generation", | |
| "architectures": [ | |
| "GraniteForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "attention_multiplier": 1.0, | |
| "embedding_multiplier": 1.0, | |
| "hidden_act": "silu", | |
| "hidden_size": 32, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 64, | |
| "logits_scaling": 1.0, | |
| "max_position_embeddings": 2048, | |
| "mlp_bias": false, | |
| "model_type": "granite", | |
| "neuron": { | |
| "_serialized_key": "NxDNeuronConfig", | |
| "async_mode": false, | |
| "attn_kernel_enabled": false, | |
| "batch_size": 1, | |
| "capacity_factor": null, | |
| "cc_pipeline_tiling_factor": 2, | |
| "checkpoint_id": "hf-internal-testing/tiny-random-GraniteForCausalLM", | |
| "checkpoint_revision": "c3074ebc0ac2fe545305f5e5f6cce2cc9b2aa0c5", | |
| "continuous_batching": false, | |
| "enable_bucketing": false, | |
| "ep_degree": 1, | |
| "flash_decoding_enabled": false, | |
| "fused_qkv": true, | |
| "glu_mlp": true, | |
| "is_chunked_prefill": false, | |
| "local_ranks_size": 2, | |
| "logical_nc_config": 1, | |
| "max_batch_size": 1, | |
| "max_context_length": 100, | |
| "max_topk": 256, | |
| "mlp_kernel_enabled": false, | |
| "mlp_kernel_fuse_residual_add": false, | |
| "n_active_tokens": 100, | |
| "neuronxcc_version": "2.19.8089.0+8ab9f450", | |
| "num_cores_per_group": 1, | |
| "on_device_sampling": true, | |
| "optimum_neuron_version": "0.3.1.dev0", | |
| "output_logits": false, | |
| "padding_side": "right", | |
| "pp_degree": 1, | |
| "qk_layernorm": false, | |
| "qkv_kernel_enabled": false, | |
| "rpl_reduce_dtype": "bfloat16", | |
| "sequence_length": 100, | |
| "sequence_parallel_enabled": false, | |
| "speculation_length": 0, | |
| "start_rank_id": 0, | |
| "target": null, | |
| "torch_dtype": "bfloat16", | |
| "tp_degree": 2, | |
| "vocab_parallel": false | |
| }, | |
| "num_attention_heads": 4, | |
| "num_hidden_layers": 2, | |
| "num_key_value_heads": 4, | |
| "residual_multiplier": 1.0, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": null, | |
| "rope_theta": 10000.0, | |
| "tie_word_embeddings": false, | |
| "use_cache": true, | |
| "vocab_size": 49152 | |
| } |