Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why server slot's cache_prompt is false by default? #10427

Open
Nekotekina opened this issue Nov 20, 2024 · 0 comments
Open

Why server slot's cache_prompt is false by default? #10427

Nekotekina opened this issue Nov 20, 2024 · 0 comments
Labels
bug-unconfirmed medium severity Used to report medium severity bugs in llama.cpp (e.g. Malfunctioning Features but still useable)

Comments

@Nekotekina
Copy link
Contributor

What happened?

I have no idea whether this is intended or not but it doesn't make much sense to not use cached prompt. It makes prompt processing very slow. And it doesn't seem easy to inject explicit parameter to 3rdparty OpenAI-compatible request.

Name and Version

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 3090, compute capability 8.6, VMM: yes
version: 4142 (8fd4b7f)
built with cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 for x86_64-linux-gnu

What operating system are you seeing the problem on?

No response

Relevant log output

slot update_slots: id  0 | task 365 | new prompt, n_ctx_slot = 8192, n_keep = 0, n_prompt_tokens = 1957
@Nekotekina Nekotekina added bug-unconfirmed medium severity Used to report medium severity bugs in llama.cpp (e.g. Malfunctioning Features but still useable) labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-unconfirmed medium severity Used to report medium severity bugs in llama.cpp (e.g. Malfunctioning Features but still useable)
Projects
None yet
Development

No branches or pull requests

1 participant