~/talk

Write Once, Run Everywhere with Pytorch Transformers

links:none on file
slides:none on file

Hugging Face transformers is a pure PyTorch model-definition framework that now targets immediate downstream availability by going PyTorch-only, using a modular one-file model pattern and a single attention interface signature so alternative kernels (SDPA, flash attention, vLLM/SGLang) swap at runtime. Close integrations let vLLM and SGLang load a Transformers model in a few lines. A Transformers→MLX conversion skill is released that runs layer-by-layer logits comparisons, long-sequence generation and a non-agentic test harness; experiments show the approach works and speeds ports.

AI-written summary · about

  1. 0:00Transformers as reference
  2. 1:27Readability and modularity
  3. 3:36Abstractions and attention
  4. 6:09Integrations with libraries
  5. 8:38Contract-based contributions
  6. 10:06Agents and open-source
  7. 12:13LLM release notes
  8. 14:42Transformers to MLX
  9. 17:57Future plans
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.