Hayula Research Paper

Large language model (LLM) inference on consumer-grade hardware remains bottlenecked by autoregressive decoding, where each token requires a separate forward pass through the model. Speculative decoding mitigates this by using a small draft model to propose multiple tokens per step, but introduces a verifier overhead that can negate gains on memory-bandwidth-constrained systems such as Apple Silicon. We present PIPO-Hayula, an implementation of the Pair-In-Pair-Out (PIPO) multi-token prediction framework (arXiv:2605.27255) adapted for the Apple M2 Ultra system-on-a-chip. PIPO replaces the traditional draft-verify pipeline with a single latent-space transformation that predicts two tokens from two input tokens in a single forward pass, eliminating the verifier entirely. Our implementation integrates with Ollama and llama.cpp to target Qwen2.5:72b (Q4\_K\_M, 47.4 GB) running at 10–15 tok/s on a Mac Studio M2 Ultra with 192 GB unified memory. We demonstrate a theoretical first-token speedup of up to 2.64× over standard autoregressive decoding, with substantially lower memory overhead than conventional speculative decoding approaches. The PIPO-Hayula module is deployed as part of the Hayula Gateway fallback chain, routing through local M2 models → Qwen2.5:72b → OpenRouter, serving approximately 199,000 requests per month. Our results establish PIPO as a practical, production-ready technique for accelerating local LLM inference on memory-bandwidth-limited Apple Silicon hardware.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-07-24
DOI
https://doi.org/10.5281/zenodo.21537215
Primary Topic
Big Data and Digital Economy
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Hayula Research Paper

Yahya Saqban
Zenodo (CERN European Organization for Nuclear Research)
Big Data and Digital Economy
article

Hayula Research Paper

Yahya Saqban
article en

Abstract

Large language model (LLM) inference on consumer-grade hardware remains bottlenecked by autoregressive decoding, where each token requires a separate forward pass through the model. Speculative decoding mitigates this by using a small draft model to propose multiple tokens per step, but introduces a verifier overhead that can negate gains on memory-bandwidth-constrained systems such as Apple Silicon. We present PIPO-Hayula, an implementation of the Pair-In-Pair-Out (PIPO) multi-token prediction framework (arXiv:2605.27255) adapted for the Apple M2 Ultra system-on-a-chip. PIPO replaces the traditional draft-verify pipeline with a single latent-space transformation that predicts two tokens from two input tokens in a single forward pass, eliminating the verifier entirely. Our implementation integrates with Ollama and llama.cpp to target Qwen2.5:72b (Q4\_K\_M, 47.4 GB) running at 10–15 tok/s on a Mac Studio M2 Ultra with 192 GB unified memory. We demonstrate a theoretical first-token speedup of up to 2.64× over standard autoregressive decoding, with substantially lower memory overhead than conventional speculative decoding approaches. The PIPO-Hayula module is deployed as part of the Hayula Gateway fallback chain, routing through local M2 models → Qwen2.5:72b → OpenRouter, serving approximately 199,000 requests per month. Our results establish PIPO as a practical, production-ready technique for accelerating local LLM inference on memory-bandwidth-limited Apple Silicon hardware.

Zenodo (CERN European Organization for Nuclear Research)
Tula University (RU)
Openalex Percentile: Top 3%
Big Data and Digital Economy
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Hayula Research Paper — Yahya Saqban · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS