[GH-ISSUE #149] Only 10GB memory used? #82

Closed
opened 2026-10-29 14:33:49 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @wizd on GitHub (Feb 12, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/149

using command:

python -m ktransformers.local_chat --model_path ~/data/models/bartowski-deepseek-r1-q4 --gguf_path ~/data/models/bartowski-deepseek-r1-q4/DeepSeek-R1-Q4_K_M --cpu_infer 40 --max_new_tokens 1000

inference works but slow:

prompt eval count:    10 token(s)
prompt eval duration: 2.540473461151123s
prompt eval rate:     3.9362741445324385 tokens/s
eval count:           387 token(s)
eval duration:        110.56409859657288s
eval rate:            3.500232036550025 tokens/s

very low memory usage:

Image

I followed the doc. what's wrong?

Originally created by @wizd on GitHub (Feb 12, 2025). Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/149 using command: ``` python -m ktransformers.local_chat --model_path ~/data/models/bartowski-deepseek-r1-q4 --gguf_path ~/data/models/bartowski-deepseek-r1-q4/DeepSeek-R1-Q4_K_M --cpu_infer 40 --max_new_tokens 1000 ``` inference works but slow: ``` prompt eval count: 10 token(s) prompt eval duration: 2.540473461151123s prompt eval rate: 3.9362741445324385 tokens/s eval count: 387 token(s) eval duration: 110.56409859657288s eval rate: 3.500232036550025 tokens/s ``` *very* low memory usage: ![Image](https://github.com/user-attachments/assets/421f648e-6e13-4970-b14f-f6a892395217) I followed the doc. what's wrong?
Author
Owner

@wizd commented on GitHub (Feb 12, 2025):

maybe the cpu is too old?


CPU: Intel Xeon Gold 6230 (80) @ 3.900GHz
GPU: NVIDIA RTX 6000 Ada Generation
Memory: 6180MiB / 515576MiB


<!-- gh-comment-id:2652562877 --> @wizd commented on GitHub (Feb 12, 2025): maybe the cpu is too old? ``` CPU: Intel Xeon Gold 6230 (80) @ 3.900GHz GPU: NVIDIA RTX 6000 Ada Generation Memory: 6180MiB / 515576MiB ```
Author
Owner

@wizd commented on GitHub (Feb 12, 2025):

sorry AMX avalible to 4th/5th gen Xeon cpu but mine only 2nd gen.

<!-- gh-comment-id:2652571345 --> @wizd commented on GitHub (Feb 12, 2025): sorry AMX avalible to 4th/5th gen Xeon cpu but mine only 2nd gen.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/ktransformers#82
No description provided.