Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] WIP: support sequence parallel #68

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

HIT-cwh
Copy link

@HIT-cwh HIT-cwh commented Apr 8, 2024

序列并行设为 2 时的启动命令:
srun -p llm_razor --job-name=intern7b --quotatype=auto --gres=gpu:8 --ntasks=8 --ntasks-per-node=8 --cpus-per-task=16 --kill-on-bad-exit=1 python train_with_img.py --config configs/ffs/ffs_img_train_sp2.yaml
loss 情况:
image

序列并行设为 1 时的启动命令:
srun -p llm_razor --job-name=intern7b --quotatype=auto --gres=gpu:4 --ntasks=4 --ntasks-per-node=4 --cpus-per-task=24 --kill-on-bad-exit=1 python train_with_img.py --config configs/ffs/ffs_img_train.yaml
loss 情况:
image

@maxin-cn maxin-cn assigned maxin-cn and KimmiShi and unassigned maxin-cn Apr 8, 2024
@HIT-cwh HIT-cwh force-pushed the support_sequence_parallel branch from 46c4b26 to 9dc4df4 Compare April 10, 2024 10:37
@maxin-cn maxin-cn added the enhancement New feature or request label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants