Device Test

Build and run the llama.rn example app on real hardware to validate native (cpp/, vendor/llama.cpp) changes end-to-end - iOS-on-Mac ("Designed for iPad" on Apple Silicon, real Metal GPU) and Android on a connected Snapdragon device with ggml-hexagon (HTP/NPU) enabled. Use this whenever the user wants to test on a real device or real GPU/NPU, says "run on my mac", "test on the phone/device", mentions hexagon, HTP, NPU, Metal GPU testing, or after C++ changes when unit tests pass but on-device verification is needed. Both flows compile the C++ from source, so cpp/ and vendor/ edits take effect.

mybigday 62a9699 2 files · 18.4 KB Updated

File contents

mybigday/llama.rn/tree/main/.agents/skills/device-test commit 62a9699eb8

Frequently asked questions

npx skillmds@latest add mybigday/device-test