Files
LLM-from-scratch/utils/dolly_pretrain_torch.sh
T
2025-05-19 11:52:16 +08:00

3 lines
275 B
Bash

python3 -m torch.distributed.launch --nproc_per_node=4 --master_port=12345 src_pretrain/pretrain_transformers.py
# torchrun --nproc_per_node=4 src_pretrain/pretrain_transformers.py
# CUDA_VISIBLE_DEVICES=1,2,3 torchrun --nproc_per_node=3 src_pretrain/pretrain_transformers.py