chore: add debug echo to pipeline script
This commit is contained in:
1 parent
ffb5825407
commit
5732229ed5
1 file changed
+11
-2
@@ -9,8 +9,17 @@ master:
|
||||
env:
|
||||
CUDA_VISIBLE_DEVICES: "0"
|
||||
PYTHONUNBUFFERED: "1"
|
||||
git:
|
||||
lfs: false
|
||||
stages:
|
||||
- name: train
|
||||
script: |
|
||||
cd /workspace && git clone https://cnb.cool/ETeam_sy/xiaoli-llm-chat.git
|
||||
cd xiaoli-llm-chat && python3 scripts/train_cnb.py --epochs 100 --batch_size 16
|
||||
set -e
|
||||
echo "=== 开始训练 ==="
|
||||
cd /workspace
|
||||
ls -la
|
||||
cd /workspace/xiaoli-llm-chat
|
||||
nvidia-smi
|
||||
echo "=== 启动训练 ==="
|
||||
python3 scripts/train_cnb.py --epochs 100 --batch_size 16
|
||||
echo "=== 训练完成 ==="
|
||||
Reference in new issue
Block a user