File size: 10,996 Bytes
3c931d6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
llama_model_loader: loaded meta data with 29 key-value pairs and 292 tensors from Meta-Llama-3.1-8B-Instruct-IMat-GGUF/Meta-Llama-3.1-8B-Instruct.Q8_0.gguf.hardlink.gguf (version GGUF V3 (latest))
llama_model_loader: Dumping metadata keys/values. Note: KV overrides do not apply in this output.
llama_model_loader: - kv   0:                       general.architecture str              = llama
llama_model_loader: - kv   1:                               general.type str              = model
llama_model_loader: - kv   2:                               general.name str              = Meta Llama 3.1 8B Instruct
llama_model_loader: - kv   3:                           general.finetune str              = Instruct
llama_model_loader: - kv   4:                           general.basename str              = Meta-Llama-3.1
llama_model_loader: - kv   5:                         general.size_label str              = 8B
llama_model_loader: - kv   6:                            general.license str              = llama3.1
llama_model_loader: - kv   7:                               general.tags arr[str,6]       = ["facebook", "meta", "pytorch", "llam...
llama_model_loader: - kv   8:                          general.languages arr[str,8]       = ["en", "de", "fr", "it", "pt", "hi", ...
llama_model_loader: - kv   9:                          llama.block_count u32              = 32
llama_model_loader: - kv  10:                       llama.context_length u32              = 131072
llama_model_loader: - kv  11:                     llama.embedding_length u32              = 4096
llama_model_loader: - kv  12:                  llama.feed_forward_length u32              = 14336
llama_model_loader: - kv  13:                 llama.attention.head_count u32              = 32
llama_model_loader: - kv  14:              llama.attention.head_count_kv u32              = 8
llama_model_loader: - kv  15:                       llama.rope.freq_base f32              = 500000.000000
llama_model_loader: - kv  16:     llama.attention.layer_norm_rms_epsilon f32              = 0.000010
llama_model_loader: - kv  17:                          general.file_type u32              = 7
llama_model_loader: - kv  18:                           llama.vocab_size u32              = 128256
llama_model_loader: - kv  19:                 llama.rope.dimension_count u32              = 128
llama_model_loader: - kv  20:                       tokenizer.ggml.model str              = gpt2
llama_model_loader: - kv  21:                         tokenizer.ggml.pre str              = llama-bpe
llama_model_loader: - kv  22:                      tokenizer.ggml.tokens arr[str,128256]  = ["!", "\"", "#", "$", "%", "&", "'", ...
llama_model_loader: - kv  23:                  tokenizer.ggml.token_type arr[i32,128256]  = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
llama_model_loader: - kv  24:                      tokenizer.ggml.merges arr[str,280147]  = ["Ġ Ġ", "Ġ ĠĠĠ", "ĠĠ ĠĠ", "...
llama_model_loader: - kv  25:                tokenizer.ggml.bos_token_id u32              = 128000
llama_model_loader: - kv  26:                tokenizer.ggml.eos_token_id u32              = 128009
llama_model_loader: - kv  27:                    tokenizer.chat_template str              = {% set loop_messages = messages %}{% ...
llama_model_loader: - kv  28:               general.quantization_version u32              = 2
llama_model_loader: - type  f32:   66 tensors
llama_model_loader: - type q8_0:  226 tensors
llm_load_vocab: special tokens cache size = 256
llm_load_vocab: token to piece cache size = 0.7999 MB
llm_load_print_meta: format           = GGUF V3 (latest)
llm_load_print_meta: arch             = llama
llm_load_print_meta: vocab type       = BPE
llm_load_print_meta: n_vocab          = 128256
llm_load_print_meta: n_merges         = 280147
llm_load_print_meta: vocab_only       = 0
llm_load_print_meta: n_ctx_train      = 131072
llm_load_print_meta: n_embd           = 4096
llm_load_print_meta: n_layer          = 32
llm_load_print_meta: n_head           = 32
llm_load_print_meta: n_head_kv        = 8
llm_load_print_meta: n_rot            = 128
llm_load_print_meta: n_swa            = 0
llm_load_print_meta: n_embd_head_k    = 128
llm_load_print_meta: n_embd_head_v    = 128
llm_load_print_meta: n_gqa            = 4
llm_load_print_meta: n_embd_k_gqa     = 1024
llm_load_print_meta: n_embd_v_gqa     = 1024
llm_load_print_meta: f_norm_eps       = 0.0e+00
llm_load_print_meta: f_norm_rms_eps   = 1.0e-05
llm_load_print_meta: f_clamp_kqv      = 0.0e+00
llm_load_print_meta: f_max_alibi_bias = 0.0e+00
llm_load_print_meta: f_logit_scale    = 0.0e+00
llm_load_print_meta: n_ff             = 14336
llm_load_print_meta: n_expert         = 0
llm_load_print_meta: n_expert_used    = 0
llm_load_print_meta: causal attn      = 1
llm_load_print_meta: pooling type     = 0
llm_load_print_meta: rope type        = 0
llm_load_print_meta: rope scaling     = linear
llm_load_print_meta: freq_base_train  = 500000.0
llm_load_print_meta: freq_scale_train = 1
llm_load_print_meta: n_ctx_orig_yarn  = 131072
llm_load_print_meta: rope_finetuned   = unknown
llm_load_print_meta: ssm_d_conv       = 0
llm_load_print_meta: ssm_d_inner      = 0
llm_load_print_meta: ssm_d_state      = 0
llm_load_print_meta: ssm_dt_rank      = 0
llm_load_print_meta: model type       = 8B
llm_load_print_meta: model ftype      = Q8_0
llm_load_print_meta: model params     = 8.03 B
llm_load_print_meta: model size       = 7.95 GiB (8.50 BPW) 
llm_load_print_meta: general.name     = Meta Llama 3.1 8B Instruct
llm_load_print_meta: BOS token        = 128000 '<|begin_of_text|>'
llm_load_print_meta: EOS token        = 128009 '<|eot_id|>'
llm_load_print_meta: LF token         = 128 'Ä'
llm_load_print_meta: EOT token        = 128009 '<|eot_id|>'
llm_load_print_meta: max token length = 256
ggml_cuda_init: GGML_CUDA_FORCE_MMQ:    no
ggml_cuda_init: GGML_CUDA_FORCE_CUBLAS: no
ggml_cuda_init: found 1 CUDA devices:
  Device 0: NVIDIA GeForce RTX 4090, compute capability 8.9, VMM: yes
llm_load_tensors: ggml ctx size =    0.27 MiB
llm_load_tensors: offloading 32 repeating layers to GPU
llm_load_tensors: offloading non-repeating layers to GPU
llm_load_tensors: offloaded 33/33 layers to GPU
llm_load_tensors:        CPU buffer size =   532.31 MiB
llm_load_tensors:      CUDA0 buffer size =  7605.34 MiB
.........................................................................................
llama_new_context_with_model: n_ctx      = 512
llama_new_context_with_model: n_batch    = 512
llama_new_context_with_model: n_ubatch   = 512
llama_new_context_with_model: flash_attn = 0
llama_new_context_with_model: freq_base  = 500000.0
llama_new_context_with_model: freq_scale = 1
llama_kv_cache_init:      CUDA0 KV buffer size =    64.00 MiB
llama_new_context_with_model: KV self size  =   64.00 MiB, K (f16):   32.00 MiB, V (f16):   32.00 MiB
llama_new_context_with_model:  CUDA_Host  output buffer size =     0.49 MiB
llama_new_context_with_model:      CUDA0 compute buffer size =   258.50 MiB
llama_new_context_with_model:  CUDA_Host compute buffer size =     9.01 MiB
llama_new_context_with_model: graph nodes  = 1030
llama_new_context_with_model: graph splits = 2

system_info: n_threads = 25 / 32 | AVX = 1 | AVX_VNNI = 0 | AVX2 = 1 | AVX512 = 1 | AVX512_VBMI = 1 | AVX512_VNNI = 1 | AVX512_BF16 = 1 | FMA = 1 | NEON = 0 | SVE = 0 | ARM_FMA = 0 | F16C = 1 | FP16_VA = 0 | WASM_SIMD = 0 | BLAS = 1 | SSE3 = 1 | SSSE3 = 1 | VSX = 0 | MATMUL_INT8 = 0 | LLAMAFILE = 1 | 
compute_imatrix: tokenizing the input ..
compute_imatrix: tokenization took 40.567 ms
compute_imatrix: computing over 125 chunks with batch_size 512
compute_imatrix: 0.67 seconds per pass - ETA 1.40 minutes
[1]5.6450,[2]4.4702,[3]4.0740,[4]5.0229,[5]5.2037,[6]4.4021,[7]4.6701,[8]5.1378,[9]5.3205,
save_imatrix: stored collected data after 10 chunks in Meta-Llama-3.1-8B-Instruct-IMat-GGUF/imatrix.dat
[10]4.8485,[11]5.2853,[12]5.7849,[13]6.2502,[14]6.6483,[15]6.9530,[16]7.2090,[17]7.3963,[18]7.1322,[19]6.8074,
save_imatrix: stored collected data after 20 chunks in Meta-Llama-3.1-8B-Instruct-IMat-GGUF/imatrix.dat
[20]6.7943,[21]6.9043,[22]6.8396,[23]7.1398,[24]7.1030,[25]7.4353,[26]7.4332,[27]7.4675,[28]7.7040,[29]7.7057,
save_imatrix: stored collected data after 30 chunks in Meta-Llama-3.1-8B-Instruct-IMat-GGUF/imatrix.dat
[30]7.6655,[31]7.2633,[32]6.8970,[33]6.7255,[34]6.5763,[35]6.6251,[36]6.6641,[37]6.5966,[38]6.6691,[39]6.8314,
save_imatrix: stored collected data after 40 chunks in Meta-Llama-3.1-8B-Instruct-IMat-GGUF/imatrix.dat
[40]6.9164,[41]6.9534,[42]7.0537,[43]7.2634,[44]7.3427,[45]7.5240,[46]7.4093,[47]7.5276,[48]7.6077,[49]7.7031,
save_imatrix: stored collected data after 50 chunks in Meta-Llama-3.1-8B-Instruct-IMat-GGUF/imatrix.dat
[50]7.5974,[51]7.6994,[52]7.8264,[53]7.9057,[54]7.9634,[55]8.0354,[56]8.0725,[57]8.1231,[58]8.1399,[59]8.1486,
save_imatrix: stored collected data after 60 chunks in Meta-Llama-3.1-8B-Instruct-IMat-GGUF/imatrix.dat
[60]8.1036,[61]8.0840,[62]8.1257,[63]8.1674,[64]8.0841,[65]8.0472,[66]8.0453,[67]8.0126,[68]7.9960,[69]7.9754,
save_imatrix: stored collected data after 70 chunks in Meta-Llama-3.1-8B-Instruct-IMat-GGUF/imatrix.dat
[70]7.9684,[71]7.9568,[72]7.9475,[73]7.9085,[74]7.8517,[75]7.8432,[76]7.8412,[77]7.7991,[78]7.7869,[79]7.8144,
save_imatrix: stored collected data after 80 chunks in Meta-Llama-3.1-8B-Instruct-IMat-GGUF/imatrix.dat
[80]7.8355,[81]7.8187,[82]7.8068,[83]7.8325,[84]7.7284,[85]7.7280,[86]7.7349,[87]7.7448,[88]7.7729,[89]7.7736,
save_imatrix: stored collected data after 90 chunks in Meta-Llama-3.1-8B-Instruct-IMat-GGUF/imatrix.dat
[90]7.7163,[91]7.6404,[92]7.5762,[93]7.5210,[94]7.4600,[95]7.4064,[96]7.3665,[97]7.3742,[98]7.4158,[99]7.5038,
save_imatrix: stored collected data after 100 chunks in Meta-Llama-3.1-8B-Instruct-IMat-GGUF/imatrix.dat
[100]7.5790,[101]7.6302,[102]7.7523,[103]7.7770,[104]7.8144,[105]7.7421,[106]7.7473,[107]7.6992,[108]7.6483,[109]7.5837,
save_imatrix: stored collected data after 110 chunks in Meta-Llama-3.1-8B-Instruct-IMat-GGUF/imatrix.dat
[110]7.6274,[111]7.6830,[112]7.6914,[113]7.6846,[114]7.7188,[115]7.7524,[116]7.7605,[117]7.7820,[118]7.8124,[119]7.7604,
save_imatrix: stored collected data after 120 chunks in Meta-Llama-3.1-8B-Instruct-IMat-GGUF/imatrix.dat
[120]7.7775,[121]7.7835,[122]7.8095,[123]7.8550,[124]7.8913,[125]7.9140,
save_imatrix: stored collected data after 125 chunks in Meta-Llama-3.1-8B-Instruct-IMat-GGUF/imatrix.dat

llama_print_timings:        load time =    2039.67 ms
llama_print_timings:      sample time =       0.00 ms /     1 runs   (    0.00 ms per token,      inf tokens per second)
llama_print_timings: prompt eval time =   71215.49 ms / 64000 tokens (    1.11 ms per token,   898.68 tokens per second)
llama_print_timings:        eval time =       0.00 ms /     1 runs   (    0.00 ms per token,      inf tokens per second)
llama_print_timings:       total time =   73402.48 ms / 64001 tokens

Final estimate: PPL = 7.9140 +/- 0.11223