arXiv Science⌕ Search

arXiv subjects

Tenghao Zhao

Publications and source records attributed to Tenghao Zhao.

2 recordsLinked to original sources

Tetris: Accelerating Composable Test-Time Scaling on GPU-PIM Systems via Adaptive Mapping, Control, and Memory Management

Test-time scaling (TTS) enhances large language model (LLM) reasoning by spending additional inference-time computation to explore reasoning paths. Specifically, verifier-free TTS leverages LLM-internal signals to guide path expansion, merge, and early termination, and is increasingly adopted in coding and agentic applications. However, composing these actions within a request reshapes its workload and KV-cache state. While hybrid GPU-PIM systems have been proposed to accommodate the heterogeneous compute and bandwidth requirements of verifier-free TTS, prior systems often leverage a static GPU/PIM mapping or coarse-grained remapping, suffering from suboptimal workload split, frequent KV-cache allocation/reclamation, and synchronization stalls at reasoning boundaries. In this paper, we propose Tetris, an adaptive GPU-PIM architecture with three TTS-aware mechanisms: action-boundary online mapping to rebalance evolving workloads, controller-local KV-state management, and speculative metadata preparation to overlap control coordination with inference. Across three MoE models and six TTS frameworks, Tetris reaches an 8.89x speedup over optimized GPU execution and averages 2.78x over AttAcc and 1.87x over tuned ORCHES at matched action boundaries.

cs.AR↗

HBFlex: A Flexible Memory System for Bridging Fine-Grained LLM States and Coarse-Grained HBF Parallel Execution

Large language models (LLMs) require increasing memory capacity to accommodate growing model weights and KV caches. High-Bandwidth Flash (HBF) offers high memory density and aggregate read bandwidth through massive plane-level parallelism, making it an attractive option for LLM serving. However, serving LLMs entirely from HBF introduces three challenges: fine-grained KV reads create placement and access imbalance, incremental writes interfere with foreground reads, and mixed KV lifetimes amplify garbage collection. Hybrid HBM/HBF designs retain HBM to support dynamic KV management, but this allocation reduces the HBF resources available under a fixed packaging budget, limiting aggregate HBF bandwidth. We present HBFlex, a full-HBF memory system with coordinated optimizations for KV reads, writes, and reclamation. HBFlex balances KV placement and attention accesses to improve plane utilization. It aggregates incremental updates and schedules writeback within sufficiently long compute windows to reduce write--read interference. It also combines lifetime-guided block packing with deferred reclamation to reduce valid-page migration. We evaluate HBFlex through trace-driven simulation across different configurations. HBFlex achieves average throughput speedups of up to 1.58$\times$ over FlashAccel and 3.30$\times$ over H3, benefiting from higher HBF bandwidth and more efficient management of dynamic KV-cache reads, writes, and erases.

cs.AR↗