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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user