Manuscript Offprint
arXiv:2610.34890AIPC: Evidence-Guided Agent Workflows for PyTorch Project Deployment
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Zhanwei Wu,†, Jianhao Su, Brian Zhang, ShengTing Huang, Weidong Feng, Gang Liu, Zhiguo Li, Wei Huang, Li Tan, Wanjun Li, Zejiong Teng, Changgeng Zhong, Guanping Wu, Han-Hsing Tu
Qualcomm Technologies, Inc. Independent Researcher
Abstract—Deploying and optimizing a PyTorch inference project on a dedicated accelerator, especially an on-device NPU, usually cannot be done through the framework's device API alone as with CUDA; the project must also be converted into hardware-runtime artifacts and adapted to the target toolchain and application interface. Platforms differ in model formats, quantization flows, operator support, and toolchain interfaces, so model adaptation, numerical correctness, and hardware performance problems often have to be located, repaired, and rechecked back and forth across the model (PyTorch/ONNX), toolchain, runtime, and device-execution layers. LLM Agents can invoke tools to handle such cross-layer faults, but without project constraints they may still drift off task because of insufficient domain knowledge, an overly large space of configuration and repair choices, or poor path selection.
To this end, we propose AIPC (AI Porting & Conversion), an Agent method for deploying PyTorch inference projects. AIPC combines structured Skills with toolchain, runtime, and profiling evidence to drive cross-layer diagnosis and repair, and organizes model adaptation, runtime artifact building, on-target execution, accuracy repair, and performance optimization into one deployment flow. We evaluate AIPC on the on-device NPU path of Qualcomm QAIRT, covering vision, speech, LLM, and diffusion models. In two optimization cases, AIPC's optimization knowledge and strategies guide the Agent to accuracy and performance gains: under the predefined accuracy and latency criteria, 6/7 Skill arm Whisper-Small runs meet all criteria versus 0/6 in the control arm; YOLO-Worldv2 reaches an end-to-end speedup of (control arm ). Under a pre-fixed deployment contract, AIPC Skill, tool permissions, and check conditions, some runs achieved zero in-run human intervention (0-HITL). We also run an auxiliary experiment to examine the ability of Qwen3.8-27B, a model capable of local deployment, to drive an Agent workflow.
Index Terms—PyTorch project deployment, on-device AI deployment, LLM Agent, model conversion, model optimization, Qualcomm QAIRT, NPU inference
I. INTRODUCTION
Challenge 1: Deployability — “Can it run?”
On-device deployment requires converting the dynamic-graph semantics of PyTorch into artifacts accepted by the target runtime. Dynamic shapes, control flow, complex indexing, and non-standard operators may all cause conversion, compilation, or loading failures.
Challenge 2: Accuracy Correctness — “Does it still compute the same function?”
Successful conversion and build do not guarantee that the original model semantics are preserved. Problems such as all-zero outputs, NaN/Inf, tensor-order mismatches, and numerical drift after quantization must be detected through automated alignment checks against reference outputs.
Challenge 3: Performance Optimization — “Does it really use the accelerator efficiently?”
Running successfully does not mean running efficiently. Unsupported operators, layout conversion, and limited graph fusion cause CPU fallback, cross-device data movement, or extra memory access. Exploiting the target accelerator's performance also requires hardware-aware optimization.
These challenges force developers to iterate repeatedly among the model, conversion configuration, runtime build, and on-device checks, limiting deployment efficiency and scalability. AgentDeploy [3] reports that experts spent around 6 h on image-recognition tuning alone, while semi-experts and non-experts required about 60 h and 80 h, respectively, for speech-sentiment-analysis optimization and adaptation. Agents can assist diagnosis and repair in this repeated cross-layer work, while project checks constrain execution.
B. Limitations of Existing Solutions
In response to these challenges, existing tools provide model conversion, compilation optimization, and code repair, but three key gaps remain among them:
These authors contributed equally to this work.
Corresponding author: Zhanwei Wu (zhanweiw@qti.qualcomm.com).
(1) Toolchain feedback does not form a repair loop (missing loop from tool feedback to repair): Converters, compilers, and runtimes can usually report on-device errors, numerical deviations, or backend information, but this information does not turn itself into repair actions. Developers still have to decide whether to modify the PyTorch model, the ONNX graph, or the runtime configuration, and then rebuild and re-verify. What is missing is the closed loop of “toolchain feedback → cross-layer diagnosis → repair → rebuild → re-verification.”
(2) Missing automated result verification: Successful conversion and compilation do not guarantee correct output. Without automatically running inference, aligning with reference outputs, and checking the target backend, silent failures such as NaN/Inf, all-zero outputs, and CPU fallback are hard to detect systematically.
(3) Missing deterministic execution boundary for open-ended diagnosis: An LLM Agent (e.g., ReAct [4]) can handle errors that were not enumerated in advance, but may also retry blindly or drift off task.
C. AIPC Method Overview and Contributions
Building on earlier AIPC reports [5], [6], this paper extends AIPC (AI Porting & Conversion), a runtime-feedback-driven Agent method for on-device model porting. AIPC organizes platform knowledge, execution scripts, stage checks, and deployment requirements into reusable Skills, and chooses the repair layer and subsequent path based on model, device, and runtime feedback.
The method of this paper includes:
-
Feedback-guided deployment workflow for existing inference projects: Taking a PyTorch project as the entry point, it brings the model, pre/post-processing, I/O contract, and target-device requirements into a single deployment process, and outputs runtime artifacts, project configuration, and run records.
-
Feedback-guided cross-layer diagnosis, repair, and recheck: Toolchain, runtime, numerical, and profiling feedback helps the Agent decide at which layer to repair — the model graph, the project interface, or the runtime configuration — and then rebuild and recheck the affected paths. For example, when AOT (ahead-of-time) compilation runs out of on-chip scratchpad memory, the Agent can localize the cause to the ONNX decoder graph. Deployment results are confirmed by project checks and run records.
-
QAIRT proof-of-concept and reusable engineering lessons: AIPC is implemented on the QAIRT on-target NPU, and representative cases report runtime-artifact build, on-target execution, output alignment, profiling, and failure recovery.
This paper evaluates AIPC through the following research questions:
• RQ1: Can an Agent workflow complete target-device deployment of PyTorch projects? How does the AIPC Skill affect deployment paths and delivery outcomes?
• RQ2: In representative execution-failure cases, how do runtime, toolchain, and output-comparison results trigger the Agent’s cross-layer diagnosis, repair, and recheck?
• RQ3: Can AIPC’s accuracy and performance optimization knowledge and strategies guide the Agent to improve device-side performance while satisfying the accuracy requirements and keeping NPU execution?
II. BACKGROUND AND RELATED WORK
A. On-Device Conversion and Compiler Frameworks
For accelerators integrated as PyTorch device backends, developers usually run models through interfaces such as .to(device) or .cuda(). Dedicated hardware runtimes usually do not execute models through these device APIs; instead, the project is exported as a computation graph, a runtime artifact is built, and inference runs through a hardware-specific runtime interface. This path helps exploit hardware performance, but it also introduces adaptation problems.
Frameworks such as ONNX [7], ONNX Runtime [8], ExecuTorch [9], LiteRT [10], and MNN [11] provide conversion and inference infrastructure; TVM [12], MLIR [13], IREE [14], and Microsoft Olive [15] provide graph, kernel, or configuration optimization. They typically do not turn device-specific conversion, runtime, numerical, or profiling feedback into corresponding repairs and rechecks.
Chip and platform vendors also provide dedicated inference runtimes for their devices, such as NVIDIA TensorRT [16], Qualcomm QAIRT [17], Apple Core ML [18], Rockchip RKNN [19], Intel OpenVINO [20], and Huawei Ascend CANN [21]. These runtimes combine model conversion, hardware-specific compilation, and target-device execution, but their artifacts and interfaces differ.
B. Qualcomm QAIRT Toolchain and Application Runtime
Qualcomm AI Runtime (QAIRT) [17] is Qualcomm's official inference software stack for heterogeneous SoCs that integrate a CPU, Adreno GPU, and Hexagon NPU, covering vision models through generative models; HTP (Hexagon Tensor Processor) is the tensor-compute accelerator of the Hexagon NPU, and QAIRT can dispatch supported models to this backend.
Three main model artifacts. (1) DLC (Deep Learning Container, .dlc): a serialized graph container; (2) QNN model library (.so/.d11): generated by target compilation of the C++ model source and static weights output by the converter, and therefore dependent on the compiler, ABI, operating system, and target architecture; (3) Context Binary: an execution context generated from a DLC or QNN model library by ahead-of-time (AOT) precompilation for a target backend/SoC and saved as a .bin.
APIs and toolchains. The API layer is responsible for loading and executing graphs, operators, and runtime resources. (1) SNPE API: typically uses a DLC and is handled by the snpe-* toolchain; (2) QNN API: can use a target model library or a DLC and is handled by the qnn-* toolchain;
(3) QAIRT API: typically uses a DLC or a prepared Context Binary and is handled by the qairt-* toolchain.
Genie (Generative AI Inference Extension) [17] is a dedicated inference extension for on-device LLMs, vision-language multimodal models, and diffusion models.
AIMET and AI Hub. AIMET (AI Model Efficiency Toolkit) [22] supplements QAIRT's built-in quantization flow with finer-grained quantization, calibration, and model-compression capabilities; Qualcomm AI Hub [23] is a cloud platform for model compilation and performance evaluation for Qualcomm devices.
QAI AppBuilder, Model Builder, and AIPC. QAI AppBuilder [24] is an on-device AI application platform built on QAIRT and open-sourced by Qualcomm (BSD-3-Clause). It provides Python and C++ APIs on the target side, which can load QAIRT model artifacts, configure the target backend, and run inference, so that tensors, graphs, buffers, and layouts need not be managed directly through the lower-level C++ QAIRT SDK API. Model Builder is its built-in package for model conversion and deployment. AIPC is a Skill-based workflow method inside Model Builder for deployment work.
A typical deployment chain includes: (1) PyTorch-to-ONNX export; (2) conversion and runtime-artifact build; (3) optional quantization and Context Binary preparation; (4) application-interface integration and on-target inference; and (5) profiling-driven iterative optimization.
Hardware and toolchain characteristics. [17] (1) The VTCM (Vector Tightly Coupled Memory) of HTP provides low-latency on-chip storage for compute tiles; when a single tile exceeds the available capacity, graph compilation may fail or off-chip data access may increase. (2) The QNN converter may change ONNX I/O to a Spatial-First layout (e.g., NHWC), thereby changing the I/O contract; the QAIRT converter usually preserves the source layout. Unsupported operators, dynamic shapes, or complex control flow may cause failures at the conversion, compilation, or execution stage.
Beyond the direct QAIRT SDK path, HTP is also available through the QNN integrations of ONNX Runtime, LiteRT, ExecuTorch, MNN, and llama.cpp [25], fragmenting deployment paths for the same hardware.
C. Agentic Deployment and LLM Agent Related Work
In recent years, LLM Agents have been used for NPU deployment, runtime integration, and edge inference. Prior work [5] explored an Agent-driven, toolchain-centered QAIRT deployment workflow, and [6] applied the workflow to vision models on OpenVINO, RKNN, TensorRT, and ONNX Runtime QNN EP. This paper further extends PyTorch project adaptation and adds accuracy-repair and performance-optimization capabilities.
Chip vendors have also begun to encode hardware and software-stack knowledge as Agents or Skills to support operator development, performance diagnosis, model migration, and inference optimization. AMD's ROCm AI provides reusable Agent Skills [26], and Hyperloom [27] optimizes inference workloads on AMD GPUs; Huawei's Ascend/agent-skills [28] and CANNBot-Skills cover model conversion, inference deployment, profiling, and Ascend C operator development; and Intel Xe-Forge [29] targets kernel optimization on Intel XPUs.
Spatial-NPU Agent Skill [30] is based on MLIR-AIR and uses a staged Agent Skill to support the deployment and optimization of decoder-only LLMs on the AMD XDNA 2 NPU; AgentDeploy [3] mainly searches tunable optimization parameters such as the pruning rate and partitions models across multiple inference engines according to operator support; and EdgeFM [31] targets edge VLM/LLM kernel optimization. Related work also starts from kernel, operator, or configuration search and optimizes using compilation, correctness, or profiling feedback [9], [29], [32]–[40]. AIPC, in contrast, takes an existing PyTorch inference project as its unit of work and organizes cross-model-type adaptation, runtime model and code generation, on-target inference, accuracy repair, and performance optimization into a complete workflow.
III. AIPC SYSTEM FRAMEWORK
AIPC comprises two execution components: the Model Builder and the Optimizer. The Model Builder builds a PyTorch inference project into a deployment baseline on the target device; the Optimizer takes this baseline as input and generates optimized variants that satisfy accuracy and target-backend constraints. The Agent calls these components and, guided by the AIPC Skill, reads state, selects tools, and proposes repair candidates.
AIPC organizes a deployment workflow around Config, Pass, and Gate. Config fixes the project entry, I/O contract, target device, runtime paths, and resource constraints; a Pass is a configurable stage unit that defines inputs, outputs, checks, Gates, and candidate actions; a Gate is a status value derived from artifacts and run results that triggers a Pass to continue, repair, transfer to another Pass, or stop. Passes form the workflow; in project setup, the engineer can skip or add steps as the project requires, and the Agent selects tools and candidate repairs within this flow.
A. Model Builder
The Model Builder takes a PyTorch project, deployment Config, and Gate conditions as inputs; its outputs are the target runtime artifacts, the project interface adaptation, and the deployment baseline. It executes in the Pass order determined in setup and records Pass state and artifact dependencies, rather than treating export, conversion, and on-device execution as independent scripts. The target runtime defines its corresponding default Passes; a project may skip or add steps as needed (for example, the FP16 path skips quantization), but must preserve their required inputs and Gates.
The default Passes of the QAIRT path are: P0 project and environment configuration, P1 PyTorch/NPU adaptation, P2 ONNX export and reference preparation, P3 graph check and operator repair, P4 conversion, quantization, and runtime build, P5 Context Binary preparation, P6 application interface and on-target inference, P7 accuracy report, and P8 profiling.
P1, P3, and P6 handle project-level work beyond SDK-tool conversion and runtime-artifact generation.
P1: PyTorch/NPU adaptation. Before export or SDK-converter invocation, P1 handles representation differences between the source project and the target NPU, for example fixing dynamic shapes or control flow, externalizing the autoregressive cache, establishing an exportable model entry, and, when needed, rewriting RoPE or Multi-Head Attention into static tensor computation better suited to execution on the target NPU.
P3: Graph check and operator surgery. P3 turns unsupported structures or operators reported by an exporter or converter into graph-repair tasks. The Agent can choose an equivalent rewrite whose preconditions are satisfied at the PyTorch, export-entry, or ONNX-graph layer; the concrete repair layer is determined by project configuration and current feedback. Each rewrite preserves the input/output conditions, and reference-output comparison, subsequent conversion, and target execution checks decide whether it proceeds to the next Pass.
P6: Application interface and on-target inference. P6 connects generated runtime artifacts, preprocessing, model invocation, and postprocessing to the on-target inference code, completing runtime model loading, I/O binding, and on-target execution. Specialized application APIs, such as the Genie API for LLMs, can also be handled by an additional API Pass.
When a Gate fails, the Model Builder routes the problem to the PyTorch, ONNX, or runtime-interface layer based on logs, output comparison, and runtime feedback, and re-runs from the affected Pass. Graph rewriting, operator replacement, graph partitioning, and I/O/layout repair all belong to the Builder's deployment repair. Each run retains the Config, Pass artifacts, command logs, and comparison results, so that later Passes can reuse existing state rather than having the Agent re-guess project conditions.
B. Optimizer
The Optimizer is an internal, non-open-source extension that the company's internal customer-support engineering team has used to provide model-optimization support to external customers. It takes a deployment artifact as its baseline and uses profiling, VTCM, operator behavior, numerical or task feedback, and the graph-optimization knowledge substrate to select quantization adjustments, ONNX equivalent graph surgery, or runtime-configuration candidates. The knowledge substrate encodes graph-rewrite patterns and their applicability preconditions, hardware-benefit hypotheses, historical positive and negative cases, and candidate-selection rules. A candidate becomes the new optimization baseline after rebuilding and passing the acceptance Gate; candidates that do not satisfy accuracy, project I/O, or target-NPU execution requirements are rejected.
-
Accuracy Optimization: Accuracy optimization uses the FP reference, target-device outputs, and numerical error or task metrics to locate overall deviation, sensitive outputs, and task-accuracy degradation, and requires A/B comparisons that change one variable at a time, with the activation and weight calibration methods treated as two independent variables. For problems that are hard to localize, the Optimizer can further analyze clipping effects, layer-wise output deviations, and residual outliers. Candidates include calibration data and methods, per-tensor/per-channel/per-row quantization granularity, global low precision or mixed precision, FP16 retention of sensitive layers or output heads, and equivalent graph rewrites for numerical repair.
-
Performance Optimization: Performance optimization locates bottlenecks based on profiling, VTCM usage, operator behavior, and data movement. Candidates include layout optimization (NCHW↔NHWC and transpose elimination), operator-level equivalent rewriting (Einsum decomposition, Mod rewriting, and Cast substitution), attention restructuring (MHA→SHA), and operator fusion (GELU subgraph, BN folding, parallel-convolution and branch merging), as well as VTCM configuration or graph partitioning.
C. Usage Modes
The workflow starts from a runnable PyTorch inference project, reference inputs, an inference script, and model weights, and delivers a hardware-runtime script, target model artifacts, and a work report with check, accuracy, and performance records; task results can be confirmed by human review or an independent evaluation program.
Users start tasks in natural language. For project-level deployment, the user first states the target device, precision, or optimization requirements, for example “Set up a deployment project using QNN FP16”; the Agent initializes the working directory and Config accordingly and generates candidates for the remaining derivable configuration. For parameters that cannot be derived, such as LLM context length, the Agent may first propose a candidate value, or stop on a blocking condition and request user input. After confirmation, the Agent can run continuously (continuous mode), or pause after each stage and continue only upon user confirmation (interactive mode); the user can also state the deployment goal and constraints in a single prompt. Single tasks (for example, generating a Context Binary for an audited quantized DLC) can invoke the corresponding script directly. The resulting model package can be handed to the App Builder Skill to generate a local WebUI application, or loaded directly through the Python/C++ APIs of QAI AppBuilder.
IV. EXPERIMENTAL EVALUATION
This section reports project deployment, fault diagnosis, repair, and recheck, together with an auxiliary case of an Agent workflow driven by Qwen3.8-27B ( IV-A, RQ1–RQ2), followed by performance optimization under accuracy constraints ( IV-B, RQ3).
A. Deployment and Agent Workflow Evaluation
Each experiment follows the project inputs and deliverables defined in §III-C and runs in an independent workspace without artifacts from earlier runs. The records include the original expected output, target-device execution and output checks, API cost, workflow wall time, and HITL.
Result and HITL judgment. ○ means that the target-device path, declared numerical or task Gate, and critical delivery capabilities all pass; required cache, preprocessing, and postprocessing paths must also be usable. ? means that the QAIRT model and scripts run but lack critical capability, sufficient testing, or metric evidence, for example KV-cache, the required accuracy, or the required QNN path after switching to DLC, and requires further work before delivery. X means that the target path, numerical result, or project contract has a substantive error, for example switching to CPU or GPU execution instead of the required target-NPU path, and requires diagnosis and re-execution.
0-HITL means that, after project setup is frozen, the Agent completes a run without human intervention that changes the current decision or execution path. Human intervention is limited to environment recovery or confirmation of the established configuration; it does not provide a repair solution. Supplying task information, modifying code or configuration, authorizing a new operation, or appending an instruction all count as HITL.
Test starting-point assumption. All deployment tests in this paper start from a PyTorch project workspace that is already runnable; missing packages, dependency conflicts, path errors, or an unrunnable PyTorch baseline are treated as unmet preconditions and are not counted in QNN/QAIRT deployment reliability results.
Primary test path. The deployment experiments use the QNN model-library plus Context Binary path: qnn-**converter generates the model source and weights, which are then built into the target .so/.dll, and a Context Binary is prepared. This path more readily exposes deployment issues in local compilation toolchains, I/O layout, and backend configuration. The model optimization in §IV-B uses DLC artifacts and the newer unified QAIRT workflow.
- Purposively Covered Model Set: This paper purposively selects seven PyTorch projects: vision, Real-ESRGAN [41] and YOLO-Worldv2 [42]; speech, MeloTTS [43] and Whisper-tiny [44]; diffusion, Stable Diffusion v1.5 (SD1.5) [45]; and decoder-only LLMs, SmolLM2-135M [46] and Qwen3-0.6B [47]. These projects involve convolution, multi-branch detection, encoder-decoder structures, autoregressive caches, large UNets, and different I/O interfaces, and are used to examine the AIPC workflow under different deployment conditions. The YOLO-Worldv2 tests keep the CLIP [48] component frozen.
Beyond the main experimental models, we performed deployment tests with PPOCR [49], RT-DETR [50], YOLOv5, YOLOv8, and YOLO11 [51], YOLO26 [52], Wav2Vec2 [53], MobileViT [54], LPRNet [55], SmolVLM [56], and Qwen3.5-0.8B [57] after freezing the workflow, as supplementary functional checks across different model projects.
- QAIRT Deployment and Failure-Recovery Case Studies: Tests use an Ubuntu 24.04 LTS x86_64 host for the Agent, connected over SSH to a QCS9075 (RB8) target device, with QAIRT 2.48.40.260702, Codex CLI [58], and the GPT-5.6 series [59].
This group examines AIPC’s target-device execution, output alignment, and feedback-driven diagnosis, repair, and recheck. A vanilla-agent path without the AIPC Skill, but with access to the source project, QAIRT SDK, and official documentation, provides the no-Skill comparison.
In the table, Skill=Y/N indicates whether the AIPC Skill is used; LUNA, TERRA, and SOL denote gpt-5.6-luna, gpt-5.6-terra, and gpt-5.6-sol, with L(low)/M(medium)/H(high)/X(xhigh) denoting thinking level. Result is O/?/X / n; H (pass/pending/fail; planned runs; HITLs); Observation records key symptoms, repair notes, or path deviations; ? in Time or Cost denotes that the corresponding data for that run was not completely recorded.
Table I summarizes Skill on/off deployment results, process costs, and key observations.
In the experiments, the Skill path can take longer because it includes additional checking steps, whereas no-Skill time is more variable and can increase because of incorrect settings, retries, and repairs. It can also be shortened by switching to the DLC path or skipping AOT. An Agent may also stop after completing a smoke test. YOLO-Worldv2's ambiguous configuration: 1 denotes one use of SM8550 as the target SoC configuration instead of the physical target QCS9075. SmolLM2-135M used qnn-pytorch-converter, bypassing the ONNX flow, and produced incorrect results. The WAV generated by MeloTTS is usable, but the waveform Gate did not reach the threshold; the no-Skill path once found a chunked-decoder repair for this model. Several records retained NPY but did not generate expected target deliverables such as images or audio (Unexpected output), or did not cover the KV-cache path. In one of the three SD1.5 no-Skill runs, HTP could not map the complete U-Net model, causing a loading failure; the other two worked around the limit by using the .so model library. Thus, successful model conversion, normal termination of the target process, or the production of intermediate outputs does not mean that the deployment is ready; deployment must also meet the runtime, output-comparison, and deliverable requirements specified by the project.
Table II summarizes representative feedback-driven paths from symptom to diagnosis and repair.
Answer to RQ2. Table II shows that feedback can trigger the Agent's cross-layer diagnosis, repair, and recheck. The MeloTTS temporal-chunking case corresponds to a Skill=Y record in Table I: it removes the decoder VTCM limit and restores target HTP execution, but remains ? because the waveform Gate does not reach its threshold. For SD1.5, graph splitting removes the full U-Net weight memory-mapping limit. Numerical, task, or application Gates after the repair independently determine final delivery status. A later Gate failure indicates that accuracy or the complete application path still needs work; it does not negate removal of the original deployment blocker.
TABLE I OVERVIEW OF THE DEPLOYMENT PROCESS
| Case | Skill | Result | LLM | Time (min) | Cost (USD) | Observation |
|---|---|---|---|---|---|---|
| Real-ESRGAN | Y | O3/?0/X0 / 3; H0 | LUNA-X | 19.8/18.4/17.7 | 1.9/1.9/1.7 | |
| Real-ESRGAN | N | O2/?0/X1 / 3; H0 | LUNA-X | 18.7/7.7/8.1 | 1.3/0.5/0.5 | Unexpected output |
| YOLO-Worldv2 | Y | O3/?0/X0 / 3; H0 | LUNA-X | 18.0/19.0/22.6 | 1.9/2.2/2.3 | |
| YOLO-Worldv2 | N | O1/?2/X0 / 3; H0 | LUNA-X | 14.0/7.0/10.2 | 1.0/0.5/0.7 | Unexpected output: 2; ambiguous configuration: 1 |
| MeloTTS | Y | O0/?1/X0 / 1; H0 | TERRA-M | 128.0 | 13.5 | Waveform gate not met |
| MeloTTS | Y | O0/?1/X0 / 1; H1 | LUNA-X | 261.0 | 5.858 | HITL: relaxed gate to stop retries |
| MeloTTS | N | O0/?1/X1 / 2; H1 | LUNA-X | 32.9 / 43.0 | 3.4 / ? | VTCM oversized; chunked-decoder repair; waveform gate not met |
| Whisper-tiny | Y | O3/?0/X0 / 3; H0 | LUNA-X | 19.1 / 26.8 / 25.4 | 2.4 / 2.2 / 2.1 | |
| Whisper-tiny | N | O0/?3/X0 / 3; H0 | LUNA-X | 21.5 / 28.7 / 18.6 | 0.5 / 2.159 / 1.003 | No KV-cache export |
| SD1.5 | Y | O0/?3/X0 / 3; H0 | LUNA-X | 68.0/27.5/40.0 | 3.5 / 1.5 / ? | Cosine similarity <0.99 |
| SD1.5 | N | O0/?2/X1 / 3; H0 | LUNA-X | 30.1/42.1/31.4 | 1.8/1.4/1.3 | HTP mmap exceeded; workaround: using .so library |
| SmolLM2-135M | Y | O2/?0/X0 / 2; H0 | LUNA-X | 38.0/117.8 | 1.3/7.7 | |
| SmolLM2-135M | N | O0/?2/X1 / 3; H0 | LUNA-X | 37.9 / 24.0 / 6.3 | 1.8 / ? / 0.4 | No KV-cache export; Output error: 1 |
| Qwen3-0.6B | Y | O1/?0/X0 / 1; H0 | LUNA-X | 99.1 | 2.5 | |
| Qwen3-0.6B | N | O0/?1/X0 / 1; H0 | LUNA-X | 30.0 | 0.8 | Graph split; no KV-cache/Context Binary |
TABLE II REPRESENTATIVE FEEDBACK-DRIVEN CASES
| Case | Symptom | Diagnosis | Repair |
|---|---|---|---|
| YOLO-Worldv2 | Unsupported Einsum | ONNX rewrite | Einsum → reshape / transpose / matmul |
| MeloTTS (Skill1=Y) | VTCM capacity exceeded (11.16 MiB > 8 MiB) | HTP VTCM capacity limit | Convolution time tiling |
| Qwen3-0.6B | Single-graph mapping ~1.50 GiB | Single-graph size limit | Graph split |
| SD1.5 | U-Net weight mapping fails | HTP/FastRPC weight-mapping limit | Graph split |
- Auxiliary Experiment: Feasibility of a Qwen3.8-27B-Driven Agent Workflow: Experiment purpose and case positioning. This section examines the ability of Qwen3.8-27B, a model capable of local deployment, to drive an AIPC deployment workflow (experiments invoke it through OpenRouter), reporting the end-to-end records of three test models and a vanilla-agent comparison.
Execution configuration. The experiments run on the Snapdragon X Elite Plus Windows platform with Pi Code Agent [60] (medium thinking) and QAIRT 2.47. The only difference between the two settings is whether the Agent receives the AIPC Skill, including its workflow prompts; all other conditions are held constant. The tasks are Real-ESRGAN, YOLO-Worldv2, and Whisper-tiny from §IV-A2; each setting is planned for 3 independent runs, and the current Whisper-tiny record contains 3 Skill runs and 1 no-Skill run.
Table III contrasts executions of the same Qwen3.8-27B under Skill on/off settings.
An X prefix on a time value denotes a failed run.
We observed three patterns in these experiments. (1) Path ambiguity. When tools were invoked through an x86-emulated Python environment, Qwen3.8-27B sometimes identified the target device as x86 and shifted to CPU-simulated or GPU execution. It could also switch to a DLC path after an error on the QNN path.
(2) Anomalous execution time. unsupported messages from the ONNX version and false alarms triggered additional diagnosis, graph surgery, and validation, lengthening workflow wall time. The X14.6m YOLO-Worldv2 run shifted to DLC/GPU; the X10.0m Whisper-tiny run placed the entire decoder on the CPU, creating an HTP/CPU mixed pipeline that did not meet the target-NPU contract.
(3) Delivery and interface-generation failures. The X69.5m Real-ESRGAN run used DLC/Context Binary through the CLI after multiple repairs but did not generate Python inference code. The no-Skill 110.5m Whisper-tiny run used a DLC path and stopped repeatedly during encoder conversion, decoder conversion, and end-to-end inference; it returned to HTP only after human intervention. The YOLO-Worldv2 postprocessing detection-ROI error also required manual repair.
TABLE III QWEN3.8-27B AGENT WORKFLOW RESULTS
| Model | Skill | Result | Time (min) | Observation |
|---|---|---|---|---|
| Real-ESRGAN | Y | O3/?0/X0 / 3; H0 | 39.0/23.1/29.0 | |
| Real-ESRGAN | N | O2/?0/X1 / 3; H0 | 25.5/16.2/X69.5 | Python inference code missing |
| YOLO-Worldv2 | Y | O3/?0/X0 / 3; H0 | 40.0/38.7/68.2 | False incompatibility. |
| YOLO-Worldv2 | N | O0/?1/X2 / 3; H1 | 52.3/X28.7/X14.6 | Postprocessing ROI error; drifted to DLC/GPU |
| Whisper-tiny | Y | O2/?0/X1 / 3; H0 | 47.8/20.0/X10.0 | Decoder on CPU. |
| Whisper-tiny | N | O0/?1/X0 / 1; H4 | 110.5 | DLC path; encoder-only stop |
- Summary: The two groups of tests show that the AIPC Skill affects delivery by constraining path selection and checks.
Without the AIPC Skill (Skill=N). An Agent relying only on QAIRT documentation and general tools can still complete conversion and target-side execution, and even perform graph splitting or interface repair, but may also turn to shortcut paths such as DLC, fixed shapes, no KV-cache, or NPY-only output. These paths sometimes shorten a local step but fail to meet the delivery expectations implied by the project, thus producing ? or X and requiring humans to realign the goal.
With the AIPC Skill (Skill=Y). AIPC encodes the project contract, deployment steps, tool invocations, and Gates as executable constraints, allowing the Agent to handle graph surgery, runtime artifacts, and target-device checks in one workflow. For autoregressive models, the Skill can require explicit KV-cache export and match the tensor I/O of the target NPU, so each decode step reuses the existing cache rather than recomputing self-attention over the whole prefix. This reduces per-step computation from over the full prefix to over the cached history.
The Qwen3.8-27B Skill on/off comparison shows the same pattern: Skill=Y runs more often remained on the deployment paths required by the project and completed delivery; Skill=N runs shifted to DLC/GPU, formed HTP/CPU mixed execution, or omitted Python inference code.
In addition, Qwen3.8-27B can produce executable artifacts and attempt repairs; compared with GPT-5.6-Luna, it currently requires more Harness support for stable execution.
Answer to RQ1. The two groups of cases show that the Agent can deploy the tested PyTorch projects as target-device inference paths. The Skill organizes path selection and checks as executable constraints, allowing more recorded runs to complete delivery along the paths required by the project.
B. QAIRT Accuracy and Performance Optimization
This section examines whether AIPC's optimization knowledge and strategies can guide the Agent and translate into accuracy and performance gains (RQ3). The task specification is fixed and each session receives a single prompt; the Skill arm, which can read the Skill, is compared with a control arm that has the same tools and permissions but cannot read it (called Agent-only for YOLO and No-Skill for Whisper). EQ-B1: can the Agent reliably use the recorded knowledge and pass the delivery gates? EQ-B2: can executable gates detect silent failures that are “loadable and runnable but not deliverable”? EQ-B3: can the triggered optimizations reduce end-to-end latency while satisfying the accuracy and backend constraints?
Design (Table IV). All runs use the same task specification (except the starting artifacts of the two performance-series arms), the Agent built into QAI AppBuilder, thresholds, SDK, and device configuration, and are evaluated only on held-out data that took no part in development or threshold setting. The platform is Snapdragon X2 Elite (Hexagon NPU, HTP V81) with Windows 11 ARM64. We additionally perform three kinds of supplementary builds (one each, not counted in the statistics) for attribution: a naive reference (the original model plus default quantization commands), single-factor ablations, and operator-level profiling.
- Case 1: YOLO-Worldv2: Note: the performance series reports medians over 3 runs per arm, each starting from that arm's pre-fixed baseline artifact. All 14 run artifacts are loadable, and metadata confirms that they execute on the NPU. The two arms of the performance series start from different points (18.16 and 13.85 ms), so speedups are compared rather than absolute end-point latencies. In the accuracy series, “All criteria” means satisfying A1–A5 together; in the performance series, the criteria are judged against each arm's own starting artifact and require A3–A5, A6, and a consistency check on the confidence threshold, but not A1/A2. The criteria are: A1 mAP@0.5:0.95 ≥ 95% of FP32; A2 mAP@0.5 ≥ 95% of FP32 (MLPerf Inference rule [66]); A3 no large drop in recall for any of the 78 classes; A4 no whole class disappears; A5 empty-detection rate ≤ FP32 + 0.02; A6 accuracy drop ≤ 1.0 percentage point. A1 and A2 together form the “overall-accuracy criterion”, and A3–A5 prevent the average from masking degradation in individual classes.
Accuracy. Three of the 4 Skill runs satisfy the overall-accuracy criterion, versus 1 in the Agent-only arm (small sample, difference not significant, p = 0.49). With per-class recall and the other criteria added, only 1 run per arm passes all criteria; the passing Skill run confirmed the DLC target strategy at the start, following the Skill workflow (one other run adopted the same strategy without asking but did not pass).
Latency. The Skill arm saves 11.69 ms end to end, of which postprocessing accounts for 76%, preprocessing 13%, and the NPU only 11%; the Agent-only arm saves 5.29 ms. The therefore comes mainly from the host side, not
TABLE IV
EXPERIMENTAL DESIGN
| Item | YOLO-Worldv2 | Whisper-Small |
|---|---|---|
| Precision / SDK | W8A8 / QAIRT 2.48.40.260702 | W8A16 / QAIRT 2.51.40.260930 (aligned with AI Hub) |
| Agent model (thinking level) | gpt-5.6-luna (xhigh) | glm-5.3 [61] (no thinking), deepseek-v4.1-flash [62] (high), claude-5-5-sonnet [63] (medium) |
| Runs | 14: 4 per arm in the accuracy series; 3 per arm in the performance series, starting from the deliverable of each arm's first accuracy run (fixed before the performance runs began; 96.3% of FP32 for the Skill arm, 85.8% for the Agent-only arm), with accuracy criteria judged against this baseline | 13: Skill 7, No-Skill 6 |
| Data | COCO val2017 [64]: calibration 400 / development 1,000 / final 3,600 images; FP32 mAP@0.5:0.95 = 0.3702 | LibriSpeech [65]: final 300 utterances (test-clean); FP32 WER 2.784% |
| Pre-set criteria | mAP@0.5:0.95 and mAP@0.5 ≥ 95% of FP32, plus per-class recall, whole-class disappearance, and empty-detection-rate criteria; accuracy drop ≤ 1.0 percentage point in the performance series | Loadable; WER ≤ FP32 + 0.217 percentage points; decoder and encoder each ≤ 1.2× the same-session AI Hub precompiled package |
| Timing | batch 1, NPU backend only, HTP burst, 3 warm-up runs; preprocessing / NPU / postprocessing timed separately | Native I/O; each binary in its own process, measured alternately with the AI Hub package in the same session |
TABLE V
YOLO-WORLDV2 RESULTS (FINAL EVALUATION SET, 3,600 IMAGES)
| Skill | Agent-only | |
|---|---|---|
| (a) Accuracy series(4 runs per arm) | ||
| Per-run | 97.2%, 96.4%, | 73.6%, 76.7%, |
| mAP@0.5:0.95 | 87.0%, 96.5% | 96.4%, 85.5% |
| (relative to FP32) | ||
| Overall-accuracy criterion (≥ 95% of FP32) | 3/4 | 1/4 |
| All criteria | 1/4 | 1/4 |
| (b) Performance series (3 runs per arm) | ||
| End-to-end latency (ms, start → end) | 18.16 → 6.48 | 13.85 → 8.57 |
| Median of per-run speedups (range) | 2.791×(2.768–2.819) | 1.599×(1.369–1.692) |
| Accuracy change | 0.00 percentage points | -0.16 to -0.15 percentage points |
from NPU acceleration.
Which knowledge triggered the optimizations (Table VI). Both arms split the outputs and filter before decoding; the differences concentrate in changes that depend on NPU quantization and compilation mechanics. Several of these are silent failures (marked ): the artifact still loads normally but accuracy collapses or performance degrades. Controlled ablations show that the passing recipe is a conjunction of several changes: without split outputs, accuracy is 0.0% (not a single box is detected in 3,600 images); the other tested missing-item builds reach 74.6%–90.2%, and the best build (96.2%) approaches the 96.4%–97.2% delivered by the Agent.
Note: the first five rows belong to the accuracy series (4 runs per arm); the NHWC, uint8, and filtering rows belong to the performance series (3 runs per arm); the last row spans both series (7 runs per arm). Adoption was verified by reading back the metadata of the delivered artifacts.
- Case 2: Whisper-Small: Note: the same-session AI Hub precompiled package has encoder 27.32–27.92 ms and decoder 5.33–6.02 ms. The 2 No-Skill runs that delivered no loadable artifact are counted as failed in every criterion column.
Six of the 7 Skill runs satisfy all criteria, versus 0/6 in the No-Skill arm. All Skill runs meet the WER criterion, and the encoder is the AI Hub package, with the single miss at . The No-Skill arm fails mainly on latency: the encoder of its loadable runs is the AI Hub package, 3 of them slower than the naive reference, and 2 further runs delivered no loadable artifact. The difference between the two arms has a Fisher exact test . In addition, 300 utterances sampled from LibriSpeech test-clean with no overlap with the original evaluation set were used to re-test all 13 artifacts, again giving 6/7 versus 0/6; across 16 combinations of WER and encoder thresholds, the conclusion is unchanged in 12, and only when the encoder bound is relaxed to does one No-Skill run pass.
Latency is mainly explained by one quantization option. The naive reference has the same WER as FP32 but an encoder the AI Hub package. Changing only the activation quantization schema () to unsignedsymmetric covers of the naive-to-expert latency gap . All 7 Skill runs adopted this schema and none of the 6 No-Skill runs did — exactly the knowledge the Skill records for this model family.
- Discussion: Cost and Limitations: Cost. The Skill does not bring a consistent efficiency advantage: the active time of the Skill arm is similar to or longer than that of the control arm (Whisper 73.5 vs. 67.6 minutes). But counted per qualifying artifact, the gap is decisive: the 6 Whisper No-Skill runs consumed 920 thousand output tokens and 490 minutes and yielded 0 artifacts; the 7 Skill runs used 875 thousand tokens and 477 minutes and yielded 6, or 146 thousand tokens and
TABLE VI MAIN CHANGES TRIGGERED BY THE SKILL AND THEIR ADOPTION ( = SILENT FAILURE)
| Change | Adoption (Skill vs. control) | Measured effect |
|---|---|---|
| Boxes and scores sharing one output → separate outputs † | 4/4 vs. 4/4 | The naive reference detects no boxes; 74.6% after splitting |
| Activation calibration min-max → entropy | 4/4 vs. 2/4 | +8.4 percentage points |
| Scores output before Sigmoid (logit domain) † | 3/4 vs. 1/4 | Delivered artifacts 96.4%-97.2% vs. 73.6%-87.0% |
| 2 fused outputs → 6 multi-scale head outputs † | 3/4 vs. 1/4 | +6.55 percentage points alone in ablation |
| Per-channel weight quantization with CLE † | both arms | +5.95 percentage points with 6 outputs (96.2%) |
| NCHW → NHWC input/output | 3/3 vs. 0/3 | Critical-path cycles -7.4% |
| float32 → native uint8 input (LUT) | 3/3 vs. 0/3 | Preprocessing 4.11 → 2.61 ms |
| Filter by score before decoding | 3/3 vs. 2/3 | Postprocessing 9.95 → 1.05 ms |
| Context compilation target must be read back and confirmed † | 0/7 vs. 3/7 fell back | The fallback artifact is 9% slower on the NPU |
TABLE VII WHISPER-SMALL W8A16, 13 RUNS (FINAL EVALUATION SET, 300 UTTERANCES)
| Arm | Loadable | WER met | Decoder met | Encoder met | All criteria | Encoder ms | Decoder ms |
|---|---|---|---|---|---|---|---|
| Skill | 7/7 | 7/7 | 7/7 | 6/7 | 6/7 | 29.68–36.69 | 2.92–3.63 |
| No-Skill | 4/6 | 3/6 | 1/6 | 0/6 | 0/6 | 38.63–378.87 | 3.91–42.93 |
| Naive reference | Yes | Yes | Yes | No | No | 63.54 | 3.35 |
79.5 minutes per artifact.
Answer to RQ3. EQ-B1: when the methods are recorded in the Skill, the Agent uses them reliably. Whisper all-criteria is 6/7 vs. 0/6; for YOLO both arms pass all criteria equally often (1/4 vs. 1/4), and the Skill arm leads only on overall accuracy (3/4 vs. 1/4). EQ-B2: 5 of the 9 changes are silent failures; the artifacts load normally and are identified afterwards by task-level checks, independent evaluation, or metadata readback. EQ-B3: in both cases latency improves while satisfying the accuracy constraint and keeping NPU execution: for Whisper the gain comes from the NPU computation itself (almost entirely explained by one quantization option), whereas for YOLO it comes mainly from the host CPU, with the NPU-side gain coming from the NHWC layout.
Limitations. The benefit of the Skill depends on the model and backend knowledge recorded in it and does not necessarily apply to all models. The sample is small (1–4 runs per cell, one SoC, one SDK version per model), so the conclusions should not be extrapolated. The contributions of the Skill's structure and of model-specific recipes cannot be separated: the experiments have only Skill and no-Skill arms, with no workflow-only arm (Config, Pass, Gate, checks, rollback, and records without model-specific recipes). The results therefore show that recording a correct recipe in the Skill makes the Agent adopt it (most clearly for Whisper, where one quantization option explains most of the gap), not that the Config–Pass–Gate workflow itself is the main source of the gain. A workflow-only ablation is left to future work.
V. DISCUSSION AND CONCLUSION
A. Engineering Implications and Future Directions
AIPC advances the workflow with the evidence produced at each stage. Conversion results, evidence of HTP backend execution, output comparisons, project artifacts, and profiling all serve as inputs to later decisions; Gates map this evidence to states that trigger continuation, termination, or a transition to an appropriate Pass; subsequent Passes rebuild affected artifacts when needed. Runtime errors, numerical deviations, and missing artifacts therefore change the subsequent execution path.
The Agent's exploration is confined within an acceptable execution scope by the AIPC Skill, executable checks, budgets, and HITL conditions. Humans provide domain-specific contracts, exception policies, and knowledge during project setup and later maintenance; under a fixed contract and configuration, some runs show that the evidence-driven workflow can support the Agent executing within the set boundaries without human intervention. Current Agents may still drift off the path, so after a run completes, humans can review the results against the run records, generated artifacts, and Gate states. Under this division of labor, the Agent can help reduce the manual burden and knowledge threshold of specialized-hardware deployment.
Engineering lessons. The measurements in §IV-B support four lessons directly usable for similar deployments. First, successful conversion does not mean deliverable, and acceptance must be task-level and blocking: the default YOLO recipe ran all 3,600 images with zero errors yet detected no box at all, and the naive Whisper build matched FP32 accuracy but its encoder was slower than the AI Hub package. Second, gates must be able to abort the flow rather than only record deviations: across the two cases, 5 of 14 Skill-arm runs still delivered artifacts when the audit gave no pass verdict, and the Agent disclosed this itself in every case. Third, knowledge belongs in audited, tested scripts and not only in documents: a single option coupling activation and weight calibration was never tried in the right direction by the Agent across 22 variants in a run that was later invalidated and used to fix the Skill. Fourth, measure the whole pipeline before tuning the
NPU: 89% of YOLO's speedup comes from host-side pre/postprocessing.
Large composite diffusion pipelines are also constrained by host memory and component size. Taking PixArt- DiT (XL/2) [67] as an example, its T5 [68] text encoder exceeds 5 GB; in our small-scale exploration, one path completed the DiT part of the deployment but still kept the T5 encoder on the CPU, while the other attempts failed in the repeated conversion stage. Such results vary with the Agent model, configuration, and path selection, indicating that complex models still require a more stable Harness and a more systematic evaluation.
The current AIPC focuses on adaptation, quantization, and graph-level optimization of existing PyTorch projects. Future work will extend to new model backbones such as Mamba and MoE, and to optimization capabilities such as kernel/operator generation, QAT, and pruning; it will also improve the stability of the Harness and evaluate its applicability and engineering overhead on more models.
B. Conclusion
AIPC encodes the target-NPU deployment of a complete PyTorch inference project as a workflow composed of Config, Pass, and Gate. Model Builder establishes a deployment baseline on the target device; the Optimizer generates optimized variants from runtime feedback under accuracy, project-interface, and target-backend constraints. The Agent selects Passes and tools according to workflow state.
On Qualcomm QAIRT on-device NPUs, this paper reports target-backend execution, output comparison, fault diagnosis, and profiling results for vision, speech, LLM, and diffusion tasks. Some fixed-contract runs achieve 0-HITL. In two optimization cases, AIPC's optimization knowledge and strategies guide the Agent to accuracy and performance gains (Whisper-Small all criteria 6/7 vs. 0/6; YOLO-Worldv2 speedup , mainly from the host side). The Agent auxiliary experiment with Qwen3.8-27B shows that this model can drive the deployment workflow.
These results support the following engineering conclusion: runtime feedback can drive cross-layer diagnosis, candidate repair, and re-checking of the model graph, project interface, or runtime configuration. AIPC thus provides an implementable engineering path for “AI Deployment by AI”.
DATA AVAILABILITY
QAI AppBuilder, in which AIPC's Model Builder workflow is implemented, is publicly released by Qualcomm under the BSD-3-Clause license [24]. The Model Optimization capability described in §III-B is an internal, non-open-source extension, so the results of §IV-B cannot be fully reproduced by third parties. The supplementary run records referred to in Section IV (per-run ledgers, gate reports, logs, numerical comparisons, and the per-model verification-task matrix) are retained by the authors; some of the supplementary material is restricted by internal infrastructure and non-open-source tooling and cannot currently be made public.
ACKNOWLEDGEMENTS
We thank the Multi-Media Computer Vision Team for their support, and also thank former colleagues Ioannis Nousias, Mark Muir, and Adrian Giura; their long-term collaborative working style provided important engineering inspiration for this paper.
Generative AI tools were used to assist with translation and language editing of this manuscript. All technical content, experimental records, and conclusions were produced or reviewed by the authors, who take full responsibility for the content of this paper.
REFERENCES
[1] John Nickolls, Ian Buck, Michael Garland, and Kevin Skadron. Scalable Parallel Programming with CUDA. In ACM SIGGRAPH 2008 Classes, pp. 1–14, 2008.
[2] Adam Paszke et al. PyTorch: An Imperative Style, High-Performance Deep Learning Library. NeurIPS, 2019.
[3] Leming Shen, Qiang Yang, Xinyu Huang, Zijing Ma, Yuanqing Zheng, and Chris Xiaoxuan Lu. Automating Model Deployment on Mobile Devices. In The 24th Annual International Conference on Mobile Systems, Applications and Services (MobiSys Workshop '26), June 21–25, 2026, Cambridge, United Kingdom. ACM, 2026.
[4] Shunyu Yao et al. ReAct: Synergizing Reasoning and Acting in Language Models. ICLR, 2023.
[5] Jianhao Su, Zhanwei Wu, Shengting Huang, and Weidong Feng. AIPC: Agent-Based Automation for AI Model Deployment with Qualcomm AI Runtime. arXiv:2604.14661, 2026. https://arxiv.org/abs/2604.14661.
[6] Jianhao Su, Zhanwei Wu, Chia-Heng Tu, and ShengTing Huang. From PyTorch to the NPU: LLM-Agent-Driven Model Conversion Across Heterogeneous Inference Runtimes. arXiv:2609.27249v1, 2026. https://arxiv.org/html/2609.27249v1.
[7] ONNX Project. ONNX: Open Neural Network Exchange. https://onnx.ai/
[8] Microsoft Corporation. ONNX Runtime: Cross-Platform, High Performance ML Inferencing and Training Accelerator. https://onnxruntime.ai/
[9] Mergen Nachin et al. ExecuTorch - A Unified PyTorch Solution to Run ML Models On-Device. MLSys 2026.
[10] Google. LiteRT. https://developers.google.com/edge/litert. Accessed 2026-10-13.
[11] Xiaotang Jiang et al. MNN: A Universal and Efficient Inference Engine. MLSys, 2020.
[12] Tianqi Chen et al. TVM: An Automated End-to-End Optimizing Compiler for Deep Learning. OSDI, 2018.
[13] Chris Lattner et al. MLIR: A Compiler Infrastructure for the End of Moore's Law. arXiv:2002.11054, 2020. https://arxiv.org/abs/2002.11054.
[14] IREE Authors. IREE: Intermediate Representation Execution Environment. https://iree.dev/. Accessed 2026-10-13.
[15] Microsoft. Olive: Simplify ML Model Finetuning, Conversion, Quantization, and Optimization for CPUs, GPUs and NPUs. https://github.com/microsoft/Olive. Accessed 2026-10-05.
[16] NVIDIA Corporation. NVIDIA TensorRT SDK. https://developer.nvidia.com/tensorrt. Accessed 2026-10-24
[17] Qualcomm Technologies Inc. Qualcomm AI Engine Direct SDK. https://www.qualcomm.com/developer/software/qualcomm-ai-engine-direct-sdk. Accessed 2026-10-24
[18] Apple Inc. Core ML Documentation. https://developer.apple.com/documentation/coreml. Accessed 2026-10-13.
[19] Rockchip Electronics. RKNPU2: Rockchip Neural Processing Unit SDK. https://github.com/airockchip/rknn-toolkit2/tree/master/rknpu2. Accessed 2026-10-24
[20] Intel Corporation. OpenVINO Toolkit: Open Visual Inference and Neural Network Optimization. https://docs.openvino.ai/. Accessed 2026-10-24
[21] Huawei Technologies Co., Ltd. CANN: Compute Architecture for Neural Networks. https://www.hiascend.com/en/software/cann. Accessed 2026-10-13.
[22] Sangeetha Siddegowda et al. Neural Network Quantization with AI Model Efficiency Toolkit (AIMET). arXiv:2201.08442, 2022. https://arxiv.org/abs/2201.08442.
[23] Qualcomm Technologies, Inc. Qualcomm AI Hub. https://aihub.qualcomm.com/. Accessed 2026-10-13.
[24] Qualcomm. QAI AppBuilder (Quick AI Application Builder). GitHub, BSD-3-Clause. https://github.com/qualcomm/qai-appbuilder. Accessed 2026-10-24.
[25] ggml-org. llama.cpp. https://github.com/ggml-org/llama.cpp. Accessed 2026-10-13.
[26] AMD. ROCm AI. https://www.amd.com/en/products/software/rocm/rocm-ai.html. Accessed 2026-10-10.
[27] AMD. ROCm Hyperloom: An Agentic System That Auto-Optimizes LLM Workloads on AMD GPUs. https://github.com/AMD-AGI/Hyperloom. Accessed 2026-10-10.
[28] Ascend Community. Agent Skills: AI Agent Toolkit for Huawei Ascend NPU. https://github.com/Ascend/agent-skills
[29] Marcin Spoczynski et al. Xe-Forge: Multi-Stage LLM-Powered Kernel Optimization for Intel GPU. arXiv:2605.26118v1, 2026.
[30] Jiajie Li, Erwei Wang, Zhiru Zhang, and Samuel Bayliss. From Human Guidance to Autonomy: Agent Skill System for End-to-End LLM Deployment on Spatial NPUs. Machine Learning for Architecture and Systems Workshop (MLArchSys), co-located with ISCA 2026. arXiv:2606.07586v2, 2026.
[31] Mengling Deng et al. EdgeFM: Efficient Edge Inference for Vision-Language Models. arXiv:2604.27476v2, 2026.
[32] Taras Sereda et al. KForge: LLM-Driven Cross-Platform Kernel Generation for AI Accelerators. MLArchSys Workshop at ISCA 2026. arXiv:2606.02963v1, 2026.
[33] Genghan Zhang et al. AccelOpt: A Self-Improving LLM Agentic System for AI Accelerator Kernel Optimization. arXiv:2511.15915v2, 2026.
[34] Terry Chen et al. AVO: Agentic Variation Operators for Autonomous Evolutionary Search. arXiv:2603.24517v1, 2026.
[35] Alec M. Hammond et al. Agentic Operator Generation for ML ASICs. MLSys 2026. arXiv:2512.10977v1, 2025.
[36] Kirill Nagaitsev, Luka Grbcmc, Samuel Williams, and Costin Iancu. Optimizing PyTorch Inference with LLM-Based Multi-Agent Systems. MLSys 2026. arXiv:2511.16964v2, 2026.
[37] Harsh Menon et al. Wave: A Symbolic Python DSL And Compiler for High-Performance Machine Learning. MLSys 2026.
[38] Ignacio Cano et al. CATWILD: Compiler Autotuning for TPU Workloads in the Wild. MLSys 2026.
[39] Yuran Ding, Ruobing Han, Xiaofan Zhang, and Xinwei Chen. PROMPTS: PeRperformance Optimization via Multi-Agent Planning for LLM Training and Serving. MLSys 2026.
[40] Sung Min Cho et al. Optimizing Deployment Configurations for LLM Inference. MLSys 2026.
[41] Xintao Wang et al. Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data. ICCVW, 2021.
[42] Tianheng Cheng et al. YOLO-World: Real-Time Open-Vocabulary Object Detection. CVPR, 2024.
[43] Wenliang Zhao, Xumin Yu, and Zengyi Qin. MeloTTS: High-Quality Multi-Lingual Multi-Accent Text-to-Speech. Software release, 2023. https://github.com/myshell-ai/MeloTTS.
[44] Alec Radford et al. Robust Speech Recognition via Large-Scale Weak Supervision. arXiv:2212.04356, 2022. https://arxiv.org/abs/2212.04356.
[45] Robin Rombach et al. High-Resolution Image Synthesis with Latent Diffusion Models. CVPR, 2022.
[46] Hugging Face. SmolLM2-135M Model Card. https://huggingface.co/HuggingFaceTB/SmolLM2-135M. Accessed 2026-10-13.
[47] An Yang et al. Qwen3 Technical Report. arXiv:2505.09388, 2025. https://arxiv.org/abs/2505.09388.
[48] Alec Radford et al. Learning Transferable Visual Models From Natural Language Supervision. ICML, 2021.
[49] PaddlePaddle. PaddleOCR. https://github.com/PaddlePaddle/PaddleOCR. Accessed 2026-10-19.
[50] Yian Zhao, Wenyu Lv, Shangliang Xu, Jinman Wei, Guanzhong Wang, Qingqing Dang, Yi Liu, and Jie Chen. DETRs Beat YOLOs on Real-time Object Detection. CVPR, 2024.
[51] Ultralytics. Ultralytics YOLO Documentation. https://docs.ultralytics.com/. Accessed 2026-10-19.
[52] Glenn Jocher, Jing Qiu, Mengyu Liu, Shuai Lyu, Fatih Cagatay Akyon, and Muhammet Esat Kalfaoglu. Ultralytics YOLO26: Unified Real-Time End-to-End Vision Models. arXiv:2606.03748, 2026. https://arxiv.org/abs/2606.03748.
[53] Alexei Baevski, Yuhao Zhou, Abdelrahman Mohamed, and Michael Auli. wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations. NeurIPS, 2020.
[54] Sachin Mehta and Mohammad Rastegari. MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer. ICLR, 2022.
[55] Sergey Zherzdev and Alexey Gruzdev. LPRNet: License Plate Recognition via Deep Neural Networks. arXiv:1806.10447, 2018. https://arxiv.org/abs/1806.10447.
[56] Hugging Face. SmolVLM-500M-Instruct Model Card. https://huggingface.co/HuggingFaceTB/SmolVLM-500M-Instruct. Accessed 2026-10-19.
[57] Qwen. Qwen3.5-0.8B Model Card. https://huggingface.co/Qwen/Qwen3.5-0.8B. Accessed 2026-10-13.
[58] OpenAI. Codex CLI: Lightweight Coding Agent in the Terminal. https://github.com/openai/codex
[59] OpenAI. Models. https://developers.openai.com/api/docs/models. Accessed 2026-10-13.
[60] earendil-works. Pi: AI Agent Toolkit and Coding Agent. https://github.com/earendil-works/pi. Accessed 2026-10-13.
[61] Z.AI. GLM-5.3. https://docs.z.ai/guides/llm/glm-5.3. Accessed 2026-10-24.
[62] DeepSeek. DeepSeek-V4.1-Flash-1017 Model Card. https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017. Accessed 2026-10-24.
[63] Anthropic. Models overview. https://platform.claude.com/docs/en/models/overview. Accessed 2026-10-23.
[64] Tsung-Yi Lin et al. Microsoft COCO: Common Objects in Context. ECCV, 2014.
[65] Vassil Panayotov, Guoguo Chen, Daniel Povey, and Sanjeev Khudanpur. Librispeech: An ASR Corpus Based on Public Domain Audio Books. ICASSP, 2015.
[66] MLCommons. MLPerf Inference Rules. https://github.com/mlcommons/inference_policies/blob/master/inference_rules.adoc. Accessed 2026-10-24.
[67] Junsong Chen et al. PixArt- : Weak-to-Strong Training of Diffusion Transformer for 4K Text-to-Image Generation. ECCV, 2024.
[68] Colin Raffel et al. Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer. Journal of Machine Learning Research, 21(140):1–67, 2020.