mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +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):
|
||||
if not is_torch_available():
|
||||
pass
|
||||
return
|
||||
|
||||
import pytorch_transformers
|
||||
|
||||
config, inputs_dict = self.model_tester.prepare_config_and_inputs_for_common()
|
||||
|
Loading…
Reference in New Issue
Block a user