mirror of https://github.com/hpcaitech/ColossalAI
[zero] fix testing parameters (#2042)
parent
17a3c685b0
commit
384cd26314
|
@ -44,7 +44,7 @@ TEST_MODELS = ['gpt2', 'bert']
|
|||
EXAMPLE_MODELS = ['simple_net']
|
||||
|
||||
|
||||
@parameterize('placement_policy', ['cuda'])
|
||||
@parameterize('placement_policy', ['cuda', 'cpu', 'auto', 'const'])
|
||||
@parameterize('model_name', TEST_MODELS)
|
||||
def exam_model_step(placement_policy, model_name: str):
|
||||
set_seed(42)
|
||||
|
|
Loading…
Reference in New Issue