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
Summary:
X-link: pytorch#3669
Pull Request resolved: facebookresearch/FBGEMM#747
# Why
1. we're extracting the size wrong after the latest changes, rather than extracing it from w1 we need to get it from w2 as w1 is treated at 2x intermediate size on `gate_only=False`
2. we're hard-coding the weights dtype when we should be extracting it
3. we're using the default stream instead of the current stream
# What
1. get intermediate size from w2
2. do not hard-code the `topk_weights` dtype
3. use current stream
Reviewed By: sijiac
Differential Revision: D69341443
fbshipit-source-id: cf7a908c6a78d3ecb9d030491722967fbe0d097b
0 commit comments