Fix device issue in `SwitchTransformers` (#24352)
* fix * Update src/transformers/models/switch_transformers/modeling_switch_transformers.py Co-authored-by:amyeroberts <22614925+amyeroberts@users.noreply.github.com> --------- Co-authored-by:
ydshieh <ydshieh@users.noreply.github.com> Co-authored-by:
amyeroberts <22614925+amyeroberts@users.noreply.github.com>
Showing
Please register or sign in to comment