{"data":{"slug":"huggingface-optimum-tpu","name":"optimum-tpu","tagline":"Google TPU optimizations for transformers models","github_url":"https://github.com/huggingface/optimum-tpu","owner":"huggingface","repo":"optimum-tpu","owner_avatar_url":"https://avatars.githubusercontent.com/u/25720743?v=4","primary_language":"Python","stars":136,"forks":30,"topics":[],"archived":true,"github_pushed_at":"2026-01-23T10:13:27+00:00","maintenance_label":"Archived","stars_delta_30d":1,"url":"https://www.graphcanon.com/tools/huggingface-optimum-tpu","markdown_url":"https://www.graphcanon.com/tools/huggingface-optimum-tpu.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/huggingface-optimum-tpu","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=huggingface-optimum-tpu","description":"Google TPU optimizations for transformers models","homepage_url":"https://huggingface.co/docs/optimum-tpu","license":"Apache-2.0","open_issues":4,"watchers":28,"ai_summary":"A Python library that optimizes transformers models for execution on Google TPUs.","readme_excerpt":"## Installation\n\n`optimum-tpu` comes with an handy PyPi released package compatible with your classical python dependency management tool.\n\n`pip install optimum-tpu -f https://storage.googleapis.com/libtpu-releases/index.html`\n\n`export PJRT_DEVICE=TPU`","github_created_at":"2024-02-12T08:54:38+00:00","created_at":"2026-07-11T23:37:51.927185+00:00","updated_at":"2026-10-03T06:00:40.234335+00:00","categories":[{"slug":"model-training","name":"Model Training","url":"https://www.graphcanon.com/categories/model-training","markdown_url":"https://www.graphcanon.com/categories/model-training.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/model-training"}],"tags":[{"slug":"optimizations","name":"optimizations"},{"slug":"tpu","name":"tpu"},{"slug":"transformers","name":"transformers"}],"trust":{"provenance":{"is_fork":false,"github_id":756234502,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-10-03T06:00:39.423Z","maintenance":{"label":"Archived","score":8,"methodology":"github_public_v1","releases_90d":0,"days_since_push":252,"last_release_at":"2024-12-19T10:43:41Z","stars_delta_30d":1,"open_issues_delta_30d":0},"security_summary":{"status":"findings","scanner":"osv@v1","low_count":17,"high_count":0,"last_scan_at":"2026-07-11T23:37:57.841Z","medium_count":3,"scan_profile":"deps","critical_count":1}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-10-03T06:00:39.884Z"},"has_cli":{"value":true,"source":"pyproject.toml:[project.scripts]","observed_at":"2026-10-03T06:00:39.884Z"},"languages":{"value":["python"],"source":"github.language+pyproject.toml","observed_at":"2026-10-03T06:00:39.884Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-10-03T06:00:39.884Z"}},"decision_facts":{"hosting":{"model":"self_hosted"},"pricing":{"model":"freemium"},"requirements":null,"constraints":{"hosting_model":"self_hosted","pricing_model":"freemium"},"when_to_use":["Use optimum-tpu when you require high performance execution of transformers models on Google TPUs, as it offers specific optimizations for that hardware.","Ideal for teams already invested in the Google Cloud ecosystem where TPU access is seamless and integrated."],"when_not_to_use":["Avoid using optimum-tpu if your infrastructure does not include or will not support Google TPUs, since its optimizations are not beneficial on other hardware.","Skip this tool if you are working in environments with strict licensing requirements as it requires adherence to the Apache-2.0 license."],"source":"enrich:decision_facts","observed_at":"2026-07-16T19:23:13.029Z"},"constraint_facets":{"hosting_model":"self_hosted","pricing_model":"freemium"},"decision_summary":[{"label":"Hosting","value":"self hosted"},{"label":"Pricing","value":"freemium"},{"label":"Adopt for","value":"optimum-tpu is tailored for Python developers working with transformers models aiming to leverage the power of Google TPUs."},{"label":"License detail","value":"Apache-2.0"}]}}