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

Missing pretrain_gpt.py in pytorch distribute pytests #527

Open
lhywanggithub opened this issue Nov 20, 2023 · 2 comments
Open

Missing pretrain_gpt.py in pytorch distribute pytests #527

lhywanggithub opened this issue Nov 20, 2023 · 2 comments
Assignees

Comments

@lhywanggithub
Copy link

I could not find the pretrain_gpt.py under tests/pytorch/distributed, which is needed in

NVTE_TORCH_COMPILE=0 NVTE_ALLOW_NONDETERMINISTIC_ALGO=0 NVTE_FLASH_ATTN=1 NVTE_FWD_LAYERNORM_SM_MARGIN=0 NVTE_BWD_LAYERNORM_SM_MARGIN=0 CUDA_DEVICE_MAX_CONNECTIONS=1 NVTE_BIAS_GELU_NVFUSION=0 NVTE_BIAS_DROPOUT_FUSION=0 python -m torch.distributed.launch --use_env --nnodes=1 --nproc_per_node=${NUM_GPUS} ${DIR}/pretrain_gpt.py ${options} 2>&1 | tee $FILENAME

@ptrendx
Copy link
Member

ptrendx commented Nov 29, 2023

@ksivaman

@ksivaman
Copy link
Member

ksivaman commented Jan 8, 2024

@lhywanggithub The distributed tests run megatron-LM. The corresponding files needed, including pretrain_gpt.py can be found there as well. You can follow the commands in the TE test script to get run the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants