Skip to content

Commit

Permalink
Make sure report works without GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Delaunay committed Feb 26, 2024
1 parent 629bee3 commit a7f2d86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion milabench/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def resolve_addresses(nodes):


def get_gpu_capacity():
capacity = float("+inf")
capacity = float(0)

for k, v in get_gpu_info()["gpus"].items():
capacity = min(v["memory"]["total"], capacity)
Expand Down

0 comments on commit a7f2d86

Please sign in to comment.