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
My app has both mediapipe_genai and mediapipe_text implement.
But I'm getting this error when running genai the app:
FINE [TaskExecutor][19:18:23.107] Creating Inference worker
objc[79998]: Class MPPMetalSharedResources is implemented in both /Users/rivertwilight/Developer/Dali/build/macos/Build/Products/Debug/Dali.app/Contents/Frameworks/text.framework/Versions/A/text (0x2cdf3d448) and /Users/rivertwilight/Developer/Dali/build/macos/Build/Products/Debug/Dali.app/Contents/Frameworks/libllm_inference_engine.framework/Versions/A/libllm_inference_engine (0x2daa35470). One of the two will be used. Which one is undefined.
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
F0000 00:00:1738235903.325665 70905121 registration.h:195] Function with name DefaultInputStreamHandler already registered.
*** Check failure stack trace: ***
Then my app crushed immediately.
I'm using embedding provided by mediapipe_text. If I remove the embedder initialization code, everything works well.
Steps to reproduce
Just create a flutter app that initializes both mediapipe_genai and mediapipe_text lib, then try to chat with gemini 4b cpu.
Expected behavior
It should works.
Flutter doctor
Click To Expand
[✓] Flutter (Channel master, 3.27.0-1.0.pre.681, on macOS 14.3 23D2057 darwin-arm64,
locale en-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/to/macos-android-setup for more details.
[!] Xcode - develop for iOS and macOS (Xcode 15.4)
! CocoaPods 1.15.2 out of date (1.16.2 is recommended).
CocoaPods is a package manager for iOS or macOS platform code.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/to/platform-plugins
To update CocoaPods, see
https://guides.cocoapods.org/using/getting-started.html#updating-cocoapods
[✗] Chrome - develop for the web (Cannot find Chrome executable at
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.90.0)
Bug report
My app has both
mediapipe_genai
andmediapipe_text
implement.But I'm getting this error when running
genai
the app:Then my app crushed immediately.
I'm using embedding provided by
mediapipe_text
. If I remove the embedder initialization code, everything works well.Steps to reproduce
Just create a flutter app that initializes both
mediapipe_genai
andmediapipe_text
lib, then try to chat with gemini 4b cpu.Expected behavior
It should works.
Flutter doctor
Click To Expand
Flutter dependencies
Click To Expand
The text was updated successfully, but these errors were encountered: