muhtasham commited on
Commit
0eb4058
1 Parent(s): 4b18322

Upload folder using huggingface_hub

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