Test logging fix

This commit is contained in:
DKnight54
2025-01-30 02:26:55 +08:00
committed by GitHub
parent 9ae34ac527
commit 0bb8a2c287

View File

@@ -63,7 +63,7 @@ from networks.control_net_lllite import ControlNetLLLite
from library.utils import GradualLatent, EulerAncestralDiscreteSchedulerGL
from library.utils import setup_logging, add_logging_arguments
setup_logging()
import logging
logger = logging.getLogger(__name__)
@@ -1485,6 +1485,8 @@ class ListPrompter:
def main(args):
logging.basicConfig()
setup_logging(args)
if args.fp16:
dtype = torch.float16
elif args.bf16: