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