Skip to content
This repository was archived by the owner on Jun 23, 2026. It is now read-only.

Repository files navigation

Kithara - Easy Finetuning on TPUs

PyPIGitHub pull requestGitHub last commitDocumentation

kithara logo

👋 Overview

Kithara is a lightweight library offering building blocks and recipes for tuning popular open source LLMs including Gemma2 and Llama3 on Google TPUs.

It provides:

  • Frictionless scaling: Distributed training abstractions intentionally built with simplicity in mind.
  • Multihost training support: Integration with Ray, GCE and GKE.
  • Async, distributed checkpointing: Multi-host & Multi-device checkpointing via Orbax.
  • Distributed, streamed dataloading: Per-process, streamed data loading via Ray.data.
  • GPU/TPU fungibility: Same code works for both GPU and TPU out of the box.
  • Native integration with HuggingFace: Tune and save models in HuggingFace format.

New to TPUs?

Using TPUs provides significant advantages in terms of performance, cost-effectiveness, and scalability, enabling faster training times and the ability to work with larger models and datasets. Check out our onboarding guide to getting TPUs.

🔗 Key links and resources

📚 DocumentationRead Our Docs
💾 InstallationQuick Pip Install
✏️ Get StartedIntro to Kithara
🌟 Supported ModelsList of Models
🌐 Supported DatasetsList of Data Formats
⌛️ Performance OptimizationsOur Memory and Throughput Optimizations
📈 Scaling upGuide for Tuning Large Models

🌵 Examples

About

No description, website, or topics provided.

Resources

Contributing

Stars

19 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages