{
  "id": 1419,
  "kind": "post",
  "title": "One Search, Two Layers: Compiler Controls Inside PyTorch Helion Using NVIDIA CompileIQ",
  "summary": "Helion is PyTorch's Python-embedded DSL for GPU kernels (released 2025): write PyTorch with hl.tile, the autotuner explores thousands of Triton configs (block sizes, loop orders, num_warps, num_stages, indexing, pid_type, reduction_loops), lowering through TorchInductor → Triton → PTX → ptxas → SASS. The post's argument: every kernel autotuner (Helion, Triton, torch.compile) searches the same space — \"what work each thread block does\" — while a second space sits below it: how that work becomes machine assembly via ptxas (NVIDIA's PTX assembler), i.e. register allocation policy, fine-grained instruction scheduling, code-gen heuristics, exposed as tunable \"advanced controls\" since CUDA 13.3 and left at defaults by everything shipping today. Helion's new autotune_search_acf hands a list of Advanced Control Files (ACFs — binary, portable, versionable compile-time artifacts) to Helion's own autotuner as just another search dimension; the empty string (compiler defaults) is auto-appended so the default is always a candidate — worst case you get back the kernel you had. The substantive argument for joint search: sequential tuning finds a local optimum because the spaces are coupled through hardware — block size/stage count determine register pressure, and register allocation decides whether that pressure causes spills; a control set that would shine at block_sizes=[64,64] is never evaluated there if the kernel config was frozen first under default controls. ACFs are produced by NVIDIA's CompileIQ, which treats compiler-control selection as hyperparameter optimization (evolutionary search: propose population, compile each, correctness-check vs reference, time survivors, breed winners); pip install compileiq. Pre-tuned \"Booster Packs\" are published on CompileIQ's GitHub releases — the helion-booster-pack holds 24 ACFs tuned across Helion kernels, validated against ptxas from CUDA 13.4, targeting B200 — so the realistic workflow is download the pack, point autotune_search_acf at it, autotune once, pin the winner. Case study (all vendor/first-party, GB200 sm_100 Blackwell, ptxas 13.3.73 / CUDA 13.3, CompileIQ 1.0.3, Triton 3.8.0, locked clocks, correctness vs PyTorch reference, Welch's t-test p<0.05 + Cohen's d>0.2 on every claim): nvfp4_gemv_fp4in_kernel, a W4A4 NVFP4 decode GEMV (N=8192, K=28672 down_proj) that already ships a checked-in Helion AOT config — i.e. the baseline was already swept, so headroom is real. Runtime objective: 0.0971 → 0.0928 ms = 1.047× (4.7%), confirmed in two independent runs (d≈2.5). Occupancy objective (ncu metric): +0.16pp achieved occupancy → ~1.75–2.0% runtime win. Multi-objective (runtime + L1TEX throughput): 6.9% runtime speedup + 4.5pp L1TEX gain (81.51%→85.96%), one Pareto-dominant point, nothing traded off. Joint ACF across two shapes (down_proj + N=15360,K=5120): one ACF beats baseline on both (1.05× d=67.71, 1.01× d=4.54). Stated expectations: 2–7% on already-highly-optimized kernels (meaningful for decode-step kernels running fleet-wide), double digits on less-optimized ones. Caveats (authors' own): ACFs are hardware- and toolkit-specific (sm_90 ACF invalid on sm_100 — can produce incorrect results, not just slower code; correctness check in the search loop is not optional); search time is nontrivial — run offline on kernels that matter, then pin; gains are workload-specific (\"the only number that matters for your kernel is the one you measure on your kernel\"). Links: github.com/pytorch/helion, helionlang.com, helion examples/acfs, pretuned_kernels; github.com/NVIDIA/CompileIQ, nvidia.github.io/CompileIQ, NVIDIA's CompileIQ blog post.",
  "body": "",
  "notes": "Discovery: Hudson shared the official @PyTorch post 2026-10-19 12:00 PM ET (~9.1K views; https://x.com/PyTorch/status/2112212326057148443) linking via bit.ly to the blog post; attached infographic \"Where the search stops\": BEFORE — two tunable spaces, only one searched; WITH autotune_search_acf — one joint search space; Helion lowering pipeline @helion.kernel → Helion compiler → Triton kernel → PTX → ptxas (+ ACF) → SASS (what the GPU actually runs). Relevance: (1) his stack — he trains with custom FlashAttention kernels and cares about training throughput; kernel autotuning that searches the FULL lowering pipeline down to SASS instead of stopping at Triton is the systems/infra side of his efficiency cluster, and the joint-search argument (don't freeze one space before searching the other) generalizes to any of his kernel work; (2) the \"run once offline, pin the winner\" workflow maps to his pretraining infra — a few percent on decode-step or attention kernels compounds across a training run; (3) Launch Helm angle: none direct — this is training/systems infra, not monitoring. Cluster: kernels/compilation — ID 586 (Liger Kernel, Triton kernels for LLM training), ID 589 (SageAttention), ID 1206 (Hawkeye, hardware-aware GPU kernel optimization with minimal supervision — the closest neighbor: agent-driven hardware-specific optimization across Ampere/Hopper/Blackwell), ID 107 (KernelBook), #77 (Defeating Nondeterminism — batch-invariant kernels; shares the \"the lowering pipeline below Triton matters\" theme and the Triton-FA-backward detail), #75 (LoopQuant — PTQ for looped transformers; shares the ptxas-adjacent performance-engineering posture), queued #48 (xHC — fused Triton forward/backward kernels with measured training overhead). This entry is the first in the catalog to go below Triton into ptxas/SASS controls. | License: blog text has no stated reuse license — flag; Helion open source (PyTorch Foundation); CompileIQ under NVIDIA SLA (proprietary EULA); ACFs freely distributable",
  "url": "https://pytorch.org/blog/one-search-two-layers-compiler-controls-inside-pytorch-helion-using-nvidia-compileiq/",
  "links": [],
  "authors": [
    "PyTorch team",
    "with NVIDIA (published on the official PyTorch blog 2026-10-19",
    "individual author byline not shown on the page)"
  ],
  "tags": [],
  "topics": "",
  "venue": "PyTorch blog",
  "publisher": "",
  "source": "blog",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": null,
  "added_at": "2026-10-19T00:00:00.000Z",
  "verified_at": "2026-10-19T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "PyTorch",
    "legacy_paper_id": "1726"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-11-01T12:55:50.521Z",
  "updated_at": "2026-11-01T12:55:50.521Z",
  "page": "https://papers.projxon.ai/entries/1419",
  "markdown": "https://papers.projxon.ai/entries/1419.md",
  "api": "https://papers.projxon.ai/api/entries/1419",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 907,
      "kind": "paper",
      "title": "Stream of Search (SoS): Learning to Search in Language",
      "summary": "arXiv 2404.03683: represents search as flattened strings (Stream of Search) capturing exploration, verification, pruning, and backtracking. Demonstrated on Countdown arithmetic; SoS pretraining beats optimal-path-only training (~25% search accuracy lift in paper abstract framing); further STaR/APA finetuning solves previously unsolved problems. Code github.com/kanishkg/stream-of-search. Discord framed SoS as a native-CoT / o1-related method.",
      "url": "https://arxiv.org/abs/2404.03683",
      "authors": [
        "Kanishk Gandhi",
        "Denise Lee",
        "Gabriel Grand",
        "Muxin Liu",
        "Winson Cheng",
        "Archit Sharma",
        "Noah D. Goodman"
      ],
      "tags": [
        "stream-of-search",
        "sos",
        "search",
        "cot",
        "countdown",
        "arxiv:2404.03683"
      ],
      "venue": "arXiv 2404.03683; COLM 2024 (oral per secondary sources)",
      "source": "arxiv",
      "license": "",
      "published_year": 2024,
      "added_at": "2026-09-14T20:30:54.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 174,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/907",
      "markdown": "https://papers.projxon.ai/entries/907.md",
      "api": "https://papers.projxon.ai/api/entries/907"
    },
    {
      "id": 446,
      "kind": "paper",
      "title": "Is One Layer Enough? Training A Single Transformer Layer Can Match Full-Parameter RL Training",
      "summary": "Systematic layer-wise study of how reinforcement-learning post-training of large language models distributes its gains across transformer layers. Against the usual assumption that every layer should be updated uniformly, the authors find that training a single transformer layer recovers most of the improvement achieved by full-parameter RL training and in some cases surpasses it. They introduce \"layer contribution\", the fraction of full RL improvement recovered by training one layer in isolation, and measure it across seven models spanning two families (Qwen3, Qwen2.5), three RL algorithms (GRPO, GiGPO, Dr. GRPO) and task domains including mathematical reasoning, code generation and agentic decision-making. RL gains concentrate in a small subset of layers, and a consistent structural pattern emerges: high-contribution layers sit in the middle of the stack while layers near the input and output ends contribute substantially less. The resulting layer rankings stay strongly correlated across datasets, tasks, model families and RL algorithms.",
      "url": "https://arxiv.org/abs/2607.01232",
      "authors": [
        "Zijian Zhang",
        "Rizhen Hu",
        "Athanasios Glentis",
        "Dawei Li",
        "Chung-Yiu Yau",
        "Hongzhou Lin",
        "Mingyi Hong"
      ],
      "tags": [],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "arXiv (open); CC BY-NC-ND",
      "published_year": 2026,
      "added_at": "2026-08-11T21:52:01.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 3,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/446",
      "markdown": "https://papers.projxon.ai/entries/446.md",
      "api": "https://papers.projxon.ai/api/entries/446"
    },
    {
      "id": 1214,
      "kind": "benchmark",
      "title": "Vals Web Search Index: Evaluating Search for Real Work",
      "summary": "Third-party benchmark measuring whether an agent equipped with a given search tool can complete real professional tasks — holds the model and harness constant and swaps only the search tool, scoring the agent's final answer rather than ranked search results. Motivated by contamination/realism/leakage problems in static public search benchmarks: a 2026 study found a frontier model answered 44.5% of BrowseComp questions even without search tools. Tasks are expert-written finance questions (FAB v2) and legal questions (Legal Research Benchmark), more domains coming. Validation: agents score 2.9% on legal and 7.4% on finance without search vs 30-50% with search, showing the index measures search capability rather than intrinsic knowledge. Anti-contamination: results reported on held-out test data never shared externally; all evaluations run under Zero Data Retention (ZDR) with model providers. Launch partners: Exa (@ExaAILabs), Keenable (@KeenableAI), Tavily (@tavilyai), Parallel (@p0).",
      "url": "https://www.vals.ai/blogs/web-search-index",
      "authors": [
        "Vals AI (Nikil Ravi)"
      ],
      "tags": [
        "web-search-benchmark",
        "agent-evaluation",
        "vals",
        "browsecomp",
        "contamination",
        "zdr",
        "exa",
        "tavily"
      ],
      "venue": "Vals AI blog, 2 Oct 2026",
      "source": "blog",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-03T00: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/1214",
      "markdown": "https://papers.projxon.ai/entries/1214.md",
      "api": "https://papers.projxon.ai/api/entries/1214"
    },
    {
      "id": 876,
      "kind": "collection",
      "title": "NVIDIA Nemotron datasets (Hub search hub)",
      "summary": "Discord linked https://huggingface.co/nvidia/datasets?search=nemotron. Org hosts many Nemotron-* corpora (ClimbLab/ClimbMix, Post-Training, Personas, Cascade, Terminal, Instruction-Following, VLM, etc.). Several already scored in datasets_local under later mids.",
      "url": "https://huggingface.co/nvidia/datasets?search=nemotron",
      "authors": [
        "NVIDIA"
      ],
      "tags": [
        "nvidia",
        "nemotron",
        "org-hub",
        "post-training"
      ],
      "venue": "nvidia (Hugging Face)",
      "source": "huggingface",
      "license": "per-repo (often CC-BY / ODC-By / NVIDIA terms)",
      "published_year": null,
      "added_at": "2026-09-14T15:50:00.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/876",
      "markdown": "https://papers.projxon.ai/entries/876.md",
      "api": "https://papers.projxon.ai/api/entries/876"
    },
    {
      "id": 1346,
      "kind": "paper",
      "title": "One Model to Loop Them All: Elastic Latent Recurrence for Language Models",
      "summary": "Looped language models apply a shared block of layers repeatedly, so one checkpoint can trade inference compute for accuracy by changing the loop count — but existing elastic-depth models (Huginn, Ouro, Parcae) pay a \"one-loop tax\": at one loop they fall well short of a non-recurrent model of the same size, so a separate non-recurrent model remains the better choice whenever latency matters. Elastic Latent Recurrence (ELR) is NVIDIA's recipe for removing the tax, built on three choices. (1) An adaptive-delta state update: instead of replacing the recurrent state with the block's output, the state takes a gated step along the proposed change with a learned per-token, per-channel step size — the only update rule ablated that matches the baseline at one loop. (2) Loop counts mixed within each optimizer update via one-loop rank overrides (a rotating fraction of data-parallel ranks always runs one loop, keeping p₁≈⅓), which places one-loop and deeper gradients in the same update; uniform or globally reweighted sampling without overrides does not preserve the one-loop endpoint. (3) Loop-conditioned modulation: each pass is conditioned on its progress (i/k) and budget (k/K) through AdaLN/FiLM-style modulation, zero-initialized and grafted when mixed-depth training begins so the model starts as exactly the one-loop checkpoint; it lowers loss at every additional loop. Supporting tricks: delayed mixed-depth training (one loop for the first 75% of pretraining) costs ~1.16× baseline training compute and, with grafted conditioning, beats mixed-depth training from scratch; cross-loop route replay (reusing first-loop MoE expert routes on later loops) cuts mixed-depth update time 11.7% with no measurable accuracy change; last-loop KV caching keeps one attention cache overwritten per loop, holding KV memory at the one-loop level with 0–3-point per-benchmark cost. On Nemotron-3-style hybrid backbones (52 layers: 23 Gated DeltaProduct + 6 attention + 23 feed-forward, middle 24 looped), ELR at one loop scores −0.52 (4B dense, 1T tokens) and +1.04 (30B-A3B MoE, 300B tokens) versus matched non-recurrent baselines on a ten-task average, and four loops add +7.25 and +4.75 points, with the second loop capturing ~80–87% of the gain. Carried through 7T-token pretraining, 256K-context mid-training, SFT, and RLVR, the recipe yields Koi-4B, a single checkpoint scoring an estimated 18 on the Artificial Analysis Intelligence Index at one loop (on par with Qwen3.5-4B) and 29 at four loops, with higher-loop rollouts also producing ~33% fewer output tokens.",
      "url": "https://arxiv.org/abs/2610.12582",
      "authors": [
        "Faisal Ladhak",
        "Shantanu Acharya",
        "Santiago Akle Serano",
        "Simeng Sun",
        "Boris Ginsburg",
        "Krishna C Puvvada (NVIDIA)"
      ],
      "tags": [],
      "venue": "arXiv:2610.12582 (cs.CL)",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-12T00: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/1346",
      "markdown": "https://papers.projxon.ai/entries/1346.md",
      "api": "https://papers.projxon.ai/api/entries/1346"
    },
    {
      "id": 1024,
      "kind": "model",
      "title": "Cua-S1-4B-0.2 (multimodal computer-use decision LoRA + live RLOO)",
      "summary": "Cua-S1-4B-0.2 (announced 2026-09-23 by @trycua) is a pair of independently trained PEFT LoRA adapters (text/ and multimodal/) on frozen Qwen/Qwen3.5-4B for closed-option computer-use element/action selection. At each step the model sees screen state (ax-tree and/or screenshot), task goal, and a fixed candidate action set; it returns one action; the environment updates. Training recipe (thread): (1) supervised training for the decision format; (2) agentic RL (RLOO) in live cua-bench-basic environments with reward only on completed tasks. Author-reported held-out live episodes: 17/18 text and 13/18 multimodal vs zero-shot djev 16/18 and 12/18. On frozen GUI-360 multimodal hard cross-dataset split (168 tasks, no accessibility tree): overall 92.9% (ECE 0.069) vs untrained djev 60.1% (ECE 0.360) under same inputs/scoring. MODEL_CARD aggregates: text hard cross-dataset overall 0.875 (ECE 0.121); multimodal hard cross-dataset overall 0.929; live cua-bench-basic 0.944 text / 0.722 multimodal (20-step cap). Does not replace cua-s1-4b-0.1; both published. Family also includes cua-s1-nano-0.1 (~855K option-attention) and cua-s1-forms / form-v0 (jev-like form filler). Code MIT in libs/cua-s1 + libs/cua-bench-s1; adapter weights Apache-2.0 (~187 MB Hub); base Qwen3.5-4B under its own license.",
      "url": "https://x.com/trycua/status/2102800643794591833",
      "authors": [
        "Cua (trycua / cua-ai)"
      ],
      "tags": [
        "cua-s1",
        "cua-s1-4b-0.2",
        "trycua",
        "computer-use",
        "rloo",
        "lora",
        "qwen3.5-4b",
        "djev",
        "jev",
        "system-one",
        "gui-360",
        "cua-bench",
        "peft",
        "apache-2.0",
        "multimodal"
      ],
      "venue": "Cua / Hugging Face / GitHub trycua/cua",
      "source": "x",
      "license": "Adapters Apache-2.0; Cua-S1 Python source MIT; Qwen/Qwen3.5-4B base separate",
      "published_year": 2026,
      "added_at": "2026-09-24T01:53:35.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1024",
      "markdown": "https://papers.projxon.ai/entries/1024.md",
      "api": "https://papers.projxon.ai/api/entries/1024"
    }
  ]
}
