Skip to content

Commit

Permalink
Upgrade RunConfig compute specification (#2772)
Browse files Browse the repository at this point in the history
* Upgrade RunConfig compute specification

* extra cluster
  • Loading branch information
aspfohl authored Dec 11, 2023
1 parent f097fd7 commit 236b738
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/mcli/mcli_pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import argparse
import time

from mcli import RunConfig, RunStatus, create_run, follow_run_logs, stop_run, wait_for_run_status
from mcli import RunConfig, RunStatus, create_run, follow_run_logs, wait_for_run_status

if __name__ == '__main__':

Expand Down Expand Up @@ -77,9 +77,11 @@
'''
config = RunConfig(
name=name,
cluster=args.cluster,
gpu_type=args.gpu_type,
gpu_num=args.gpu_num,
compute={
'cluster': args.cluster,
'gpu_type': args.gpu_type,
'gpus': args.gpu_num
},
image=args.image,
integrations=[git_integration],
command=command,
Expand Down

0 comments on commit 236b738

Please sign in to comment.