Long Context

Extend and serve long context windows safely with YaRN and RoPE scaling, context-length flags, chunked prefill, sliding window attention, KV-cache memory math and context parallelism, with per-engine flags for vLLM, SGLang, TensorRT-LLM, llama.cpp, TensorFold, Ollama and ExLlamaV3. Use for --max-model-len, --context-length, --hf-overrides rope_parameters, --rope-scaling yarn, num_ctx, OLLAMA_CONTEXT_LENGTH, --chunked-prefill-size, -dcp, out of memory at long prompts, "prompt too long" errors, or quality loss after context extension.

ScaleDockHQ Updated

File contents

ScaleDockHQ/llm-skills commit f6e3f6ae2f

Frequently asked questions

npx get-skill add scaledockhq/long-context