[zero] fix testing parameters (#2042)

pull/2045/head
HELSON 2022-11-30 12:09:32 +08:00 committed by GitHub
parent 17a3c685b0
commit 384cd26314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)