[perf] nn.moe: workaround inefficiency in PyTorch's one_hot (#666)
Workaround for https://github.com/pytorch/pytorch/issues/55579 Co-authored-by: @shruti-bh, @myleott
Showing
Please register or sign in to comment
Workaround for https://github.com/pytorch/pytorch/issues/55579 Co-authored-by: @shruti-bh, @myleott