Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 21 min read Announcement hardMaster

Welcome Beam: a 501B open model you can own, customize, and scale

Beam is a 501B-parameter mixture-of-experts model from Reflection with 23B active parameters per token, a 1M-token context window, and an Apache 2.0 license, aimed at coding and agentic workloads. It interleaves 43 sliding-window RoPE layers with 9 global layers that use no positional encoding and scalable-softmax query scaling, which cuts KV-cache growth to 36 KiB per token (about 36 GiB at 1M context versus 208 GiB if every layer were global). Its 256-expert router follows DeepSeek-V3's group-limited scheme without a shared expert, and its residual stream uses depth-dependent weights that keep the stream at a constant scale. Practical guidance covers BF16, FP8 and NVFP4 checkpoints, hardware sizing (NVFP4 at ~280 GB on four B200s is recommended), transformers expert-parallel loading, and vLLM/SGLang serving with DFlash2 speculative decoding.

Related posts

  • Advancing Generative Recommendation Inference: our collaboration with NVIDIA on TensorRT LLM

    Spotify Engineering hardMaster

    Spotify consolidated its LLM-based generative recommendation inference onto TensorRT LLM, working with NVIDIA to add the features it had been splitting across engines. vLLM handled beam search for semantic-ID candidate generation, but its beam search runs outside the core GPU engine and recomputes partially filled KV blocks. SGLang supplied multi-item candidate scoring, and personalization came from soft tokens that project existing user embeddings into the LLM's embedding space. The upstream additions were multi-sequence beam search, out-of-tree models for a custom Qwen3 soft-token plugin, embedding injection and multi-item scoring, which cut costs on Qwen3 1.7B by up to 54% for beam search and 7% for scoring.

  • Native-speed vLLM transformers modeling backend

    Hugging Face hardMaster

    The transformers modeling backend in vLLM now matches or beats vLLM's hand-written native implementations in throughput. Benchmarks covered Qwen3-4B on one GPU, Qwen3-32B with tensor parallelism, and Qwen3-235B FP8 MoE with data and expert parallelism on 8×H100. The backend uses torch.fx static analysis to find known patterns, then rewrites the model source via AST to swap in fused vLLM kernels such as QKVParallelLinear, MergedColumnParallelLinear and expert-parallel MoE ops. It also infers TP/PP plans while staying compatible with torch.compile and CUDA Graphs. Any compliant transformers model gets this with `--model-impl transformers`, except linear-attention models and custom Hub-code models.

  • Welcome Muse Spark Open: open-weight frontier multimodal mixture-of-experts model from Meta

    Hugging Face mediumAdept

    Muse Spark Open is Meta's open-weight multimodal mixture-of-experts model with ~816B total and ~42B active parameters, 256 experts per layer with 8 routed per token, a 1M-token context, and text, image, audio and video inputs producing text output, aimed at agentic coding. The architecture uses 62 layers with grouped-query attention (128 query and 16 KV heads), QK-norm, gated residuals, a 1.8B perception encoder and a convolutional audio encoder emitting 12.5 tokens per second. The KV cache costs about 250 KB per token, or ~266 GB at 1M tokens. BF16 weights (~1.5 TB) need 4×8 H200 nodes and NVFP4 fits a single B200 node. Transformers examples cover tensor and expert parallelism, reasoning-effort levels, image, video and audio inputs, and tool calling.

  • Make LLM Fine-tuning 2x faster with Unsloth and 🤗 TRL

    Hugging Face mediumAdept

    Unsloth speeds up QLoRA fine-tuning of Llama and Mistral-family models by rewriting PyTorch modules as Triton kernels with manually derived backpropagation. Because no approximations are made, it claims 0% accuracy loss relative to standard QLoRA. Across 59 benchmark runs on A100 and T4 GPUs, it ran 1.5–3.9x faster than Hugging Face transformers and used up to 74% less VRAM. Code examples show loading pre-quantized 4-bit models with FastLanguageModel, attaching LoRA adapters, and training with TRL's SFTTrainer or DPOTrainer.

  • Assisted Generation: a new direction toward low-latency text generation

    Hugging Face mediumAdept

    Assisted generation cuts autoregressive LLM latency by letting a much smaller assistant model with the same tokenizer greedily draft candidate tokens, then verifying them all in a single forward pass of the large model. The large model keeps matching tokens plus the first divergent one. The draft length adapts: it grows by 2 when every candidate matches and shrinks by 1 otherwise. The approach exploits the fact that forward passes are memory-bandwidth bound. In 🤗 Transformers it is exposed through an `assistant_model` argument to `generate` (batch size 1 only) and yields up to 2x speedups, 3x with INT8, and up to 10x when the model relies on memory offloading. It works best on input-grounded tasks like ASR and summarization, and with sampling only at low temperatures.

The quest for software engineering knowledge.

Look:
Layout: