Browse Source

Fix Code Factor check

pull/5818/head
GuangyaoZhang 5 months ago
parent
commit
98da648a4a
  1. 2
      tests/test_shardformer/test_model/test_shard_command.py

2
tests/test_shardformer/test_model/test_shard_command.py

@ -210,7 +210,7 @@ def check_forward_backward(model_fn, data_gen_fn, output_transform_fn, loss_fn,
],
)
def run_command_test(test_config):
sub_model_zoo = model_zoo.get_sub_registry("transformers_command", "transformers_command_for_casual_lm")
sub_model_zoo = model_zoo.get_sub_registry("transformers_command", "transformers_command_for_casual_lm")
for name, (model_fn, data_gen_fn, output_transform_fn, loss_fn, _) in sub_model_zoo.items():
check_forward_backward(model_fn, data_gen_fn, output_transform_fn, loss_fn, test_config)

Loading…
Cancel
Save