Skip to content

Commit 64af52f

Browse files
hjh0119Jintao-Huang
authored andcommitted
[sp] clean up imports (#4878)
1 parent c66f52e commit 64af52f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

swift/trainers/sequence_parallel/ulysses.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from torch.nn import CrossEntropyLoss
1616
from torch.utils.data import DataLoader, Sampler
1717
from trl.extras.profiling import profiling_decorator
18-
from trl.trainer.grpo_trainer import RepeatSampler
1918

2019
from swift.llm import DataLoaderDispatcher, DataLoaderShard, get_llm_model, to_device
2120
from swift.utils import get_current_device, get_device, get_dist_setting, seed_worker

0 commit comments

Comments
 (0)