The TFLite model trained with LiteRT cannot run on the GPU. #5899
Labels
gpu
MediaPipe GPU related issues
platform:ios
MediaPipe IOS issues
stat:awaiting response
Waiting for user response
task:object detection
Issues related to Object detection: Track and label objects in images and video.
type:modelmaker
Issues related to creation of custom on-device ML solutions
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
iPhone12
Python Version
3.8
MediaPipe Model Maker version
None
Task name (e.g. Image classification, Gesture recognition etc.)
Object detect
Describe the actual behavior
Switch to GPU,throw error
Describe the expected behaviour
Run on GPU
Standalone code/steps you may have used to try to get what you need
The official MediaPipe demo deployed on iPhone 12 can switch to GPU for execution, but the TFLite model trained with LiteRT can only run on the CPU, and switching to GPU results in an error.
Other info / Complete Logs
The text was updated successfully, but these errors were encountered: