Skip to content

Commit

Permalink
correct log message
Browse files Browse the repository at this point in the history
Signed-off-by: Vladimir Mandic <[email protected]>
  • Loading branch information
vladmandic committed Jan 8, 2025
1 parent aa1ff72 commit e632031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,14 +438,14 @@ def get_default_modes():
if gpu_memory <= 4:
cmd_opts.lowvram = True
default_offload_mode = "sequential"
log.info(f"Device detect: memory={gpu_memory:.1f} optimization=lowvram")
log.info(f"Device detect: memory={gpu_memory:.1f} default=sequential optimization=lowvram")
# elif gpu_memory <= 8:
# cmd_opts.medvram = True
# default_offload_mode = "model"
# log.info(f"Device detect: memory={gpu_memory:.1f} optimization=medvram")
else:
default_offload_mode = "balanced"
log.info(f"Device detect: memory={gpu_memory:.1f} optimization=balanced")
log.info(f"Device detect: memory={gpu_memory:.1f} default=balanced")
elif cmd_opts.medvram:
default_offload_mode = "balanced"
elif cmd_opts.lowvram:
Expand Down

0 comments on commit e632031

Please sign in to comment.