mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-08 22:35:09 +00:00
fix Input type error when using DDP
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from diffusers.optimization import SchedulerType, TYPE_TO_SCHEDULER_FUNCTION
|
||||
from torch.optim import Optimizer
|
||||
from torch.cuda.amp import autocast
|
||||
from typing import Optional, Union
|
||||
import importlib
|
||||
import argparse
|
||||
|
||||
Reference in New Issue
Block a user