hieunguyen1053 commited on
Commit
a302d46
·
verified ·
1 Parent(s): dfb0940

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  bfloat_4096/1-gpu/rank0.engine filter=lfs diff=lfs merge=lfs -text
37
  bfloat_8192/1-gpu/rank0.engine filter=lfs diff=lfs merge=lfs -text
 
 
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  bfloat_4096/1-gpu/rank0.engine filter=lfs diff=lfs merge=lfs -text
37
  bfloat_8192/1-gpu/rank0.engine filter=lfs diff=lfs merge=lfs -text
38
+ int8_8192/1-gpu/rank0.engine filter=lfs diff=lfs merge=lfs -text
int8_8192/1-gpu/config.json ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.14.0",
3
+ "pretrained_config": {
4
+ "mlp_bias": false,
5
+ "attn_bias": false,
6
+ "rotary_base": 10000.0,
7
+ "rotary_scaling": null,
8
+ "residual_mlp": false,
9
+ "disable_weight_only_quant_plugin": false,
10
+ "moe": {
11
+ "num_experts": 0,
12
+ "moe_intermediate_size": 0,
13
+ "num_shared_experts": 0,
14
+ "top_k": 0,
15
+ "normalization_mode": null,
16
+ "sparse_mixer_epsilon": 0.01,
17
+ "tp_mode": 0
18
+ },
19
+ "remove_duplicated_kv_heads": false,
20
+ "architecture": "MistralForCausalLM",
21
+ "dtype": "float16",
22
+ "vocab_size": 38369,
23
+ "hidden_size": 4096,
24
+ "num_hidden_layers": 32,
25
+ "num_attention_heads": 32,
26
+ "hidden_act": "silu",
27
+ "logits_dtype": "float32",
28
+ "norm_epsilon": 1e-05,
29
+ "position_embedding_type": "rope_gpt_neox",
30
+ "max_position_embeddings": 32768,
31
+ "num_key_value_heads": 8,
32
+ "intermediate_size": 14336,
33
+ "mapping": {
34
+ "world_size": 1,
35
+ "gpus_per_node": 8,
36
+ "cp_size": 1,
37
+ "tp_size": 1,
38
+ "pp_size": 1,
39
+ "moe_tp_size": 1,
40
+ "moe_ep_size": 1
41
+ },
42
+ "quantization": {
43
+ "quant_algo": "W8A16",
44
+ "kv_cache_quant_algo": null,
45
+ "group_size": 128,
46
+ "smoothquant_val": 0.5,
47
+ "clamp_val": null,
48
+ "has_zero_point": false,
49
+ "pre_quant_scale": false,
50
+ "exclude_modules": null
51
+ },
52
+ "use_parallel_embedding": false,
53
+ "embedding_sharding_dim": 0,
54
+ "share_embedding_table": false,
55
+ "head_size": 128,
56
+ "qk_layernorm": false
57
+ },
58
+ "build_config": {
59
+ "max_input_len": 1024,
60
+ "max_seq_len": 8192,
61
+ "opt_batch_size": null,
62
+ "max_batch_size": 2048,
63
+ "max_beam_width": 1,
64
+ "max_num_tokens": 8192,
65
+ "opt_num_tokens": 2048,
66
+ "max_prompt_embedding_table_size": 0,
67
+ "kv_cache_type": "PAGED",
68
+ "gather_context_logits": false,
69
+ "gather_generation_logits": false,
70
+ "strongly_typed": true,
71
+ "force_num_profiles": null,
72
+ "profiling_verbosity": "layer_names_only",
73
+ "enable_debug_output": false,
74
+ "max_draft_len": 0,
75
+ "speculative_decoding_mode": 1,
76
+ "use_refit": false,
77
+ "input_timing_cache": null,
78
+ "output_timing_cache": "model.cache",
79
+ "lora_config": {
80
+ "lora_dir": [],
81
+ "lora_ckpt_source": "hf",
82
+ "max_lora_rank": 64,
83
+ "lora_target_modules": [],
84
+ "trtllm_modules_to_hf_modules": {}
85
+ },
86
+ "auto_parallel_config": {
87
+ "world_size": 1,
88
+ "gpus_per_node": 8,
89
+ "cluster_key": "A100-PCIe-40GB",
90
+ "cluster_info": null,
91
+ "sharding_cost_model": "alpha_beta",
92
+ "comm_cost_model": "alpha_beta",
93
+ "enable_pipeline_parallelism": false,
94
+ "enable_shard_unbalanced_shape": false,
95
+ "enable_shard_dynamic_shape": false,
96
+ "enable_reduce_scatter": true,
97
+ "builder_flags": null,
98
+ "debug_mode": false,
99
+ "infer_shape": true,
100
+ "validation_mode": false,
101
+ "same_buffer_io": {
102
+ "past_key_value_(\\d+)": "present_key_value_\\1"
103
+ },
104
+ "same_spec_io": {},
105
+ "sharded_io_allowlist": [
106
+ "past_key_value_\\d+",
107
+ "present_key_value_\\d*"
108
+ ],
109
+ "fill_weights": false,
110
+ "parallel_config_cache": null,
111
+ "profile_cache": null,
112
+ "dump_path": null,
113
+ "debug_outputs": []
114
+ },
115
+ "weight_sparsity": false,
116
+ "weight_streaming": false,
117
+ "plugin_config": {
118
+ "dtype": "float16",
119
+ "bert_attention_plugin": "auto",
120
+ "gpt_attention_plugin": "auto",
121
+ "gemm_plugin": "auto",
122
+ "gemm_swiglu_plugin": null,
123
+ "fp8_rowwise_gemm_plugin": null,
124
+ "smooth_quant_gemm_plugin": null,
125
+ "identity_plugin": null,
126
+ "layernorm_quantization_plugin": null,
127
+ "rmsnorm_quantization_plugin": null,
128
+ "nccl_plugin": null,
129
+ "lookup_plugin": null,
130
+ "lora_plugin": null,
131
+ "weight_only_groupwise_quant_matmul_plugin": null,
132
+ "weight_only_quant_matmul_plugin": "float16",
133
+ "quantize_per_token_plugin": false,
134
+ "quantize_tensor_plugin": false,
135
+ "moe_plugin": "auto",
136
+ "mamba_conv1d_plugin": "auto",
137
+ "low_latency_gemm_plugin": null,
138
+ "context_fmha": true,
139
+ "bert_context_fmha_fp32_acc": false,
140
+ "paged_kv_cache": true,
141
+ "remove_input_padding": true,
142
+ "reduce_fusion": false,
143
+ "enable_xqa": true,
144
+ "tokens_per_block": 64,
145
+ "use_paged_context_fmha": false,
146
+ "use_fp8_context_fmha": false,
147
+ "multiple_profiles": false,
148
+ "paged_state": false,
149
+ "streamingllm": false,
150
+ "manage_weights": false,
151
+ "use_fused_mlp": true
152
+ },
153
+ "use_strip_plan": false,
154
+ "max_encoder_input_len": 1024,
155
+ "use_fused_mlp": false
156
+ }
157
+ }
int8_8192/1-gpu/rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:246c206461be862157fc595ec089ee698f64bf481a82d06119a6c3ec817a47f3
3
+ size 7636424108