NoFOMO
Search 中EN Sign in Sign up

Peaked at #2 Off the board

Call for Unified LLM Building Block API

Raschka argues switching LLM components is costly and calls for a unified building-block API to ease experiments and ablations.

Rank over time

Key points

  • @rasbt said the open-source LLM ecosystem could benefit from an LLM building-block API spanning components across different models.
  • @rasbt named torchtitan, torchtune, Megatron Core, and OLMo-core as existing efforts that he said are not quite at that level of abstraction.
  • @rasbt said it could sit on top of PyTorch or CUDA directly, but needs careful engineering and maintenance and must be efficient enough for production use.

Key points and the reaction summary are written by AI from the posts on this page. Check the original post. How we use AI

Original post

Sebastian Raschka @rasbt 539.4K followers

The open-source LLM ecosystem could really benefit from an LLM building-block API. We have so many LLM components across different models now. Whether you are using PyTorch or C++ and CUDA code directly, there is a major switching cost when you want to run experiments or ablation studies, say swapping GQA with MLA, dense FFNs with MoE, attention layers with Mamba2 or Gated DeltaNet, or standard residual connections with attention residuals. Currently, it’s very messy even with LLM-assisted coding. It could maybe be on top of PyTorch or CUDA directly, but it needs to be carefully engineered and maintained (versus quickly vibe-coded on a weekend) and efficient enough that people trust it to use in production (which is really a requirement to move beyond toy examples). Maybe some food for thought for a big, well-funded lab :) (There are some efforts that go into that direction, like torchtitan, torchtune, Megatron Core, OLMo-core, but they are not quite that level of abstraction, I'd say. And, as always, there’s the chicken-and-egg problem: it needs to be popular to get widely adopted, and it needs to get widely adopted to become popular.)
Post image
519likes 61reposts 88replies 22.1Kviews

View on X Save

Discussion 0

No comments yet. Start the conversation.

Suggest a source

Is there a first-hand source we're missing, or a topic we should watch? Tell us. Once approved, everyone's board covers it.

@username or profile link