Hubert test fix (#13261)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user