Skip to content

Commit 2f5c8d0

Browse files
committed
update
1 parent a43e8ef commit 2f5c8d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

benchmarks/benchmarking_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import gc
22
import inspect
3+
import logging as std_logging
34
from contextlib import nullcontext
45
from dataclasses import dataclass
56
from typing import Any, Callable, Dict, Optional, Union
@@ -13,6 +14,7 @@
1314
from diffusers.utils.testing_utils import require_torch_gpu, torch_device
1415

1516

17+
std_logging.basicConfig(level=std_logging.INFO, format="%(asctime)s %(levelname)s %(name)s: %(message)s")
1618
logger = logging.get_logger(__name__)
1719

1820

0 commit comments

Comments
 (0)