How to Control Which Sampling Defaults vLLM Uses
Decide whether vLLM applies a model's generation_config.json or its own defaults, with --generation-config vllm.
THE FIELD GUIDE
Understand model formats, context windows, quantization, embeddings, and sampling before choosing settings for a real task.
Decide whether vLLM applies a model's generation_config.json or its own defaults, with --generation-config vllm.
Control whether a thinking model reasons before answering with the think parameter, from off to low, medium, high or max.
Start mlx_lm.chat for a terminal chat session where the conversation context is preserved for the life of the REPL.
Use LocalAI's built-in reranker to score search results by relevance, so your RAG pipeline keeps the best documents instead of the first…
Send a query and a list of documents to llama.cpp's /v1/rerank endpoint and get them back ordered by relevance.
Save a slot's prompt cache to a file and restore it later, so a long shared prompt is not reprocessed on every…
Start vLLM with --max-model-len to cap the context window, trading long-document support for lower memory use.
Set the same seed on every Ollama request so the same prompt returns the same reply, for testing and comparisons.
Set --max-kv-size on an mlx-lm generation so a long prompt or long reply fits in the memory you have, at a known…
Quantize the KV cache with --cache-type-k and --cache-type-v so a long context fits in the memory you have.