[Genio 720][Yocto Linux] LLM Deployment Flow and GAI Toolkit Availability Inquiry

We are currently deploying Large Language Models (LLMs) on the Genio 720 EVK running Yocto Linux, and have several questions regarding the deployment workflow.

  1. GAI Deployment Flow for Yocto Linux
    The official GAI Toolkit documentation (Tutorial for Large Language Models, section 5.1.3) describes a deployment flow consisting of the following stages: model preparation → PTQ → compilation → inference. However, this flow appears to target Android-based devices. Could you confirm whether the same flow applies to Yocto Linux? If so, is there dedicated documentation or tooling for the Yocto Linux variant?

  2. On-Device Inference and File Transfer
    Regarding the inference stage (as shown in the attached Gen AI Workflow diagram), the official documentation recommends using Android Debug Bridge (ADB) to push files to the device. We have confirmed that Yocto Linux does support ADB (adb push/pull/shell). However, we would like to confirm:

  • Is ADB the recommended method for file transfer on Yocto Linux as well?
  • Are there any Yocto-specific path conventions or runtime configurations that differ from the Android flow (e.g., replacing /data/local/tmp/ with /home/root/)?
  • Is Android NDK still required for cross-compiling the inference executable on Yocto Linux, or should we use the Yocto SDK toolchain instead?
  1. NDA Access and 2026 Q2 Feature Availability
    We have already completed the NDA process with MediaTek and currently have access to the NDA-protected documentation and tools. We note that TFLite Generative AI support on Genio 720 with Yocto Linux is listed as ETA 2026/Q2 in the IoT AI Hub documentation. Could you clarify whether this feature is already available to NDA partners, and if so, where we can find the corresponding toolkit or documentation?

Thank you for your support. We look forward to your guidance.

Hi Molly_Wang,

Thanks for reaching out! Here are my replies:

1. GAI Deployment Flow on Yocto Linux

In the current GAI Toolkit architecture, the earlier stages (model preparation → PTQ → compilation) all run on the host PC. The outputs are model files targeting the NPU/APU hardware, which are not tightly coupled to the target device’s OS. So these stages are basically identical between Android and Yocto Linux.

The main differences sit in the final inference stage, mostly around on-device conventions (paths, permissions, launch flow, etc.).

Quick note: the full GAI package for Yocto on Genio 720 hasn’t been officially released yet, so the final form of the inference stage may still change. Before the official release, you can use the Android tutorial as a reference for the model preparation / PTQ / compilation stages.

2. On-Device Inference & File Transfer

2.1 Is ADB still recommended on Yocto?
Yes. The Genio Yocto image supports ADB (adb push/pull/shell), so you can keep the same workflow as on Android. If your team already has a preferred file-transfer flow, that works too.

2.2 Path convention
There is no /data/local/tmp/ on Yocto. Our internal AI benchmark convention is /usr/share/tmp/, so we recommend placing LLM-related models and executables under /usr/share/tmp/ as well, to stay consistent with the existing benchmark tooling and make later integration easier.

Quick note: since the full GAI package for Yocto on Genio 720 hasn’t been officially released yet, this path is a tentative suggestion aligned with the current AI benchmark convention. The actual deployment path may still change once the official release is out, so please follow the official documentation when it becomes available.

2.3 Android NDK vs Yocto SDK toolchain
Please use the Yocto SDK toolchain. Android NDK is not recommended.

3. NDA Access & 2026 Q2 Feature Release

The “ETA 2026/Q2” shown on the IoT AI Hub is a public roadmap estimate. Once officially released, it will be updated on the IoT AI Hub, so it’s worth keeping an eye on that page for the latest status.

Best,
Jun