Repository navigation
v0.2.3
What's Changed
English
Features
- Support checkpoint saving and training resumption.
- Support sequence packing for vision-language models.
- Support mixed text-only and multimodal training with FSDP.
- Add per-teacher loss logging for multi-teacher distillation.
- Add micro-batch token imbalance metrics.
Performance
- Accelerate dataset preprocessing, including multimodal workloads.
Bug Fixes
- Fix NCCL port allocation conflicts between teacher actors within the same group.
- Fix student master port allocation races by creating TCPStore before distributed initialization.
- Fix compatibility with the SGLang 0.5.17+ LoRA loading API.
- Fix multimodal
position_idshandling when sequence packing is disabled. - Normalize images to RGB before sending them to SGLang.
- Fix remaining training time estimates after resuming from a checkpoint.
Refactoring
- Extract rollout weight synchronization into a separate module to simplify the FSDP strategy.
中文
新增功能
- 支持 checkpoint 保存与断点续训。
- 支持视觉语言模型的序列打包(packing)。
- 支持 FSDP 下纯文本与多模态数据混合训练。
- 增加多 teacher 蒸馏中各 teacher 的独立 loss 日志。
- 增加 micro-batch token 不均衡指标。
性能优化
- 加速数据集预处理,包括多模态数据处理。
问题修复
- 修复同一组内 teacher actors 的 NCCL 端口分配冲突。
- 提前创建 student TCPStore,消除 master 端口释放后重新绑定的竞态窗口。
- 修复与 SGLang 0.5.17+ LoRA 加载 API 的兼容性问题。
- 修复关闭序列打包时多模态模型的
position_ids处理。 - 图片发送至 SGLang 前统一转换为 RGB。
- 修正断点续训后的剩余时间估算。
代码重构
- 将 rollout 权重同步逻辑提取至独立模块,简化 FSDP strategy 实现。
Full Changelog: v0.2.2...v0.2.3