Get the daily emailDaily email
  1. Home
  2. Agents
  3. This story

Self-distillation with an EMA teacher under ZeRO-3 and LoRA

An open-source repo runs EMA-teacher self-distillation under ZeRO-3 and TRL by sharing a frozen backbone and keeping two light LoRA adapters, one for the student and one for the EMA teacher. It includes EMA checkpoint resume and DeepSpeed configs that avoid…

Published Read the original

Why it matters

Handy for teams trying self-distillation on large models with tight GPU memory.

What happened

1 min read

An open-source repo runs EMA-teacher self-distillation under ZeRO-3 and TRL by sharing a frozen backbone and keeping two light LoRA adapters, one for the student and one for the EMA teacher. It includes EMA checkpoint resume and DeepSpeed configs that avoid memory spikes, tested on Qwen3.5.

inscraper analysis

Our analysis

Sharing the backbone with two adapters is a known trick; the value is in making it work cleanly with ZeRO-3 and TRL. The post gives no quality or speed numbers. Niche but practical.

More in Agents