{"adoption": {"forks": 602, "observed_at": "2026-08-28T04:09:28.244908+00:00", "stars": 5719}, "canonical_url": "https://ross.abutalabs.com/products/gemma_pytorch", "card": {"archived": true, "artifact_type": "library", "description": "The official PyTorch implementation of Google's Gemma models", "domain": ["large-language-models", "deep-learning", "artificial-intelligence"], "enriched": true, "function": ["llm-inference", "machine-learning", "deep-learning"], "health_score": 10, "homepage": "https://ai.google.dev/gemma", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["google/gemma_pytorch"], "name": "google/gemma_pytorch", "platform": ["python", "cloud"], "pushed_at": "2025-05-30T20:45:51+00:00", "repo": "google/gemma_pytorch", "stars": 5719, "tags": ["gemma", "pytorch", "google", "tpu", "open-weights", "inference", "multimodal", "gpu", "linux"], "topics": ["gemma", "google", "pytorch"], "urls": [], "use_cases": ["run gemma models locally with pytorch", "inference for gemma 3 on gpu", "run gemma on tpu with pytorch xla", "load gemma checkpoints from kaggle or hugging face", "run multimodal gemma 4b 12b 27b inference", "fine-tune or experiment with gemma model architecture"], "what_it_is": "The official PyTorch implementation of Google's Gemma family of open large language models, including text-only and multimodal variants. It provides model and inference code supporting CPU, GPU, and TPU via PyTorch and PyTorch/XLA.", "when_to_avoid": ["you want a high-performance production serving stack with batching and quantization", "you prefer using Gemma through Hugging Face Transformers or vLLM", "you need training/fine-tuning pipelines, which this repo does not focus on", "you use a framework other than PyTorch such as JAX or TensorFlow"], "when_to_choose": ["you want the official reference implementation of Gemma in PyTorch", "you need inference across CPU, GPU, and TPU including PyTorch/XLA", "you want to run Gemma 1/2/3 or CodeGemma checkpoints directly", "you need multimodal Gemma 3 support in PyTorch"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/gemma_pytorch", "repo": "google/gemma_pytorch", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.244908+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:53:28.331877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2be5ec835d2508cefce2f4015ee11d2d325423ac9bef3d64435e8a2f64be5543", "fetched_at": "2026-08-28T04:09:28.244908+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/gemma_pytorch"}, {"content_hash": "458fc3b379e26fc3fb1b547f3480c85fd15c366100938553f4a30658146f6b3e", "fetched_at": "2026-08-29T08:49:01.869006+00:00", "kind": "homepage", "missing": false, "url": "https://ai.google.dev/gemma"}, {"content_hash": "ae485140138c463d3f15c1b2f3cab6d21b91b1699df7886a4ddb47d7bd8878b0", "fetched_at": "2026-08-29T08:49:01.879344+00:00", "kind": "site_page", "missing": false, "url": "https://deepmind.google/about"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.244908+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:53:28.331877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2be5ec835d2508cefce2f4015ee11d2d325423ac9bef3d64435e8a2f64be5543", "fetched_at": "2026-08-28T04:09:28.244908+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/gemma_pytorch"}, {"content_hash": "458fc3b379e26fc3fb1b547f3480c85fd15c366100938553f4a30658146f6b3e", "fetched_at": "2026-08-29T08:49:01.869006+00:00", "kind": "homepage", "missing": false, "url": "https://ai.google.dev/gemma"}, {"content_hash": "ae485140138c463d3f15c1b2f3cab6d21b91b1699df7886a4ddb47d7bd8878b0", "fetched_at": "2026-08-29T08:49:01.879344+00:00", "kind": "site_page", "missing": false, "url": "https://deepmind.google/about"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:53:28.331877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2be5ec835d2508cefce2f4015ee11d2d325423ac9bef3d64435e8a2f64be5543", "fetched_at": "2026-08-28T04:09:28.244908+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/gemma_pytorch"}, {"content_hash": "458fc3b379e26fc3fb1b547f3480c85fd15c366100938553f4a30658146f6b3e", "fetched_at": "2026-08-29T08:49:01.869006+00:00", "kind": "homepage", "missing": false, "url": "https://ai.google.dev/gemma"}, {"content_hash": "ae485140138c463d3f15c1b2f3cab6d21b91b1699df7886a4ddb47d7bd8878b0", "fetched_at": "2026-08-29T08:49:01.879344+00:00", "kind": "site_page", "missing": false, "url": "https://deepmind.google/about"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.244908+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.244908+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.244908+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:53:28.331877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2be5ec835d2508cefce2f4015ee11d2d325423ac9bef3d64435e8a2f64be5543", "fetched_at": "2026-08-28T04:09:28.244908+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/gemma_pytorch"}, {"content_hash": "458fc3b379e26fc3fb1b547f3480c85fd15c366100938553f4a30658146f6b3e", "fetched_at": "2026-08-29T08:49:01.869006+00:00", "kind": "homepage", "missing": false, "url": "https://ai.google.dev/gemma"}, {"content_hash": "ae485140138c463d3f15c1b2f3cab6d21b91b1699df7886a4ddb47d7bd8878b0", "fetched_at": "2026-08-29T08:49:01.879344+00:00", "kind": "site_page", "missing": false, "url": "https://deepmind.google/about"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.244908+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.244908+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:53:28.331877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2be5ec835d2508cefce2f4015ee11d2d325423ac9bef3d64435e8a2f64be5543", "fetched_at": "2026-08-28T04:09:28.244908+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/gemma_pytorch"}, {"content_hash": "458fc3b379e26fc3fb1b547f3480c85fd15c366100938553f4a30658146f6b3e", "fetched_at": "2026-08-29T08:49:01.869006+00:00", "kind": "homepage", "missing": false, "url": "https://ai.google.dev/gemma"}, {"content_hash": "ae485140138c463d3f15c1b2f3cab6d21b91b1699df7886a4ddb47d7bd8878b0", "fetched_at": "2026-08-29T08:49:01.879344+00:00", "kind": "site_page", "missing": false, "url": "https://deepmind.google/about"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.244908+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.244908+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.244908+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:53:28.331877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2be5ec835d2508cefce2f4015ee11d2d325423ac9bef3d64435e8a2f64be5543", "fetched_at": "2026-08-28T04:09:28.244908+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/gemma_pytorch"}, {"content_hash": "458fc3b379e26fc3fb1b547f3480c85fd15c366100938553f4a30658146f6b3e", "fetched_at": "2026-08-29T08:49:01.869006+00:00", "kind": "homepage", "missing": false, "url": "https://ai.google.dev/gemma"}, {"content_hash": "ae485140138c463d3f15c1b2f3cab6d21b91b1699df7886a4ddb47d7bd8878b0", "fetched_at": "2026-08-29T08:49:01.879344+00:00", "kind": "site_page", "missing": false, "url": "https://deepmind.google/about"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.244908+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:28.244908+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:53:28.331877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2be5ec835d2508cefce2f4015ee11d2d325423ac9bef3d64435e8a2f64be5543", "fetched_at": "2026-08-28T04:09:28.244908+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/gemma_pytorch"}, {"content_hash": "458fc3b379e26fc3fb1b547f3480c85fd15c366100938553f4a30658146f6b3e", "fetched_at": "2026-08-29T08:49:01.869006+00:00", "kind": "homepage", "missing": false, "url": "https://ai.google.dev/gemma"}, {"content_hash": "ae485140138c463d3f15c1b2f3cab6d21b91b1699df7886a4ddb47d7bd8878b0", "fetched_at": "2026-08-29T08:49:01.879344+00:00", "kind": "site_page", "missing": false, "url": "https://deepmind.google/about"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:53:28.331877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2be5ec835d2508cefce2f4015ee11d2d325423ac9bef3d64435e8a2f64be5543", "fetched_at": "2026-08-28T04:09:28.244908+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/gemma_pytorch"}, {"content_hash": "458fc3b379e26fc3fb1b547f3480c85fd15c366100938553f4a30658146f6b3e", "fetched_at": "2026-08-29T08:49:01.869006+00:00", "kind": "homepage", "missing": false, "url": "https://ai.google.dev/gemma"}, {"content_hash": "ae485140138c463d3f15c1b2f3cab6d21b91b1699df7886a4ddb47d7bd8878b0", "fetched_at": "2026-08-29T08:49:01.879344+00:00", "kind": "site_page", "missing": false, "url": "https://deepmind.google/about"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:53:28.331877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2be5ec835d2508cefce2f4015ee11d2d325423ac9bef3d64435e8a2f64be5543", "fetched_at": "2026-08-28T04:09:28.244908+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/gemma_pytorch"}, {"content_hash": "458fc3b379e26fc3fb1b547f3480c85fd15c366100938553f4a30658146f6b3e", "fetched_at": "2026-08-29T08:49:01.869006+00:00", "kind": "homepage", "missing": false, "url": "https://ai.google.dev/gemma"}, {"content_hash": "ae485140138c463d3f15c1b2f3cab6d21b91b1699df7886a4ddb47d7bd8878b0", "fetched_at": "2026-08-29T08:49:01.879344+00:00", "kind": "site_page", "missing": false, "url": "https://deepmind.google/about"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:53:28.331877+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "2be5ec835d2508cefce2f4015ee11d2d325423ac9bef3d64435e8a2f64be5543", "fetched_at": "2026-08-28T04:09:28.244908+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/gemma_pytorch"}, {"content_hash": "458fc3b379e26fc3fb1b547f3480c85fd15c366100938553f4a30658146f6b3e", "fetched_at": "2026-08-29T08:49:01.869006+00:00", "kind": "homepage", "missing": false, "url": "https://ai.google.dev/gemma"}, {"content_hash": "ae485140138c463d3f15c1b2f3cab6d21b91b1699df7886a4ddb47d7bd8878b0", "fetched_at": "2026-08-29T08:49:01.879344+00:00", "kind": "site_page", "missing": false, "url": "https://deepmind.google/about"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 24, "longevity": 66, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases", "archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 925, "days_push": 460, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}