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.