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 trying to implement $$Z = ReLu(A x B^T + b)$$ using CollectiveBuilder API on H100 and I got the $$Z = A x B^T + b$$ part working. But I'm having trouble adding ReLu on top of it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I trying to implement$$Z = ReLu(A x B^T + b)$$ using CollectiveBuilder API on H100 and I got the $$Z = A x B^T + b$$ part working. But I'm having trouble adding ReLu on top of it.
Here is the relevant code snippet
Note I use EpilogueOp defined at the top in CollectiveEpilogue.
Based on this, I think I need to create Gemm arguments such that
How do I define the
activation
(say for ReLu) to pass inarguments.epilogue.thread
?I tried
But I get this error
Thank you for any help!
Beta Was this translation helpful? Give feedback.
All reactions