diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ceb44399..ac6f45bad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - fix untyped_storage, torch.eye and torch.cuda.device ops - fix torch 2.7 compatibility - fix performance with balanced offload + - fix triton and torch.compile ## Update for 2025-02-28 diff --git a/modules/call_queue.py b/modules/call_queue.py index 7e7ab16f5..367b5d5ee 100644 --- a/modules/call_queue.py +++ b/modules/call_queue.py @@ -88,7 +88,9 @@ def wrap_gradio_call(func, extra_outputs=None, add_stats=False, name=None): gpu += f" | retries {retries} oom {ooms}" if retries > 0 or ooms > 0 else '' ram = shared.ram_stats() if ram['used'] > 0: - cpu += f"| RAM {ram['used']} GB {round(100.0 * ram['used'] / ram['total'])}%" + cpu += f"| RAM {ram['used']} GB" + if ram['total'] > 0: + cpu += f" {round(100.0 * ram['used'] / ram['total'])}%" if isinstance(res, list): res[-1] += f"
Time: {elapsed_text} | {summary} {gpu} {cpu}