{
  "id": 1325,
  "kind": "post",
  "title": "Impactful scheduling for GPU clusters",
  "summary": "Ai2's AI Infrastructure team replaced their priority-based GPU scheduler with a budget-based system: GPU time budgets allocated hierarchically by managers (lead researcher / PI / lead program manager / CEO), a hierarchical fair-share scheduler tracking occupancy over a 7-day sliding lookback window (lineage: Hadoop Fair Scheduler, SLURM Fair Tree, YARN Fair Scheduler), and a 'scheduling contract' time-slicing mechanism. The contract: every workload declares a minimum runtime (protected from preemption, charged to its budget, max 8 hours) or sets it to zero (unallocated, always preemptible but free). Allocated occupancy draws from the owner's budget and is protected during minimum runtime; unallocated occupancy keeps GPUs full when allocations don't match demand and can be preempted by any allocated request. This killed three pathologies of the old system: GPU 'squatting' (no-op workloads parked for later), priority inflation (100% of jobs at HIGH priority), and on-call toil negotiating shutdowns of non-preemptible jobs on failing hosts. Rollout results (30-day test period, cluster-by-cluster from end of July): teams received 98% of owed GPU hours (13 of 15 teams got 95%+, worst case 90%); occupancy held at 98% with 2-3x demand over capacity; median queue wait on the largest H100 cluster fell from 5 minutes to 24 seconds, p90 from 2.8 hours to 1.8 hours; debug-workload p90 wait fell from 2 hours to 30 seconds; repairs requiring a human-in-the-loop fell 74% via automatic draining of unhealthy hosts at minimum-runtime boundaries. Challenges recorded: interactive dev sessions now face an 8-hour protected-runtime cap (preemption wipes volatile state), so Ai2 is investing in a CPU-only cluster for data-prep sessions and restorable sessions; possible capacity fragmentation for the largest workloads is under investigation with the simulator. One user quote: the new system 'makes it feel like we have an extra 30% compute' via bursting beyond allocation limits when others underuse their share.",
  "body": "",
  "notes": "Directly relevant to the user's LLM training setups and Launch Helm (W&B replacement with monitoring + control/intervene): this is the control-plane side of training infra — GPU scheduling, queue-wait economics, and the budget-vs-priority allocation debate. Connects to the training-infra cluster: 1610 NeMo-DCR (RL refit infra), 1620 ThunderSyncRL (agentic RL throughput), 1622 Proximal post-training stack (bounded-staleness async adapters). Discovery: @allen_ai X post 2026-10-09 ~11:43 AM ET (~1.5K views, 40 likes, 24 bookmarks); blog 'Impactful scheduling for GPU clusters' published October 9, 2026, bylined 'Ai2' (AI Infrastructure team). Ai2 manages thousands of NVIDIA H100, B200, B300 GPUs in clusters of 88-1024 GPUs serving ~150 internal researchers.",
  "url": "https://allenai.org/blog/impactful-scheduling",
  "links": [],
  "authors": [
    "Ai2"
  ],
  "tags": [],
  "topics": "",
  "venue": "",
  "publisher": "",
  "source": "x",
  "language": "",
  "access": "free",
  "license": "",
  "published_year": null,
  "added_at": "2026-10-09T16:25:41.891Z",
  "verified_at": null,
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "allen_ai",
    "legacy_paper_id": "1632"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-09T16:25:41.891Z",
  "updated_at": "2026-10-09T16:25:41.891Z",
  "page": "https://papers.projxon.ai/entries/1325",
  "markdown": "https://papers.projxon.ai/entries/1325.md",
  "api": "https://papers.projxon.ai/api/entries/1325",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 1066,
      "kind": "idea",
      "title": "KV cache as GPU-memory bottleneck in Transformer serving (GQA/MQA, quantization, sliding window)",
      "summary": "Single long X note_tweet + diagram (2026-09-25) by @techNmak explaining that during inference model weights are mostly fixed while per-request KV state grows with every cached token across attention layers. Frames context length and concurrency as GPU-memory costs; notes GQA/MQA (fewer KV heads), KV quantization (fewer bytes), and sliding-window attention (bounded history) as levers; stresses caching avoids recomputing old K/V projections but full attention still reads the cache each decode step. Diagram gives KV bytes = 2×B×T×L×H_kv×d_k×s (example: 8K tokens ≈ 1 GiB at L=32, H_kv=8, d_k=128, FP16). Pure original explainer — no primary paper; one reply promo-linked github.com/kvcachestore/kvcdn-cli.",
      "url": "https://x.com/techNmak/status/2103488645642793165",
      "authors": [
        "Tech with Mak (@techNmak)"
      ],
      "tags": [
        "kv-cache",
        "llm-serving",
        "gpu-memory",
        "gqa",
        "mqa",
        "kv-quantization",
        "sliding-window",
        "attention",
        "prefill-decode",
        "technmak",
        "x-thread",
        "idea"
      ],
      "venue": "X / Tech with Mak",
      "source": "x",
      "license": "n/a (X post / educational graphic)",
      "published_year": 2026,
      "added_at": "2026-09-26T12:56:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1066",
      "markdown": "https://papers.projxon.ai/entries/1066.md",
      "api": "https://papers.projxon.ai/api/entries/1066"
    },
    {
      "id": 888,
      "kind": "paper",
      "title": "Hawkeye: Hardware-Aware GPU Kernel Optimization with Minimal Supervision",
      "summary": "HAWKEYE provides ~10 expert unit tests per architecture (one per recurring optimization strategy) so coding agents can stack hardware-specific optimizations across Ampere/Hopper/Blackwell/MI350 and low precisions (BF16, FP8, NVFP4, MXFP4), approaching or surpassing expert PyTorch/Triton. No numeric arXiv id found on AlphaXiv page (slug 2608.hawkeye-...); cataloged from AlphaXiv abstract.",
      "url": "https://www.alphaxiv.org/abs/2608.hawkeye-hardware-aware-gpu-kernel-optimizationv1",
      "authors": [
        "Arya Tschand",
        "Kesavan Ramakrishnan",
        "Alexander Ingare",
        "Simon Guo",
        "Jeffrey Ma",
        "Zishen Wan",
        "Simran Arora",
        "Azalia Mirhoseini",
        "Vijay Janapa Reddi"
      ],
      "tags": [
        "hawkeye",
        "gpu-kernels",
        "coding-agents",
        "triton",
        "hardware-aware",
        "alphaxiv"
      ],
      "venue": "alphaXiv",
      "source": "other",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-14T16:30:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/888",
      "markdown": "https://papers.projxon.ai/entries/888.md",
      "api": "https://papers.projxon.ai/api/entries/888"
    },
    {
      "id": 642,
      "kind": "paper",
      "title": "Automated Tensor Scheduling for Hybrid CPU-GPU LLM Inference on Consumer Devices",
      "summary": "ATSInfer (Nanjing University) extends llama.cpp (~15k C++ lines) for consumer hybrid inference. Static knapsack placement uses measured empirical performance density (latency per byte) plus backend-switch costs; load-aware dynamic transfer promotes CPU-resident tensors when PCIe overlap can hide the copy; async coordination splits compute vs copy-engine streams. Vs llama.cpp under the same VRAM budget: prefill up to 1.94×, decode up to 3.29× (laptop) / 3.12× (RTX 4090), ~70% higher average decode SM utilization. Also beats vLLM offload and KTransformers on the models those support. Hardware: RTX 3060 6GB+32GB (Qwen3-14B INT4, Qwen3-30B-A3B INT4, GPT-OSS-20B MXFP4, GLM-Z1-9B FP16) and RTX 4090 24GB+64GB (Llama 3.1-70B INT4, Qwen3-Next-80B-A3B INT4, Qwen3.5-122B-A10B INT4, GPT-OSS-120B MXFP4). No public code linked in the paper.",
      "url": "https://arxiv.org/abs/2607.10183",
      "authors": [
        "Yangyijian Liu",
        "Hongyi Ye",
        "Mingyang Li",
        "Wu-Jun Li"
      ],
      "tags": [
        "atsinfer",
        "llama-cpp",
        "offloading",
        "hybrid-inference",
        "moe",
        "nju",
        "x"
      ],
      "venue": "arXiv / Nanjing University",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-08-14T19:15:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/642",
      "markdown": "https://papers.projxon.ai/entries/642.md",
      "api": "https://papers.projxon.ai/api/entries/642"
    },
    {
      "id": 576,
      "kind": "paper",
      "title": "Cramming: Training a Language Model on a Single GPU in One Day",
      "summary": "Cramming: train a transformer MLM from scratch on one consumer GPU in 24h with no pretrained checkpoints. Scaling laws still hold at this budget, so architecture swaps barely move loss; gains come from faster steps at similar size (PreNorm, no QKV/FFN biases, sparse MLM head), a one-cycle LR, dropout-off, and filtered/sorted C4. A6000 1-day GLUE-dev 78.6 vs fully trained BERT-base 80.9 (MNLI 83.9/84.1 vs 83.2/83.4). Code https://github.com/JonasGeiping/cramming.",
      "url": "https://arxiv.org/abs/2212.14034",
      "authors": [
        "Jonas Geiping",
        "Tom Goldstein"
      ],
      "tags": [
        "cramming",
        "bert",
        "mlm",
        "scaling-laws",
        "glue",
        "single-gpu",
        "umd"
      ],
      "venue": "arXiv / University of Maryland",
      "source": "",
      "license": "",
      "published_year": 2022,
      "added_at": "2026-10-01T16:45:06.278Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 123,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/576",
      "markdown": "https://papers.projxon.ai/entries/576.md",
      "api": "https://papers.projxon.ai/api/entries/576"
    },
    {
      "id": 1398,
      "kind": "paper",
      "title": "Towards joint scaling laws with optimal batch size schedules",
      "summary": "Derives optimal batch-size schedules from LR schedules in closed form under a convex loss model. Given an LR schedule, horizon, and token budget, the noise-term-minimizing schedule is B_t^optim = (K/2)·η_t/√(∫₀ᵀη_k dk · ∫_tᵀη_k dk), with K = B_static·T — depends only on LR schedule shape and budget, independent of peak LR, weight decay, model size, architecture, or optimizer. Cosine LR → BS grows then declines; WSD → grows then plateaus; linear → exactly flat at B_static; constant LR → grows like 1/√(T−t). η_t/B_t is NOT a sufficient statistic (matched trajectories favor realizing the schedule through LR over BS, +0.017–0.743 val loss), so BS scheduling is an independent dimension. Scaling experiments (Llama3 dense, Qwen3 MoE, 0.1B–7B, up to 1e21 FLOPs, Fineweb-edu; peak LR ∝ 1/√T, same LR/WD for both): +15% compute efficiency on Llama3 at 50 TPP, +6% on Qwen3 MoE at 100 TPP; Llama3-1B best-perplexity gains 0.8%/2.5%/14.6% for cosine/WSD/constant; lm-eval-harness wins on all 8 tasks for both families. Joint scaling laws: peak LR and WD ∝ 1/√T, scale-free BS schedule, O(1/√T) convergence; universal dynamics (supercollapse) preserved. Holds on AdamW and Muon-NSGD; ablations incl. VLM post-training (dynamic wins 7/9 benchmarks) and math fine-tuning. Caveats: the cosine-derived schedule decays to zero at the end (proven endpoint behavior — nonzero-terminal-slope schedules give constant terminal BS instead); no practical floor prescribed, and end-of-training tiny batches are systems-impractical; convex foundation is empirical-fit, not a theorem; token-based compute optimality, not wall-clock. Zero overhead — it's a schedule-shape recipe, no extra tuning.",
      "url": "https://arxiv.org/abs/2607.27731",
      "authors": [
        "Jiaxiang Li",
        "Zhiqi Bu",
        "Shiyun Xu (affiliations in paper: Meta",
        "Independent researcher. Li: Assistant Professor @VT",
        "ex-RS @Meta",
        "PhD applied math)"
      ],
      "tags": [],
      "venue": "arXiv 2607.27731 (cs.LG/cs.AI/math.OC, submitted 30 Jul 2026; v1)",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-19T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1398",
      "markdown": "https://papers.projxon.ai/entries/1398.md",
      "api": "https://papers.projxon.ai/api/entries/1398"
    },
    {
      "id": 604,
      "kind": "code",
      "title": "KTransformers",
      "summary": "kvcache-ai/ktransformers is a CPU-GPU hybrid inference/SFT framework (MADSys Tsinghua / Approaching.AI / 9#AISoft). Current tree exposes kt-kernel serving (AMX/AVX INT4/INT8, NUMA-aware MoE, hot-GPU/cold-CPU experts, SGLang integration) and LLaMA-Factory SFT/DPO for ultra-large MoE on limited VRAM. README: DeepSeek-R1/V3 on a single 24GB GPU plus large DRAM; SFT DeepSeek-V3 ~80GB / 3.7 it/s on 4x RTX 4090, claimed 6-12x vs ZeRO-Offload in their MoE SFT benches. SOSP 2025 paper: AMX kernels, async CPU-GPU scheduling, Expert Deferral (CPU util <75% to ~100%, up to 1.45x extra throughput, <=0.5% avg accuracy drop). Apache-2.0. Docs site kvcache-ai.github.io/ktransformers.",
      "url": "https://github.com/kvcache-ai/ktransformers",
      "authors": [
        "Hongtao Chen",
        "Weiyu Xie",
        "Boxin Zhang",
        "Jingqi Tang",
        "Jiahao Wang",
        "Jianwei Dong",
        "Shaoyuan Chen",
        "Ziwei Yuan",
        "Chen Lin",
        "Chengyu Qiu",
        "Yuening Zhu",
        "Qingliang Ou",
        "Jiaqi Liao",
        "Xianglin Chen",
        "Zhiyuan Ai",
        "Yongwei Wu",
        "Mingxing Zhang"
      ],
      "tags": [
        "ktransformers",
        "moe",
        "inference",
        "amx",
        "cpu-gpu",
        "sglang",
        "llama-factory",
        "deepseek",
        "sosp-2025"
      ],
      "venue": "kvcache-ai (GitHub)",
      "source": "github",
      "license": "Apache-2.0",
      "published_year": 2024,
      "added_at": "2026-08-14T18:45:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": 19559,
      "page": "https://papers.projxon.ai/entries/604",
      "markdown": "https://papers.projxon.ai/entries/604.md",
      "api": "https://papers.projxon.ai/api/entries/604"
    }
  ]
}
