Skip to content

Context length does not increase with env vars and get message "Request length is longer than the KV cache pool size or the max context length. Truncated" #14

@rafa-9

Description

@rafa-9

I'm deploying the model mentioned below and setting the env vars as below but still see that it is truncating the context length to only 1513. Why are the env vars not changing the context length?

Messages in log:
"Request length is longer than the KV cache pool size or the max context length. Truncated"
"Prefill batch. #new-seq: 1, #new-token: 1, #cached-token: 1513, cache hit rate: 96.80%, token usage: 1.00, #running-req: 0, #queue-req: 0"

model: https://huggingface.co/huihui-ai/Llama-3.3-70B-Instruct-abliterated-finetuned-GPTQ-Int8

ENV vars: context_length=4096, max_total_tokens=4096, max_prefill_tokens=4096, qunatization=gptq_marlin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions