code
-
Line 81, it has:
std::string getBackendBuildId(QNN_INTERFACE_VER_TYPE &qnnInterface) { char *backendBuildId{nullptr}; if (QNN_SUCCESS != qnnInterface.backendGetBuildId((const char **)&backendBuildId)) { MLLM_LOG_ERROR_LEGACY("Unable to get build Id from the backend."); } return (backendBuildId == nullptr ? std::string("") : std::string(backendBuildId)); } -
It contains header files.
CMakeLists.txt: https://github.com/XiaoMi/StableDiffusionOnDevice/blob/65f09ae58a7c4a4c14aaeaaeaf5f5376a72f8b74/app/src/main/cpp/CMakeLists.txt
-
Line 419, load system lib, call
QnnSystemInterface_getProvidersLine 481, load backend lib, call
QnnInterface_getProviders
QnnModel_composeGraphs
See
When using v2.32 with my Xiaomi 17, I get:
backend build ID: v2.32.0.250228225014_116386
0.0ms [INFO ] QnnDsp <I> QnnLog_create started.
0.0ms [VERBOSE] QnnDsp <V> Registered a new graph environment 1 with priority: 100, num hvx threads: 0, num hmx threads: 1001
0.0ms [WARN ] QnnDsp <W> Initializing HtpProvider
0.0ms [VERBOSE] QnnDsp <V> Creating default router
0.0ms [VERBOSE] QnnDsp <V> RouterFastRPC create
0.0ms [VERBOSE] QnnDsp <V> HTP: Initializing the router
0.0ms [INFO ] QnnDsp <I> exit with 0
0.0ms [INFO ] QnnDsp <I> exit with 0
0.0ms [ERROR ] QnnDsp <E> Stub lib id mismatch: expected (v2.32.0.250228225014_116386), detected (v2.33.0.250327124043_117917)
0.0ms [ERROR ] QnnDsp <E> Unable to load Remote symbols 1008
0.0ms [ERROR ] QnnDsp <E> Unable to load Remote symbols 1008
0.0ms [VERBOSE] QnnDsp <V> Async property not supported. Skipping setup async threads
0.0ms [VERBOSE] QnnDsp <V> Detected Snapdragon SOC SM8850 with 1 SOCs
0.0ms [VERBOSE] QnnDsp <V> Allocating PlatformInfo struct size 120
0.0ms [VERBOSE] QnnDsp <V> HTP: Initializing the log registry
pandora:/data/local/tmp $ strings /vendor/lib/rfsa/adsp/libQnnHtpV81Skel.so | grep AISW_VERSION
AISW_VERSION: 2.33.0
pandora:/data/local/tmp $ strings /vendor/lib/rfsa/adsp/libQnnHtpV81Skel.so | grep v2.33
v2.33.0.250327124043_117917
v2.33.0.250327124043_117917.d278150d6a