mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-02 11:11:05 +06:00
fix tests chen only using tf
This commit is contained in:
parent
2167e366ba
commit
cf9c1cbb60
@ -69,7 +69,8 @@ class TFCommonTestCases:
|
|||||||
|
|
||||||
def test_pt_tf_model_equivalence(self):
|
def test_pt_tf_model_equivalence(self):
|
||||||
if not is_torch_available():
|
if not is_torch_available():
|
||||||
pass
|
return
|
||||||
|
|
||||||
import pytorch_transformers
|
import pytorch_transformers
|
||||||
|
|
||||||
config, inputs_dict = self.model_tester.prepare_config_and_inputs_for_common()
|
config, inputs_dict = self.model_tester.prepare_config_and_inputs_for_common()
|
||||||
|
Loading…
Reference in New Issue
Block a user