AI重构
This commit is contained in:
@@ -11,7 +11,7 @@ main: binding port with default address family
|
||||
main: HTTP server is listening, hostname: 0.0.0.0, port: 8081, http threads: 15
|
||||
main: loading model
|
||||
srv load_model: loading model '/home/huangfukk/models/gguf/Qwen3/Qwen3-4B/Qwen3-4B-Q5_K_M.gguf'
|
||||
llama_model_load_from_file_impl: using device CUDA0 (NVIDIA GeForce RTX 4060 Ti) - 2789 MiB free
|
||||
llama_model_load_from_file_impl: using device CUDA0 (NVIDIA GeForce RTX 4060 Ti) - 15225 MiB free
|
||||
llama_model_loader: loaded meta data with 28 key-value pairs and 398 tensors from /home/huangfukk/models/gguf/Qwen3/Qwen3-4B/Qwen3-4B-Q5_K_M.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 = qwen3
|
||||
@@ -112,6 +112,7 @@ print_info: EOG token = 151663 '<|repo_name|>'
|
||||
print_info: EOG token = 151664 '<|file_sep|>'
|
||||
print_info: max token length = 256
|
||||
load_tensors: loading model tensors, this can take a while... (mmap = true)
|
||||
srv log_server_r: request: GET /health 127.0.0.1 503
|
||||
load_tensors: offloading 36 repeating layers to GPU
|
||||
load_tensors: offloaded 36/37 layers to GPU
|
||||
load_tensors: CUDA0 model buffer size = 2445.68 MiB
|
||||
@@ -119,8 +120,8 @@ load_tensors: CPU_Mapped model buffer size = 304.29 MiB
|
||||
..........................................................................................
|
||||
llama_context: constructing llama_context
|
||||
llama_context: n_seq_max = 1
|
||||
llama_context: n_ctx = 8192
|
||||
llama_context: n_ctx_per_seq = 8192
|
||||
llama_context: n_ctx = 16384
|
||||
llama_context: n_ctx_per_seq = 16384
|
||||
llama_context: n_batch = 2048
|
||||
llama_context: n_ubatch = 512
|
||||
llama_context: causal_attn = 1
|
||||
@@ -128,12 +129,12 @@ llama_context: flash_attn = 0
|
||||
llama_context: kv_unified = false
|
||||
llama_context: freq_base = 1000000.0
|
||||
llama_context: freq_scale = 1
|
||||
llama_context: n_ctx_per_seq (8192) < n_ctx_train (40960) -- the full capacity of the model will not be utilized
|
||||
llama_context: n_ctx_per_seq (16384) < n_ctx_train (40960) -- the full capacity of the model will not be utilized
|
||||
llama_context: CPU output buffer size = 0.58 MiB
|
||||
llama_kv_cache_unified: CUDA0 KV buffer size = 1152.00 MiB
|
||||
llama_kv_cache_unified: size = 1152.00 MiB ( 8192 cells, 36 layers, 1/1 seqs), K (f16): 576.00 MiB, V (f16): 576.00 MiB
|
||||
llama_context: CUDA0 compute buffer size = 606.03 MiB
|
||||
llama_context: CUDA_Host compute buffer size = 25.01 MiB
|
||||
llama_kv_cache_unified: CUDA0 KV buffer size = 2304.00 MiB
|
||||
llama_kv_cache_unified: size = 2304.00 MiB ( 16384 cells, 36 layers, 1/1 seqs), K (f16): 1152.00 MiB, V (f16): 1152.00 MiB
|
||||
llama_context: CUDA0 compute buffer size = 1086.01 MiB
|
||||
llama_context: CUDA_Host compute buffer size = 41.01 MiB
|
||||
llama_context: graph nodes = 1410
|
||||
llama_context: graph splits = 4 (with bs=512), 3 (with bs=1)
|
||||
common_init_from_params: added <|endoftext|> logit bias = -inf
|
||||
@@ -141,10 +142,10 @@ common_init_from_params: added <|im_end|> logit bias = -inf
|
||||
common_init_from_params: added <|fim_pad|> logit bias = -inf
|
||||
common_init_from_params: added <|repo_name|> logit bias = -inf
|
||||
common_init_from_params: added <|file_sep|> logit bias = -inf
|
||||
common_init_from_params: setting dry_penalty_last_n to ctx_size = 8192
|
||||
common_init_from_params: setting dry_penalty_last_n to ctx_size = 16384
|
||||
common_init_from_params: warming up the model with an empty run - please wait ... (--no-warmup to disable)
|
||||
srv init: initializing slots, n_slots = 1
|
||||
slot init: id 0 | task -1 | new slot n_ctx_slot = 8192
|
||||
slot init: id 0 | task -1 | new slot n_ctx_slot = 16384
|
||||
main: model loaded
|
||||
main: chat template, chat_template: {%- if tools %}
|
||||
{{- '<|im_start|>system\n' }}
|
||||
@@ -242,8 +243,122 @@ How are you?<|im_end|>
|
||||
'
|
||||
main: server is listening on http://0.0.0.0:8081 - starting the main loop
|
||||
srv update_slots: all slots are idle
|
||||
srv operator(): operator(): cleaning up before exit...
|
||||
ed second interrupt, terminating immediately.
|
||||
| ||||