Skip to content

Proper vllm prompt caching (sglang support?) #8

@the-crypt-keeper

Description

@the-crypt-keeper

I've now implemented vLLM but cant find any way to control prompt caching across requests so it slows down as you get deeper into the generation.

sglang with its Radix cache strategy should actually be PERFECT for our usecase.

Refer specifically to the sglang backend section, does this 'just work faster'?

python -m sglang.launch_server --model-path meta-llama/Llama-2-7b-chat-hf --port 30000 --chat-template llama-2

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions