File size: 5,431 Bytes
640909a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 |
{
"version": "0.10.0",
"pretrained_config": {
"architecture": "DecoderModel",
"dtype": "bfloat16",
"logits_dtype": "float32",
"vocab_size": 45100,
"max_position_embeddings": 512,
"hidden_size": 768,
"num_hidden_layers": 12,
"num_attention_heads": 12,
"num_key_value_heads": 12,
"head_size": 64,
"qk_layernorm": false,
"hidden_act": "gelu_new",
"intermediate_size": null,
"norm_epsilon": 1e-06,
"position_embedding_type": "relative",
"use_parallel_embedding": false,
"embedding_sharding_dim": 0,
"share_embedding_table": false,
"mapping": {
"world_size": 1,
"tp_size": 1,
"pp_size": 1,
"gpus_per_node": 8
},
"quantization": {
"quant_algo": null,
"kv_cache_quant_algo": null,
"group_size": 128,
"smoothquant_val": null,
"has_zero_point": false,
"pre_quant_scale": false,
"exclude_modules": null
},
"kv_dtype": "bfloat16",
"use_prompt_tuning": false,
"has_position_embedding": false,
"layernorm_type": 1,
"has_attention_qkvo_bias": false,
"has_mlp_bias": false,
"has_model_final_layernorm": true,
"has_embedding_layernorm": false,
"has_embedding_scale": false,
"ffn_hidden_size": 3072,
"q_scaling": 0.125,
"layernorm_position": 0,
"mlp_type": 1,
"relative_attention": true,
"max_distance": 128,
"num_buckets": 32,
"model_type": "t5",
"rescale_before_lm_head": false,
"encoder_hidden_size": 768,
"encoder_num_heads": 12,
"encoder_head_size": 64,
"skip_cross_qkv": false,
"gated_act": true
},
"build_config": {
"max_input_len": 1,
"max_output_len": 1024,
"opt_batch_size": null,
"max_batch_size": 8,
"max_beam_width": 5,
"max_num_tokens": 8,
"opt_num_tokens": 8,
"max_prompt_embedding_table_size": 0,
"gather_context_logits": false,
"gather_generation_logits": false,
"strongly_typed": false,
"builder_opt": null,
"profiling_verbosity": "layer_names_only",
"enable_debug_output": false,
"max_draft_len": 0,
"speculative_decoding_mode": 1,
"use_refit": false,
"input_timing_cache": null,
"output_timing_cache": "model.cache",
"lora_config": {
"lora_dir": [],
"lora_ckpt_source": "hf",
"max_lora_rank": 64,
"lora_target_modules": [],
"trtllm_modules_to_hf_modules": {}
},
"auto_parallel_config": {
"world_size": 1,
"gpus_per_node": 8,
"cluster_key": "A100-SXM-40GB",
"cluster_info": null,
"sharding_cost_model": "alpha_beta",
"comm_cost_model": "alpha_beta",
"enable_pipeline_parallelism": false,
"enable_shard_unbalanced_shape": false,
"enable_shard_dynamic_shape": false,
"enable_reduce_scatter": true,
"builder_flags": null,
"debug_mode": false,
"infer_shape": true,
"validation_mode": false,
"same_buffer_io": {
"past_key_value_(\\d+)": "present_key_value_\\1"
},
"same_spec_io": {},
"sharded_io_allowlist": [
"past_key_value_\\d+",
"present_key_value_\\d*"
],
"fast_reduce": true,
"fill_weights": false,
"parallel_config_cache": null,
"profile_cache": null,
"dump_path": null,
"debug_outputs": []
},
"weight_sparsity": false,
"weight_streaming": false,
"use_strip_plan": false,
"max_encoder_input_len": 1024,
"use_fused_mlp": false,
"plugin_config": {
"bert_attention_plugin": "bfloat16",
"gpt_attention_plugin": "bfloat16",
"gemm_plugin": "bfloat16",
"smooth_quant_gemm_plugin": null,
"identity_plugin": null,
"layernorm_quantization_plugin": null,
"rmsnorm_quantization_plugin": null,
"nccl_plugin": null,
"lookup_plugin": null,
"lora_plugin": null,
"weight_only_groupwise_quant_matmul_plugin": null,
"weight_only_quant_matmul_plugin": null,
"quantize_per_token_plugin": false,
"quantize_tensor_plugin": false,
"moe_plugin": null,
"mamba_conv1d_plugin": "float16",
"context_fmha": false,
"context_fmha_fp32_acc": false,
"paged_kv_cache": true,
"remove_input_padding": true,
"use_custom_all_reduce": true,
"multi_block_mode": false,
"enable_xqa": true,
"attention_qk_half_accumulation": false,
"tokens_per_block": 64,
"use_paged_context_fmha": false,
"use_fp8_context_fmha": false,
"use_context_fmha_for_generation": false,
"multiple_profiles": false,
"paged_state": true,
"streamingllm": false
}
}
} |