"vscode:/vscode.git/clone" did not exist on "4918fae535cb3d146100bacc0eff67a8579a8a7f"
Unverified Commit 18c32eeb authored by Lysandre Debut's avatar Lysandre Debut Committed by GitHub
Browse files

Model parallel tests should return, not pass in non model parallel settings. (#8825)

parent edbff1fd
......@@ -1022,7 +1022,7 @@ class ModelTesterMixin:
@require_torch_multi_gpu
def test_model_parallelization(self):
if not self.test_model_parallel:
pass
return
import subprocess
......@@ -1079,7 +1079,7 @@ class ModelTesterMixin:
@require_torch_multi_gpu
def test_model_parallel_equal_results(self):
if not self.test_model_parallel:
pass
return
config, inputs_dict = self.model_tester.prepare_config_and_inputs_for_common()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment