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

Reverting tilizing f32 on device #1669

Merged
merged 2 commits into from
Dec 26, 2024

Conversation

sdjordjevicTT
Copy link
Contributor

Reverting commit ad87a44 and PR #1647 that introduces llama matmul test failure in forge-fe:
tenstorrent/tt-forge-fe#954 - https://github.com/tenstorrent/tt-forge-fe/actions/runs/12501472126/job/34879043368?pr=954

Added a matmul repro test that fails before the revert, and passes after the revert.

@sdjordjevicTT sdjordjevicTT force-pushed the sdjordjevic/reverting_tilizing_f32_on_device branch from 40d79fe to 602fa4e Compare December 26, 2024 11:58
@sdjordjevicTT
Copy link
Contributor Author

Since this involves regression and blocks uplift to Forge-FE, I will merge this immediately.

@sdjordjevicTT sdjordjevicTT merged commit 6d04d25 into main Dec 26, 2024
21 checks passed
@sdjordjevicTT sdjordjevicTT deleted the sdjordjevic/reverting_tilizing_f32_on_device branch December 26, 2024 13:11
@jnie-TT
Copy link
Contributor

jnie-TT commented Dec 26, 2024

@sdjordjevicTT this seems to be a limitation of device tilize in general and not specific to fp32 tilize. Essentially if you change the data format in the llama matmul test to bf16 the same error will appear. This seems to happen when the tensor exceeds a certain size.

We should probably sync with the ttnn folks to add support for this. Looking at the error message it seems to be a TODO item on their side

ERROR - ERROR: test=out.ttnn experienced an error with exception=TT_FATAL @ /localdev/jnie/tt-mlir2/third_party/tt-metal/src/tt-metal/tt_metal/impl/dispatch/command_queue.cpp:2416: buffer.num_pages() == 1
info:
TODO: add support for multi-paged buffer with page size > 64KB

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.

5 participants