Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- config.json +140 -0
- rank0.engine +3 -0
- special_tokens_map.json +5 -0
- tokenizer.json +0 -0
- tokenizer.model +3 -0
- tokenizer_config.json +32 -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,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "0.9.0.dev2024032600",
|
3 |
+
"pretrained_config": {
|
4 |
+
"architecture": "LlamaForCausalLM",
|
5 |
+
"dtype": "float16",
|
6 |
+
"logits_dtype": "float32",
|
7 |
+
"vocab_size": 32000,
|
8 |
+
"max_position_embeddings": 4096,
|
9 |
+
"hidden_size": 4096,
|
10 |
+
"num_hidden_layers": 32,
|
11 |
+
"num_attention_heads": 32,
|
12 |
+
"num_key_value_heads": 32,
|
13 |
+
"head_size": 128,
|
14 |
+
"hidden_act": "silu",
|
15 |
+
"intermediate_size": 11008,
|
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": "FP8",
|
28 |
+
"kv_cache_quant_algo": "FP8",
|
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": "fp8",
|
36 |
+
"producer": {
|
37 |
+
"name": "ammo",
|
38 |
+
"version": "0.7.4"
|
39 |
+
},
|
40 |
+
"rotary_base": 10000.0,
|
41 |
+
"mlp_bias": false,
|
42 |
+
"attn_bias": false,
|
43 |
+
"rotary_scaling": null,
|
44 |
+
"moe_num_experts": 0,
|
45 |
+
"moe_top_k": 0,
|
46 |
+
"moe_tp_mode": 2,
|
47 |
+
"moe_normalization_mode": 1
|
48 |
+
},
|
49 |
+
"build_config": {
|
50 |
+
"max_input_len": 512,
|
51 |
+
"max_output_len": 200,
|
52 |
+
"max_batch_size": 128,
|
53 |
+
"max_beam_width": 1,
|
54 |
+
"max_num_tokens": 4096,
|
55 |
+
"opt_num_tokens": null,
|
56 |
+
"max_prompt_embedding_table_size": 0,
|
57 |
+
"gather_context_logits": false,
|
58 |
+
"gather_generation_logits": false,
|
59 |
+
"strongly_typed": true,
|
60 |
+
"builder_opt": null,
|
61 |
+
"profiling_verbosity": "layer_names_only",
|
62 |
+
"enable_debug_output": false,
|
63 |
+
"max_draft_len": 0,
|
64 |
+
"use_refit": false,
|
65 |
+
"input_timing_cache": null,
|
66 |
+
"output_timing_cache": null,
|
67 |
+
"lora_config": {
|
68 |
+
"lora_dir": [],
|
69 |
+
"lora_ckpt_source": "hf",
|
70 |
+
"max_lora_rank": 64,
|
71 |
+
"lora_target_modules": [],
|
72 |
+
"trtllm_modules_to_hf_modules": {}
|
73 |
+
},
|
74 |
+
"auto_parallel_config": {
|
75 |
+
"world_size": 1,
|
76 |
+
"gpus_per_node": 8,
|
77 |
+
"cluster_key": "H100-PCIe",
|
78 |
+
"cluster_info": null,
|
79 |
+
"sharding_cost_model": "alpha_beta",
|
80 |
+
"comm_cost_model": "alpha_beta",
|
81 |
+
"enable_pipeline_parallelism": false,
|
82 |
+
"enable_shard_unbalanced_shape": false,
|
83 |
+
"enable_shard_dynamic_shape": false,
|
84 |
+
"enable_reduce_scatter": true,
|
85 |
+
"builder_flags": null,
|
86 |
+
"debug_mode": false,
|
87 |
+
"infer_shape": true,
|
88 |
+
"validation_mode": false,
|
89 |
+
"same_buffer_io": {
|
90 |
+
"past_key_value_(\\d+)": "present_key_value_\\1"
|
91 |
+
},
|
92 |
+
"same_spec_io": {},
|
93 |
+
"sharded_io_allowlist": [
|
94 |
+
"past_key_value_\\d+",
|
95 |
+
"present_key_value_\\d*"
|
96 |
+
],
|
97 |
+
"fast_reduce": true,
|
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 |
+
"use_fused_mlp": false,
|
106 |
+
"plugin_config": {
|
107 |
+
"bert_attention_plugin": "float16",
|
108 |
+
"gpt_attention_plugin": "float16",
|
109 |
+
"gemm_plugin": null,
|
110 |
+
"smooth_quant_gemm_plugin": null,
|
111 |
+
"identity_plugin": null,
|
112 |
+
"layernorm_quantization_plugin": null,
|
113 |
+
"rmsnorm_quantization_plugin": null,
|
114 |
+
"nccl_plugin": null,
|
115 |
+
"lookup_plugin": null,
|
116 |
+
"lora_plugin": null,
|
117 |
+
"weight_only_groupwise_quant_matmul_plugin": null,
|
118 |
+
"weight_only_quant_matmul_plugin": null,
|
119 |
+
"quantize_per_token_plugin": false,
|
120 |
+
"quantize_tensor_plugin": false,
|
121 |
+
"moe_plugin": "float16",
|
122 |
+
"mamba_conv1d_plugin": "float16",
|
123 |
+
"context_fmha": true,
|
124 |
+
"context_fmha_fp32_acc": false,
|
125 |
+
"paged_kv_cache": true,
|
126 |
+
"remove_input_padding": true,
|
127 |
+
"use_custom_all_reduce": false,
|
128 |
+
"multi_block_mode": false,
|
129 |
+
"enable_xqa": true,
|
130 |
+
"attention_qk_half_accumulation": false,
|
131 |
+
"tokens_per_block": 128,
|
132 |
+
"use_paged_context_fmha": false,
|
133 |
+
"use_fp8_context_fmha": false,
|
134 |
+
"use_context_fmha_for_generation": false,
|
135 |
+
"multiple_profiles": false,
|
136 |
+
"paged_state": true,
|
137 |
+
"streamingllm": false
|
138 |
+
}
|
139 |
+
}
|
140 |
+
}
|
rank0.engine
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44db57939e737c10b6dffe34cac49e591f1be27ec38f05d28c9c4bff5868a6fc
|
3 |
+
size 7008264940
|
special_tokens_map.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"eos_token": "</s>",
|
4 |
+
"unk_token": "<unk>"
|
5 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
|
3 |
+
size 499723
|
tokenizer_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"__type": "AddedToken",
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": true,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
"clean_up_tokenization_spaces": false,
|
11 |
+
"eos_token": {
|
12 |
+
"__type": "AddedToken",
|
13 |
+
"content": "</s>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": true,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false
|
18 |
+
},
|
19 |
+
"legacy": false,
|
20 |
+
"model_max_length": 1000000000000000019884624838656,
|
21 |
+
"pad_token": null,
|
22 |
+
"sp_model_kwargs": {},
|
23 |
+
"tokenizer_class": "LlamaTokenizer",
|
24 |
+
"unk_token": {
|
25 |
+
"__type": "AddedToken",
|
26 |
+
"content": "<unk>",
|
27 |
+
"lstrip": false,
|
28 |
+
"normalized": true,
|
29 |
+
"rstrip": false,
|
30 |
+
"single_word": false
|
31 |
+
}
|
32 |
+
}
|