Skip to content

Commit

Permalink
Disable benchmarking mode
Browse files Browse the repository at this point in the history
  • Loading branch information
atiorh committed Aug 14, 2024
1 parent 8384f40 commit b332a04
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python/src/diffusionkit/mlx/scripts/generate_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,10 @@ def cli():
args.cfg = 0.0

if args.benchmark_mode:
if args.low_memory_mode:
logger.warning("Benchmark mode is enabled, disabling low memory mode.")
args.low_memory_mode = False
raise NotImplementedError
# if args.low_memory_mode:
# logger.warning("Benchmark mode is enabled, disabling low memory mode.")
# args.low_memory_mode = False

if args.denoise < 0.0 or args.denoise > 1.0:
raise ValueError("Denoising factor must be between 0.0 and 1.0")
Expand Down

0 comments on commit b332a04

Please sign in to comment.