Skip to content

Conversation

@sayakpaul
Copy link
Member

What does this PR do?

Even though we will have separate unit-level testing for attention backends in #12822, I think it's still nice to have integration tests.

This PR:

  • Change from torch.allclose() to numpy_cosine_similarity().
  • Change numpy_cosine_similarity to accept torch tensors.

This also helps us relax the environmental constraints.

@sayakpaul sayakpaul requested review from DN6 and dg845 December 12, 2025 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants