Explore the research collection
4 entries · Follow this search
- Post
SINQ comes to GGUF: BeeLlama.cpp v0.5.0 makes every tested quantization recipe more accurate
BeeLlama.cpp v0.5.0 Preview (Ivan Neustroev) ships the first implementation of SINQ (Sinkhorn-Normalized Quantization) in the llama.cpp ecosystem. SINQ itself is from Müller et al. at Huawei (arXiv 2509.22944, Sep 2025; the same team as KVarN): it augments an existing post-training quantizer with a second-axis scale factor, using fast Sinkhorn-Knopp-style iterations to normalize the per-row and per-column variances of each weight matrix (minimizing a 'matrix imbalance' proxy). Because column-wise weight standard deviations are predictive of the activation magnitudes a matrix saw in training, this recovers much of activation-aware quantization's benefit with NO calibration data; it is layer-independent, applies to any linear layer, and in the paper cuts the WikiText2/C4 perplexity gap versus uncalibrated uniform baselines by over 50% on the Qwen3 family and DeepSeek-V2.5, at zero-to-negligible overhead (code: github.com/huawei-csl/SINQ). The implementation result reported here: Neustroev reproduced Bartowski's fully open-source Qwen 3.5 9B GGUF collection with SINQ added, and EVERY recipe (Q2_K through Q8_0) achieved lower KL divergence against BF16, with drastic improvements at the higher bit-widths; against Unsloth's collection for the same model (only partially reproducible, its process being partly proprietary), Bartowski+SINQ dominates most of the size-quality Pareto frontier, with a particularly large gap at 6 and 8 bits. The author ships his own disclaimers, carried here as flags: the SINQ configuration for each recipe was selected by MANUAL A/B testing (automated selection is work in progress), so the frontier partly reflects per-recipe tuning effort; SINQ GGUFs currently run ONLY in BeeLlama.cpp v0.5.0, since the format needs engine support; some recipes may benefit less or not at all where existing optimizations conflict; evidence is one model (Qwen 3.5 9B; a 27B pass promised) and the metric is KLD fidelity to BF16, not downstream task accuracy. The SINQ paper is summarized inside this entry and is not separately cataloged. Cross-references: the catalog's precision/quantization thread - SINQ is the inference-side, weight-only member (calibration-free dual scaling), complementing the training-side precision entries and KVarN's KV-cache variant of the same dual-scaling idea.
- Post
Post-training infrastructure at Proximal
Proximal's engineering post on their internal post-training stack for agentic RL. Training and inference run on Modal GPUs (an internal fork of Miles, the OSS RL framework based on Slime); rollouts run in gVisor/microVM sandboxes on their own Kubernetes cluster, coordinated via a lightweight command daemon (pxd). Key design choices: async training where each rollout keeps the adapter it started on while new groups start on the newest published weights (rollouts >3 versions stale are never trained on; 128 finished groups per step; mean staleness 1.7 at 4:1 inference-to-trainer ratio); inference capture moved inside the replica after cross-region (Sweden vs US West) network waits cost minutes per rollout; single-replica on-demand GPU containers instead of 8-GPU nodes, growing inference 3:1 to 4:1 mid-run; a custom KV-cache-headroom router hitting 99.6% cache hit rate; fault tolerance via a durable rollout store on Modal Volumes (a run survived losing 40% of inference capacity mid-step, fully recovering in 19 minutes); LoRA weight sync over HTTPS sharded across ranks (delta sync tried, not worth it for small adapters); custom attention recomputation keeping only FlashAttention outputs + log-sum-exp, cutting step time 7.3% at long context. Sandbox fleet: tasks declare 1-8 vCPUs (mean 2.3); pods request 25% CPU / 40% memory of hard limits, packing 26 sandboxes per 16-vCPU node; image-aware scheduling raised cache hits 1% to 37% (2s cold starts); zstd over gzip sped image unpack 15-25%; their sandboxes beat a SOTA provider ~5x median / 7x+ p90 on command latency. Case study: Qwen3.8-27B with rank-32 LoRA, 128 envs/step, group size 8, vanilla GRPO on internal agentic coding tasks — DeepSWE pass@1 37.2% (+8.4 over base in 44 steps), pass@8 67.7% to 86.6%; gains survive dropping tasks flagged flawed by Epoch AI/Scrim/internal review. Built on OSS Miles and SGLang, with contributions back upstream (SGLang #43047, Miles #3977).
- Post
AutoBenchmark: benchmark creation and the role of humans (Meta RAM blog)
AutoBenchmark is a framework in which an autoresearch agent builds a benchmark end-to-end from a task specification and revises it over iterations using two feedback signals: solver-agent trajectories and scores, and critique from an LLM verifier checking benchmark quality. Each benchmark is produced as a Harbor-compatible evaluation package (container environment, task instructions, evidence, reference solution, machine-checkable grading criteria). Stages: 1) Benchmark Proposal -- agent decides the construct, operationalizes it multiple ways, gathers primary sources, instantiates runnable tasks, makes the designer decisions (what the solver sees, partial credit, reference solution proving solvability); 2) Benchmark Solving -- solver agents attempt tasks, graded by an answer judge, giving a difficulty signal; 3) Benchmark Review -- an LLM judge rates the benchmark on construct validity, correctness, feasibility, usefulness, and overall verdict, retaining the best accepted checkpoint (lowest-scoring accepted iteration) and checking difficulty against external solvers. Before any solver run, the harness executes the agent's reference solution against the real verifier and admits it only at score >= 0.9. Three benchmarks built automatically: Graveyard Bench (ideation -- avoiding dead-end ideas, grounded in documented negative results), SilentTrain Bench (experimentation -- patching buggy code that silently degrades training, grounded in silent defects), Rebuttal Bench (assessment -- judging whether a paper rebuttal resolves reviewer weaknesses, grounded in public review threads). Findings: fully autonomous benchmarks are close to saturated (in-loop solvers above 80, first three iterations all 100.0 on Muse Spark); fine-grained human proposal feedback halves solver scores (Rebuttal Bench: 90/84/80 -> 43.5/51.2/39.1 on Spark/Glimmer/Nemotron); coarse one-sentence intent helps only marginally; difficulty transfers to held-out solvers (NVIDIA-Nemotron-3.5-Lightning-30B-A3B, Claude Opus-5); when the loop stalls, human direction at that point helps (SilentTrain: 88.1 -> 64.2 on Spark); the verifier catches defects scores cannot see (leaked answers, shallow constructs), so selection on score alone keeps verifier-rejected iterations.
- Post
vime × RL-Kernel × AMD: Bitwise Train–Rollout Consistency on ROCm (RL-Kernel v0.1.0)
vLLM Blog (2026-09-14) on RL-Kernel v0.1.0 with vime and AMD: Megatron training and vLLM rollout often disagree on logprobs for the same weights/tokens because kernels, Split-K/KV, reduction order, and intermediate precision differ, which pollutes importance ratios and KL/clipping. RL-Kernel aligns the numerical execution contract (RMSNorm, Attention, GEMM/SwiGLU, linear logprob, collectives) while vime aligns the timeline and weight sync. On ROCm they added deterministic MFMA GEMM, vocabulary reduction, HIP IPC, AITER/CK Attention schedule fixes, math/fusion last-bit fixes, and paged-KV/HIP-Graph state fixes. End-to-end Qwen3-8B BF16 GRPO on 8× MI300X (Megatron TP4/CP2; 2× vLLM TP4 colocated; 200 steps; dapo-math-17k) reports mismatch_count=0 and max_abs_diff=0 throughout on the strict path vs native mismatches every step. Apache-2.0 at github.com/RL-Align/RL-Kernel (pyproject 0.1.0; torch>=2.4.1; transformers==5.13.1; optional cuda/rocm/vllm extras). Docs https://rl-align.github.io/RL-Kernel/. Scope today: Qwen3-8B Dense + vime + CUDA/ROCm; MoE/multimodal next.