-
Notifications
You must be signed in to change notification settings - Fork 716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WASI-NN] ggml: add ErrNo::ModelNotFound #3338
Conversation
Hello, I am a code review bot on flows.network. Here are my reviews of code commits in this PR. This pull request, titled "[WASI-NN] ggml: add ErrNo::ModelNotFound," predominantly includes two broad changes. One caters to handling a scenario where a model file specified in the code cannot be located, and the other is intended to address a macOS-related setup in the continuous integration (CI) build, particularly in connection with ffmpeg@6 library. Several potential issues and concerns identified across these changes include:
In conclusion, although the two changes appear to cater to essential aspects of the software - error handling mechanism and macOS specific build configurations, they introduce several potential risks that need careful consideration and proper handling. DetailsCommit 6b9b6c6e4b0fc78fce9a0a9bfba6052f34630d8fSummary Key changes:
Potential Problems:
Commit 2ebce1be4d65972aa00b471308730218fed4e201The key change given in the patch is that the environment's PKG_CONFIG_PATH being setup for the ffmpeg@6 library. This is done within the Github Action Script or workflow file build-extensions.yml. The PKG_CONFIG_PATH is set by prepending the pkgconfig path for ffmpeg@6 retrieved using the brew command. The path being set is specific to a macOS setup as the Homebrew packet manager used to get the ffmpeg's pkgconfig path is common in macOS systems. Key takeaways from this patch:
Lines 355 - 359 in the build-extensions.yml represent a script block within a Github Action environment. This change should not impact other system builds, provided that other system-specific paths are correctly defined in the neighboring environments. Possible issues:
|
Signed-off-by: dm4 <dm4@secondstate.io>
cbe4e52
to
6b9b6c6
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3338 +/- ##
=======================================
Coverage 79.93% 79.94%
=======================================
Files 251 251
Lines 34368 34368
Branches 5988 5963 -25
=======================================
+ Hits 27472 27474 +2
+ Misses 5515 5509 -6
- Partials 1381 1385 +4 ☔ View full report in Codecov by Sentry. |
f50366a
to
f3cc61a
Compare
Signed-off-by: dm4 <dm4@secondstate.io>
f3cc61a
to
2ebce1b
Compare
To add
ModelNotFound
error towasmedge-wasi-nn
and use it in our WasmEdge WASINN examples, we need: