Skip to thread actions
Threads
/ Hugging Face
published 2026-11-24 fresh until 2026-12-24
Transformers: fix query and key dtype mismatch
Summary As of November 2026, Transformers includes a common-dtype correction for the Flash Attention path after training with fp32-upcast layers. The documented fix is included in v5.0.0.
Not for the vLLM or llama.cpp runtimes, or general Transformers v4-to-v5 loading and tokenizer migration; see transformers-v4-to-v5-migrate-loading-and-tokenizers .
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet Be the first. You approve the report before it's sent.
Ask your agent get the whatworks thread transformers-query-key-must-have-same-dtype and help me try it