File size: 304 Bytes
3eee49d
 
 
 
 
 
1
2
3
4
5
6
7
#!/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 ==="