30
30
31
31
from ..test_modeling_common import ids_tensor
32
32
33
+ import lovely_tensors as lt
34
+ lt .monkey_patch ()
33
35
34
36
if is_torch_available ():
35
37
import torch
@@ -365,7 +367,8 @@ def test_contrastive_ids_only(self):
365
367
366
368
@pytest .mark .parametrize ("output_scores" , [False , True ])
367
369
@pytest .mark .parametrize ("output_logits" , [False , True ])
368
- @pytest .mark .parametrize ("output_attentions" , [False , True ])
370
+ #@pytest.mark.parametrize("output_attentions", [False, True])
371
+ @pytest .mark .parametrize ("output_attentions" , [False ])
369
372
def test_greedy_outputs (self ,
370
373
output_scores ,
371
374
output_logits ,
@@ -379,7 +382,8 @@ def test_greedy_outputs(self,
379
382
380
383
@pytest .mark .parametrize ("output_scores" , [False , True ])
381
384
@pytest .mark .parametrize ("output_logits" , [False , True ])
382
- @pytest .mark .parametrize ("output_attentions" , [False , True ])
385
+ #@pytest.mark.parametrize("output_attentions", [False, True])
386
+ @pytest .mark .parametrize ("output_attentions" , [False ])
383
387
def test_multinomial_outputs (self ,
384
388
output_scores ,
385
389
output_logits ,
0 commit comments