You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just think that 2d matmul has a combination when in1 is sharded since validation is passing width shard
(1D config can be executed using in0 height_shard- in1 height_shard)
It might be traces of DRAM shard.
Describe the bug
Matmul Hangs when in0 is block sharded and in1 is width sharded
In0's shape is (8,1,224,768) , and In1's shape is (1,1,768,3072).
I added dprint to cb_wait_front(cb0) , cb_wait_front(cb1) and start of blocks to know where it hangs.
When input1 is interleaved, everything works well
But when I changed my configs, it hangs because cb_wati_front(cb1) is hanging.
To Reproduce
Code
If dprint is needed, add dprint here.
![Image](https://private-user-images.githubusercontent.com/138436338/409013139-5a1009b4-903f-4e69-901b-126c4a12ca03.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMDIzNzUsIm5iZiI6MTczOTEwMjA3NSwicGF0aCI6Ii8xMzg0MzYzMzgvNDA5MDEzMTM5LTVhMTAwOWI0LTkwM2YtNGU2OS05MDFiLTEyNmM0YTEyY2EwMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQxMTU0MzVaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xNzc0ZTQxZGUxNjQ5NWUyMmU0NjdlZDIxN2QwZGU4ZTEwNTE0ODU5Y2EzZGU3YWUxNWNmMWRiOGQ2MzUyZTQ1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.nc4yK4_3PYHhczmIOG7QTk7LLwY0OFWAF0wsW48SyaE)
tt-metal/ttnn/cpp/ttnn/operations/matmul/device/kernels/compute/bmm_large_block_zm_fused_bias_activation.cpp
Expected behavior
OS: [e.g. Ubuntu 20.04]
This is version v53. If it is fixed in version v55, please let me know.
I have seen issues that matmul of vit makes problem. Would you check this issue?
Thanks.
The text was updated successfully, but these errors were encountered: