-
Notifications
You must be signed in to change notification settings - Fork 16
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
[WIP][feature] Support Mixtral-8x7B SFT, Reward, and Alignment #95
base: main
Are you sure you want to change the base?
Conversation
NNODES=$WORLD_SIZE | ||
|
||
|
||
dp=$(($WORLD_SIZE * $GPUS_PER_NODE / $tp / $pp / $ep)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not supposed to divide ep here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
NNODES=$WORLD_SIZE | ||
|
||
|
||
dp=$(($WORLD_SIZE * $GPUS_PER_NODE / $tp / $pp / $ep)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
neither is here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
cd ${CHATLEARN}/examples/megatron/alignment/reward | ||
|
||
torchrun $DISTRIBUTED_ARGS \ | ||
finetune_reward.py \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be entry/train_reward.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
cd ${CHATLEARN}/examples/megatron/sft | ||
|
||
torchrun $DISTRIBUTED_ARGS \ | ||
finetune_sft.py \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shold be entry/train_sft.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
This PR involves: