feat: add --check-only flag to validate setup without training
This commit is contained in:
@@ -78,6 +78,8 @@ echo "Press Ctrl+C to stop (model will be saved at checkpoint)."
|
||||
echo ""
|
||||
|
||||
# Use torchrun for distributed training (2 GPUs)
|
||||
# Add --check-only to validate without training:
|
||||
# torchrun --nproc_per_node=2 training/scripts/train.py --config training/configs/llama2-7b-lora.yaml --check-only
|
||||
torchrun --nproc_per_node=2 training/scripts/train.py --config training/configs/llama2-7b-lora.yaml
|
||||
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user