Add files using upload-large-folder tool
Browse files- README.md +67 -0
- config.json +261 -0
- fp8_manifest.json +244 -0
- model-fp8.pt +3 -0
README.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- visual-language-navigation
|
| 4 |
+
- robotics
|
| 5 |
+
- multimodal
|
| 6 |
+
- fp8
|
| 7 |
+
- orcalab
|
| 8 |
+
base_model: a8cheng/navila-llama3-8b-8f
|
| 9 |
+
library_name: pytorch
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Orca_VLN NaVILA FP8
|
| 13 |
+
|
| 14 |
+
E4M3 FP8 inference artifact for the
|
| 15 |
+
[Orca_VLN](https://github.com/openverse-orca/Orca_VLN/tree/fp8) visual-language
|
| 16 |
+
navigation baseline.
|
| 17 |
+
|
| 18 |
+
The artifact quantizes 225 Linear layers in the NaVILA language model. The
|
| 19 |
+
vision tower and multimodal projector remain FP16. It is approximately 9.0 GiB,
|
| 20 |
+
compared with approximately 15.8 GiB for the source checkpoint.
|
| 21 |
+
|
| 22 |
+
## Download and run
|
| 23 |
+
|
| 24 |
+
Clone the `fp8` branch and run its installer:
|
| 25 |
+
|
| 26 |
+
```bash
|
| 27 |
+
git clone --branch fp8 https://github.com/openverse-orca/Orca_VLN.git
|
| 28 |
+
cd Orca_VLN
|
| 29 |
+
./NaVILA-Orca/scripts/setup_all.sh
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
Verify the exact FP8 CUDA kernel and start the service:
|
| 33 |
+
|
| 34 |
+
```bash
|
| 35 |
+
./NaVILA-Orca/scripts/test_navila_fp8_gpu.py
|
| 36 |
+
./NaVILA-Orca/scripts/start_navvlm_server.sh -fp8
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
The runtime requires the project-owned `FP8Linear` implementation and is not a
|
| 40 |
+
drop-in Transformers checkpoint. Use the loader shipped in the `fp8` branch.
|
| 41 |
+
|
| 42 |
+
## Hardware
|
| 43 |
+
|
| 44 |
+
- NVIDIA compute capability 8.9 or newer
|
| 45 |
+
- PyTorch 2.7 with CUDA 12.8
|
| 46 |
+
- RTX 4090 (Ada) and RTX 5070 Ti (Blackwell) are supported by the runtime
|
| 47 |
+
- A 16 GiB RTX 5070 Ti should be dedicated to NaVILA inference; running
|
| 48 |
+
OrcaLab on the same GPU may exceed available VRAM
|
| 49 |
+
|
| 50 |
+
## Artifact
|
| 51 |
+
|
| 52 |
+
| File | Purpose |
|
| 53 |
+
| --- | --- |
|
| 54 |
+
| `model-fp8.pt` | Serialized NaVILA model with E4M3 LLM Linear weights |
|
| 55 |
+
| `fp8_manifest.json` | Format, quantized module list, size, and checksum |
|
| 56 |
+
| `config.json` | NaVILA model configuration |
|
| 57 |
+
|
| 58 |
+
`model-fp8.pt` SHA-256:
|
| 59 |
+
|
| 60 |
+
```text
|
| 61 |
+
78ef32bf7a586321b105157a359385afd2998ce09e91525b9bf783c51cdd6f0a
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
+
The artifact was derived from
|
| 65 |
+
[`a8cheng/navila-llama3-8b-8f`](https://huggingface.co/a8cheng/navila-llama3-8b-8f)
|
| 66 |
+
at revision `b2294e96581454468d6b94f38201f4f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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "./checkpoints/vila-long-8b-8f-scanqa-rxr-real-v1-seed10-bs10-1e4",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"LlavaLlamaModel"
|
| 5 |
+
],
|
| 6 |
+
"chat_template": null,
|
| 7 |
+
"drop_path_rate": 0.0,
|
| 8 |
+
"fps": 0.0,
|
| 9 |
+
"hidden_size": 4096,
|
| 10 |
+
"image_aspect_ratio": "resize",
|
| 11 |
+
"interpolate_mode": "linear",
|
| 12 |
+
"llm_cfg": {
|
| 13 |
+
"_name_or_path": "./checkpoints/vila-long-8b-8f-scanqa-rxr-real-v1-seed10-bs10-1e4/llm",
|
| 14 |
+
"add_cross_attention": false,
|
| 15 |
+
"architectures": [
|
| 16 |
+
"LlamaForCausalLM"
|
| 17 |
+
],
|
| 18 |
+
"attention_bias": false,
|
| 19 |
+
"attention_dropout": 0.0,
|
| 20 |
+
"bad_words_ids": null,
|
| 21 |
+
"begin_suppress_tokens": null,
|
| 22 |
+
"bos_token_id": 128000,
|
| 23 |
+
"chunk_size_feed_forward": 0,
|
| 24 |
+
"cross_attention_hidden_size": null,
|
| 25 |
+
"decoder_start_token_id": null,
|
| 26 |
+
"diversity_penalty": 0.0,
|
| 27 |
+
"do_sample": false,
|
| 28 |
+
"early_stopping": false,
|
| 29 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 30 |
+
"eos_token_id": 128009,
|
| 31 |
+
"exponential_decay_length_penalty": null,
|
| 32 |
+
"finetuning_task": null,
|
| 33 |
+
"forced_bos_token_id": null,
|
| 34 |
+
"forced_eos_token_id": null,
|
| 35 |
+
"hidden_act": "silu",
|
| 36 |
+
"hidden_size": 4096,
|
| 37 |
+
"id2label": {
|
| 38 |
+
"0": "LABEL_0",
|
| 39 |
+
"1": "LABEL_1"
|
| 40 |
+
},
|
| 41 |
+
"initializer_range": 0.02,
|
| 42 |
+
"intermediate_size": 14336,
|
| 43 |
+
"is_decoder": false,
|
| 44 |
+
"is_encoder_decoder": false,
|
| 45 |
+
"label2id": {
|
| 46 |
+
"LABEL_0": 0,
|
| 47 |
+
"LABEL_1": 1
|
| 48 |
+
},
|
| 49 |
+
"length_penalty": 1.0,
|
| 50 |
+
"max_length": 20,
|
| 51 |
+
"max_position_embeddings": 8192,
|
| 52 |
+
"min_length": 0,
|
| 53 |
+
"model_max_length": 4096,
|
| 54 |
+
"model_type": "llama",
|
| 55 |
+
"no_repeat_ngram_size": 0,
|
| 56 |
+
"num_attention_heads": 32,
|
| 57 |
+
"num_beam_groups": 1,
|
| 58 |
+
"num_beams": 1,
|
| 59 |
+
"num_hidden_layers": 32,
|
| 60 |
+
"num_key_value_heads": 8,
|
| 61 |
+
"num_return_sequences": 1,
|
| 62 |
+
"output_attentions": false,
|
| 63 |
+
"output_hidden_states": false,
|
| 64 |
+
"output_scores": false,
|
| 65 |
+
"pad_token_id": null,
|
| 66 |
+
"prefix": null,
|
| 67 |
+
"pretraining_tp": 1,
|
| 68 |
+
"problem_type": null,
|
| 69 |
+
"pruned_heads": {},
|
| 70 |
+
"remove_invalid_values": false,
|
| 71 |
+
"repetition_penalty": 1.0,
|
| 72 |
+
"return_dict": true,
|
| 73 |
+
"return_dict_in_generate": false,
|
| 74 |
+
"rms_norm_eps": 1e-05,
|
| 75 |
+
"rope_scaling": null,
|
| 76 |
+
"rope_theta": 500000.0,
|
| 77 |
+
"sep_token_id": null,
|
| 78 |
+
"suppress_tokens": null,
|
| 79 |
+
"task_specific_params": null,
|
| 80 |
+
"temperature": 1.0,
|
| 81 |
+
"tf_legacy_loss": false,
|
| 82 |
+
"tie_encoder_decoder": false,
|
| 83 |
+
"tie_word_embeddings": false,
|
| 84 |
+
"tokenizer_class": null,
|
| 85 |
+
"tokenizer_model_max_length": 4096,
|
| 86 |
+
"tokenizer_padding_side": "right",
|
| 87 |
+
"top_k": 50,
|
| 88 |
+
"top_p": 1.0,
|
| 89 |
+
"torch_dtype": "bfloat16",
|
| 90 |
+
"torchscript": false,
|
| 91 |
+
"typical_p": 1.0,
|
| 92 |
+
"use_bfloat16": false,
|
| 93 |
+
"use_cache": true,
|
| 94 |
+
"vocab_size": 128259
|
| 95 |
+
},
|
| 96 |
+
"mm_hidden_size": 1152,
|
| 97 |
+
"mm_projector_cfg": {
|
| 98 |
+
"_name_or_path": "./checkpoints/vila-long-8b-8f-scanqa-rxr-real-v1-seed10-bs10-1e4/mm_projector",
|
| 99 |
+
"add_cross_attention": false,
|
| 100 |
+
"architectures": [
|
| 101 |
+
"MultimodalProjector"
|
| 102 |
+
],
|
| 103 |
+
"bad_words_ids": null,
|
| 104 |
+
"begin_suppress_tokens": null,
|
| 105 |
+
"bos_token_id": null,
|
| 106 |
+
"chunk_size_feed_forward": 0,
|
| 107 |
+
"cross_attention_hidden_size": null,
|
| 108 |
+
"decoder_start_token_id": null,
|
| 109 |
+
"diversity_penalty": 0.0,
|
| 110 |
+
"do_sample": false,
|
| 111 |
+
"early_stopping": false,
|
| 112 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 113 |
+
"eos_token_id": null,
|
| 114 |
+
"exponential_decay_length_penalty": null,
|
| 115 |
+
"finetuning_task": null,
|
| 116 |
+
"forced_bos_token_id": null,
|
| 117 |
+
"forced_eos_token_id": null,
|
| 118 |
+
"id2label": {
|
| 119 |
+
"0": "LABEL_0",
|
| 120 |
+
"1": "LABEL_1"
|
| 121 |
+
},
|
| 122 |
+
"is_decoder": false,
|
| 123 |
+
"is_encoder_decoder": false,
|
| 124 |
+
"label2id": {
|
| 125 |
+
"LABEL_0": 0,
|
| 126 |
+
"LABEL_1": 1
|
| 127 |
+
},
|
| 128 |
+
"length_penalty": 1.0,
|
| 129 |
+
"max_length": 20,
|
| 130 |
+
"min_length": 0,
|
| 131 |
+
"mm_projector_type": "mlp_downsample",
|
| 132 |
+
"model_type": "v2l_projector",
|
| 133 |
+
"no_repeat_ngram_size": 0,
|
| 134 |
+
"num_beam_groups": 1,
|
| 135 |
+
"num_beams": 1,
|
| 136 |
+
"num_return_sequences": 1,
|
| 137 |
+
"output_attentions": false,
|
| 138 |
+
"output_hidden_states": false,
|
| 139 |
+
"output_scores": false,
|
| 140 |
+
"pad_token_id": null,
|
| 141 |
+
"prefix": null,
|
| 142 |
+
"problem_type": null,
|
| 143 |
+
"pruned_heads": {},
|
| 144 |
+
"remove_invalid_values": false,
|
| 145 |
+
"repetition_penalty": 1.0,
|
| 146 |
+
"return_dict": true,
|
| 147 |
+
"return_dict_in_generate": false,
|
| 148 |
+
"sep_token_id": null,
|
| 149 |
+
"suppress_tokens": null,
|
| 150 |
+
"task_specific_params": null,
|
| 151 |
+
"temperature": 1.0,
|
| 152 |
+
"tf_legacy_loss": false,
|
| 153 |
+
"tie_encoder_decoder": false,
|
| 154 |
+
"tie_word_embeddings": true,
|
| 155 |
+
"tokenizer_class": null,
|
| 156 |
+
"top_k": 50,
|
| 157 |
+
"top_p": 1.0,
|
| 158 |
+
"torch_dtype": "bfloat16",
|
| 159 |
+
"torchscript": false,
|
| 160 |
+
"typical_p": 1.0,
|
| 161 |
+
"use_bfloat16": false
|
| 162 |
+
},
|
| 163 |
+
"mm_projector_lr": null,
|
| 164 |
+
"mm_use_im_patch_token": false,
|
| 165 |
+
"mm_use_im_start_end": false,
|
| 166 |
+
"mm_vision_select_feature": "cls_patch",
|
| 167 |
+
"mm_vision_select_layer": -2,
|
| 168 |
+
"model_dtype": "torch.bfloat16",
|
| 169 |
+
"model_type": "llava_llama",
|
| 170 |
+
"num_time_tokens": 0,
|
| 171 |
+
"num_video_frames": 8,
|
| 172 |
+
"resume_path": "./checkpoints/vila-long-8b-8f-scanqa-rxr-real-v1-seed10-bs10-1e4",
|
| 173 |
+
"s2": false,
|
| 174 |
+
"s2_max_split_size": 336,
|
| 175 |
+
"s2_scales": "336,672,1008",
|
| 176 |
+
"soft_ce_std": 1.0,
|
| 177 |
+
"time_token_format": "<t{t}>",
|
| 178 |
+
"time_token_ids": [],
|
| 179 |
+
"transformers_version": "4.37.2",
|
| 180 |
+
"tune_language_model": true,
|
| 181 |
+
"tune_mm_projector": true,
|
| 182 |
+
"tune_vision_tower": true,
|
| 183 |
+
"vision_resolution": -1,
|
| 184 |
+
"vision_tower_cfg": {
|
| 185 |
+
"_name_or_path": "./checkpoints/vila-long-8b-8f-scanqa-rxr-real-v1-seed10-bs10-1e4/vision_tower",
|
| 186 |
+
"add_cross_attention": false,
|
| 187 |
+
"architectures": [
|
| 188 |
+
"SiglipVisionModel"
|
| 189 |
+
],
|
| 190 |
+
"attention_dropout": 0.0,
|
| 191 |
+
"bad_words_ids": null,
|
| 192 |
+
"begin_suppress_tokens": null,
|
| 193 |
+
"bos_token_id": null,
|
| 194 |
+
"chunk_size_feed_forward": 0,
|
| 195 |
+
"cross_attention_hidden_size": null,
|
| 196 |
+
"decoder_start_token_id": null,
|
| 197 |
+
"diversity_penalty": 0.0,
|
| 198 |
+
"do_sample": false,
|
| 199 |
+
"early_stopping": false,
|
| 200 |
+
"encoder_no_repeat_ngram_size": 0,
|
| 201 |
+
"eos_token_id": null,
|
| 202 |
+
"exponential_decay_length_penalty": null,
|
| 203 |
+
"finetuning_task": null,
|
| 204 |
+
"forced_bos_token_id": null,
|
| 205 |
+
"forced_eos_token_id": null,
|
| 206 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 207 |
+
"hidden_size": 1152,
|
| 208 |
+
"id2label": {
|
| 209 |
+
"0": "LABEL_0",
|
| 210 |
+
"1": "LABEL_1"
|
| 211 |
+
},
|
| 212 |
+
"image_size": 384,
|
| 213 |
+
"intermediate_size": 4304,
|
| 214 |
+
"is_decoder": false,
|
| 215 |
+
"is_encoder_decoder": false,
|
| 216 |
+
"label2id": {
|
| 217 |
+
"LABEL_0": 0,
|
| 218 |
+
"LABEL_1": 1
|
| 219 |
+
},
|
| 220 |
+
"layer_norm_eps": 1e-06,
|
| 221 |
+
"length_penalty": 1.0,
|
| 222 |
+
"llm_depth_token_id": 128258,
|
| 223 |
+
"llm_mask_token_id": 128257,
|
| 224 |
+
"max_length": 20,
|
| 225 |
+
"min_length": 0,
|
| 226 |
+
"model_type": "siglip_vision_model",
|
| 227 |
+
"no_repeat_ngram_size": 0,
|
| 228 |
+
"num_attention_heads": 16,
|
| 229 |
+
"num_beam_groups": 1,
|
| 230 |
+
"num_beams": 1,
|
| 231 |
+
"num_channels": 3,
|
| 232 |
+
"num_hidden_layers": 27,
|
| 233 |
+
"num_return_sequences": 1,
|
| 234 |
+
"output_attentions": false,
|
| 235 |
+
"output_hidden_states": false,
|
| 236 |
+
"output_scores": false,
|
| 237 |
+
"pad_token_id": null,
|
| 238 |
+
"patch_size": 14,
|
| 239 |
+
"prefix": null,
|
| 240 |
+
"problem_type": null,
|
| 241 |
+
"pruned_heads": {},
|
| 242 |
+
"remove_invalid_values": false,
|
| 243 |
+
"repetition_penalty": 1.0,
|
| 244 |
+
"return_dict": true,
|
| 245 |
+
"return_dict_in_generate": false,
|
| 246 |
+
"sep_token_id": null,
|
| 247 |
+
"suppress_tokens": null,
|
| 248 |
+
"task_specific_params": null,
|
| 249 |
+
"temperature": 1.0,
|
| 250 |
+
"tf_legacy_loss": false,
|
| 251 |
+
"tie_encoder_decoder": false,
|
| 252 |
+
"tie_word_embeddings": true,
|
| 253 |
+
"tokenizer_class": null,
|
| 254 |
+
"top_k": 50,
|
| 255 |
+
"top_p": 1.0,
|
| 256 |
+
"torch_dtype": "bfloat16",
|
| 257 |
+
"torchscript": false,
|
| 258 |
+
"typical_p": 1.0,
|
| 259 |
+
"use_bfloat16": false
|
| 260 |
+
}
|
| 261 |
+
}
|
fp8_manifest.json
ADDED
|
@@ -0,0 +1,244 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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_dtype": "float8_e4m3fn",
|
| 6 |
+
"activation_dtype": "dynamic_float8_e4m3fn",
|
| 7 |
+
"quantized_component": "llm_linear_layers",
|
| 8 |
+
"high_precision_components": [
|
| 9 |
+
"vision_tower",
|
| 10 |
+
"mm_projector"
|
| 11 |
+
],
|
| 12 |
+
"quantized_module_count": 225,
|
| 13 |
+
"quantized_modules": [
|
| 14 |
+
"model.layers.0.self_attn.q_proj",
|
| 15 |
+
"model.layers.0.self_attn.k_proj",
|
| 16 |
+
"model.layers.0.self_attn.v_proj",
|
| 17 |
+
"model.layers.0.self_attn.o_proj",
|
| 18 |
+
"model.layers.0.mlp.gate_proj",
|
| 19 |
+
"model.layers.0.mlp.up_proj",
|
| 20 |
+
"model.layers.0.mlp.down_proj",
|
| 21 |
+
"model.layers.1.self_attn.q_proj",
|
| 22 |
+
"model.layers.1.self_attn.k_proj",
|
| 23 |
+
"model.layers.1.self_attn.v_proj",
|
| 24 |
+
"model.layers.1.self_attn.o_proj",
|
| 25 |
+
"model.layers.1.mlp.gate_proj",
|
| 26 |
+
"model.layers.1.mlp.up_proj",
|
| 27 |
+
"model.layers.1.mlp.down_proj",
|
| 28 |
+
"model.layers.2.self_attn.q_proj",
|
| 29 |
+
"model.layers.2.self_attn.k_proj",
|
| 30 |
+
"model.layers.2.self_attn.v_proj",
|
| 31 |
+
"model.layers.2.self_attn.o_proj",
|
| 32 |
+
"model.layers.2.mlp.gate_proj",
|
| 33 |
+
"model.layers.2.mlp.up_proj",
|
| 34 |
+
"model.layers.2.mlp.down_proj",
|
| 35 |
+
"model.layers.3.self_attn.q_proj",
|
| 36 |
+
"model.layers.3.self_attn.k_proj",
|
| 37 |
+
"model.layers.3.self_attn.v_proj",
|
| 38 |
+
"model.layers.3.self_attn.o_proj",
|
| 39 |
+
"model.layers.3.mlp.gate_proj",
|
| 40 |
+
"model.layers.3.mlp.up_proj",
|
| 41 |
+
"model.layers.3.mlp.down_proj",
|
| 42 |
+
"model.layers.4.self_attn.q_proj",
|
| 43 |
+
"model.layers.4.self_attn.k_proj",
|
| 44 |
+
"model.layers.4.self_attn.v_proj",
|
| 45 |
+
"model.layers.4.self_attn.o_proj",
|
| 46 |
+
"model.layers.4.mlp.gate_proj",
|
| 47 |
+
"model.layers.4.mlp.up_proj",
|
| 48 |
+
"model.layers.4.mlp.down_proj",
|
| 49 |
+
"model.layers.5.self_attn.q_proj",
|
| 50 |
+
"model.layers.5.self_attn.k_proj",
|
| 51 |
+
"model.layers.5.self_attn.v_proj",
|
| 52 |
+
"model.layers.5.self_attn.o_proj",
|
| 53 |
+
"model.layers.5.mlp.gate_proj",
|
| 54 |
+
"model.layers.5.mlp.up_proj",
|
| 55 |
+
"model.layers.5.mlp.down_proj",
|
| 56 |
+
"model.layers.6.self_attn.q_proj",
|
| 57 |
+
"model.layers.6.self_attn.k_proj",
|
| 58 |
+
"model.layers.6.self_attn.v_proj",
|
| 59 |
+
"model.layers.6.self_attn.o_proj",
|
| 60 |
+
"model.layers.6.mlp.gate_proj",
|
| 61 |
+
"model.layers.6.mlp.up_proj",
|
| 62 |
+
"model.layers.6.mlp.down_proj",
|
| 63 |
+
"model.layers.7.self_attn.q_proj",
|
| 64 |
+
"model.layers.7.self_attn.k_proj",
|
| 65 |
+
"model.layers.7.self_attn.v_proj",
|
| 66 |
+
"model.layers.7.self_attn.o_proj",
|
| 67 |
+
"model.layers.7.mlp.gate_proj",
|
| 68 |
+
"model.layers.7.mlp.up_proj",
|
| 69 |
+
"model.layers.7.mlp.down_proj",
|
| 70 |
+
"model.layers.8.self_attn.q_proj",
|
| 71 |
+
"model.layers.8.self_attn.k_proj",
|
| 72 |
+
"model.layers.8.self_attn.v_proj",
|
| 73 |
+
"model.layers.8.self_attn.o_proj",
|
| 74 |
+
"model.layers.8.mlp.gate_proj",
|
| 75 |
+
"model.layers.8.mlp.up_proj",
|
| 76 |
+
"model.layers.8.mlp.down_proj",
|
| 77 |
+
"model.layers.9.self_attn.q_proj",
|
| 78 |
+
"model.layers.9.self_attn.k_proj",
|
| 79 |
+
"model.layers.9.self_attn.v_proj",
|
| 80 |
+
"model.layers.9.self_attn.o_proj",
|
| 81 |
+
"model.layers.9.mlp.gate_proj",
|
| 82 |
+
"model.layers.9.mlp.up_proj",
|
| 83 |
+
"model.layers.9.mlp.down_proj",
|
| 84 |
+
"model.layers.10.self_attn.q_proj",
|
| 85 |
+
"model.layers.10.self_attn.k_proj",
|
| 86 |
+
"model.layers.10.self_attn.v_proj",
|
| 87 |
+
"model.layers.10.self_attn.o_proj",
|
| 88 |
+
"model.layers.10.mlp.gate_proj",
|
| 89 |
+
"model.layers.10.mlp.up_proj",
|
| 90 |
+
"model.layers.10.mlp.down_proj",
|
| 91 |
+
"model.layers.11.self_attn.q_proj",
|
| 92 |
+
"model.layers.11.self_attn.k_proj",
|
| 93 |
+
"model.layers.11.self_attn.v_proj",
|
| 94 |
+
"model.layers.11.self_attn.o_proj",
|
| 95 |
+
"model.layers.11.mlp.gate_proj",
|
| 96 |
+
"model.layers.11.mlp.up_proj",
|
| 97 |
+
"model.layers.11.mlp.down_proj",
|
| 98 |
+
"model.layers.12.self_attn.q_proj",
|
| 99 |
+
"model.layers.12.self_attn.k_proj",
|
| 100 |
+
"model.layers.12.self_attn.v_proj",
|
| 101 |
+
"model.layers.12.self_attn.o_proj",
|
| 102 |
+
"model.layers.12.mlp.gate_proj",
|
| 103 |
+
"model.layers.12.mlp.up_proj",
|
| 104 |
+
"model.layers.12.mlp.down_proj",
|
| 105 |
+
"model.layers.13.self_attn.q_proj",
|
| 106 |
+
"model.layers.13.self_attn.k_proj",
|
| 107 |
+
"model.layers.13.self_attn.v_proj",
|
| 108 |
+
"model.layers.13.self_attn.o_proj",
|
| 109 |
+
"model.layers.13.mlp.gate_proj",
|
| 110 |
+
"model.layers.13.mlp.up_proj",
|
| 111 |
+
"model.layers.13.mlp.down_proj",
|
| 112 |
+
"model.layers.14.self_attn.q_proj",
|
| 113 |
+
"model.layers.14.self_attn.k_proj",
|
| 114 |
+
"model.layers.14.self_attn.v_proj",
|
| 115 |
+
"model.layers.14.self_attn.o_proj",
|
| 116 |
+
"model.layers.14.mlp.gate_proj",
|
| 117 |
+
"model.layers.14.mlp.up_proj",
|
| 118 |
+
"model.layers.14.mlp.down_proj",
|
| 119 |
+
"model.layers.15.self_attn.q_proj",
|
| 120 |
+
"model.layers.15.self_attn.k_proj",
|
| 121 |
+
"model.layers.15.self_attn.v_proj",
|
| 122 |
+
"model.layers.15.self_attn.o_proj",
|
| 123 |
+
"model.layers.15.mlp.gate_proj",
|
| 124 |
+
"model.layers.15.mlp.up_proj",
|
| 125 |
+
"model.layers.15.mlp.down_proj",
|
| 126 |
+
"model.layers.16.self_attn.q_proj",
|
| 127 |
+
"model.layers.16.self_attn.k_proj",
|
| 128 |
+
"model.layers.16.self_attn.v_proj",
|
| 129 |
+
"model.layers.16.self_attn.o_proj",
|
| 130 |
+
"model.layers.16.mlp.gate_proj",
|
| 131 |
+
"model.layers.16.mlp.up_proj",
|
| 132 |
+
"model.layers.16.mlp.down_proj",
|
| 133 |
+
"model.layers.17.self_attn.q_proj",
|
| 134 |
+
"model.layers.17.self_attn.k_proj",
|
| 135 |
+
"model.layers.17.self_attn.v_proj",
|
| 136 |
+
"model.layers.17.self_attn.o_proj",
|
| 137 |
+
"model.layers.17.mlp.gate_proj",
|
| 138 |
+
"model.layers.17.mlp.up_proj",
|
| 139 |
+
"model.layers.17.mlp.down_proj",
|
| 140 |
+
"model.layers.18.self_attn.q_proj",
|
| 141 |
+
"model.layers.18.self_attn.k_proj",
|
| 142 |
+
"model.layers.18.self_attn.v_proj",
|
| 143 |
+
"model.layers.18.self_attn.o_proj",
|
| 144 |
+
"model.layers.18.mlp.gate_proj",
|
| 145 |
+
"model.layers.18.mlp.up_proj",
|
| 146 |
+
"model.layers.18.mlp.down_proj",
|
| 147 |
+
"model.layers.19.self_attn.q_proj",
|
| 148 |
+
"model.layers.19.self_attn.k_proj",
|
| 149 |
+
"model.layers.19.self_attn.v_proj",
|
| 150 |
+
"model.layers.19.self_attn.o_proj",
|
| 151 |
+
"model.layers.19.mlp.gate_proj",
|
| 152 |
+
"model.layers.19.mlp.up_proj",
|
| 153 |
+
"model.layers.19.mlp.down_proj",
|
| 154 |
+
"model.layers.20.self_attn.q_proj",
|
| 155 |
+
"model.layers.20.self_attn.k_proj",
|
| 156 |
+
"model.layers.20.self_attn.v_proj",
|
| 157 |
+
"model.layers.20.self_attn.o_proj",
|
| 158 |
+
"model.layers.20.mlp.gate_proj",
|
| 159 |
+
"model.layers.20.mlp.up_proj",
|
| 160 |
+
"model.layers.20.mlp.down_proj",
|
| 161 |
+
"model.layers.21.self_attn.q_proj",
|
| 162 |
+
"model.layers.21.self_attn.k_proj",
|
| 163 |
+
"model.layers.21.self_attn.v_proj",
|
| 164 |
+
"model.layers.21.self_attn.o_proj",
|
| 165 |
+
"model.layers.21.mlp.gate_proj",
|
| 166 |
+
"model.layers.21.mlp.up_proj",
|
| 167 |
+
"model.layers.21.mlp.down_proj",
|
| 168 |
+
"model.layers.22.self_attn.q_proj",
|
| 169 |
+
"model.layers.22.self_attn.k_proj",
|
| 170 |
+
"model.layers.22.self_attn.v_proj",
|
| 171 |
+
"model.layers.22.self_attn.o_proj",
|
| 172 |
+
"model.layers.22.mlp.gate_proj",
|
| 173 |
+
"model.layers.22.mlp.up_proj",
|
| 174 |
+
"model.layers.22.mlp.down_proj",
|
| 175 |
+
"model.layers.23.self_attn.q_proj",
|
| 176 |
+
"model.layers.23.self_attn.k_proj",
|
| 177 |
+
"model.layers.23.self_attn.v_proj",
|
| 178 |
+
"model.layers.23.self_attn.o_proj",
|
| 179 |
+
"model.layers.23.mlp.gate_proj",
|
| 180 |
+
"model.layers.23.mlp.up_proj",
|
| 181 |
+
"model.layers.23.mlp.down_proj",
|
| 182 |
+
"model.layers.24.self_attn.q_proj",
|
| 183 |
+
"model.layers.24.self_attn.k_proj",
|
| 184 |
+
"model.layers.24.self_attn.v_proj",
|
| 185 |
+
"model.layers.24.self_attn.o_proj",
|
| 186 |
+
"model.layers.24.mlp.gate_proj",
|
| 187 |
+
"model.layers.24.mlp.up_proj",
|
| 188 |
+
"model.layers.24.mlp.down_proj",
|
| 189 |
+
"model.layers.25.self_attn.q_proj",
|
| 190 |
+
"model.layers.25.self_attn.k_proj",
|
| 191 |
+
"model.layers.25.self_attn.v_proj",
|
| 192 |
+
"model.layers.25.self_attn.o_proj",
|
| 193 |
+
"model.layers.25.mlp.gate_proj",
|
| 194 |
+
"model.layers.25.mlp.up_proj",
|
| 195 |
+
"model.layers.25.mlp.down_proj",
|
| 196 |
+
"model.layers.26.self_attn.q_proj",
|
| 197 |
+
"model.layers.26.self_attn.k_proj",
|
| 198 |
+
"model.layers.26.self_attn.v_proj",
|
| 199 |
+
"model.layers.26.self_attn.o_proj",
|
| 200 |
+
"model.layers.26.mlp.gate_proj",
|
| 201 |
+
"model.layers.26.mlp.up_proj",
|
| 202 |
+
"model.layers.26.mlp.down_proj",
|
| 203 |
+
"model.layers.27.self_attn.q_proj",
|
| 204 |
+
"model.layers.27.self_attn.k_proj",
|
| 205 |
+
"model.layers.27.self_attn.v_proj",
|
| 206 |
+
"model.layers.27.self_attn.o_proj",
|
| 207 |
+
"model.layers.27.mlp.gate_proj",
|
| 208 |
+
"model.layers.27.mlp.up_proj",
|
| 209 |
+
"model.layers.27.mlp.down_proj",
|
| 210 |
+
"model.layers.28.self_attn.q_proj",
|
| 211 |
+
"model.layers.28.self_attn.k_proj",
|
| 212 |
+
"model.layers.28.self_attn.v_proj",
|
| 213 |
+
"model.layers.28.self_attn.o_proj",
|
| 214 |
+
"model.layers.28.mlp.gate_proj",
|
| 215 |
+
"model.layers.28.mlp.up_proj",
|
| 216 |
+
"model.layers.28.mlp.down_proj",
|
| 217 |
+
"model.layers.29.self_attn.q_proj",
|
| 218 |
+
"model.layers.29.self_attn.k_proj",
|
| 219 |
+
"model.layers.29.self_attn.v_proj",
|
| 220 |
+
"model.layers.29.self_attn.o_proj",
|
| 221 |
+
"model.layers.29.mlp.gate_proj",
|
| 222 |
+
"model.layers.29.mlp.up_proj",
|
| 223 |
+
"model.layers.29.mlp.down_proj",
|
| 224 |
+
"model.layers.30.self_attn.q_proj",
|
| 225 |
+
"model.layers.30.self_attn.k_proj",
|
| 226 |
+
"model.layers.30.self_attn.v_proj",
|
| 227 |
+
"model.layers.30.self_attn.o_proj",
|
| 228 |
+
"model.layers.30.mlp.gate_proj",
|
| 229 |
+
"model.layers.30.mlp.up_proj",
|
| 230 |
+
"model.layers.30.mlp.down_proj",
|
| 231 |
+
"model.layers.31.self_attn.q_proj",
|
| 232 |
+
"model.layers.31.self_attn.k_proj",
|
| 233 |
+
"model.layers.31.self_attn.v_proj",
|
| 234 |
+
"model.layers.31.self_attn.o_proj",
|
| 235 |
+
"model.layers.31.mlp.gate_proj",
|
| 236 |
+
"model.layers.31.mlp.up_proj",
|
| 237 |
+
"model.layers.31.mlp.down_proj",
|
| 238 |
+
"lm_head"
|
| 239 |
+
],
|
| 240 |
+
"model_file": "model-fp8.pt",
|
| 241 |
+
"model_sha256": "78ef32bf7a586321b105157a359385afd2998ce09e91525b9bf783c51cdd6f0a",
|
| 242 |
+
"model_bytes": 9626294873,
|
| 243 |
+
"elapsed_seconds": 25.561
|
| 244 |
+
}
|
model-fp8.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78ef32bf7a586321b105157a359385afd2998ce09e91525b9bf783c51cdd6f0a
|
| 3 |
+
size 9626294873
|