Skip to content

Support Ulysses in Swift #3731

@zhoumengbo

Description

@zhoumengbo

Describe the feature
Support Ulysses in Swift

Paste any useful information
In ms-swift, RLHF does not support SP. I saw that the Verl framework supports Ulysses for long context training. I want to know whether Ulysses is supported in Swift? Now I need to train GRPO on a long context. I hope ms-swift can support using ulysses from deepspeed to help me with training.

Reference:
https://github.com/deepspeedai/DeepSpeed/tree/master/blogs/deepspeed-ulysses
https://verl.readthedocs.io/en/latest/perf/perf_tuning.html#ulysses-sequence-parallel-for-long-context-training

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions