riczhou commited on
Commit
f4d67d5
1 Parent(s): e509a87

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. config.json +142 -0
  3. rank0.engine +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ rank0.engine filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "0.9.0",
3
+ "pretrained_config": {
4
+ "architecture": "LlamaForCausalLM",
5
+ "dtype": "bfloat16",
6
+ "logits_dtype": "float32",
7
+ "vocab_size": 128256,
8
+ "max_position_embeddings": 8192,
9
+ "hidden_size": 8192,
10
+ "num_hidden_layers": 80,
11
+ "num_attention_heads": 64,
12
+ "num_key_value_heads": 8,
13
+ "head_size": 128,
14
+ "hidden_act": "silu",
15
+ "intermediate_size": 28672,
16
+ "norm_epsilon": 1e-05,
17
+ "position_embedding_type": "rope_gpt_neox",
18
+ "use_parallel_embedding": true,
19
+ "embedding_sharding_dim": 0,
20
+ "share_embedding_table": false,
21
+ "mapping": {
22
+ "world_size": 1,
23
+ "tp_size": 1,
24
+ "pp_size": 1
25
+ },
26
+ "quantization": {
27
+ "quant_algo": "W4A16_AWQ",
28
+ "kv_cache_quant_algo": "INT8",
29
+ "group_size": 128,
30
+ "smoothquant_val": null,
31
+ "has_zero_point": false,
32
+ "pre_quant_scale": true,
33
+ "exclude_modules": [
34
+ "lm_head"
35
+ ]
36
+ },
37
+ "kv_dtype": "int8",
38
+ "producer": {
39
+ "name": "ammo",
40
+ "version": "0.7.4"
41
+ },
42
+ "rotary_base": 500000.0,
43
+ "mlp_bias": false,
44
+ "attn_bias": false,
45
+ "rotary_scaling": null,
46
+ "moe_num_experts": 0,
47
+ "moe_top_k": 0,
48
+ "moe_tp_mode": 2,
49
+ "moe_normalization_mode": 1
50
+ },
51
+ "build_config": {
52
+ "max_input_len": 512,
53
+ "max_output_len": 1024,
54
+ "max_batch_size": 64,
55
+ "max_beam_width": 1,
56
+ "max_num_tokens": 32768,
57
+ "opt_num_tokens": 64,
58
+ "max_prompt_embedding_table_size": 0,
59
+ "gather_context_logits": false,
60
+ "gather_generation_logits": false,
61
+ "strongly_typed": true,
62
+ "builder_opt": null,
63
+ "profiling_verbosity": "layer_names_only",
64
+ "enable_debug_output": false,
65
+ "max_draft_len": 0,
66
+ "use_refit": false,
67
+ "input_timing_cache": null,
68
+ "output_timing_cache": "model.cache",
69
+ "lora_config": {
70
+ "lora_dir": [],
71
+ "lora_ckpt_source": "hf",
72
+ "max_lora_rank": 64,
73
+ "lora_target_modules": [],
74
+ "trtllm_modules_to_hf_modules": {}
75
+ },
76
+ "auto_parallel_config": {
77
+ "world_size": 1,
78
+ "gpus_per_node": 8,
79
+ "cluster_key": "A100-SXM-80GB",
80
+ "cluster_info": null,
81
+ "sharding_cost_model": "alpha_beta",
82
+ "comm_cost_model": "alpha_beta",
83
+ "enable_pipeline_parallelism": false,
84
+ "enable_shard_unbalanced_shape": false,
85
+ "enable_shard_dynamic_shape": false,
86
+ "enable_reduce_scatter": true,
87
+ "builder_flags": null,
88
+ "debug_mode": false,
89
+ "infer_shape": true,
90
+ "validation_mode": false,
91
+ "same_buffer_io": {
92
+ "past_key_value_(\\d+)": "present_key_value_\\1"
93
+ },
94
+ "same_spec_io": {},
95
+ "sharded_io_allowlist": [
96
+ "past_key_value_\\d+",
97
+ "present_key_value_\\d*"
98
+ ],
99
+ "fast_reduce": true,
100
+ "fill_weights": false,
101
+ "parallel_config_cache": null,
102
+ "profile_cache": null,
103
+ "dump_path": null,
104
+ "debug_outputs": []
105
+ },
106
+ "weight_sparsity": false,
107
+ "use_fused_mlp": false,
108
+ "plugin_config": {
109
+ "bert_attention_plugin": "float16",
110
+ "gpt_attention_plugin": "bfloat16",
111
+ "gemm_plugin": "bfloat16",
112
+ "smooth_quant_gemm_plugin": null,
113
+ "identity_plugin": null,
114
+ "layernorm_quantization_plugin": null,
115
+ "rmsnorm_quantization_plugin": null,
116
+ "nccl_plugin": null,
117
+ "lookup_plugin": null,
118
+ "lora_plugin": null,
119
+ "weight_only_groupwise_quant_matmul_plugin": "bfloat16",
120
+ "weight_only_quant_matmul_plugin": null,
121
+ "quantize_per_token_plugin": false,
122
+ "quantize_tensor_plugin": false,
123
+ "moe_plugin": "float16",
124
+ "mamba_conv1d_plugin": "float16",
125
+ "context_fmha": true,
126
+ "context_fmha_fp32_acc": false,
127
+ "paged_kv_cache": true,
128
+ "remove_input_padding": true,
129
+ "use_custom_all_reduce": true,
130
+ "multi_block_mode": false,
131
+ "enable_xqa": true,
132
+ "attention_qk_half_accumulation": false,
133
+ "tokens_per_block": 128,
134
+ "use_paged_context_fmha": false,
135
+ "use_fp8_context_fmha": false,
136
+ "use_context_fmha_for_generation": false,
137
+ "multiple_profiles": false,
138
+ "paged_state": true,
139
+ "streamingllm": false
140
+ }
141
+ }
142
+ }
rank0.engine ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee1dfeab6d361101f38a3748b93fcc65898677b036ae88ddff001f55c18deca8
3
+ size 39521698596