<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>GPU Inference Performance | Mobina Kashaniyan</title><link>https://mobinakashaniyan.github.io/tag/gpu-inference-performance/</link><atom:link href="https://mobinakashaniyan.github.io/tag/gpu-inference-performance/index.xml" rel="self" type="application/rss+xml"/><description>GPU Inference Performance</description><generator>Wowchemy (https://wowchemy.com)</generator><language>en-us</language><lastBuildDate>Wed, 16 Sep 2026 00:00:00 +0000</lastBuildDate><image><url>https://mobinakashaniyan.github.io/media/logo_hu_49df124fc4898e21.png</url><title>GPU Inference Performance</title><link>https://mobinakashaniyan.github.io/tag/gpu-inference-performance/</link></image><item><title>Sample Count Is Not Enough (arXiv:2609.19499): Why Candidate-Generation Strategy Matters for LLM Test-Time Scaling Energy and Performance</title><link>https://mobinakashaniyan.github.io/post/sample-count-is-not-enough-candidate-generation-llm-test-time-scaling/</link><pubDate>Wed, 16 Sep 2026 00:00:00 +0000</pubDate><guid>https://mobinakashaniyan.github.io/post/sample-count-is-not-enough-candidate-generation-llm-test-time-scaling/</guid><description>&lt;h2 id="new-paper-on-arxiv-260919499"&gt;New Paper on arXiv: 2609.19499&lt;/h2&gt;
&lt;p&gt;Our paper is now live on arXiv:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="https://arxiv.org/abs/2609.19499" target="_blank" rel="noopener"&gt;Sample Count Is Not Enough: Candidate-Generation Strategy Shapes the Energy and Performance of LLM Test-Time Scaling&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Authors: &lt;strong&gt;Mobina Kashaniyan&lt;/strong&gt;, &lt;strong&gt;Ali Jannesari&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;arXiv: &lt;a href="https://arxiv.org/abs/2609.19499" target="_blank" rel="noopener"&gt;2609.19499&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;DOI: &lt;a href="https://doi.org/10.48550/arXiv.2609.19499" target="_blank" rel="noopener"&gt;10.48550/arXiv.2609.19499&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;PDF: &lt;a href="https://arxiv.org/pdf/2609.19499" target="_blank" rel="noopener"&gt;arxiv.org/pdf/2609.19499&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Venue: 3rd IEEE/ACM SC26 Workshop on Energy Efficiency with Sustainable Performance (&lt;strong&gt;EESP&lt;/strong&gt;), co-located with &lt;strong&gt;SC26&lt;/strong&gt;, Chicago, USA, November 2026&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="what-is-llm-test-time-scaling"&gt;What Is LLM Test-Time Scaling?&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;LLM test-time scaling&lt;/strong&gt;, also called &lt;strong&gt;test-time compute&lt;/strong&gt; or &lt;strong&gt;inference-time scaling&lt;/strong&gt;, improves large language model reasoning by spending more compute at inference time. A common approach is to generate multiple candidate answers and then aggregate them, for example with &lt;strong&gt;self-consistency&lt;/strong&gt; or &lt;strong&gt;best-of-N&lt;/strong&gt; selection.&lt;/p&gt;
&lt;h2 id="why-candidate-count-alone-is-not-enough"&gt;Why Candidate Count Alone Is Not Enough&lt;/h2&gt;
&lt;p&gt;In sampling-based methods, the inference budget is often summarized by the candidate count &lt;strong&gt;N&lt;/strong&gt;. That number says how many candidates are generated, but not how they are executed on the GPU.&lt;/p&gt;
&lt;p&gt;The same &lt;strong&gt;N&lt;/strong&gt; can be produced as:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;one batched generation call with all candidates together, or&lt;/li&gt;
&lt;li&gt;several sequential generation calls with smaller batch sizes&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Those schedules have the same candidate count, but they can have very different &lt;strong&gt;latency, throughput, GPU-hours, utilization, and energy&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id="candidate-generation-strategy-and-generation-schedules"&gt;Candidate-Generation Strategy and Generation Schedules&lt;/h2&gt;
&lt;p&gt;In &lt;a href="https://arxiv.org/abs/2609.19499" target="_blank" rel="noopener"&gt;arXiv:2609.19499&lt;/a&gt;, we formalize the &lt;strong&gt;candidate-generation schedule&lt;/strong&gt; and compare four fixed-budget schedules at &lt;strong&gt;N=8&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;1×8&lt;/strong&gt;: one call with eight candidates&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;2×4&lt;/strong&gt;: two calls with four candidates each&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;4×2&lt;/strong&gt;: four calls with two candidates each&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;8×1&lt;/strong&gt;: eight serial calls with one candidate each&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="energy-and-performance-results-on-a100-gpus"&gt;Energy and Performance Results on A100 GPUs&lt;/h2&gt;
&lt;p&gt;We evaluate &lt;strong&gt;Phi-3-mini&lt;/strong&gt; and &lt;strong&gt;Qwen2.5-1.5B&lt;/strong&gt; on &lt;strong&gt;GSM8K&lt;/strong&gt;. Increasing &lt;strong&gt;N&lt;/strong&gt; from 1 to 8 improves accuracy, as expected. But at fixed &lt;strong&gt;N=8&lt;/strong&gt;, systems cost depends strongly on the schedule.&lt;/p&gt;
&lt;p&gt;On &lt;strong&gt;A100 GPUs&lt;/strong&gt;, eight serial calls use about &lt;strong&gt;4.64–4.86×&lt;/strong&gt; as much gross GPU-device energy and have about &lt;strong&gt;5.77–6.12×&lt;/strong&gt; the P95 latency of one batched eight-candidate call. Similar patterns appear across independently scheduled A100 nodes and in short-output SciQ/V100 experiments.&lt;/p&gt;
&lt;h2 id="practical-takeaway-for-efficient-llm-inference"&gt;Practical Takeaway for Efficient LLM Inference&lt;/h2&gt;
&lt;p&gt;When candidates are independent and memory allows it, &lt;strong&gt;fewer generation calls with larger batch sizes&lt;/strong&gt; are more efficient. Evaluations of multi-candidate test-time scaling should report not only candidate count and accuracy, but also:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;generation schedule&lt;/li&gt;
&lt;li&gt;calls per query&lt;/li&gt;
&lt;li&gt;candidates per call&lt;/li&gt;
&lt;li&gt;GPU-level systems metrics such as latency, throughput, and energy&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="our-paper"&gt;Our Paper&lt;/h1&gt;
&lt;p&gt;In our paper, &lt;strong&gt;“Sample Count Is Not Enough: Candidate-Generation Strategy Shapes the Energy and Performance of LLM Test-Time Scaling” (&lt;a href="https://arxiv.org/abs/2609.19499" target="_blank" rel="noopener"&gt;arXiv:2609.19499&lt;/a&gt;)&lt;/strong&gt;, we show that the systems cost of multi-candidate LLM inference depends on how candidates are grouped into generation calls, not only on how many candidates are generated.&lt;/p&gt;
&lt;p&gt;This work was accepted to the &lt;strong&gt;3rd IEEE/ACM SC26 Workshop on Energy Efficiency with Sustainable Performance (EESP)&lt;/strong&gt;, co-located with &lt;strong&gt;SC26&lt;/strong&gt; in Chicago, USA (pages 1–8, November 2026).&lt;/p&gt;
&lt;p&gt;Authors: &lt;strong&gt;Mobina Kashaniyan&lt;/strong&gt; and &lt;strong&gt;Ali Jannesari&lt;/strong&gt;, Iowa State University.&lt;/p&gt;
&lt;h2 id="abstract"&gt;Abstract&lt;/h2&gt;
&lt;p&gt;Test-time scaling can improve large language model reasoning by generating and combining multiple candidate responses. In sampling-based methods, the inference budget is often described by the number of generated candidates, N. However, N tells us how many candidates are generated, not how they are executed. The same candidate budget can be produced in one batched generation call or split across several sequential calls with smaller batch sizes.&lt;/p&gt;
&lt;p&gt;We first study the effect of increasing N on reasoning accuracy using Phi-3-mini and Qwen2.5-1.5B on 500 GSM8K prompts. As expected, increasing N from 1 to 8 improves accuracy by 8.4 percentage points for Phi-3-mini and 18.4 points for Qwen2.5-1.5B. However, accuracy alone does not show the systems cost of using a larger candidate budget.&lt;/p&gt;
&lt;p&gt;We therefore fix N=8 and compare four generation schedules: 1×8, 2×4, 4×2, and 8×1, where a×b denotes a generation calls with b candidates per call. We measure latency, throughput, GPU-hours, and gross GPU-device energy while keeping the total candidate count fixed. On A100 GPUs, eight serial calls use 4.64–4.86× as much gross GPU-device energy and have 5.77–6.12× the P95 latency of one batched call with eight candidates.&lt;/p&gt;
&lt;p&gt;The same pattern appears across three independently scheduled A100 nodes per model and in short-output SciQ/V100 experiments. These results show that candidate count alone is not enough to describe the systems cost of multi-candidate test-time scaling. When candidates are independent and memory allows it, fewer generation calls with larger batch sizes are more efficient. Evaluations should therefore report not only candidate count and accuracy, but also generation schedule and GPU-level systems metrics.&lt;/p&gt;
&lt;h2 id="paper-links"&gt;Paper Links&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Sample Count Is Not Enough: Candidate-Generation Strategy Shapes the Energy and Performance of LLM Test-Time Scaling&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Mobina Kashaniyan and Ali Jannesari&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/abs/2609.19499" target="_blank" rel="noopener"&gt;arXiv Abstract&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/pdf/2609.19499" target="_blank" rel="noopener"&gt;arXiv PDF&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://doi.org/10.48550/arXiv.2609.19499" target="_blank" rel="noopener"&gt;DOI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/html/2609.19499" target="_blank" rel="noopener"&gt;HTML&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://mobinakashaniyan.github.io/publication/sample-count-candidate-generation/" target="_blank" rel="noopener"&gt;Publication Page&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Venue: 3rd IEEE/ACM SC26 Workshop on Energy Efficiency with Sustainable Performance (EESP), co-located with SC26, Chicago, USA, November 2026&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="cite-this-paper"&gt;Cite This Paper&lt;/h2&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bibtex" data-lang="bibtex"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nc"&gt;@inproceedings&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;kashaniyan2026sample&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="na"&gt;title&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;{Sample Count Is Not Enough: Candidate-Generation Strategy Shapes the Energy and Performance of {LLM} Test-Time Scaling}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="na"&gt;author&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;{Kashaniyan, Mobina and Jannesari, Ali}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="na"&gt;booktitle&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;{Proceedings of the 3rd IEEE/ACM SC26 Workshop on Energy Efficiency with Sustainable Performance (EESP)}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="na"&gt;pages&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;{1--8}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="na"&gt;year&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;{2026}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="na"&gt;note&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;{arXiv:2609.19499}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="na"&gt;doi&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;{10.48550/arXiv.2609.19499}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="na"&gt;url&lt;/span&gt; &lt;span class="p"&gt;=&lt;/span&gt; &lt;span class="s"&gt;{https://arxiv.org/abs/2609.19499}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Kashaniyan, M., &amp;amp; Jannesari, A. (2026). Sample count is not enough: Candidate-generation strategy shapes the energy and performance of LLM test-time scaling. &lt;em&gt;arXiv preprint arXiv:2609.19499&lt;/em&gt;. &lt;a href="https://doi.org/10.48550/arXiv.2609.19499" target="_blank" rel="noopener"&gt;https://doi.org/10.48550/arXiv.2609.19499&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="llm-test-time-scaling-energy-and-performance"&gt;LLM Test-Time Scaling Energy and Performance&lt;/h2&gt;
&lt;h2 id="candidate-generation-strategy-for-multi-candidate-inference"&gt;Candidate-Generation Strategy for Multi-Candidate Inference&lt;/h2&gt;
&lt;h2 id="batched-vs-serial-generation-schedules-for-test-time-compute"&gt;Batched vs Serial Generation Schedules for Test-Time Compute&lt;/h2&gt;
&lt;h2 id="sustainable-and-energy-efficient-llm-inference-on-gpus"&gt;Sustainable and Energy-Efficient LLM Inference on GPUs&lt;/h2&gt;
&lt;h2 id="arxiv-260919499-llm-energy-efficiency-sc26-eesp"&gt;arXiv 2609.19499 LLM Energy Efficiency SC26 EESP&lt;/h2&gt;</description></item></channel></rss>