You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Cause**: Wrong parameter order in Runner constructor or missing QNN config
376
+
-**Cause**: Wrong parameter order in Runner constructor or missing QNN config
377
377
378
-
**Solution**: Check `$EXECUTORCH_ROOT/examples/qualcomm/oss_scripts/llama/runner/runner.h` for the correct constructor signature.
378
+
-**Solution**: Check `$EXECUTORCH_ROOT/examples/qualcomm/oss_scripts/llama/runner/runner.h` for the correct constructor signature.
379
379
380
380
##### Issue 2: Error 1 (Internal) with QNN API Version Mismatch
381
381
382
-
**Symptoms**:
383
-
```
384
-
W [Qnn ExecuTorch]: Qnn API version 2.33.0 is mismatched
385
-
E [Qnn ExecuTorch]: Using newer context binary on old SDK
386
-
E [Qnn ExecuTorch]: Can't create context from binary. Error 5000
387
-
```
382
+
-**Symptoms**:
388
383
389
-
**Cause**: Model compiled with QNN SDK version X but APK uses QNN runtime version Y
384
+
```
385
+
W [Qnn ExecuTorch]: Qnn API version 2.33.0 is mismatched
386
+
E [Qnn ExecuTorch]: Using newer context binary on old SDK
387
+
E [Qnn ExecuTorch]: Can't create context from binary. Error 5000
388
+
```
390
389
391
-
**Solution**:
392
-
1. Update `build.gradle.kts` with matching QNN runtime version
390
+
- **Cause**: Model compiled with QNN SDK version X but APK uses QNN runtime version Y
393
391
394
-
> **Note:** The version numbers below (`2.33.0` and `2.37.0`) are examples only. Please check for the latest compatible QNN runtime version or match your QNN SDK version to avoid API mismatches.
> **Note:** The version numbers below (`2.33.0` and `2.37.0`) are examples only. Please check for the latest compatible QNN runtime version or match your QNN SDK version to avoid API mismatches.
404
396
405
-
2. Or recompile model with matching QNN SDK version
0 commit comments