rl4phyx-backup / logs /get_error3.sh
YUNTA88's picture
Upload folder using huggingface_hub
3eee49d verified
#!/bin/bash
# Extract full error from rank0 in training log
grep '\[rank0\]' /home/hku/rl4phyx/sft_training.log | grep -v 'WARNING\|UserWarning\|FutureWarning\|Loading\|OMP_NUM' > /home/hku/rl4phyx/error_extract.txt
echo "=== Error extract ==="
cat /home/hku/rl4phyx/error_extract.txt
echo "=== END ==="