mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-03 03:31:05 +06:00
Final change
This commit is contained in:
parent
ec27afb4f5
commit
8eac21d927
@ -253,6 +253,7 @@ class Aimv2Attention(nn.Module):
|
||||
self,
|
||||
hidden_states: torch.Tensor,
|
||||
attention_mask: Optional[torch.Tensor] = None,
|
||||
**kwargs,
|
||||
) -> tuple[torch.Tensor, Optional[torch.Tensor]]:
|
||||
"""Input shape: Batch x Time x Channel"""
|
||||
|
||||
|
@ -677,7 +677,6 @@ class AIMv2ModelIntegrationTest(unittest.TestCase):
|
||||
@require_vision
|
||||
@require_torch
|
||||
class AIMv2VisionModelIntegrationTests(unittest.TestCase):
|
||||
|
||||
@slow
|
||||
def test_inference(self):
|
||||
model_name = "yaswanthgali/aimv2-large-patch14-224-HF"
|
||||
|
Loading…
Reference in New Issue
Block a user