Answers for LLM inference engineers
Each page answers one question people who run inference servers keep asking, with a tool, a table or a test you can use, and the primary sources behind it.
Which reasoning_effort values each model's chat template accepts (Qwen4, gpt-oss, DeepSeek V4, Hy3 and 9 more) and what vLLM, llama-server, SGLang and Ollama do with the rest: 400, 500 or silently ignored. Includes effortcheck.py to test your own server.
Published 2026-12-05
data did not match any variant of untagged enum ModelWrapper (or PyPreTokenizerTypeWrapper, PyDecoderWrapper) means the installed tokenizers cannot parse one section of tokenizer.json; merges written as pairs need 0.20.0, which transformers requires from 4.45.0. 411 forms loaded in all 46 releases from 0.8.0 to 0.23.3. Load your file to get the releases that read it, the exact message the others print, and repairs.
Published 2026-12-04
Werkzeug 3.0.0 removed werkzeug.urls.url_quote, Jinja2 3.1.0 jinja2.escape and jinja2.Markup, MarkupSafe 2.1.0 soft_unicode, ItsDangerous 2.1.0 itsdangerous.json, Flask 3.0.0 flask.Markup. For each of 42 Flask releases: the errors a fresh install meets with today's dependencies, in order, and the pins that end them (Flask 2.0.3 to 2.2.3 need werkzeug<3; 1.1.0 to 1.1.2 need jinja2<3.1 itsdangerous<2.1 werkzeug<2.1), found by installing and running. 135 releases of the five packages installed; paste an error to get the releases that have the name and what replaces it.
Published 2026-12-03
How much time to first token vllm bench serve, guidellm, aiperf, AsyncOpenAI and httpx add, and how much of the requested concurrency they really keep in flight, measured on one CPU core against a fixed-latency mock. Includes clientcheck.py, a mock OpenAI server that reports the TTFT and concurrency it really delivered, so you can test your own load generator.
Published 2026-12-03
Bits per byte = ln(PPL) x tokens scored / (ln 2 x bytes they cover). A converter, plus ppl2bpb.py, which works out the exact token and byte counts of a llama-perplexity run (it scores only the second half of each chunk). Checked against PyTorch in 10 runs; also why OpenAI's log-perplexity of 0.8 is not comparable with your number.
Published 2026-12-02
A correct GGUF normally gives the same token ids as the Hugging Face tokenizer. Seven causes when it does not (a special token typed NORMAL, a missing tokenizer.ggml.pre, skipped NFC, BOS), the llama.cpp builds that fixed known mismatches, and tokcheck.py, which finds the first differing token and names the cause.
Published 2026-12-01
Type a GGUF architecture or paste the error and your build: whether --split-mode tensor is accepted, since which build, and what to use instead. The 45 of 183 architectures refused in b12860 with every change since b8738, the builds b9019 to b9975 where the check never fires, and what each -sm tensor startup message means. Read from 4,122 commits of llama.cpp history.
Published 2026-11-30
Measured pip install results on CPython 3.10 to 3.15 and the free-threaded 3.14t/3.15t for 26 packages, the wheels of 65, and a lookup by Python and glibc. Why pip install vllm on 3.15 fails building numba, why you get TensorFlow 2.22.0rc1 on 3.14, and when pip silently installs a years-old release.
Published 2026-11-30
Paste a quantization_config and your llama.cpp build: whether convert_hf_to_gguf.py reads it, what the GGUF stores (BF16, Q8_0 or kept F8_E4M3), and the fix for “Can not map tensor …weight_scale_inv”, “Quant method is not yet supported” and “unsupported block/group scale”. From 682 test conversions with 18 builds.
Published 2026-11-30
The six settings where llama-server, Ollama, TEI and vLLM quietly compute something different from sentence-transformers (pooling, the query: prefix, truncation, normalization, segment ids, score scale), the cross-encoder pooler that converters dropped before llama.cpp b12818, Qwen3-Reranker GGUFs with no head, and a script that names the cause on your own server.
Published 2026-11-28
The request field that stops thinking on each OpenAI-compatible server and the version where it started working (reasoning_effort: "none" was silently ignored by vLLM v0.18–v0.21), the fields each one drops without an error (think, top_k, min_p on Ollama's /v1), and a script that checks your own server.
Published 2026-11-27
Paste a Hugging Face repository and your file's sha256, pick the file, or give your Ollama tag: see which upload you have and whether later re-uploads changed the tensors or only metadata, with the gguf-new-metadata command to patch a template fix. With a survey of 68 re-uploads in 23 popular repositories.
Published 2026-11-26
Every chkhsh in llama.cpp's converter and every tokenizer.ggml.pre name its loader accepts, with the first build, the first Ollama and llama-cpp-python release, read from git history. Paste the warning or the load error to get the build you need, names you can re-tag to when you cannot upgrade, and why a StableLM 2 conversion now says domyn-edge.
Published 2026-11-26
vLLM's own parser code from 20 releases, run on the same model outputs. A mismatched --tool-call-parser leaves the call in content or drops it (qwen3_coder reading a JSON call from v0.24.0); llama3_json and pythonic miss a call after any text; with --reasoning-parser qwen3 a call inside the thinking block stays in reasoning until v0.20 (unclosed) or v0.24 (closed); a call cut by max_tokens comes back with keys missing and, before v0.33.0, finish_reason: "tool_calls". Includes toolcheck.py to test any OpenAI-compatible server.
Published 2026-11-26
scikit-image 0.18.0 removed compare_ssim and compare_psnr (use structural_similarity and peak_signal_noise_ratio from skimage.metrics); 0.19.0 removed rgb2grey and draw.circle; 0.20.0 removed greycomatrix, skimage.viewer, skimage.future.graph and the arguments multichannel= (channel_axis=) and selem= (footprint=). 58 removed names and 133 removed arguments across 22 installed releases (0.16.2 to 0.26.0); 18 renames run both ways with the same result. Includes a lookup: paste the error or the old code.
Published 2026-11-26
MoviePy 2.0 removed moviepy.editor and renamed the clip methods: subclip is subclipped, set_duration is with_duration, resize is resized, clip.fx(vfx.fadein, 1) is clip.with_effects([vfx.FadeIn(1)]). 53 removed clip members, 36 effects and the changed arguments (fontsize, verbose); 39 renames run in 1.0.3 and 2.2.1 with the same result. Includes a lookup: paste the error or the old code.
Published 2026-11-26
opencv-python 5.0 no longer has cv2.CascadeClassifier, HOGDescriptor, cv2.ml or cv2.gapi (opencv-contrib-python 5 does); OpenCV 5 removed dnn.readNetFromCaffe, readNetFromDarknet (5.0) and readNetFromTensorflow (5.1.0); 4.7.0 removed aruco.Dictionary_get; cv2.xfeatures2d and cv2.face are contrib only. 81 releases of the two packages (3.4.8.29 to 5.1.0.95) installed and read. Includes a lookup: paste the error.
Published 2026-11-26
networkx 3.0 removed from_numpy_matrix (use from_numpy_array), read_gpickle (use pickle) and nx.info; 2.4 removed G.node (use G.nodes) and connected_component_subgraphs; 2.0 the *_iter methods. Every release from 1.11 to 3.7 (33) installed and run. Includes a lookup: paste the error.
Published 2026-11-25
matplotlib 3.11 removed cm.get_cmap (use matplotlib.colormaps[name]; 3.9.0 had dropped it once), 3.10 removed tostring_rgb (use buffer_rgba), 3.8 dropped the 'seaborn' style names (use 'seaborn-v0_8-*'). Every release from 3.1.2 to 3.11.2, patch releases included (48), installed and run. Includes a lookup: paste the error.
Published 2026-11-25
Measured on full-attention, SWA (Gemma) and recurrent models: an early edit costs only the tail on full attention but the whole prompt on SWA and recurrent models. The message is trace level since b9829 (-lv 4). Includes cachecheck.py, which finds the first changed token and compares it with timings.cache_n.
Published 2026-11-25
Pillow 10 removed Image.ANTIALIAS (use Image.LANCZOS), ImageDraw.textsize and font.getsize (use textbbox, getbbox); 12 removed ImageMath.eval. Every minor from 7.0.0 to 13.0.0 (28 releases) installed and run. Includes a lookup: paste the error.
Published 2026-11-25
scikit-learn 1.2 removed load_boston and plot_confusion_matrix; 0.24 removed 121 modules such as sklearn.ensemble.forest (why old pickles fail); 0.23 externals.joblib; 0.20 cross_validation. 14 releases from 0.22 to 1.9.1 installed and run. Includes a lookup: paste the error.
Published 2026-11-25
SciPy 1.13 removed linalg.triu (gensim 4.3.2 breaks; use numpy.triu), 1.14 integrate.simps and the sparse .A, 1.12 the NumPy names on scipy, 1.3 misc.imread. 17 releases from 1.3.3 to 1.18.1 installed and run. Includes a lookup: paste the error.
Published 2026-11-25
pandas 2.0 removed DataFrame.append (use pd.concat), iteritems and Int64Index; 3.0 removed applymap (use map); 1.0 removed .ix. 170 removals across 14 releases from 0.25.3 to 3.1.1, installed and run, with pandas' own deprecation text. Includes a lookup: paste the error.
Published 2026-11-25
NumPy 1.24 removed np.float, np.int, np.bool; 2.0 removed 77 names such as np.float_, np.NaN, np.product; 2.4 np.trapz and np.in1d. 15 releases from 1.19.5 to 2.5.5 installed and run. Includes a lookup: paste the error.
Published 2026-11-25
pydantic 2.0 moved BaseSettings to pydantic-settings and removed 197 names, which raise PydanticImportError; the whole 1.x API stays in pydantic.v1 (also in 1.10.15 and later). Every minor of 0.0.2 to 2.14.4, with the moved names that still import. Includes a lookup: paste the error.
Published 2026-11-25
torchvision 0.17.0 removed transforms.functional_tensor (basicsr 1.4.2, Real-ESRGAN, GFPGAN) and 0.26.0 removed io.read_video and VideoReader (use TorchCodec). Every minor of 0.3.0 to 0.29.2, and the torch release each torchvision requires. Includes a lookup: paste the error.
Published 2026-11-25
LlamaIndex 0.10.0 moved the old top level to llama_index.core and split integrations into packages such as llama-index-llms-openai; 0.11.0, 0.13.0 and 0.14.21 ended ServiceContext, the old agents and download_loader. Every release of llama-index 0.7.0 to 0.9.48 and llama-index-core 0.10.0 to 0.14.26. Includes a lookup: paste the error.
Published 2026-11-25
flash-attn 2.0 renamed flash_attn_unpadded_* to flash_attn_varlen_* and removed flash_attn.flash_attention; 1.0.9 is the last release with the old names. Every module of flash-attn 0.2.1 to 2.8.3. Includes a lookup: paste the error.
Published 2026-11-25
Triton 3.2.0 removed triton.ops, which bitsandbytes 0.45.0 and older import (fixed in 0.45.1); triton.language.extra.cuda.libdevice needs Triton 3.0.0; PyTorch 2.6 to 2.8 do not see Triton 3.5 and newer. The Triton each PyTorch release pins, and every module the Triton wheels 2.0.0 to 3.9.0 install. Includes a lookup: paste the error.
Published 2026-11-25
vLLM 0.12.0 removed GuidedDecodingParams and split vllm.utils (get_open_port is in vllm.utils.network_utils, with a deprecated alias until 0.13); 0.15.0 split vllm.entrypoints.openai.protocol. Which TRL works with which vLLM, and every module of vLLM 0.1.0 to 0.34.0. Includes a lookup: paste the error.
Published 2026-11-25
gradio 4.0.0 removed gr.inputs, gr.outputs, Box, Variable, Carousel and gradio.components.IOComponent; 3.50.2 is the last release with them. What replaces each one, which release added ChatInterface (3.37.0) and ChatMessage (4.38.0), and every module of gradio 3.0.1 to 6.32.0. Includes a lookup: paste the error.
Published 2026-11-25
“the request exceeds the available context size, try increasing it”, “This model's maximum context length is”, “is longer than the model's context length”: status code and message by engine version, where the prompt is cut without an error (Ollama, llama.cpp up to b6205), vLLM v0.32.0 lowering max_tokens, SGLang's error inside a 200 stream, which errors openai-python retries and which ones LiteLLM raises as ContextWindowExceededError. Includes overflow_check.py for your own server.
Published 2026-11-25
The acceptance rule is exact, but the verify pass rounds differently from one-token decode, so near-ties flip. Which settings are lossy by design, 14 open and closed engine issues, and specdiff.py: compares your endpoint with and without speculation, classifies each divergence as near-tie or large-gap, and tests sampled answers with chi-square.
Published 2026-11-19
from openai import OpenAI needs openai 1.0.0; openai.error is gone since then, and 15 0.x names such as ChatCompletion import again from 1.2.0 only as placeholders that raise when used. Where each 0.x exception went, and every module of openai 0.2.6 to 3.54.0, openai.types included. Includes a lookup: paste the error.
Published 2026-11-18
LangChain 1.0 removed 39 top-level modules (chains, schema, memory, llms, vectorstores ...); 38 live on in langchain-classic under the same path. This gives the new import for each name, marks the 1,243 names that 0.1 to 0.3 only forwarded to langchain_community, and covers langchain_classic and langchain_core too. Every langchain release 0.1.0 to 1.5.0 read from source. Includes a lookup: paste the error.
Published 2026-11-18
sentence-transformers 5.4.0 moved its modules but still serves 133 old import paths through a hook, so an old path that fails has another cause: models.BERT and the other per-architecture modules left in 2.0.0, util.snapshot_download in 5.1.0, and releases before 2.3.0 break on new huggingface_hub. Every module, 0.1.0 to 6.3.0, old paths included. Includes a lookup: paste the error.
Published 2026-11-18
timm 0.9.0 moved timm.models.layers to timm.layers and removed 65 modules; this lists each one and where its file is now, explains the error when loading a pickled model, and which 127 names exist only under timm.layers. Every timm release 0.1.1 to 1.0.31 read from source. Includes a lookup: paste the error or the import line.
Published 2026-11-18
datasets 3.0.0 removed 30 top-level names: load_metric and Metric (use evaluate.load), list_datasets (use huggingface_hub.list_datasets), set_caching_enabled, the task templates. Every module of datasets 1.0.0 to 5.2.0, read from source: the range to pin and what replaces each name. Includes a lookup: paste the error or the import line.
Published 2026-11-18
trl removed DataCollatorForCompletionOnlyLM in 0.20.0, setup_chat_format in 0.26.0 and 33 top-level names in 0.29.0 (PPOTrainer, ORPOTrainer ...; where each one went); peft removed prepare_model_for_int8_training in 0.10.0; accelerate.utils has is_npu_available from 0.21.0. Every module of the three libraries, 122 releases read from source: the range to pin and where a name lives now. Includes a lookup: paste the error or the import line.
Published 2026-11-18
FluxPipeline needs diffusers 0.30.0; randn_tensor left diffusers.utils in 0.21.0; the ONNX pipelines left in 0.43.0 and the Flax classes in 0.40.0. Every name that every module of diffusers binds, from 0.0.2 to 0.43.0, read from the source of 43 releases: 798 top-level names, 1,380 modules, the range to pin and where a moved name lives now. Also lists 15 names that the lazy import tables advertise but cannot import. Includes a lookup: paste the error, No module named 'diffusers...', or the import line.
Published 2026-11-18
cached_download left huggingface_hub in 0.26.0; HfFolder, Repository and InferenceApi in 1.0.0. Every name the hub has exported from 0.0.1 to 2.4.0, read from the source of 75 releases, with the range to pin and the replacement its deprecation message names. Also read: 331 releases of diffusers, sentence-transformers, gradio, datasets and peft, for the hub range each one can be imported with and the version that stopped importing each removed name. Includes a lookup: paste the error.
Published 2026-11-17
Every name that from transformers import ... has resolved from 2.0.0 to 5.23.0, read from the source of 100 releases: the release that added it, the last one that had it, the range to pin and, where the library's own deprecation message names one, the replacement. Covers the TensorFlow and Flax classes that 5.0.0 removed, the names that still import in 5.x through an alias, and transformers.utils and transformers.file_utils. Includes a lookup: paste the error or the import line.
Published 2026-11-17
Every option name llama.cpp has accepted since b3716, read from each of the 391 commits that changed the option table: the 50 that are gone and the commit that removed each, the ones that only answer "the argument has been removed", the ones llama-cli lost to llama-completion, and the LLAMA_ARG_ variables that are now ignored without a word. Includes a lookup: paste the command line or the error, with your build or Ollama release.
Published 2026-11-17
Which PEFT release each adapter_config.json key needs, and which TrainingArguments, Trainer, SFTTrainer, SFTConfig and DPOConfig arguments were removed, when, and what replaces them, read from every release's source. Explains why the same adapter is a TypeError before PEFT 0.14.0 and only a warning after. Includes a lookup: paste the error, the adapter config or your call.
Published 2026-11-17
The ptxas bundled in each Triton wheel from 3.0.0 to 3.9.0, read from the wheels themselves, and the GPU names each one knows. Shows the first Triton, PyTorch and vLLM release that works on RTX 50, DGX Spark, Jetson AGX Thor and B300, and for older releases which variable points Triton at a newer ptxas (it is not always TRITON_PTXAS_PATH). Includes a lookup by GPU and installed release.
Published 2026-11-16
The fused-MoE kernel vLLM selects for NVFP4, FP8 and MXFP4 checkpoints on consumer Blackwell, for every release from v0.15.0 to v0.34.0, produced by running each release's own selection code with a simulated GPU. Shows which backends pass vLLM's checks, what --moe-backend can force, and what "does not support the deployment configuration" means. Includes a lookup by GPU, checkpoint format and release.
Published 2026-11-15
Every vLLM command-line argument, VLLM_ environment variable and request field ever released, and every SGLang server argument, with the releases that have it and what replaces the removed ones. Shows which removals fail with an error and which are dropped silently. Includes a lookup: paste a command or request, see what still works.
Published 2026-11-13
Where Transformers, vLLM, SGLang, llama.cpp, Ollama and MLX-LM get the tokens that end generation, read from each engine's source, with the end-of-turn token of 74 real chat templates and the llama.cpp build that first names each one. Includes a checker: fetch a Hugging Face model or paste its files, see which engines stop.
Published 2026-11-13
The first Transformers release for each of 832 model_type values and the first vLLM release for each of 487 architecture names, read from every release tag, with removals, plugins and the Transformers-backend fallback, plus the GGUF string llama.cpp's converter writes. Includes a lookup: paste config.json or the error, get the version for each library.
Published 2026-11-13
The calculation vLLM runs at startup (GPU KV cache size, Maximum concurrency) reproduced from a config.json or a startup log, including the layer grouping that makes Gemma 3 and gpt-oss need far less than "bytes per token × context". Follows vLLM v0.34.0 and, with a switch, v0.33.0 and earlier; checked against the planning code of both releases and public logs. Includes a planner in the browser and kvplan.py.
Published 2026-11-12
Why the same flag "works" for one RTX 5090 / 4090 / RTX PRO box and does nothing on the next: the two all-reduce paths vLLM v0.33.0 can use on PCIe GPUs, causes from missing P2P to IOMMU, ACS, VMs and a driver bug, and p2pcheck.py, which tests each path with a timeout and prints the flags to use.
Published 2026-11-12
Japanese Wikipedia, public-domain literature and the Python tutorial counted with the tokenizers of GPT-4o (o200k), GPT-4 (cl100k), Qwen3.5, Gemma, Llama, Mistral, DeepSeek, llm-jp and others, plus the Japanese-to-English token ratio on the same text. Includes a counter: paste Japanese, compare tokenizers.
Published 2026-11-11
Which JSON Schema keywords make vLLM's auto mode leave xgrammar for guidance or outlines, release by release from v0.8.5 to v0.34.0, which request fields stopped working, and sotime.py, which measures compile time, per-token cost and runaway whitespace on any OpenAI-compatible endpoint. Includes a checker: paste a schema, see the backend.
Published 2026-11-11
Every GGUF architecture string with the first llama.cpp build that knows it and the first Ollama release that bundles it, read from git history, plus the llama.cpp build inside every Ollama release. Also covers ComfyUI's "Unexpected text model architecture type in GGUF file": which ComfyUI-GGUF loader lists each name, and since when. Includes a lookup: paste the error, get the answer.
Published 2026-11-11
Measured logprob gaps for float32, fp16, bf16 and quantized weights against a float64 reference, what a logprob means on vLLM, SGLang, llama.cpp and Transformers, and lpcheck.py, which separates tokenization, logprob semantics and numerics for any OpenAI-compatible endpoint.
Published 2026-11-11
Every stable release from v0.8.0 to v0.34.0 with its PyTorch pin, the CUDA version its wheel links, the driver floor and the other CUDA wheels that exist, checked against the published wheels. Includes a lookup: enter your driver and GPU, get the newest release you can install and the command.
Published 2026-11-11
Where VLLM_BATCH_INVARIANT=1 holds and where it breaks (MoE, speculative decoding, prefix cache, tensor parallel, AWQ), with issue numbers, plus a black-box test that runs in the browser or as one Python file.
Published 2026-11-10