Skip to content

Commit 143cb79

Browse files
fix: keep default in utils
1 parent fd6d036 commit 143cb79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambench/tasks/calculator/inference_efficiency/efficiency_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def find_even_factors(num: int) -> tuple[int, int, int]:
7878

7979

8080
def binary_search_max_natoms(
81-
model: ASEModel, atoms: Atoms, upper_limit: int, max_iterations: int = 15
81+
model: ASEModel, atoms: Atoms, upper_limit: int = 1000, max_iterations: int = 15
8282
) -> int:
8383
"""
8484
Binary search for the maximum number of atoms that can be processed by the model.

0 commit comments

Comments
 (0)