Skip to content

Commit 1702f0f

Browse files
committed
fix: cast the ram limit to int
1 parent a1e19cd commit 1702f0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bigcodebench/evaluate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,9 @@ def main():
286286
parser.add_argument("--samples", required=True, type=str)
287287
parser.add_argument("--parallel", default=None, type=int)
288288
parser.add_argument("--min-time-limit", default=1, type=float)
289-
parser.add_argument("--max-as-limit", default=128*1024, type=float)
290-
parser.add_argument("--max-data-limit", default=4*1024, type=float)
291-
parser.add_argument("--max-stack-limit", default=5, type=float)
289+
parser.add_argument("--max-as-limit", default=128*1024, type=int)
290+
parser.add_argument("--max-data-limit", default=4*1024, type=int)
291+
parser.add_argument("--max-stack-limit", default=5, type=int)
292292
parser.add_argument(
293293
"--check-gt-only", action="store_true", help="Check the groundtruth"
294294
)

0 commit comments

Comments
 (0)