PyTorchKR Papers

업데이트된 논문

총 92편
태그·기간 등 상세 필터

카테고리 탐색

arXiv:2611.11533v2cs.DC

Ostinato: Low-Latency CPU-GPU MoE Inference for Local Agents

Language-model agents increasingly run on local workstations with consumer GPUs, where quantized mixture-of-experts (MoE) models split routed experts between GPU and host memory. Prefix-cached agent sessions alternate single-token decode with short tool-return prefills, typically up to a few hundred tokens. Short tool turns touch more experts than consumer GPUs can hold, yet direct roughly 85% of DeepSeek-V4-Flash's routes to a static GPU pool while leaving 3.3-5.5 tokens per cold expert. Widely used local engines such as llama.cpp and KTransformers either copy tens of gigabytes over PCIe per turn, compute every route on the CPU while idling resident GPU experts, or budget GPU memory by whole layers and uniform per-layer quotas. We present Ostinato, a CPU-GPU MoE engine that reuses one static cross-layer GPU pool in place across every forward pass. During decode and short tool turns, Ostinato computes resident routes on the GPUs and sparse cold routes on the CPU, so short turns copy no expert weights; on long prefills, it deduplicates cold uploads; and for multi-GPU decode, all-zero expert slots with device-side synchronization capture each GPU's decode step in one CUDA graph. Across held-out SWE and -bench sessions on three MoE models, Ostinato cuts median tool-turn waits by 2.5-6.6x and finishes sessions 1.36-3.83x faster than default baselines, staying 1.30-1.94x faster when baselines align their upload threshold and weight loading. It finishes sessions fastest across seven agent workloads, one to four GPUs, and up to eight concurrent sessions, while its cross-layer pool speeds up 335 GB DeepSeek-V4.1-Flash by 1.81-2.19x over llama.cpp's expert cache.

arXiv:2609.29395v2cs.DC

Reducing Fixed-Batch Client Idleness in Many-Client Edge Split Learning

Parallel Split Learning with Global Sampling (GPSL) trains a split model on a fixed-size batch drawn from the data of all clients. When the client population is much larger than the batch, most clients contribute no data in a round, and additional server capacity does not change this. We propose Global Clustered Parallel Split Learning (GCPSL), which assigns clients to stable clusters, runs one GPSL workload per cluster concurrently, and periodically fuses the split-model replicas. We derive the expected direct data participation under the batch sampler, which separates repeated sampling of the same clients from idling at the fusion barrier. With 256 clients, more clusters raise participation but reduce the client diversity seen by each workload. In three paired runs on four H100 GPUs, GCPSL raises direct data participation from 22% to 57-60%. With random or size-balanced clusters, it reaches 85% CIFAR-10 validation accuracy in 5.7 minutes, 1.6 times faster than GPSL with its batch sharded across the same GPUs. It matches per-step synchronized data-parallel GPSL at 85% and reaches 88% in about 10 instead of 19.5 minutes, without per-step global gradient or BatchNorm synchronization. Concurrent execution is 3.11 times faster than sequential execution of the same workloads.

arXiv:2606.11390v2cs.CV

Large-Scale Gaussian Splatting with a Multi-GPU PyTorch Backend

Gaussian splatting methods have become increasingly popular for neural reconstruction of the real world. However, they are often limited in scale and resolution due to compute and memory constraints. We present a multi-GPU Gaussian splatting approach that scales reconstruction to higher resolutions and larger scenes while abstracting away the code complexity typically associated with distributing a model. We demonstrate city-scale reconstructions with street-level detail consisting of over 1 billion Gaussian splats. To accomplish this, we propose a PyTorch backend that distributes parameters and operators across GPUs via CUDA unified memory, with optional NVLink support. Because distribution occurs at the operator level, the model code requires no explicit cross-device communication. More broadly, the backend exposes multiple GPUs as an aggregate asynchronous PyTorch device and supports a broad set of PyTorch operators enabling the distribution of general PyTorch workloads.

arXiv:2605.06068v3cs.AI

VibeServe: Can AI Agents Build Bespoke LLM Serving Systems?

For years, we have built LLM serving systems like any other critical infrastructure, with a single general-purpose stack hand-tuned over many engineer-years to support every model and workload. In this paper, we instead let coding agents build bespoke serving systems for different usage scenarios. We propose VibeServe, the first agentic loop that generates entire LLM serving stacks end-to-end. VibeServe uses an outer loop to plan and track the search over system designs, and an inner loop to implement candidates, check correctness, and measure performance on the target benchmark. In standard serving settings, VibeServe matches vLLM and SGLang on Llama-3.1-8B, and delivers 2.3x the goodput of a tuned SGLang for a 397B MoE model on four AMD MI300As. In five non-standard scenarios, VibeServe outperforms existing systems by exploiting opportunities that generic systems miss, spanning non-standard model architectures, workload knowledge, and hardware-specific optimizations. Together, these results show that coding agents can construct and specialize competitive serving systems across heterogeneous deployment targets. Code is available at https://github.com/uw-syfi/vibesys.

arXiv:2412.08534v3cs.DC

Protecting Confidentiality, Privacy and Integrity in Collaborative Learning

A collaboration between dataset owners and model owners is needed for effective machine learning (ML) training. During this collaboration, however, dataset owners and model owners want to protect the confidentiality of their respective assets (i.e., datasets, models and training code), with the dataset owners also caring about the privacy of individual users whose data is in the datasets. Existing solutions provide limited confidentiality for models and training code, suffer from data privacy issues, or incur unacceptable performance. We present Citadel++, a collaborative ML training system to simultaneously protect the confidentiality of datasets, models and training code as well as the privacy of individual user data. Specifically, Citadel++ takes a chained approach. First, we employ the Virtual Machine-level Trusted Execution Environments (TEEs) as the training runtime to provide confidentiality protections for datasets, model and training code. Second, we create a privacy barrier that improves upon differential privacy techniques to safeguard the privacy of individual user data while maintaining model utility. Third, we construct and optimize a Virtual Machine Privilege Level (VMPL)-enforced fine-grained sandbox to regulate the dataflow in the system to ensure that our privacy barrier is always applied even when the model and training code maybe maliciously designed. Finally, we employ specific TEE capabilities to ensure the integrity of our privacy barrier and sandboxing mechanisms for their correct execution. To our knowledge, Citadel++ is the first collaborative training system providing strong confidentiality and privacy protections for dataset owners and model owners simultaneously. We analyze Citadel++ security properties and implement a full prototype. Our evaluation shows that Citadel++ provides strong guarantees with modest overheads.

arXiv:2609.34818v3cs.DC

Using the Whole Slice: AlphaFold2 Inference on an Eight-Chip TPU v5e

AlphaFold2 is written in JAX. JAX treats each chip of a tensor processing unit (TPU) slice as a separate device. A JAX program does not spread its work over the chips by itself, so a user who runs AlphaFold2 on a slice can pay for chips that do nothing. We found no published measurement of how AlphaFold2 inference uses a multi-chip TPU slice. Our goal was to measure how much of an eight-chip TPU v5e slice AlphaFold2 inference uses, and which way of mapping the work in JAX uses all of it. Across 12 experiments, the model used random weights, so we studied execution, not prediction quality. By default, only one chip held data. Batching up to eight input sequences (queries) of 118 residues on one chip with JAX's vmap did not raise throughput. Mapping independent queries to the chips with JAX's pmap ran them in parallel on all eight chips. On a grid of 1 to 8 chips and 100 to 1000 residues, eight chips gave 6.5 to 7.9 times the throughput of one chip. JAX's automatic partitioning did not shorten the call for one query. Our program did not tell the partitioner how to split any array across the chips.

arXiv:2602.11776v5cs.LG

MUSE: 매끄러운 모델 업데이트를 지원하는 멀티테넌트 모델 서빙

MUSE: Multi-Tenant Model Serving With Seamless Model Updates

이진 분류 시스템에서 결정 임계값은 모델 점수를 행동으로 변환한다. 적절한 임계값을 선택하는 일은 기반 모델 점수의 특정 분포뿐만 아니라 해당 모델을 사용하는 각 고객의 특정 비즈니스 결정에도 좌우된다. 그러나 모델을 재학습하면 불가피하게 점수 분포가 변하여 기존 임계값이 무효화된다. 결정 경계가 고객이 관리하는 인프라에 존재하는 멀티테넌트 Score-as-a-Service 환경에서는 이것이 심각한 병목을 만든다. 재보정을 위해 수백 개 고객에 걸쳐 임계값 업데이트를 조율해야 하므로 과도한 인력 시간이 소모되고 모델 정체로 이어진다. 본 논문에서는 모델 점수를 고객의 결정 경계와 분리함으로써 매끄러운 모델 업데이트를 가능하게 하는 모델 서빙 프레임워크 MUSE를 소개한다. 멀티테넌시를 위해 설계된 MUSE는 동적 의도 기반 라우팅을 통해 모델을 공유하여 인프라 재사용을 최적화하고, 모델 출력을 안정적인 기준 분포로 매핑하는 2단계 점수 변환을 결합한다. Feedzai에서 대규모로 배포된 MUSE는 수십 개 테넌트에 걸쳐 초당 4천 건 이상의 이벤트를 처리하며 최근 12개월간 550억 건 이상의 이벤트를 처리하는 동시에 고가용성과 저지연 보장을 유지한다. MUSE는 모델 리드 타임을 수 주에서 수 분으로 단축함으로써 변화하는 공격에 대한 모델 회복력을 높이고 사기 손실과 운영 비용에서 수백만 달러를 절감한다.

arXiv:2512.05134v3cs.CV

Fine-Grained Caching for Diffusion Transformers with Few Calibration Conditions

Diffusion transformers require repeated denoiser evaluations, making image and video generation computationally expensive. We propose a training-free framework that uses a few calibration conditions to construct a fixed, fine-grained module-reuse schedule without schedule search. The design is motivated by an empirical effect along deterministic sampling trajectories: with initial noise fixed, condition-dependent deviations in several module outputs evolve similarly across adjacent steps, so temporal differencing attenuates much of their variation. We term this effect Conditional Common-Mode Rejection (CCMR). Motivated by this observation, we rank timestep--layer--module locations using normalized ratios of consecutive feature displacements and construct a Cache Book through two-stage calibration. The second stage updates a scorer-only reference with each provisional bit after recording its indexed score, while retaining full-compute trajectories. At inference, the fixed schedule requires no per-input policy estimation and can be nested within fixed step-wise cache policies. Module caching alone achieves $1.66$--$1.72\times$ speedup on the evaluated image models and $1.54$--$1.68\times$ on the video models. Combining it with MagCache or SeaCache provides further acceleration at a model-dependent cost in paired fidelity.

arXiv:2611.18145v2cs.DC

Obaleth: Build Your Own GPU Communication Stack

기계학습 시스템은 연산을 워크로드와 하드웨어에 맞게 특화하지만, 통신은 장치 코드와 전송 결정이 고수준 컴파일러에 보이지 않는 범용 라이브러리에 남아 있다. 우리는 GPU 주도 통신을 커널의 중간 표현에 포함시키고, 연산과 함께 공동 최적화하여 특화된 전송 코드로 낮추는 컴파일러 Obaleth를 제시한다. Obaleth는 버퍼 수명을 기준으로 완료 처리를 계획하고, NVIDIA와 AMD GPU 전반에서 메모리 순서, 동기화, 배치 처리를 최적화한다. H100 GPU에서 Obaleth는 작은 메시지를 최대 3.3$\times$ 더 빠르게 전송하며, 256개 GPU에서 all-to-all을 NVSHMEM 및 NCCL GIN보다 각각 1.25$\times$, 2.3$\times$ 더 빠르게 수행하면서 메모리와 레지스터 사용량은 훨씬 적다. vLLM에서는 16개의 B200 GPU로 Qwen3-235B를 서빙하며, DeepEP를 사용할 때보다 요청에 최대 1.29$\times$ 더 빠르게 응답한다.

arXiv:2609.36954v3cs.DC

Purlin: Separating Orchestration from the Datapath of Collectives

Distributed inference depends on GPU collective communication that must keep pace with evolving hardware and specialized workloads. However, existing works often couple the semantics, orchestration (where and when data moves), and datapath (how data moves) of collective communication. This coupling makes it costly to adopt new hardware mechanisms and customize communication for applications. We present Purlin, a scale-up communication framework that separates these concerns. At the top of Purlin, we specify collectives as a transformation from an input to an output layout. In the middle, we introduce a shared protocol, Stage, Notify, And Consume (SNAC), which derives orchestration from these specifications. Below SNAC sits a hardware-specific datapath we call Atom, which implements two key data movement primitives for collectives: copy and reduce. This separation lets us customize collectives and adopt new hardware mechanisms while reusing orchestration via SNAC. We evaluate Purlin on A100, H200, and B200 GPUs. Across seven collectives, Purlin achieves latency speedups of up to 5.14x and bandwidth improvements of up to 4.50x over baselines. Integrated into SGLang, Purlin improves offline LLM serving throughput and interactivity by 1.13x on average and up to 1.37x over baselines. For online LLM inference, Purlin improves interactivity by 1.26x on average and up to 2.85x, with the largest gain occurring under overload. For diffusion image generation, Purlin reduces end-to-end latency by up to 1.13x.

arXiv:2608.06557v2cs.DC

Cascade: 공정하고 높은 유효 처리량의 LLM 추론 서빙을 위한 SLO 인식 지연 시간 예산 활용

Cascade: Exploiting SLO-Aware latency budget for fair and high goodput LLM inference serving

The reasoning and agentic capabilities of LLMs have expanded the range of applications they support, from short interactive exchanges to long, prefix-heavy requests. LLM serving platforms today define response-latency service-level objectives (SLOs), yet requests under the same SLO differ by orders of magnitude in input length, generation length, execution cost, and reusable KV-cache availability, leaving each request with a different amount of latency headroom. This headroom must cover not only execution, but also scheduling and preemption delays and the cost of retrieving KV state from deeper memory tiers. Existing systems manage these decisions independently, despite their combined impact on latency. We present Cascade, an LLM serving system that coordinates these decisions using a per-request latency budget: the difference between a request's SLO and its predicted remaining service time, continuously updated from request characteristics, KV-cache state, and system load. Cascade uses this budget to prioritize requests and to decide how much non-resident KV state to prefetch from deeper tiers, with the remainder fetched on demand or recomputed given the serving system. On production traces across three LLMs, Cascade improves goodput by 10.4x over vLLM and 1.8x over a SLO-aware scheduler, and reduces SLO violations by 76% and 31%, respectively, while remaining fair across heterogeneous requests.

arXiv:2606.17508v2cs.LG

다음 단계가 하나의 단계가 아닐 때: 동시성 Go 프로그램을 위한 분포 인식 실행 모델링

When the Next Step Is Not One Step: Distribution-Aware Execution Modeling for Concurrent Go Programs

Predicting the next scheduler event of a concurrent program is ill-posed as single-label classification: repeated runs from the same trace prefix produce different, equally valid next events. We formulate next-event prediction for concurrent Go programs as estimating an empirical next-event distribution obtained from repeated executions, and release a benchmark with 945 training examples from hand-written and generated programs and 798 held-out predictions on 54 real-world GoKer bug kernels from systems such as CockroachDB, Kubernetes, gRPC and etcd. We fine-tune Qwen2.5-Coder-7B with low-rank adapters under a cross-entropy objective and a KL-to-empirical-distribution objective and compare them with zero-shot models and trivial baselines. The outcome is a neutral-to-negative result. The fine-tuned adapters (re-evaluated: 36.3% cross-entropy, 33.6% KL; originally reported 36.2% and 35.8%) are statistically indistinguishable from always predicting the majority event (35.5%), and an event n-gram model reaches 33-34%. Because each held-out prompt carries labels from about five runs, no deterministic predictor can exceed 58.9% top-1 accuracy, so we report macro-F1, balanced accuracy, per-class recall, program-clustered confidence intervals and binned calibration measured directly on both adapters. A sensitivity study with 100 runs per program shows that five-run targets are noisy (mean total-variation distance 0.24 from a 100-run reference), which plausibly limits what the KL objective can learn. Rare event types are essentially never predicted. A select-block goroutine-leak signature follows from scheduler semantics rather than learning. We release the data, adapters and tooling.

arXiv:2511.18841v2cs.LG

Federated style aware transformer aggregation of representations

Personalized Federated Learning (PFL) faces persistent challenges, including domain heterogeneity from diverse client data, data imbalance due to skewed participation, and strict communication constraints. Traditional federated learning often lacks personalization, as a single global model cannot capture client-specific characteristics, leading to biased predictions and poor generalization, especially for clients with highly divergent data distributions. To address these issues, we propose FedSTAR, a style-aware federated learning framework that disentangles client-specific style factors from shared content representations. FedSTAR aggregates class-wise prototypes using a Transformer-based attention mechanism, allowing the server to adaptively weight client contributions while preserving personalization. Furthermore, by exchanging compact prototypes and style vectors instead of full model parameters, FedSTAR significantly reduces communication overhead. Experimental results demonstrate that combining content-style disentanglement with attention-driven prototype aggregation improves personalization and robustness in heterogeneous environments without increasing communication cost.

arXiv:2203.06158v4cs.LG

수십억 규모의 예약 작업을 위한 개인화된 실행 시간 최적화

Personalized Execution Time Optimization for Billion-Scale Scheduled Jobs

예약된 배치(batch) 작업은 프로모션 알림 및 추천 시스템을 위한 후보 사전 계산과 같은 엔터프라이즈 애플리케이션을 실행하기 위해 비동기 컴퓨팅 플랫폼에서 널리 사용됩니다. 적절한 시점에 정보를 전달하거나 업데이트하는 것은 사용자 경험과 실행 효과에 중요하지만, 합리적인 인프라 비용을 유지하면서 다양한 제품 시나리오에 걸쳐 범용적이고 개인화된 실행 시간 최적화 솔루션을 제공하는 것은 여전히 어려운 과제입니다. 본 논문에서는 일일 수십억 명의 사용자에게 서비스를 제공하며, 실행 시간 선택을 위해 랭킹 학습(learning-to-rank)과 "최적 시간 정책(best time policy)"을 결합한 실제 배포 시스템을 제시합니다. 우리는 접근 방식의 4단계 발전을 설명합니다. 즉, 휴리스틱 기반의 피크 시간 규칙에서 시작하여, 포인트와이즈(pointwise) 머신러닝(ML) 기반 활동 패턴 예측, 전역적으로 고정된 가중치를 갖는 선형 신호 어셈블러를 거쳐, 최종적으로 리스트와이즈(listwise) 랭킹 학습 목표로 학습된 신경망 정책 네트워크를 통해 사용자별 적응형 융합 가중치를 생성하는 맥락적(contextual) 앙상블(ensemble) 학습기에 이르기까지의 과정입니다. 또한 사용 사례 간 카니발라이제이션(cannibalization) 효과의 발견을 보고하고 이를 완화하기 위한 조정 시스템을 소개합니다. 프로덕션 실험을 통해 실행 효율성과 다운스트림 제품 효과 모두에서 측정 가능한 개선을 입증합니다. 아울러 4년 동안 대규모로 이 시스템을 운영하며 축적된 실패 분석 및 설계 결정을 포함한 배포 교훈을 공유합니다. 우리가 아는 한, 이는 산업 규모에서 서로 다른 제품 도메인에 걸쳐 배포된 최초의 ML 기반 멀티 테넌트(multi-tenant) 실행 시간 최적화 시스템입니다.

arXiv:2611.17621v2cs.AI

AscendGYM: Ascend NPU의 실제 워크로드를 위한 비용 인식 커널 최적화 벤치마크

AscendGYM: A Cost-Aware Kernel Optimization Benchmark for Real-World Workloads on Ascend NPUs

커널 최적화는 Ascend NPU에서 효율적인 대규모 언어 모델(LLM) 학습과 추론을 위해 필수적이다. 기존 Ascend 커널 벤치마크는 주로 커널 생성에 초점을 두며, 실제 워크로드에서 가져온 입력 구성 하에서 에이전트가 기존 구현을 최적화하는 능력은 상대적으로 덜 강조한다. 이러한 요구를 해결하기 위해 우리는 초기 스위트가 세 가지 난이도에 걸친 48개 커널로 구성된 벤치마크 AscendGYM을 소개한다. 각 커널에는 실제 학습 및 추론 과업에서 수집한 데이터 타입과 텐서 형상을 가진 테스트 케이스가 짝지어져 있다. 따라서 AscendGYM에서의 성능 향상은 해당 워크로드에 직접 대응된다. 사용성 측면에서 AscendGYM은 모델 평가와 모델-하니스 평가의 두 가지 평가 모드를 지원한다. 학습된 모델과 사용자 정의 에이전트 모두의 커널 최적화 능력을 측정할 수 있다. 이는 Ascend 커널이 실제 파이프라인에서 호출되는 방식을 면밀히 재현하는 완전한 실행 환경을 제공한다. 모델 평가를 위해 탐색 오케스트레이션과 경험 축적을 갖춘 내장 하니스도 추가로 포함한다. 마지막으로 토큰 비용 대비 성능 향상을 정량화하는 새로운 지표인 Speedup-Token Score(STS)를 제안한다. STS는 속도 향상과 비용을 함께 고려함으로써 허용 가능한 예산 하에서 모델이나 하니스의 실질적인 커널 최적화 능력을 평가할 수 있게 한다. AscendGYM은 https://github.com/SLAI-AITP/AscendGYM 에서 이용할 수 있다.

arXiv:2609.23843v2cs.LG

연합 학습에서의 적응형 결정론적 클라이언트 스케줄링

Adaptive Determinantal Client Scheduling in Federated Learning

연합 학습(federated learning)에서는 데이터 이질성과 시스템 이질성으로 인해 모델 학습을 위한 클라이언트 스케줄링이 매우 중요하다. 기존 연구의 대부분은 더 빠른 수렴, 더 짧은 실제 경과 시간(wall-clock) 수렴 시간, 또는 더 나은 평균 모델 성능을 달성하기 위해 스케줄링된 클라이언트의 품질에 초점을 맞추었다. 그러나 이질성에 대응하고 최악의 성능을 보이는 클라이언트의 성능을 개선하는 데 중요한 클라이언트의 다양성은 거의 고려하지 않았다. 본 연구에서는 클라이언트 스케줄링의 다양성을 모델링하고 향상하기 위해 결정론적 점 과정(determinantal point process, DPP)의 사용을 제안한다. 먼저 그래디언트 정보와 품질 점수를 사용하여 DPP의 커널 행렬을 설계하며, 이는 본질적으로 품질과 다양성 간의 유연한 트레이드오프를 가능하게 한다. DPP에 대한 빠른 MAP 추론을 적용하여, 연합 학습에서 적응형 결정론적 클라이언트 스케줄링(Adaptive Determinantal Client Scheduling, ADCS)을 제안한다. 또한 ADCS의 그래디언트 근사 오차를 정량화하고, 비볼록(non-convex) 손실 함수를 갖는 연합 학습에서 일반적인 편향 클라이언트 선택에 대한 수렴 분석을 전개한다. 비교 수치 실험을 통해 ADCS가 품질 기반 및 다양성 기반 알고리즘을 모두 포함한 최신 클라이언트 스케줄링 알고리즘보다 우수한 성능을 보임을 확인한다.

arXiv:2611.23035v2cs.LG

Gemma 4의 K=V 캐시를 한 번만 저장하기: 어텐션 커널 변경 없이 페이지 기반 서빙 엔진의 전역 KV 메모리 절감

Storing the Gemma 4 K=V Cache Once: Exact Global-KV Memory Savings in a Paged Serving Engine with Unchanged Attention Kernels

Gemma 4 31B의 전역 어텐션 층에서 값은 정규화한 키 투영값이고, 키는 값에 고정 가중치를 곱한 뒤 차원의 4분의 1에 회전 위치 인코딩을 적용한 것이다. Gemma 4 보고서에 따르면 이 설계는 전역 KV 캐시를 최대 37.5% 줄인다. 그러나 우리가 확인한 공개 서빙 엔진은 전체 키와 값을 따로 저장해 KV 헤드와 토큰 하나당 수치 1,024개를 사용했다. 대신 640개 수치로 이루어진 행 하나를 저장한다. 이 표현은 실수 연산에서 정확하며, 기존 페이지 기반 어텐션 커널은 서로 겹치고 스트라이드가 지정된 두 뷰를 각각 키 캐시와 값 캐시로 읽는다. 16비트 31B 모델을 쓰는 vLLM 프로토타입에서 출력은 기본 캐시에 같은 연산을 적용한 에뮬레이션과 비트 단위로 일치했다. 기본 엔진과 비교하면 최종 답 432개 중 2개가 달랐으며, 이는 실행 간 변동 범위 안이었다. 3만 2천~6만 4천 토큰에서 정상 상태의 요청당 디코딩 KV 메모리는 기존의 1.34~1.40분의 1로 줄었다. NIXL 전송과 CPU 오프로딩을 사용해 A100 GPU 두 장에 프리필과 디코딩을 나눈 환경에서, 15GiB 풀을 모두 사용하는 디코딩 엔진은 1만 6천 토큰 프롬프트에서 단계당 토큰을 기본 디코딩 엔진의 1.38배 처리했다. 반복 측정에서 편차는 0.06% 수준이었다. 8천 토큰 프롬프트에서는 1.24배였다. vLLM 블록 풀 모델은 두 비율을 1% 이내 오차로 예측했으며, 실측 비율이 예측보다 0.7~0.9% 높았다. 두 조건 사이의 변화량도 예측과 일치했다. 즉시 실행 모드의 디코딩 처리량은 각각 1.30배와 1.11배가 됐다. 이 경로에서 배치 크기를 1로 놓고 프롬프트 8개를 시험하자 축소 캐시 엔진의 출력 토큰은 에뮬레이션과 같았다. 다만 배치 크기가 같을 때 프로토타입의 즉시 실행 단계는 4~9% 느렸고, 기본 스케일의 8비트 KV 캐시와는 아직 함께 사용할 수 없다.

arXiv:2609.39131v3cs.LG

Characterizing High Bandwidth Flash for LLM Serving

Large language model (LLM) serving requires substantial memory to store model weights and KV caches. Agentic workloads compound this pressure through repeated interactions over growing contexts, making it important to retain KV cache for reuse. High-bandwidth flash (HBF) offers a way to expand accelerator memory capacity for LLM serving, but its access costs and limited write endurance complicate its use. We evaluate HBF for high-throughput agentic serving across system design and scheduling choices to understand when additional capacity improves serving performance and energy efficiency. We introduce an HBM-HBF-host hierarchical storage system and buffered cache-aware scheduling, and use trace-driven simulations to analyze their effects on performance, energy consumption, and HBF write lifetime. Across the evaluated workloads, the fastest HBF-augmented systems reduce completion time by 21.1-86.9% relative to HBM-only systems. Modeled energy savings reach 62.4%, with benefits depending on the workload and weight placement. Buffered cache-aware scheduling extends estimated HBF write lifetime from 0.99 to 13.63 years in the evaluated configuration. These results demonstrate the importance of coordinating data placement and scheduling in serving LLM with HBF, positioning HBF as an actively utilized lower-level memory tier rather than passive storage.

arXiv:2609.30059v3cs.DC

KernelOPT: GPU 커널 최적화를 위한 디스패치 인식 에이전틱 탐색

KernelOPT: Dispatch-Aware Agentic Search for GPU Kernel Optimization

Deep learning inference and training performance depends critically on GPU kernel efficiency. Modern compilers such as PyTorch Inductor automatically generate GPU kernels from high-level model code, but frequently underperform expert-written implementations by wide margins. Recent LLM-assisted optimizers explore these opportunities through kernel generation and refinement; yet translating isolated kernel improvements into model-level gains remains a challenge. We present KernelOPT, a profiling-guided multi-agent system for GPU kernel optimization. It inspects generated Triton kernels and external library calls in compiler artifacts to guide synthesis and refinement, then assembles and evaluates the resulting model. Four stages of validation combine execution checks, multi-seed numerical comparison, model-level checking with a float64 fallback and end-to-end performance gating ($\gamma{=}1.03$). The system supports PyTorch nn.Modules, standalone Triton kernels, and Helion kernels. It is evaluated on all 250 KernelBench problems on NVIDIA H200 which includes 100 single-operator problems (Level1), 100 composite operators (Level2), and 50 model architectures (Level3). KernelOPT achieves geometric mean speedups over torch.compile of 1.40$\times$, 1.15$\times$ and 1.07$\times$ respectively across L1, L2 and L3. Among problems exceeding 1.03$\times$ speedup, the geomeans are 2.54$\times$ (36 L1), 1.84$\times$ (23 L2), and 1.37$\times$ (11 L3). These gains include arithmetic-precision changes and task-specific algebraic simplifications under the evaluated numerical tolerances. The evaluation also reveals discrepancies between isolated kernel improvements and end-to-end performance, motivating model-level measurement alongside kernel-level optimization. Code is available at https://github.com/TorchedHat/KernelOPT.

arXiv:2608.11770v2cs.CV

실시간 검출 파이프라인에서 거의 무오버헤드 다중 모델 계층적 분류 달성

Achieving Near-Zero-Overhead Multi-Model Hierarchical Classification in Real-Time Detection Pipelines

표적 인식, 감시, 자율주행, 드론 분야의 엣지 배포 비전 시스템은 검출 모델이 관심 객체를 식별하고 하류 분류기가 세밀한 속성 분석을 제공하는 계층적 추론 파이프라인을 요구한다. 모든 모델을 GPU에서 실행하면 파이프라인 단계가 늘어날수록 실시간 처리량을 제한하는 직렬 병목이 생긴다. 최신 엣지 SoC는 동시 실행이 가능한 전용 신경 가속기(NPU, DLA)와 GPU를 함께 제공하지만, 엄격한 연산자 제약, 양자화 비호환성, 문서화되지 않은 end-to-end 파이프라인 때문에 사용자 정의 모델을 이러한 가속기에 배포하는 것은 여전히 비현실적이다. 본 연구는 대표 플랫폼으로 NVIDIA Jetson DLA 코어를 대상으로 한다. 분류 백본의 GPU 폴백 없는 DLA INT8 배포를 위한 5단계 방법론을 제시하며, 여기에는 아키텍처 적응, 명시적 양자화 이전의 신속한 파이프라인 검증을 위해 TensorRT의 암시적 양자화를 구제하는 수동 동적 범위 우회(암시적 양자화 75%에서 94.0% 정확도 회복), 양자화 인식 학습, DLA 컴파일을 위한 ONNX 그래프 수술, GPU 검출/DLA 분류 동시 추론 파이프라인이 포함된다. 9가지 엔지니어링 제약에 대해 근본 원인 분석과 일반화 가능한 해결책을 문서화한다. Jetson Orin NX에서 GPU 객체 검출기와 병행해 DLA에서 실행하는 이중 헤드 인물 속성 분류기에 대한 검증 결과, 1080p에서 검출기 단독 13.3~FPS 대비 12.5 FPS로 거의 무파이프라인 오버헤드를 보였으며, 이중 DLA 스케일링은 추가 비용 없이 가능했다. 이 방법론은 백본에 무관하며 임의의 검출-분류 엣지 파이프라인으로 일반화된다.