Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scaled_dot_product_attention output is different from memory_efficient_attention #1114

Open
aenoca opened this issue Sep 25, 2024 · 1 comment

Comments

@aenoca
Copy link

aenoca commented Sep 25, 2024

❓ Questions and Help

I have been playing with DINOv2-small and trying to replicate some of its outputs by rebuilding it from scratch. I noticed that the results I got when running with scaled_dot_product_attention versus with memory_efficient_attention were NOT the same.

I wonder if anyone can check this out.

@sebhtml
Copy link

sebhtml commented Nov 12, 2024

Can you provide more details including:

  • small code example that reproduce the problem,
  • expected result
  • actual result
    ?

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

No branches or pull requests

2 participants