Skip to content

Commit

Permalink
Fix type casting for CPU and memory parameters in crest_ts_conformer_…
Browse files Browse the repository at this point in the history
…search function
  • Loading branch information
calvinp0 committed Dec 30, 2024
1 parent 7299ad0 commit cd1b0ff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions arc/job/adapters/ts/heuristics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1379,11 +1379,11 @@ def crest_ts_conformer_search(
format_params = {
"queue": "alon_q",
"name": f"crest_{xyz_crest_int}",
"cpus": SERVERS["local"].get("cpus", 8),
"memory": (
SERVERS["local"].get("memory", 32.0)
if SERVERS["local"].get("memory", 32.0) < 60.0
else 40.0
"cpus": int(SERVERS["local"].get("cpus", 8)),
"memory": int(
SERVERS["local"].get("memory", 32)
if SERVERS["local"].get("memory", 32) < 60
else 40
),
"activation_line": activation_line,
"commands": command,
Expand Down

0 comments on commit cd1b0ff

Please sign in to comment.