Metraipolis › archive › dc_e8a1edb12802
From PyTorch to the NPU: LLM-Agent-Driven Model Conversion Across Heterogeneous Inference Runtimes — arXiv:2609.27249
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.27249
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-08T10:06:28.224Z
- SHA-256 of the archived text
f8703c4d23bb7e8f4a9452978e15f711c1c3b28d0b60193a5e7e0f90047b5614- Stable URL of this page
https://metraipolis.com/documento/dc_e8a1edb12802
How to cite
From PyTorch to the NPU: LLM-Agent-Driven Model Conversion Across Heterogeneous Inference Runtimes — arXiv:2609.27249 — arXiv (en), https://arxiv.org/abs/2609.27249 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e8a1edb12802 (Metraipolis archive dc_e8a1edb12802, sha256 f8703c4d23bb7e8f4a9452978e15f711c1c3b28d0b60193a5e7e0f90047b5614)
BibTeX
@misc{dce8a1edb12802,
title = {From PyTorch to the NPU: LLM-Agent-Driven Model Conversion Across Heterogeneous Inference Runtimes — arXiv:2609.27249},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.27249},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e8a1edb12802; sha256 f8703c4d23bb7e8f4a9452978e15f711c1c3b28d0b60193a5e7e0f90047b5614},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.27249. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Edge AI model deployment is a multi-stage engineering process involving model conversion, operator compatibility handling, runtime integration, and precision verification. While prior work has demonstrated agent-based automation for Qualcomm AI Runtime, the broader edge inference runtime ecosystem, including Intel OpenVINO, Rockchip RKNN, NVIDIA TensorRT, and ONNX Runtime, presents distinct toolchains and optimization strategies. This paper extends AIPC (AI Porting Conversion, an LLM agent-driven methodology for AI model deployment automation previously demonstrated on Qualcomm AI Runtime) to multi-runtime scenarios, proposing an LLM agent-driven approach for automated single-model-to-single-runtime deployment across heterogeneous inference backends, such as Intel OpenVINO, Rockchip RKNN, NVIDIA TensorRT, and ONNX Runtime. We decompose the edge AI deployment into standardized, verifiable stages, and inject runtime-specific domain knowledge into the agent execution flow through agent skills, auxiliary scripts, and staged verification loops. Using representative vision models, we demonstrate that agent-based deployment can complete the conversion from a PyTorch model to its executable inference, targeting OpenVINO for x86/NPU, RKNN for RK3588, TensorRT for NVIDIA GPU, and ONNX Runtime for Qualcomm NPU with a focus on FP16 precision deployment feasibility verification. The contributions of this paper primarily lie in providing multi-runtime deployment engineering practice experience, toolchain mapping analysis, a layout-adaptation and inference-replacement layer that removes manual transpose insertion from the agent's repair burden, and an empirical characterization of agent deviation behavior under structured knowledge injection, rather than large-scale systematic benchmarking or cross-runtime operator repair strategy comparison. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-24 in cs.DC). Categorie arXiv: Software Engineering (cs.SE) ; Distributed, Parallel, and Cluster Computing (cs.DC). Pagina del lavoro: https://arxiv.org/abs/2609.27249 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-08T09:13:37.349Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-09-24?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).