-
Notifications
You must be signed in to change notification settings - Fork 148
Description
Description of the bug:
I am following this guide https://colab.research.google.com/github/google-gemini/gemma-cookbook/blob/main/Demos/Emoji-Gemma-on-Web/resources/Convert_Gemma_3_270M_to_LiteRT_for_MediaPipe_LLM_Inference_API.ipynb to convert my fine tuned gemma 270M model into a task file. When I'm trying to install the dependencies , I am getting this error in colab:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed.
grpcio-status 1.71.2 requires protobuf<6.0dev,>=5.26.1, but you have protobuf 6.32.1.
google-ai-generativelanguage 0.6.15 requires protobuf<6.0.0dev,>=3.20.2, but you have protobuf 6.32.1.
Pip resolves to protobuf 6.32.1 (required by tf-nightly 2.21.0.dev20250819 and ai-edge-tensorflow 2.21.0.dev20250818), but several Google packages in the same environment still require protobuf < 6.0.
Can anyone guide me how to solve this? or if there is any other guide which I can follow to convert to .tflite and hence .task file for my fine tuned model.
Actual vs expected behavior:
No response
Any other information you'd like to share?
No response