liangyuwang/zo2

ZO2 (Zeroth-Order Offloading): Full Parameter Fine-Tuning 175B LLMs with 18GB GPU Memory [COLM2025]

41
/ 100
Emerging

Fine-tuning large language models (LLMs) often requires significant GPU memory, which can be a barrier for many users. This framework allows you to fine-tune very large LLMs, such as those with 175 billion parameters, using only 18GB of GPU memory by intelligently offloading computational tasks to the CPU. Researchers and machine learning practitioners who need to adapt powerful LLMs to specific tasks without access to high-end, multi-GPU systems would benefit from this.

202 stars. No commits in the last 6 months.

Use this if you need to fine-tune massive language models (like OPT-175B or Qwen3-32B) but are limited to a single GPU with relatively modest memory (e.g., 18GB or less).

Not ideal if you have ample GPU resources (multiple high-memory GPUs) and prefer traditional full-precision fine-tuning methods for maximum speed and simplicity.

large-language-models model-fine-tuning resource-constrained-ml deep-learning-research nlp-engineering
Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 13 / 25

How are scores calculated?

Stars

202

Forks

18

Language

Python

License

Apache-2.0

Last pushed

Jul 16, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/liangyuwang/zo2"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.