Skip to content
Project

torchtune

PyTorch-native post-training library.

Stars
5.8k
Forks
767
Open issues
473
Latest release
v0.6.1
License
BSD-3-Clause
Language
Python
Stars
latest
5.8k▲ 11
Forks
latest
767▲ 11
Open issues + PRs
latest
473▲ 9
Merged PRs (30d)
latest
4▲ 4
PR authors (90d)
latest
2▲ 2
Releases (365d)
latest
0

Daily snapshots since metrics history started (44 days so far); trends need at least a week.

Contribute

Contributing guide
CONTRIBUTING ↗
Open wanted issues
8 good first issue, 1 help wanted
Merged PRs (30d)
4
Release cadence
0 in 365 daysmedian 36.2 days apart

GitHub community profile 75% · code of conduct. Maintainer response time is not collected yet.

Top ranked issues

Good first issuetorchtune#270053

Log config to output only on rank zero

Currently, we call config.log config in the recipe main which means this logs to every device. We really only need this to happen once. See callsite here: finetune distributed.py L1093

good first issue

Demand: 0 reactions, 3 comments · Maintainer engagement: 4 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue · Freshness: updated 44 days ago

Help wantedtorchtune#196050

Enable "apply_lora_to_output" in models with tied embedding

Many families of models with small models (<=3B parameters) have tied embeddings, meaning that the output layer projection is the same as the input tok embeddings. Examples are gemma, qwen and llama 3.2. These models currently don't support "apply lora to output". This happens…

help wanted

Demand: 0 reactions, 3 comments · Maintainer engagement: 4 PRs merged in the project in 30 days · Feasibility: help wanted (scope not marked as small) · Freshness: updated 1 days ago

Good first issuetorchtune#247849

Add add_end_token to the Gemma Tokenizer

Llama3 Tokenizer was updated to support add end token in tokenize messages to support correct generation These changes need to be made for gemma. Changes: - Update tokenize message to use add start tokens and add end tokens like in - Replace add eos with add end tokens and…

good first issue

Demand: 0 reactions, 6 comments · Maintainer engagement: 4 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue · Freshness: updated 119 days ago

Good first issuetorchtune#195945

implement activation offloading and opt_in_bwd in knowledge_distillation recipes

Current knowledge distillation recipes don't have support for activation offloading and opt in bwd. The implementation should be similar to the one in other recipes, like full finetuning distributed. After enabling it in the recipe, it should also be enabled in the configs…

good first issue

Demand: 1 reactions, 3 comments · Maintainer engagement: 4 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue · Freshness: updated 648 days ago

Good first issuetorchtune#140844

[Docs] Recipe documentation tracker

We're working on better surfacing documentation for the finetuning techniques we support. This issue tracks the different recipes we still need to add documentation for. If you're interesting in helping out, check out the relevant section in our CONTRIBUTING.md. We'd be more…

good first issue

Demand: 0 reactions, 4 comments · Maintainer engagement: 4 PRs merged in the project in 30 days · Feasibility: labelled as a starter issue · Freshness: updated 535 days ago

Maintainers

1

Top contributors

15

Releases & tracking issues

11