google-deepmind / google-deepmind/gemma

Python dependencies and conflicts fine-tune gemma 3 1b

Open
#336 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5.7k
Forks
1k
Avg merge
10h 33m
Merged PRs (30d)
2

Description

Hugging Face Gemma/TRL stack (requires PyTorch, transformers<4.51, protobuf==4.x) is incompatible with TensorFlow/MediaPipe/AI-Edge stack (which requires protobuf>=5.x and often overwrites dependencies), making them unsafe to use together in a single Colab runtime.

Is there a working version of all Python dependencies from here
https://colab.research.google.com/github/google-ai-edge/mediapipe-samples/blob/main/codelabs/litert_inference/Gemma3_1b_fine_tune.ipynb

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.