| { |
| "_external_rope_config_kwargs": {}, |
| "architectures": [ |
| "LlamaForCausalLM" |
| ], |
| "attention_bias": false, |
| "attention_dropout": 0.0, |
| "attn_mechanism": "vanilla", |
| "backend": null, |
| "bits": null, |
| "blocksize_b": 1, |
| "blocksize_k": 128, |
| "blocksize_q": 128, |
| "bos_token_id": 128000, |
| "decode_attn_mechanism": null, |
| "dtype": "bfloat16", |
| "easy_method": "train", |
| "embd_pdrop": 0.0, |
| "eos_token_id": [ |
| 128001, |
| 128008, |
| 128009 |
| ], |
| "fcm_max_ratio": -1, |
| "fcm_min_ratio": -1, |
| "flash_attention_backward_pass_impl": "triton", |
| "fsdp_is_ep_bound": true, |
| "gradient_checkpointing": "", |
| "gradient_checkpointing_targets": null, |
| "hardware_abstraction": false, |
| "head_dim": 64, |
| "hidden_act": "silu", |
| "hidden_size": 2048, |
| "initializer_range": 0.02, |
| "intermediate_size": 8192, |
| "kv_cache_quantization_config": null, |
| "kv_cache_sharding_sequence_axis_name": "sp", |
| "layer_types": [ |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention", |
| "full_attention" |
| ], |
| "max_position_embeddings": 131072, |
| "mlp_bias": false, |
| "model_type": "llama", |
| "moe_force_xla_gmm": false, |
| "moe_method": "fused_moe", |
| "moe_tiling_size_batch": 4, |
| "moe_tiling_size_dim": 128, |
| "moe_tiling_size_seqlen": 128, |
| "num_attention_heads": 32, |
| "num_hidden_layers": 16, |
| "num_key_value_heads": 8, |
| "number_rep_kv": 1, |
| "operation_configs": null, |
| "pallas_k_block_size": 128, |
| "pallas_m_block_size": 128, |
| "pallas_n_block_size": 128, |
| "partition_axis": { |
| "attention_dim_axis": null, |
| "attention_kv_dim_axis": null, |
| "batch_axis": [ |
| "fsdp", |
| "dp" |
| ], |
| "bias_head_sequence_axis": null, |
| "bias_key_sequence_axis": null, |
| "data_parallel_axis": "dp", |
| "decode_attention_dim_axis": null, |
| "decode_attention_kv_dim_axis": null, |
| "decode_batch_axis": [ |
| "fsdp", |
| "dp" |
| ], |
| "decode_head_axis": "tp", |
| "decode_key_sequence_axis": "sp", |
| "decode_kv_head_axis": "tp", |
| "decode_query_sequence_axis": null, |
| "expert_axis": "ep", |
| "expert_gate_axis": null, |
| "expert_parallel_axis": "ep", |
| "fully_sharded_data_parallel_axis": "fsdp", |
| "head_axis": "tp", |
| "hidden_state_axis": "tp", |
| "key_sequence_axis": "sp", |
| "kv_head_axis": "tp", |
| "mlp_intermediate_axis": "tp", |
| "query_sequence_axis": "sp", |
| "sequence_axis": "sp", |
| "sequence_parallel_axis": "sp", |
| "tensor_parallel_axis": "tp", |
| "vocab_axis": "tp" |
| }, |
| "platform": null, |
| "precompute_masks": true, |
| "pretraining_tp": 1, |
| "quantization_config": null, |
| "resid_pdrop": 0.0, |
| "rms_norm_eps": 1e-05, |
| "rope_scaling": { |
| "factor": 32.0, |
| "high_freq_factor": 4.0, |
| "low_freq_factor": 1.0, |
| "original_max_position_embeddings": 8192, |
| "rope_type": "llama3" |
| }, |
| "rope_theta": 500000.0, |
| "scan_attention_layers": false, |
| "scan_layers": false, |
| "scan_mlp_chunk_size": 1024, |
| "scan_ring_attention": true, |
| "sequence_axis_name": "sp", |
| "sharding_axis_dims": [ |
| 1, |
| -1, |
| 1, |
| 1, |
| 1 |
| ], |
| "sharding_axis_names": [ |
| "dp", |
| "fsdp", |
| "ep", |
| "tp", |
| "sp" |
| ], |
| "sharding_dcn_axis_dims": null, |
| "sp_is_ep_bound": true, |
| "tie_word_embeddings": true, |
| "transformers_version": "4.57.3", |
| "use_cache": true, |
| "use_expert_tensor_mode": false, |
| "use_ring_of_experts": false, |
| "use_scan_mlp": false, |
| "use_sharded_kv_caching": false, |
| "use_sharding_constraint": false, |
| "vocab_size": 128256 |
| } |
|
|