Skip to content

Commit

Permalink
Add support for AdEMAMix8bit optimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaltais committed Sep 29, 2024
1 parent 79a4a3a commit 34db05e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
2 changes: 2 additions & 0 deletions kohya_gui/class_basic_training.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ def init_lr_and_optimizer_controls(self) -> None:
"AdamWScheduleFree",
"AdamW8bit",
"Adafactor",
"bitsandbytes.optim.AdEMAMix8bit",
"bitsandbytes.optim.PagedAdEMAMix8bit",
"DAdaptation",
"DAdaptAdaGrad",
"DAdaptAdam",
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,5 @@ toml==0.10.2
transformers==4.44.2
voluptuous==0.13.1
wandb==0.18.0
scipy==1.11.4
# for kohya_ss library
-e ./sd-scripts # no_verify leave this to specify not checking this a verification stage
2 changes: 1 addition & 1 deletion requirements_linux.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
torch==2.4.0+cu124 torchvision==0.19.0+cu124 --extra-index-url https://download.pytorch.org/whl/cu124
bitsandbytes==0.43.3
bitsandbytes==0.44.0
tensorboard==2.15.2 tensorflow==2.15.0.post1
onnxruntime-gpu==1.17.1
xformers==0.0.27.post2
Expand Down
2 changes: 1 addition & 1 deletion requirements_linux_docker.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
xformers>=0.0.20
bitsandbytes==0.43.3
bitsandbytes==0.44.0
accelerate==0.33.0
tensorboard
2 changes: 1 addition & 1 deletion requirements_runpod.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
torch==2.4.0+cu124 torchvision==0.19.0+cu124 --extra-index-url https://download.pytorch.org/whl/cu124 # no_verify leave this to specify not checking this a verification stage
bitsandbytes==0.43.3
bitsandbytes==0.44.0
tensorboard==2.14.1 tensorflow==2.14.0 wheel
tensorrt
onnxruntime-gpu==1.17.1
Expand Down
2 changes: 1 addition & 1 deletion requirements_windows.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bitsandbytes==0.43.3
bitsandbytes==0.44.0
tensorboard
tensorflow>=2.16.1
onnxruntime-gpu==1.17.1
Expand Down
2 changes: 1 addition & 1 deletion sd-scripts
Submodule sd-scripts updated 0 files

0 comments on commit 34db05e

Please sign in to comment.