Unverified Commit 3bbe68f8 authored by Lysandre Debut's avatar Lysandre Debut Committed by GitHub
Browse files

Hubert test fix (#13261)

parent 3bb44662
......@@ -563,7 +563,7 @@ class HubertModelIntegrationTest(unittest.TestCase):
input_speech = self._load_datasamples(2)
inputs = processor(input_speech, return_tensors="pt", padding=True, truncation=True)
inputs = processor(input_speech, return_tensors="pt", padding=True)
input_values = inputs.input_values.to(torch_device)
attention_mask = inputs.attention_mask.to(torch_device)
......
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