tenstorrent / tt-metal

:metal: TT-NN operator library, and TT-Metalium low level kernel programming model.
Apache License 2.0
421 stars 54 forks source link

Op Migration Blockers #8680

Closed eyonland closed 2 months ago

eyonland commented 4 months ago

LLKs are needed to unblock work from MCW

Also in WHB0, comparing positive inf and negative inf/nan is not working. We need guidance for that as well

Ops depends on Floor

Ops depends on Shift

Ops depends on Mod

Ops depends on Trunc

eyonland commented 4 months ago

@umadevimcw, we need to build out the scaffolding for these ops along with tests that will verify pcc once enabled. After the scaffolding and appropriate tests for the ops are setup, please re-assign to @rtawfik01.

umadevimcw commented 4 months ago

@rtawfik01 Please find the PR where we have included the skeleton of the above required 4 ops (floor, mod, shift both left and right) and trunc)

https://github.com/tenstorrent/tt-metal/pull/8791

rtawfik01 commented 4 months ago

Hi @umadevimcw. It seems there is possibly conflicting commits? These ones have the wormhole_b0 implementations, and no GS implementations, and also include scaffolding for the operations: Floor & Trunc : https://github.com/tenstorrent/tt-metal/pull/8285 Unary left shift : https://github.com/tenstorrent/tt-metal/pull/8712 Unary Right Shift : https://github.com/tenstorrent/tt-metal/pull/8921

While these only have the scaffolding of the operations? Floor & Trunc : https://github.com/tenstorrent/tt-metal/commit/7e6076d299fc893b14dd12151603bd5ef007e1fb Unary left shift : https://github.com/tenstorrent/tt-metal/commit/44c1dd3f4ecdfcedc5d033eca9b0e531f7607d79 Unary Right Shift : https://github.com/tenstorrent/tt-metal/commit/5d5c29253fb13f9509a3302e8edc04ae395afb76

It will be good if we continue down the path of having scaffolding + whb0 implementation when possible, and re-assigning back to me for GS. Also let me know if whb0 implementation is not possible.

umadevimcw commented 4 months ago

@rtawfik01 Will share you the PR that has scaffolding for GS and implementations for WHB0

VirdhatchaniKN commented 4 months ago

Ops implemented with scaffolding + WH_B0 implementation

rtawfik01 commented 3 months ago

Mod PR is here: https://github.com/tenstorrent/tt-metal/pull/9365

MCW team will push when ready

VirdhatchaniKN commented 3 months ago

Hi @eyonland This is the updated List of ops that are to be implemented : Pending op list.pdf

ttmtrajkovic commented 2 months ago

Could this issue be closed, all ops from here seem to be implemented.

Aswinmcw commented 2 months ago

Closing as all ops merged to main