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

problem with tensor core when using float16 #32

Open
VivaLaTian opened this issue Jun 26, 2019 · 0 comments
Open

problem with tensor core when using float16 #32

VivaLaTian opened this issue Jun 26, 2019 · 0 comments

Comments

@VivaLaTian
Copy link

VivaLaTian commented Jun 26, 2019

When I am doing matrix multiplication,I use the blocksparse with tensor core, and I find a problem.
the code is below.
image

by dong this,I get the answer as below.
image
I got different answer between blocksparse(1.13.1) with float16 and the tensorflow matmul function.
When I use the same code with blocksparse(1.0.0), which uses cuda core, I get the right answer.
I have tried so many different test with tensor core, and they all get the wrong answer. So I really wonder why?
am I using blocksparse api in the wrong way?

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

1 participant