We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c66f52e commit 64af52fCopy full SHA for 64af52f
swift/trainers/sequence_parallel/ulysses.py
@@ -15,7 +15,6 @@
15
from torch.nn import CrossEntropyLoss
16
from torch.utils.data import DataLoader, Sampler
17
from trl.extras.profiling import profiling_decorator
18
-from trl.trainer.grpo_trainer import RepeatSampler
19
20
from swift.llm import DataLoaderDispatcher, DataLoaderShard, get_llm_model, to_device
21
from swift.utils import get_current_device, get_device, get_dist_setting, seed_worker
0 commit comments