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

error: 'ttnn.max_pool2d' op ttnn.max_pool2d currently only supports an input type of bfloat16. Recieved 'f32'. #1371

Closed
kamalrajkannan78 opened this issue Nov 22, 2024 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@kamalrajkannan78
Copy link

kamalrajkannan78 commented Nov 22, 2024

Description

  • error: 'ttnn.max_pool2d' op ttnn.max_pool2d currently only supports an input type of bfloat16. Recieved 'f32'.

Reproduce

git checkout kkannan/models_mlir_issues 
git submodule update --recursive
cmake --build build -- install_ttforge
pytest forge/test/model_demos/high_prio/cnn/pytorch/test_vovnet.py -k "not timm" -svv

Observed Behaviour

error: 'ttnn.max_pool2d' op ttnn.max_pool2d currently only supports an input type of bfloat16. Recieved 'f32'.

Logs

TTIR graphs

@meenakshiramanathan1
Copy link
Contributor

More details in tenstorrent/tt-metal#15768

@sdjordjevicTT
Copy link
Contributor

sdjordjevicTT commented Jan 10, 2025

We fixed temporarily this on the MLIR side with the workaround that casts input to bf16 introduced in:
#1657

@meenakshiramanathan1 @kamalrajkannan78 can you confirm that you don't see this failure anymore?

@sdjordjevicTT
Copy link
Contributor

I will close this one, if you find it fails again, pleas reopen the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants