fix: resolve model corruption issue with pos_embed when using --enable_scaled_pos_embed

This commit is contained in:
Kohya S
2024-12-07 15:12:27 +09:00
parent 8b36d907d8
commit 6bee18db4f
2 changed files with 6 additions and 2 deletions

View File

@@ -14,6 +14,8 @@ The command to install PyTorch is as follows:
### Recent Updates
Dec 7, 2024:
- Fixed an issue where the saved model would be corrupted (pos_embed would not be saved) when `--enable_scaled_pos_embed` was specified in `sd3_train.py`.
Dec 3, 2024: