File size: 10,208 Bytes
94a426d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
149
150
151
152
153
ggml_cuda_init: GGML_CUDA_FORCE_MMQ:    no
ggml_cuda_init: GGML_CUDA_FORCE_CUBLAS: no
ggml_cuda_init: found 2 CUDA devices:
  Device 0: NVIDIA GeForce RTX 3090, compute capability 8.6, VMM: yes
  Device 1: NVIDIA GeForce RTX 3090, compute capability 8.6, VMM: yes
build: 7040 (92bb442ad) with cc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 for x86_64-linux-gnu
llama_model_load_from_file_impl: using device CUDA0 (NVIDIA GeForce RTX 3090) (0000:01:00.0) - 19420 MiB free
llama_model_load_from_file_impl: using device CUDA1 (NVIDIA GeForce RTX 3090) (0000:03:00.0) - 23060 MiB free
llama_model_loader: loaded meta data with 33 key-value pairs and 771 tensors from /mnt/world8/AI/ToBench/Seed-OSS-36B-Instruct-unsloth/Magic_Quant/GGUF/Seed-OSS-36B-Instruct-unsloth-Q5_K.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              = seed_oss
llama_model_loader: - kv   1:                               general.type str              = model
llama_model_loader: - kv   2:                               general.name str              = Seed OSS 36B Instruct Unsloth
llama_model_loader: - kv   3:                           general.finetune str              = Instruct-unsloth
llama_model_loader: - kv   4:                           general.basename str              = Seed-OSS
llama_model_loader: - kv   5:                         general.size_label str              = 36B
llama_model_loader: - kv   6:                            general.license str              = apache-2.0
llama_model_loader: - kv   7:                   general.base_model.count u32              = 1
llama_model_loader: - kv   8:                  general.base_model.0.name str              = Seed OSS 36B Instruct
llama_model_loader: - kv   9:          general.base_model.0.organization str              = ByteDance Seed
llama_model_loader: - kv  10:              general.base_model.0.repo_url str              = https://huggingface.co/ByteDance-Seed...
llama_model_loader: - kv  11:                               general.tags arr[str,3]       = ["vllm", "unsloth", "text-generation"]
llama_model_loader: - kv  12:                       seed_oss.block_count u32              = 64
llama_model_loader: - kv  13:                    seed_oss.context_length u32              = 524288
llama_model_loader: - kv  14:                  seed_oss.embedding_length u32              = 5120
llama_model_loader: - kv  15:               seed_oss.feed_forward_length u32              = 27648
llama_model_loader: - kv  16:              seed_oss.attention.head_count u32              = 80
llama_model_loader: - kv  17:           seed_oss.attention.head_count_kv u32              = 8
llama_model_loader: - kv  18:                    seed_oss.rope.freq_base f32              = 10000000.000000
llama_model_loader: - kv  19:  seed_oss.attention.layer_norm_rms_epsilon f32              = 0.000001
llama_model_loader: - kv  20:              seed_oss.attention.key_length u32              = 128
llama_model_loader: - kv  21:            seed_oss.attention.value_length u32              = 128
llama_model_loader: - kv  22:                       tokenizer.ggml.model str              = gpt2
llama_model_loader: - kv  23:                         tokenizer.ggml.pre str              = seed-coder
llama_model_loader: - kv  24:                      tokenizer.ggml.tokens arr[str,155136]  = ["<seed:bos>", "<seed:pad>", "<seed:e...
llama_model_loader: - kv  25:                  tokenizer.ggml.token_type arr[i32,155136]  = [3, 3, 3, 4, 4, 4, 4, 4, 4, 3, 3, 3, ...
llama_model_loader: - kv  26:                      tokenizer.ggml.merges arr[str,154737]  = ["Ġ Ġ", "Ġ t", "i n", "Ġ a", "e r...
llama_model_loader: - kv  27:                tokenizer.ggml.bos_token_id u32              = 0
llama_model_loader: - kv  28:                tokenizer.ggml.eos_token_id u32              = 2
llama_model_loader: - kv  29:            tokenizer.ggml.padding_token_id u32              = 1
llama_model_loader: - kv  30:                    tokenizer.chat_template str              = {# Unsloth Chat template fixes #}\n{# ...
llama_model_loader: - kv  31:               general.quantization_version u32              = 2
llama_model_loader: - kv  32:                          general.file_type u32              = 17
llama_model_loader: - type  f32:  321 tensors
llama_model_loader: - type q5_K:  385 tensors
llama_model_loader: - type q6_K:   65 tensors
print_info: file format = GGUF V3 (latest)
print_info: file type   = Q5_K - Medium
print_info: file size   = 23.83 GiB (5.66 BPW) 
load: special_eos_id is not in special_eog_ids - the tokenizer config may be incorrect
load: printing all EOG tokens:
load:   - 2 ('<seed:eos>')
load: special tokens cache size = 128
load: token to piece cache size = 0.9296 MB
print_info: arch             = seed_oss
print_info: vocab_only       = 0
print_info: n_ctx_train      = 524288
print_info: n_embd           = 5120
print_info: n_embd_inp       = 5120
print_info: n_layer          = 64
print_info: n_head           = 80
print_info: n_head_kv        = 8
print_info: n_rot            = 128
print_info: n_swa            = 0
print_info: is_swa_any       = 0
print_info: n_embd_head_k    = 128
print_info: n_embd_head_v    = 128
print_info: n_gqa            = 10
print_info: n_embd_k_gqa     = 1024
print_info: n_embd_v_gqa     = 1024
print_info: f_norm_eps       = 0.0e+00
print_info: f_norm_rms_eps   = 1.0e-06
print_info: f_clamp_kqv      = 0.0e+00
print_info: f_max_alibi_bias = 0.0e+00
print_info: f_logit_scale    = 0.0e+00
print_info: f_attn_scale     = 0.0e+00
print_info: n_ff             = 27648
print_info: n_expert         = 0
print_info: n_expert_used    = 0
print_info: n_expert_groups  = 0
print_info: n_group_used     = 0
print_info: causal attn      = 1
print_info: pooling type     = 0
print_info: rope type        = 2
print_info: rope scaling     = linear
print_info: freq_base_train  = 10000000.0
print_info: freq_scale_train = 1
print_info: n_ctx_orig_yarn  = 524288
print_info: rope_finetuned   = unknown
print_info: model type       = 36B
print_info: model params     = 36.15 B
print_info: general.name     = Seed OSS 36B Instruct Unsloth
print_info: vocab type       = BPE
print_info: n_vocab          = 155136
print_info: n_merges         = 154737
print_info: BOS token        = 0 '<seed:bos>'
print_info: EOS token        = 2 '<seed:eos>'
print_info: PAD token        = 1 '<seed:pad>'
print_info: LF token         = 326 'Ċ'
print_info: EOG token        = 2 '<seed:eos>'
print_info: max token length = 1024
load_tensors: loading model tensors, this can take a while... (mmap = true)
load_tensors: offloading 20 repeating layers to GPU
load_tensors: offloaded 20/65 layers to GPU
load_tensors:   CPU_Mapped model buffer size = 17096.59 MiB
load_tensors:        CUDA0 model buffer size =  3597.27 MiB
load_tensors:        CUDA1 model buffer size =  3708.83 MiB
..................................................................................................
llama_context: constructing llama_context
llama_context: n_seq_max     = 1
llama_context: n_ctx         = 2048
llama_context: n_ctx_seq     = 2048
llama_context: n_batch       = 2048
llama_context: n_ubatch      = 512
llama_context: causal_attn   = 1
llama_context: flash_attn    = auto
llama_context: kv_unified    = false
llama_context: freq_base     = 10000000.0
llama_context: freq_scale    = 1
llama_context: n_ctx_seq (2048) < n_ctx_train (524288) -- the full capacity of the model will not be utilized
llama_context:        CPU  output buffer size =     0.59 MiB
llama_kv_cache:        CPU KV buffer size =   352.00 MiB
llama_kv_cache:      CUDA0 KV buffer size =    80.00 MiB
llama_kv_cache:      CUDA1 KV buffer size =    80.00 MiB
llama_kv_cache: size =  512.00 MiB (  2048 cells,  64 layers,  1/1 seqs), K (f16):  256.00 MiB, V (f16):  256.00 MiB
llama_context: Flash Attention was auto, set to enabled
llama_context:      CUDA0 compute buffer size =   934.39 MiB
llama_context:      CUDA1 compute buffer size =   194.01 MiB
llama_context:  CUDA_Host compute buffer size =    14.01 MiB
llama_context: graph nodes  = 2183
llama_context: graph splits = 621 (with bs=512), 4 (with bs=1)
common_init_from_params: added <seed:eos> logit bias = -inf
common_init_from_params: setting dry_penalty_last_n to ctx_size = 2048
common_init_from_params: warming up the model with an empty run - please wait ... (--no-warmup to disable)

system_info: n_threads = 16 (n_threads_batch = 16) / 32 | CUDA : ARCHS = 860 | USE_GRAPHS = 1 | PEER_MAX_BATCH_SIZE = 128 | CPU : SSE3 = 1 | SSSE3 = 1 | AVX = 1 | AVX2 = 1 | F16C = 1 | FMA = 1 | BMI2 = 1 | AVX512 = 1 | AVX512_VBMI = 1 | AVX512_VNNI = 1 | AVX512_BF16 = 1 | LLAMAFILE = 1 | OPENMP = 1 | REPACK = 1 | 
perplexity: tokenizing the input ..
perplexity: tokenization took 44.937 ms
perplexity: calculating perplexity over 16 chunks, n_ctx=2048, batch_size=2048, n_seq=1
perplexity: 7.75 seconds per pass - ETA 2.07 minutes
[1]2.6844,[2]2.8592,[3]3.3053,[4]3.5636,[5]4.1092,[6]4.3906,[7]4.6005,[8]4.7258,[9]4.8668,[10]5.0255,[11]5.1059,[12]5.1771,[13]5.3154,[14]5.4228,[15]5.4557,[16]5.4616,
Final estimate: PPL = 5.4616 +/- 0.12126

llama_perf_context_print:        load time =    3205.79 ms
llama_perf_context_print: prompt eval time =  120502.44 ms / 32768 tokens (    3.68 ms per token,   271.93 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 =  121022.38 ms / 32769 tokens
llama_perf_context_print:    graphs reused =          0
llama_memory_breakdown_print: | memory breakdown [MiB] | total    free     self   model   context   compute    unaccounted |
llama_memory_breakdown_print: |   - CUDA0 (RTX 3090)   | 24115 = 14618 + ( 4611 =  3597 +      80 +     934) +        4885 |
llama_memory_breakdown_print: |   - CUDA1 (RTX 3090)   | 24124 = 18878 + ( 3982 =  3708 +      80 +     194) +        1263 |
llama_memory_breakdown_print: |   - Host               |                  17462 = 17096 +     352 +      14                |