1.x pre PyPi release of Library #241
-
Hi, before the release of Gemma 3 one would install the Flax inference code through pointing pip at a link directly which was given in the docs. Presumably, that was an 1.x version of the library. It appears now that this documentation page has been scrubbed from the internet, and I am not able to install this older (pre-2025) version of the library. Unfortunately, some research code depends on that version of the library, and this newer version here breaks our existing setup. Would it be possible for someone to point me to where I can find this older version of the library? Cheers! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Particularly, we are loading an existing gemma checkpoint like this:
Where I'm not too interested in debugging this per-se if we could get access to the older version instead :) |
Beta Was this translation helpful? Give feedback.
-
Yes, the legacy API was never truly released on PyPI and is being removed. In the long term, I would encourage you to migrate to the new API which supports Gemma3, in addition of being simpler while more features complete. If you want to install an old version of the library, this is still possible by choosing an old commit. For example, the following should work for you: pip install git+https://github.com/google-deepmind/gemma.git@cc13ebe966cef38c3c0357e51225815e6f0cd67d |
Beta Was this translation helpful? Give feedback.
Yes, the legacy API was never truly released on PyPI and is being removed.
In the long term, I would encourage you to migrate to the new API which supports Gemma3, in addition of being simpler while more features complete.
If you want to install an old version of the library, this is still possible by choosing an old commit. For example, the following should work for you:
pip install git+https://github.com/google-deepmind/gemma.git@cc13ebe966cef38c3c0357e51225815e6f0cd67d