hieunguyen1053 commited on
Commit
8df6031
·
verified ·
1 Parent(s): 47672d2

Upload folder using huggingface_hub

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