Explore the research collection
68 entries · showing 1–24 · Compare the first 2 datasets · Follow this search
- Paper
BasinKV: Bounded-VRAM Sparse KV-Cache Serving for llama.cpp, SGLang, and vLLM
BasinKV (Zellige; github.com/zellige-ai/basinkv, Apache-2.0, released Dec 1 2026) is an open-source implementation and extension of the OasisKV lookahead-prefetch architecture (Xiao, Cho, et al., arXiv 2608.08097 - summarized here, not separately cataloged). It serves long contexts with bounded VRAM by capping each full-attention head at a fixed GPU working set (W = 2,048 tokens by default: sink blocks, retrieved sparse blocks, and a local ring, in static-shaped pages so stock FlashAttention/FlashInfer kernels and full-model CUDA graphs run unmodified), keeping the full KV history in pinned host RAM or on NVMe, scoring evicted blocks on the GPU, and prefetching needed blocks over PCIe while earlier layers compute. No retraining and no weight changes. Two precision tiers: the quality default is INT8 host KV with a Quest INT8 block index whose partial-RoPE radius weight alpha = 0.25 down-weights the non-rotary box radius (on Qwen3.8-27B, D = 256 with 64 RoPE + 192 NoPE dims, that radius averages 2.70x the midpoint magnitude; alpha = 0.25 raises per-step Top-8 recall from 29.9% unweighted and 82.5% at alpha = 0.5 to 95.5%, and restores 128K RULER from 0/5 to 5/5); the high-compression tier pairs WHT-INT4 host KV (1.97x smaller than INT8, 3.88x vs BF16, under 0.5% decode-speed cost) with a SphereIndex of WHT-rotated INT4 centroids (7.53x smaller GPU index than BF16 min/max). A successor co-fetch propagates each block's score one hop forward so cues straddling a block boundary fetch both halves, and content-addressed prefix caches persist in RAM/NVMe including hybrid recurrent state. Project-reported benchmarks (first-party, single-user llama.cpp decode unless noted): Qwen3.6-35B-A3B Q4_K_M at 256K on a 24 GB L4 runs at 67.12 tok/s with 84.8 MiB of GPU KV+index where stock llama.cpp OOMs from 64K, with live passkeys passing at 64K and 203K; on A100-80GB the same model goes 95.01 to 141.12 tok/s (1.49x) with 96.2% retrieval at 240K; Qwen3-8B at 128K goes 54.28 to 124.29 tok/s (2.29x); Gemma 4 E4B at 128K on L4 goes 31.69 to 61.46 tok/s (1.94x). Gains shrink where the baseline already fits comfortably: gpt-oss 20B 1.02-1.20x, and Inkling 2 Mini (looped + SWA) only 1.08x at 64K - most of its attention is already windowed. In SGLang, Qwen3.8-27B at batch 16 x 64K (1.02M tokens) runs 581.4 tok/s with native MTP on one A100 where stock OOMs with MTP. Limits stated in the repo: MLA models (DeepSeek-V3/R1, GLM-5, Kimi K2) are rejected at init on all engines; the vLLM integration's zero-fork mode is prefix caching only (sparse decode needs upstream hooks) and rejects recurrent hybrids today; quality evidence is passkey/RULER retrieval and short-output parity, not long-form generation quality. Flags: the repo is one day old at cataloging (14 commits) and every benchmark is the project's own. Cross-references: the serving-side member of the KV-cache thread, alongside training-free block-sparse attention (Factorized Context Attention, ID 1896); the Quest alpha detail - down-weighting NoPE dims in block scoring - is the transferable nugget for partial-RoPE hybrids.
- Paper
DR Tulu 2: Scaling Simulated Environments for Deep Research Agents
Chen, Faria, Zhuo, Shao, Gupta, Jiang, Zettlemoyer, Koh, Smith, Brahman, Dasigi & Asai (Ai2), 'DR Tulu 2: Scaling Simulated Environments for Deep Research Agents' (released Dec 1 2026; code Apache-2.0 at github.com/allenai/dr-tulu2; model allenai/DR-Tulu2-4B on Hugging Face; paper at allenai.org/papers/dr-tulu2). An open 4B deep research agent trained entirely in simulated search environments with the DR-Anything framework: for each training task the framework constructs both a research question and a searchable collection of documents, and the agent issues queries, opens documents, and refines its search over many steps. Serving the collection locally (BM25 indexes over General Web, Finance, and Science corpora, all released on Hugging Face) makes RL rollouts scalable without per-query API costs or external rate limits. Training is a three-stage checkpoint sequence from Qwen3.5-4B: a BrowseComp stage on the General Web corpus (step 400), then SEC100 on Finance (step 200), then Science100 on Science (step 100) as the final checkpoint; the stack is Prime-RL with a Verifiers environment and vLLM serving. Ai2's headline claim (first-party): across 10 benchmarks DR Tulu 2 beats Tongyi DeepResearch with a page summarizer by 9.7 points on average, and the release reports live-web accuracy after purely simulated training - the sim-to-live transfer is the load-bearing claim. Evaluation covers BrowseComp-Plus with GPT-4.1 grading, plus live-web runs via Serper/Jina. Cross-references: the environment-construction member of the agent-RL thread - simulated, locally served search environments as the scalable alternative to live-API rollouts; the post-training counterpart to Search-Native Pretraining (ID 1902, search taught in pretraining); v1's training data is in the catalog as datasets (dr-tulu-rl-data, dr-tulu-sft-data).
- Post
Depth Hybrid Attention (DHA): Depth-Wise Value Mixing for Hybrid Attention Architectures
An architectural add-on for hybrid attention: let layers mix information across DEPTH, not just across time. DHA extends the group's earlier Depth-Attention (validated in plain GQA) to hybrid stacks. The forward pass for each token maintains a per-token 'depth bank' holding KV anchors written by preceding layers. Before its temporal attention, each layer runs a depth router: (1) Read historical anchors from the bank, (2) Mix - value mixing in the form of attention over those anchors, (3) Write its own anchors to the bank. The mixed values then feed the layer's ordinary temporal attention, whose design is untouched. Because the bank is per-token and holds one anchor set per layer rather than per position, it does not grow with context length - the hybrid's low KV-cache footprint is retained, at 'very little' added compute and cache (their characterization). Two variants, each keeping separate depth banks per layer type so a layer only reads anchors from its own kind: Depth Window Attention (DWA) for GQA + sliding-window attention hybrids, routing at KV-group granularity while SWA layers keep their temporal window; and Depth Delta Attention (DDA) for MLA + Kimi Delta Attention (KDA) hybrids, where MLA routes in latent space and KDA mixes values across depths using normalized queries/keys with depth-specific logit scaling before its delta-attention update. Results (short-context suite of 8 benchmarks - ARC-Challenge, HellaSwag, MMLU, CMMLU, GSM8K, MBPP, CMATH, MMLU-Pro; averages): DWA 39.68 vs GQA+SWA 37.84 vs full GQA 38.06, with the gains concentrated in generation tasks (GSM8K 44.43 vs 38.36 hybrid / 37.60 full) and MMLU a small exception (45.51, below full GQA's 46.19); DDA 40.92 vs MLA+KDA 39.12 vs full MLA 38.19 (GSM8K 43.67, CMATH 51.64). The README also reports better loss curves and long-context retrieval vs both baseline classes, but those results are figures only, with no numbers in text. Caveats: a code/project release, not a paper - no arXiv version, no stated model scale, token count, or training setup behind the benchmark tables in the README, all results first-party (Nanbeige LLM Lab, BOSS Zhipin), repo created 2026-10-29 with 3 commits and no LICENSE file in the root at catalog time. Relevance: DWA targets exactly the GQA+SWA hybrid family - in a 3:1 SWA:full stack the depth axis is orthogonal to the temporal hybrid split, but note the constraint that banks are per layer type, so window layers never read anchors written by full layers and vice versa; DDA's KDA branch is the Gated DeltaNet family paired with MLA instead.
- Code
Bergson: An Open Source Library for Data Attribution
Open-source library (EleutherAI) unifying data attribution methods for LLMs across compute budgets. Implements MAGIC, SOURCE, EK-FAC, ASTRA, and TrackStar — the first open-source implementations of MAGIC, SOURCE, and TrackStar. Finetuning leaderboard: MAGIC tops (0.931), EK-FAC and ASTRA are both fast and accurate, SOURCE excels at multi-stage runs; TrackStar's efficient approximate scores enable cheap pretraining attribution via two-stage retrieval (amortize costs with on-disk gradient stores and ANN indices, then refine top scores with a more precise method). Also supports token-level attribution (claimed 10x data-filtering performance gain), GRPO rewards for attributing model behaviors, and optimizations like bucket batching and multi-node support. Answers 'how do LLMs generalize / why do they become misaligned?' by looking at the training data. Relevant to the user's LLM training setups (dataset curation, debugging misalignment) and GRPO work.
- Code
Hyper-Connection Factory
Open-source repo with unified implementations of 11 residual-connection variants for decoder LLMs (HC, mHC, Frac, DenseFormer, MUDDFormer, LAuReL, AttnRes, MHAR, DAR) behind a single interface on one shared transformer body — same attention/MLP, init, data, optimizer, schedule, so differences are due to wiring alone. Trains with one recipe from 38M to 1.2B params at ~20 tokens/param on FineWeb-Edu (8xH100; checkpoints, configs, sweep scripts, logs, plots all in repo). Key result: what survives scale is dynamic, input-dependent mixing — MUDDFormer best at every size (Δ val loss vs pre-norm: -0.112 S / -0.070 M / -0.071 L / -0.061 XL); mHC and dynamic HC shrink smoothly but stay positive; static HC's gain fades at M then recovers at L with depth. Gotchas: plain MUDDFormer diverges at 24 layers (fixed by PrePostDANorm, previously only in the paper's JAX code); small-scale rankings don't transfer (mHC looked worse than pre-norm on laptop but is among the best on GPU); fancy variants train at ~0.5x pre-norm throughput. Single seed at L/XL. Relevant to the user's LLM pretraining and Launch Helm work.
- Code
KohakuFA: Attention Kernel with Fixed Backward-Pass Precision
New attention kernel claiming severe backward-pass precision bugs in cuDNN SDPA, FlashAttention-4, and flex attention: when attention logits get huge (DINOv3 reportedly hits ~1e5 out of the box), backward gradients can be wrong by 10-1000x or become inf, while forward and loss look completely normal — so instability surfaces only late in training when reruns are expensive. Implication: some reported fp16 instability, QKNorm benefits, or 'failed runs' may be kernel artifacts, not model-design flaws. KohakuFA fixes 3 precision bugs, keeping gradients at the fp16 error floor for ~5% extra cost; fast for ViT/DiT/video. Figures: DINOv3 ViT-B/16 fine-tuning backward error over training — FA4 highest error (~0.05-0.6), KohakuFA tracks the fp64 correct-kernel floor; whole-model fp16 gradient vs fp64 across 50k-200k steps — cuDNN SDPA gradients collapse after ~100k-125k steps (cosine→0, relative error >10x), KohakuFA stays near-correct. Blackwell (SM100) only for now; sm120 support planned (flex attention reportedly has the same issue on sm120). Directly relevant to user's training-run debugging (CUDA OOMs aside, kernel-precision bugs are the same class of hard-to-diagnose training instability).
- Code
Parallax (Parameterized Local Linear Attention) — official code
Repo for Parallax: parameterized local linear attention that replaces Softmax Attention's per-query linear solve with a learned probe. Integrates with flash-linear-attention and Modded-NanoGPT-plx. Paper already cataloged as id 516 under a different mid; this row covers the Discord message's GitHub URL.
- Code
unpuzzles_and_simple_reasoning (DeepMind eval data + grading code)
Official DeepMind repo for the unpuzzles paper (already papers_local id 688 under a different Discord mid). Three JSON eval sets: procedurally generated simple reasoning (~1120 questions / 5 categories), 97 original/unpuzzled pairs, and 69 context-shifted unpuzzle sets, plus notebooks to extract/grade model answers.
- Code
motion-video-kit (Claude Code skill kit for AI-assisted business videos)
A Claude Code skill (also usable as plain context for any LLM) for making premium, launch-style commercials for real businesses with AI-generated footage, code-built motion (HTML/GSAP), selective Three.js, and an independent-critic quality loop. Packages lessons from studying 28 professional SaaS launch films plus two full sample commercials built through dozens of critique rounds. Contents: the Gauntlet loop (builder != judge, fresh critics on actual renders, item-by-item verification); a motion grammar of six rules and 16 reusable mechanisms; a measurable quality bar (frozen time, loudness, contrast, brand colour); audio rules (music matched to the buyer's customer, sparse SFX, mix targets); a business playbook (verticals, price anchors, pilot-offer template); Three.js patterns (deterministic seekable scenes, exploded layers, projected callouts); product-hero realism techniques; scripts for frozen-time/loudness measurement, contact sheets, and offline mixing. Best with HyperFrames for rendering but renderer-agnostic. 294 stars, 28 forks, 6 commits as of the read.
- Code
xBridges
Checkpoint conversion, serving, and evaluation toolkit for xLLM. Converts tensor-parallel xLLM checkpoints to Hugging Face format (K2HorizonForCausalLM, BF16 safetensors) and back, with multi-node Slurm support; validates conversions by comparing per-token logprobs between xLLM and HF on the same document; registers K2 Horizon with vLLM 0.24, launches multi-node Ray+vLLM servers on Slurm, and runs lm-eval against them.
- Code
xattn
Efficient attention modules for the xLLM framework, with Python APIs for use in other PyTorch projects. Features high-precision FP32 attention output state for backward (reducing BF16 gradient error) and flexible segment-aware masking (segment IDs or BOS masks) for packed sequences. Supports causal Flash Attention, sliding window, sliding chunk, and SoftDelta attention variants; FP16/BF16 inputs; MHA, GQA, and MQA.
- Code
NVIDIA Model Optimizer (ModelOpt)
NVIDIA's unified open-source library of state-of-the-art model optimization techniques — post-training quantization, quantization-aware training/distillation, pruning, distillation, neural architecture search, speculative decoding, and sparsity. Takes Hugging Face, PyTorch, or ONNX models and exports optimized quantized checkpoints ready for TensorRT-LLM, TensorRT, vLLM, or SGLang deployment.
- Code
xLLM: Light-weight infrastructure for express LLM pre-training
Apache-2.0 PyTorch framework for long-context LLM pretraining supporting dense, MoE, and MoVA architectures, with FSDP1/FSDP2, data/model/context parallelism, custom CUDA kernels, FlashAttention, online tokenization and packing, evaluation, HuggingFace export, and vLLM support.
- Paper
Dream-RSI: Recursive Self-Improvement through Evolving Worlds
Dream-RSI is a framework for recursive self-improvement of exploration in AI-driven discovery (Tong Zheng et al., Google/DeepMind/UMD/UVA). Its key insight: a finished discovery run's decision tree is an exact replay simulator, so candidate exploration policies can be evaluated and improved offline at zero execution cost, then redeployed — closing a self-improving loop that cut discovery cost substantially on algorithm engineering, math optimization, and GPU kernel tasks.
- Code
FrontierAgent
Open-source (Apache 2.0) agent runtime, terminal TUI, and evaluation suite for long-horizon research and file-based work, released alongside the Apodex-1.1 model. Ships two workflows: ReAct (one stateful agent in a task-scoped sandbox) and Agent Team (coordinator delegating to parallel sub-agents). Installs with one command on macOS/Linux with no Docker dependency; the same engine powers Apodex's model benchmark runner.
- Code
OpenBMB/MiniCPM
Official open-source repository for the MiniCPM family of small language models (MiniCPM5, MiniCPM4/4.1, MiniCPM-SALA, BitCPM4). Provides model downloads across Hugging Face and ModelScope in many formats (BF16, GGUF, MLX, GPTQ), quickstart guides for vLLM/SGLang/llama.cpp/Transformers, fine-tuning and deployment cookbooks, and agent skills. 11,325 stars, Apache-2.0 licensed, created 2024-01-29.
- Code
AI4AI-Bench
Official implementation of the AI4AI-Bench benchmark for recursive self-improvement via training-algorithm design. Ten tasks span generation, alignment, reasoning, unlearning, pruning, RL, reward modeling, and model merging. Each run separates open-ended exploration (up to 4h, agent produces a source patch) from reproducible measurement (fresh formal retraining up to 12h, up to 3 checkpoints, frozen validation and final evaluation). Apache-2.0; 41 stars, 3 forks as of late September 2026.
- Code
Block Delta Memory (BDM): Sparse Recurrent Memory with Dense Execution
Block Delta Memory (BDM) is a recurrent sequence mixer that routes each token via an SDM-style product-key router to a sparse subset of small GDN2 memory banks, then updates selected banks as dense matrix states with a shared GDN2 controller (route-weighted decay/erase/write). On WikiText-103 (~15–17M, N=2048/K=64) BDM roughly matches attention on Adaptive Recall (span/overwrite/one-hop ~97–99% exact) with LM NLL near attention/SDM; H200 sweeps show decode nearly flat as capacity grows N=T, ~2× faster than SDM and within ~1.2–1.6× of GDN2. No arXiv; GitHub README+code.
- Code
Monty v1 — Pydantic Python sandbox (OSS)
Pydantic Monty v1 announce by Samuel Colvin (2026-09-25): Rust-written minimal Python sandbox for AI-generated code (Ruff parser + own bytecode VM; not CPython). OSS Monty is MIT-installable (pydantic-monty on PyPI, @pydantic/monty on npm, monty-pool on crates); Full Monty is the commercial WebSocket service. Tweet claims ~1 ms start (vs ~1.5 s) and 10k sandboxed scripts in 674 ms (claimed vs >3 h cloud sandbox). Docs latency table: OSS Monty ~0.80 ms new sandbox + ~0.40 ms for 10 REPL commands (~1.20 ms combined) vs ~1900 ms for a typical sandboxing service. Features: worker-pool crash isolation, dump/resume snapshots, host function exposure, ~2 MB workers, multi-round Hack Monty bounty. Explicit non-goal for now: installing PyPI packages inside the sandbox. Intended for agent code-mode; planned for Pydantic AI. Docs mark v1.0.0 production-ready. Repo ~8282 stars / 421 forks at catalog. X ~188 likes / 16 RTs / 133 bookmarks / ~9533 views.
- Code
Scenario Agent Skills (scenario-labs/skills)
MIT pack of 65 Agent Skills (agentskills.io / skills.sh SKILL.md format) for Claude Code, Cursor, Codex, Copilot, and 70+ agents. Teaches production-ready image, video, audio, texture, skybox, 3D, and custom-model workflows through the Scenario MCP server (https://mcp.scenario.com/mcp; OAuth or API key). Core skill covers discover→schema→run→wait→display→download; siblings cover inspiration/moodboards, game art, Seedance music-video/storyboard pipelines, ads/UGC, consistency + model training, quality gate/refine loops, workflow authoring (incl. Weavy/ComfyUI migration), team admin, and deep model-family guides (GPT Image, Seedream, Veo, Kling, Meshy, ElevenLabs, etc.). Install: `npx skills add scenario-labs/skills --skill "*"`. ~72★ at catalog; release skills-v0.47.0 (version.txt 0.47.0).
- Code
tev1 — Together open recipe to fine-tune a Jev-inspired decision model
MIT-licensed repo for tev1-4B-experimental: fetch_sources.py + build_all.py assemble new-v1 instruction JSONL (37,840 train / 4,568 val) from public HF classification datasets plus synthetic policy/routing/research taxonomy; examples/train_together.py uploads and launches Together LoRA FT; examples/decide.py and scripts/evaluate.py for inference/eval. Proposed recipe rank 8 / 1 epoch / lr 5e-5 / 2048 context. Documents that this is independent Jev-inspired work with no Jev answers as labels. Companion blog and HF model announced 2026-09-23.
- Dataset
WikiPlots (Wikipedia story-plot corpus)
WikiPlots extracts 112,936 story plots from English Wikipedia articles whose section headers contain "plot" (e.g. Plot / Plot Summary). Repo ships extractor code (wikiPlots.py over a Wikiextractor JSON+HTML dump) plus a Dropbox plots.zip (updated 2017-09-26) with plots (one sentence/line, stories separated by <EOS>) and titles files. Discord named "WikiPlots" without a URL; durable pointer is GitHub markriedl/WikiPlots (~323 stars; created 2017-04-19).
- Tool
gpt4free (xtekky/gpt4free)
Popular GitHub project (og:title: official gpt4free repository) collecting access helpers for many powerful language models (README/og mentions Opus/GPT/Kimi/DeepSeek/Gemini families). Created 2023-03-29; ~66.7k GitHub stars at catalog check. Discord posted the repo readme URL. Cataloged as a known tooling idea from backlog; many providers involve reverse-engineered or ToS-gray free endpoints — treat as research pointer, not an endorsed production stack.
- Code
facebookresearch/RLCD (official reproduction code)
Official code for arXiv 2307.12950: simulate preference data (rlcd / rlaif / context distillation / rlcd_rescore variants), train reward model, PPO, generate evals. Built around LLaMA-7B alignment; data gen supports larger LLaMA. Harmless/helpful prompts from Anthropic hh-rlhf; outline prompts omitted for legal reasons.