TensorFlow tests: having from_pt set to True requires torch to be installed. (#10664)

* TF model exists for Blenderbot 400M

* Marian

* RAG
This commit is contained in:
Lysandre Debut
2021-03-12 06:16:40 -05:00
committed by GitHub
parent 543d0549f8
commit 184ef8ecd0
3 changed files with 7 additions and 11 deletions

View File

@@ -309,7 +309,7 @@ class TFBlenderbot400MIntegrationTests(unittest.TestCase):
@cached_property
def model(self):
model = TFAutoModelForSeq2SeqLM.from_pretrained(self.model_name, from_pt=True)
model = TFAutoModelForSeq2SeqLM.from_pretrained(self.model_name)
return model
@slow