Skip to content

Commit eadaea7

Browse files
committed
fix
1 parent 239f375 commit eadaea7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/twinkle/model/transformers/transformers.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -955,9 +955,6 @@ def _get_full_state_dict(self) -> dict:
955955
the local expert shards across the EP group to reconstruct the
956956
full expert tensor (all num_experts on dim-0).
957957
"""
958-
import torch
959-
import torch.distributed as dist
960-
961958
model = self.strategy.unwrap_model(self.model)
962959
state_dict = {}
963960

0 commit comments

Comments
 (0)