Enforce GRES resources as lowercase for specific clusters
This commit is contained in:
parent
a723a2376e
commit
ae9ac12918
2 changed files with 12 additions and 3 deletions
|
@ -283,7 +283,7 @@ def test_options_from_form():
|
|||
'nprocs': 2,
|
||||
'memory': '16GB',
|
||||
'runtime': '02:00:00',
|
||||
'gres': 'gpu:a40',
|
||||
'gres': 'gpu:A40',
|
||||
'cluster': 'nautilus',
|
||||
}
|
||||
|
||||
|
@ -303,7 +303,7 @@ def test_options_from_form():
|
|||
'nprocs': 8,
|
||||
'memory': '16GB',
|
||||
'runtime': '01:00:00',
|
||||
'gres': 'gpu:t4',
|
||||
'gres': 'gpu:T4',
|
||||
'partition': 'GPU-short',
|
||||
}
|
||||
|
||||
|
@ -314,6 +314,7 @@ def test_options_from_form():
|
|||
'cpu': ['128'],
|
||||
'mem': ['4096'],
|
||||
'gpu': ['A100'],
|
||||
'cluster': ['waves'], # Gres should be lowercased for this cluster
|
||||
'node': ['cribbar001'],
|
||||
}
|
||||
|
||||
|
@ -324,5 +325,6 @@ def test_options_from_form():
|
|||
'memory': '4096GB',
|
||||
'runtime': '00:00:00',
|
||||
'gres': 'gpu:a100',
|
||||
'cluster': 'waves',
|
||||
'node': 'cribbar001',
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue