Skip to content

docs: clarify EMA weights checkpoint loading (#1292)#1301

Open
Vidit-lab wants to merge 1 commit into
SWivid:mainfrom
Vidit-lab:docs/fix-ema-weights
Open

docs: clarify EMA weights checkpoint loading (#1292)#1301
Vidit-lab wants to merge 1 commit into
SWivid:mainfrom
Vidit-lab:docs/fix-ema-weights

Conversation

@Vidit-lab

Copy link
Copy Markdown

Fixes #1292

Summary
Documentation-only fix for Issue #1292. Exactly two files changed (no functional code):

  1. src/f5_tts/api.py — Added an init docstring to the F5TTS class warning that official checkpoints contain only EMA weights under ema_model.transformer. and that custom loaders must strip the prefix. Verified the docstring is correctly attached via AST, and the file parses as valid Python.

  2. src/f5_tts/train/README.md — Inserted a ### ⚠️ Note on Custom Checkpoint Loading block in the Training & Finetuning section, right after the existing use_ema discussion and before W&B Logging. It shows the correct inverted-filter loading snippet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document that F5TTS_v1_Base/model_1250000.safetensors contains only EMA-prefixed weights

1 participant