|
build: 3906 (7eee341b) with Apple clang version 15.0.0 (clang-1500.3.9.4) for arm64-apple-darwin23.6.0 |
|
llama_model_loader: loaded meta data with 33 key-value pairs and 219 tensors from salamandra-2b_Q3_K_L.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.size_label str = 2.3B |
|
llama_model_loader: - kv 3: general.license str = apache-2.0 |
|
llama_model_loader: - kv 4: general.tags arr[str,1] = ["text-generation"] |
|
llama_model_loader: - kv 5: general.languages arr[str,36] = ["bg", "ca", "code", "cs", "cy", "da"... |
|
llama_model_loader: - kv 6: llama.block_count u32 = 24 |
|
llama_model_loader: - kv 7: llama.context_length u32 = 8192 |
|
llama_model_loader: - kv 8: llama.embedding_length u32 = 2048 |
|
llama_model_loader: - kv 9: llama.feed_forward_length u32 = 5440 |
|
llama_model_loader: - kv 10: llama.attention.head_count u32 = 16 |
|
llama_model_loader: - kv 11: llama.attention.head_count_kv u32 = 16 |
|
llama_model_loader: - kv 12: llama.rope.freq_base f32 = 10000.000000 |
|
llama_model_loader: - kv 13: llama.attention.layer_norm_rms_epsilon f32 = 0.000010 |
|
llama_model_loader: - kv 14: general.file_type u32 = 13 |
|
llama_model_loader: - kv 15: llama.vocab_size u32 = 256000 |
|
llama_model_loader: - kv 16: llama.rope.dimension_count u32 = 128 |
|
llama_model_loader: - kv 17: tokenizer.ggml.add_space_prefix bool = true |
|
llama_model_loader: - kv 18: tokenizer.ggml.model str = llama |
|
llama_model_loader: - kv 19: tokenizer.ggml.pre str = default |
|
llama_model_loader: - kv 20: tokenizer.ggml.tokens arr[str,256000] = ["<unk>", "<s>", "</s>", "<pad>", "<|... |
|
llama_model_loader: - kv 21: tokenizer.ggml.scores arr[f32,256000] = [-1000.000000, -1000.000000, -1000.00... |
|
llama_model_loader: - kv 22: tokenizer.ggml.token_type arr[i32,256000] = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, ... |
|
llama_model_loader: - kv 23: tokenizer.ggml.bos_token_id u32 = 1 |
|
llama_model_loader: - kv 24: tokenizer.ggml.eos_token_id u32 = 2 |
|
llama_model_loader: - kv 25: tokenizer.ggml.unknown_token_id u32 = 0 |
|
llama_model_loader: - kv 26: tokenizer.ggml.add_bos_token bool = true |
|
llama_model_loader: - kv 27: tokenizer.ggml.add_eos_token bool = false |
|
llama_model_loader: - kv 28: general.quantization_version u32 = 2 |
|
llama_model_loader: - kv 29: quantize.imatrix.file str = imatrix/oscar/imatrix.dat |
|
llama_model_loader: - kv 30: quantize.imatrix.dataset str = ./imatrix/oscar/imatrix-dataset.txt |
|
llama_model_loader: - kv 31: quantize.imatrix.entries_count i32 = 168 |
|
llama_model_loader: - kv 32: quantize.imatrix.chunks_count i32 = 44176 |
|
llama_model_loader: - type f32: 49 tensors |
|
llama_model_loader: - type q5_1: 24 tensors |
|
llama_model_loader: - type q3_K: 97 tensors |
|
llama_model_loader: - type q5_K: 48 tensors |
|
llama_model_loader: - type bf16: 1 tensors |
|
llm_load_vocab: special_eos_id is not in special_eog_ids - the tokenizer config may be incorrect |
|
llm_load_vocab: special tokens cache size = 104 |
|
llm_load_vocab: token to piece cache size = 1.8842 MB |
|
llm_load_print_meta: format = GGUF V3 (latest) |
|
llm_load_print_meta: arch = llama |
|
llm_load_print_meta: vocab type = SPM |
|
llm_load_print_meta: n_vocab = 256000 |
|
llm_load_print_meta: n_merges = 0 |
|
llm_load_print_meta: vocab_only = 0 |
|
llm_load_print_meta: n_ctx_train = 8192 |
|
llm_load_print_meta: n_embd = 2048 |
|
llm_load_print_meta: n_layer = 24 |
|
llm_load_print_meta: n_head = 16 |
|
llm_load_print_meta: n_head_kv = 16 |
|
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 = 1 |
|
llm_load_print_meta: n_embd_k_gqa = 2048 |
|
llm_load_print_meta: n_embd_v_gqa = 2048 |
|
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 = 5440 |
|
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 = 10000.0 |
|
llm_load_print_meta: freq_scale_train = 1 |
|
llm_load_print_meta: n_ctx_orig_yarn = 8192 |
|
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: ssm_dt_b_c_rms = 0 |
|
llm_load_print_meta: model type = ?B |
|
llm_load_print_meta: model ftype = Q3_K - Large |
|
llm_load_print_meta: model params = 2.25 B |
|
llm_load_print_meta: model size = 1.80 GiB (6.85 BPW) |
|
llm_load_print_meta: general.name = n/a |
|
llm_load_print_meta: BOS token = 1 '<s>' |
|
llm_load_print_meta: EOS token = 2 '</s>' |
|
llm_load_print_meta: UNK token = 0 '<unk>' |
|
llm_load_print_meta: LF token = 145 '<0x0A>' |
|
llm_load_print_meta: EOT token = 5 '<|im_end|>' |
|
llm_load_print_meta: EOG token = 2 '</s>' |
|
llm_load_print_meta: EOG token = 5 '<|im_end|>' |
|
llm_load_print_meta: max token length = 72 |
|
llm_load_tensors: ggml ctx size = 0.20 MiB |
|
llm_load_tensors: offloading 24 repeating layers to GPU |
|
llm_load_tensors: offloading non-repeating layers to GPU |
|
llm_load_tensors: offloaded 25/25 layers to GPU |
|
llm_load_tensors: Metal buffer size = 1840.13 MiB |
|
llm_load_tensors: CPU buffer size = 214.84 MiB |
|
.................................... |
|
llama_new_context_with_model: n_ctx = 8192 |
|
llama_new_context_with_model: n_batch = 512 |
|
llama_new_context_with_model: n_ubatch = 128 |
|
llama_new_context_with_model: flash_attn = 0 |
|
llama_new_context_with_model: freq_base = 10000.0 |
|
llama_new_context_with_model: freq_scale = 1 |
|
ggml_metal_init: allocating |
|
ggml_metal_init: found device: Apple M3 Max |
|
ggml_metal_init: picking default device: Apple M3 Max |
|
ggml_metal_init: using embedded metal library |
|
ggml_metal_init: GPU name: Apple M3 Max |
|
ggml_metal_init: GPU family: MTLGPUFamilyApple9 (1009) |
|
ggml_metal_init: GPU family: MTLGPUFamilyCommon3 (3003) |
|
ggml_metal_init: GPU family: MTLGPUFamilyMetal3 (5001) |
|
ggml_metal_init: simdgroup reduction support = true |
|
ggml_metal_init: simdgroup matrix mul. support = true |
|
ggml_metal_init: hasUnifiedMemory = true |
|
ggml_metal_init: recommendedMaxWorkingSetSize = 42949.67 MB |
|
llama_kv_cache_init: Metal KV buffer size = 1536.00 MiB |
|
llama_new_context_with_model: KV self size = 1536.00 MiB, K (f16): 768.00 MiB, V (f16): 768.00 MiB |
|
llama_new_context_with_model: CPU output buffer size = 0.98 MiB |
|
llama_new_context_with_model: Metal compute buffer size = 72.00 MiB |
|
llama_new_context_with_model: CPU compute buffer size = 125.00 MiB |
|
llama_new_context_with_model: graph nodes = 774 |
|
llama_new_context_with_model: graph splits = 3 |
|
common_init_from_params: warming up the model with an empty run - please wait ... (--no-warmup to disable) |
|
|
|
system_info: n_threads = 15 (n_threads_batch = 15) / 16 | AVX = 0 | AVX_VNNI = 0 | AVX2 = 0 | AVX512 = 0 | AVX512_VBMI = 0 | AVX512_VNNI = 0 | AVX512_BF16 = 0 | FMA = 0 | NEON = 1 | SVE = 0 | ARM_FMA = 1 | F16C = 0 | FP16_VA = 1 | RISCV_VECT = 0 | WASM_SIMD = 0 | BLAS = 1 | SSE3 = 0 | SSSE3 = 0 | VSX = 0 | MATMUL_INT8 = 1 | LLAMAFILE = 1 | |
|
perplexity: tokenizing the input .. |
|
perplexity: tokenization took 2872 ms |
|
perplexity: calculating perplexity over 134 chunks, n_ctx=8192, batch_size=512, n_seq=1 |
|
perplexity: 11.58 seconds per pass - ETA 25.87 minutes |
|
[1]16.8815,[2]16.7701,[3]15.2513,[4]15.0102,[5]14.3306,[6]13.9153,[7]14.6901,[8]14.1522,[9]13.8922,[10]13.2670,[11]13.8961,[12]13.9816,[13]14.9890,[14]15.2802,[15]15.3015,[16]15.8285,[17]16.1188,[18]16.0511,[19]16.0876,[20]16.3829,[21]16.4089,[22]14.5509,[23]14.7257,[24]14.3600,[25]13.8736,[26]13.4684,[27]13.2884,[28]13.1283,[29]13.0784,[30]12.8820,[31]13.0995,[32]13.2056,[33]13.6340,[34]13.9199,[35]14.1995,[36]13.9823,[37]13.9705,[38]14.0377,[39]13.8929,[40]13.9127,[41]13.8863,[42]13.7084,[43]13.6515,[44]13.8126,[45]14.0055,[46]13.8631,[47]14.1080,[48]14.2234,[49]14.5027,[50]14.7370,[51]14.7751,[52]14.9771,[53]15.2779,[54]15.5754,[55]15.6829,[56]15.5229,[57]15.4308,[58]15.1767,[59]15.0726,[60]14.8875,[61]14.9276,[62]15.0567,[63]15.2336,[64]15.2851,[65]15.3038,[66]15.4804,[67]15.4614,[68]15.3627,[69]15.2305,[70]15.1323,[71]15.1345,[72]15.0857,[73]15.0935,[74]15.0402,[75]15.0090,[76]14.9499,[77]15.0034,[78]14.9983,[79]15.0061,[80]15.0349,[81]14.7785,[82]14.7610,[83]14.6393,[84]14.6753,[85]14.7232,[86]14.9125,[87]14.9413,[88]15.0886,[89]15.1393,[90]15.2551,[91]15.3097,[92]15.1599,[93]15.2216,[94]15.2100,[95]15.3403,[96]15.5218,[97]15.5929,[98]15.6868,[99]15.7972,[100]15.8374,[101]15.8682,[102]15.8333,[103]15.8045,[104]15.7869,[105]15.7673,[106]15.6437,[107]15.5230,[108]15.5845,[109]15.6062,[110]15.5206,[111]15.4860,[112]15.3435,[113]15.2103,[114]15.2017,[115]15.1752,[116]15.1819,[117]15.0811,[118]14.9597,[119]14.9589,[120]15.0173,[121]15.0360,[122]15.0599,[123]15.0978,[124]15.1149,[125]15.1132,[126]15.1395,[127]15.1649,[128]15.2402,[129]15.2306,[130]15.2081,[131]15.2609,[132]15.2377,[133]15.1865,[134]15.0444, |
|
Final estimate: PPL = 15.0444 +/- 0.06000 |
|
|
|
llama_perf_context_print: load time = 1217.55 ms |
|
llama_perf_context_print: prompt eval time = 1428156.47 ms / 1097728 tokens ( 1.30 ms per token, 768.63 tokens per second) |
|
llama_perf_context_print: eval time = 0.00 ms / 1 runs ( 0.00 ms per token, inf tokens per second) |
|
llama_perf_context_print: total time = 1470329.02 ms / 1097729 tokens |
|
ggml_metal_free: deallocating |
|
|