File size: 10,691 Bytes
ebbf0af |
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 |
llama_model_loader: loaded meta data with 28 key-value pairs and 291 tensors from Llama-Guard-3-8B-IMat-GGUF/Llama-Guard-3-8B.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 = Llama Guard 3 8B
llama_model_loader: - kv 3: general.basename str = Llama-Guard-3
llama_model_loader: - kv 4: general.size_label str = 8B
llama_model_loader: - kv 5: general.license str = llama3.1
llama_model_loader: - kv 6: general.tags arr[str,6] = ["facebook", "meta", "pytorch", "llam...
llama_model_loader: - kv 7: general.languages arr[str,1] = ["en"]
llama_model_loader: - kv 8: llama.block_count u32 = 32
llama_model_loader: - kv 9: llama.context_length u32 = 131072
llama_model_loader: - kv 10: llama.embedding_length u32 = 4096
llama_model_loader: - kv 11: llama.feed_forward_length u32 = 14336
llama_model_loader: - kv 12: llama.attention.head_count u32 = 32
llama_model_loader: - kv 13: llama.attention.head_count_kv u32 = 8
llama_model_loader: - kv 14: llama.rope.freq_base f32 = 500000.000000
llama_model_loader: - kv 15: llama.attention.layer_norm_rms_epsilon f32 = 0.000010
llama_model_loader: - kv 16: general.file_type u32 = 7
llama_model_loader: - kv 17: llama.vocab_size u32 = 128256
llama_model_loader: - kv 18: llama.rope.dimension_count u32 = 128
llama_model_loader: - kv 19: tokenizer.ggml.model str = gpt2
llama_model_loader: - kv 20: tokenizer.ggml.pre str = smaug-bpe
llama_model_loader: - kv 21: tokenizer.ggml.tokens arr[str,128256] = ["!", "\"", "#", "$", "%", "&", "'", ...
llama_model_loader: - kv 22: tokenizer.ggml.token_type arr[i32,128256] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
llama_model_loader: - kv 23: tokenizer.ggml.merges arr[str,280147] = ["Ġ Ġ", "Ġ ĠĠĠ", "ĠĠ ĠĠ", "...
llama_model_loader: - kv 24: tokenizer.ggml.bos_token_id u32 = 128000
llama_model_loader: - kv 25: tokenizer.ggml.eos_token_id u32 = 128009
llama_model_loader: - kv 26: tokenizer.chat_template str = {% if messages|length % 2 == 0 %}{% s...
llama_model_loader: - kv 27: general.quantization_version u32 = 2
llama_model_loader: - type f32: 65 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 = Llama Guard 3 8B
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.33 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 125.056 ms
compute_imatrix: computing over 125 chunks with batch_size 512
compute_imatrix: 0.66 seconds per pass - ETA 1.37 minutes
[1]5.3432,[2]4.1562,[3]3.7953,[4]4.7161,[5]4.7904,[6]4.0998,[7]4.3090,[8]4.7293,[9]4.9040,
save_imatrix: stored collected data after 10 chunks in Llama-Guard-3-8B-IMat-GGUF/imatrix.dat
[10]4.5278,[11]4.9219,[12]5.3672,[13]5.7781,[14]6.1509,[15]6.3996,[16]6.6480,[17]6.8118,[18]6.5864,[19]6.3010,
save_imatrix: stored collected data after 20 chunks in Llama-Guard-3-8B-IMat-GGUF/imatrix.dat
[20]6.2957,[21]6.4152,[22]6.3562,[23]6.6290,[24]6.6010,[25]6.8860,[26]6.8511,[27]6.4964,[28]6.3000,[29]6.3145,
save_imatrix: stored collected data after 30 chunks in Llama-Guard-3-8B-IMat-GGUF/imatrix.dat
[30]6.3011,[31]6.0076,[32]5.7383,[33]5.6159,[34]5.5359,[35]5.5935,[36]5.6462,[37]5.6128,[38]5.6744,[39]5.8076,
save_imatrix: stored collected data after 40 chunks in Llama-Guard-3-8B-IMat-GGUF/imatrix.dat
[40]5.8831,[41]5.7495,[42]5.6111,[43]5.5717,[44]5.5436,[45]5.6278,[46]5.5684,[47]5.6790,[48]5.7627,[49]5.8620,
save_imatrix: stored collected data after 50 chunks in Llama-Guard-3-8B-IMat-GGUF/imatrix.dat
[50]5.8012,[51]5.8768,[52]5.9775,[53]6.0589,[54]6.1242,[55]6.1870,[56]6.2435,[57]6.3130,[58]6.3447,[59]6.3548,
save_imatrix: stored collected data after 60 chunks in Llama-Guard-3-8B-IMat-GGUF/imatrix.dat
[60]6.3314,[61]6.3278,[62]6.3735,[63]6.4200,[64]6.3695,[65]6.3481,[66]6.3653,[67]6.3480,[68]6.3508,[69]6.3479,
save_imatrix: stored collected data after 70 chunks in Llama-Guard-3-8B-IMat-GGUF/imatrix.dat
[70]6.3542,[71]6.3595,[72]6.3685,[73]6.3483,[74]6.3141,[75]6.3217,[76]6.3402,[77]6.3215,[78]6.3276,[79]6.3622,
save_imatrix: stored collected data after 80 chunks in Llama-Guard-3-8B-IMat-GGUF/imatrix.dat
[80]6.3860,[81]6.3747,[82]6.3813,[83]6.4068,[84]6.3337,[85]6.3359,[86]6.3536,[87]6.3687,[88]6.3972,[89]6.4013,
save_imatrix: stored collected data after 90 chunks in Llama-Guard-3-8B-IMat-GGUF/imatrix.dat
[90]6.3511,[91]6.2970,[92]6.2497,[93]6.2038,[94]6.1549,[95]6.1112,[96]6.0844,[97]6.0923,[98]6.1380,[99]6.2109,
save_imatrix: stored collected data after 100 chunks in Llama-Guard-3-8B-IMat-GGUF/imatrix.dat
[100]6.2789,[101]6.3236,[102]6.4281,[103]6.4615,[104]6.4972,[105]6.4421,[106]6.4488,[107]6.4278,[108]6.3883,[109]6.3375,
save_imatrix: stored collected data after 110 chunks in Llama-Guard-3-8B-IMat-GGUF/imatrix.dat
[110]6.3785,[111]6.4288,[112]6.4397,[113]6.4427,[114]6.4710,[115]6.5063,[116]6.5213,[117]6.5361,[118]6.5641,[119]6.5299,
save_imatrix: stored collected data after 120 chunks in Llama-Guard-3-8B-IMat-GGUF/imatrix.dat
[120]6.4958,[121]6.4541,[122]6.4512,[123]6.4408,[124]6.4396,[125]6.4268,
save_imatrix: stored collected data after 125 chunks in Llama-Guard-3-8B-IMat-GGUF/imatrix.dat
llama_print_timings: load time = 2110.40 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 = 69163.99 ms / 64000 tokens ( 1.08 ms per token, 925.34 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 = 71427.12 ms / 64001 tokens
Final estimate: PPL = 6.4268 +/- 0.08467
|