support DeepSpeed.

This commit is contained in:
sayakpaul
2024-12-24 10:59:21 +05:30
parent cf9be17819
commit 6329e9ed07
4 changed files with 140 additions and 52 deletions
+1
View File
@@ -15,6 +15,7 @@ class State:
learning_rate: float = None
train_batch_size: int = None
generator: torch.Generator = None
num_update_steps_per_epoch: int = None
# Hub state
repo_id: str = None