Update dataset/stable_cascade.py
Browse files
dataset/stable_cascade.py
CHANGED
@@ -12,8 +12,9 @@ import torch.nn as nn
|
|
12 |
import torch.utils.checkpoint
|
13 |
import torchvision
|
14 |
|
15 |
-
#
|
16 |
-
#
|
|
|
17 |
|
18 |
fp16_fix_save_path = "/mnt/DataSSD/AI/SoteDiffusion/Wuerstchen3"
|
19 |
|
|
|
12 |
import torch.utils.checkpoint
|
13 |
import torchvision
|
14 |
|
15 |
+
# Updated and fixed version of KBlueLeaf's FP16 fix script.
|
16 |
+
# Put this .py file into sd-scripts/library (git clone https://github.com/kohya-ss/sd-scripts -b stable-cascade)
|
17 |
+
# Run the training and it will run for 1 step, then it will FP16 fix the model and exit.
|
18 |
|
19 |
fp16_fix_save_path = "/mnt/DataSSD/AI/SoteDiffusion/Wuerstchen3"
|
20 |
|