Skip to content

Commit 0e7a91a

Browse files
Update src/dstack/_internal/cli/commands/metrics.py
Co-authored-by: jvstme <36324149+jvstme@users.noreply.github.com>
1 parent 9ca98ec commit 0e7a91a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/dstack/_internal/cli/commands/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def _get_metrics_table(run: Run, metrics: List[JobMetrics]) -> Table:
100100
if memory_usage is not None:
101101
memory_usage = _format_memory(memory_usage, 2)
102102
if resources is not None:
103-
memory_usage += f"/{_format_memory(resources.memory_mib * 1024 * 1024, 0)}"
103+
memory_usage += f"/{_format_memory(resources.memory_mib * 1024 * 1024, 2)}"
104104
gpu_metrics = ""
105105
gpus_detected_num = _get_metric_value(job_metrics, "gpus_detected_num")
106106
if gpus_detected_num is not None:

0 commit comments

Comments
 (0)