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:
|
env:
|
||||||
CUDA_VISIBLE_DEVICES: "0"
|
CUDA_VISIBLE_DEVICES: "0"
|
||||||
PYTHONUNBUFFERED: "1"
|
PYTHONUNBUFFERED: "1"
|
||||||
|
git:
|
||||||
|
lfs: false
|
||||||
stages:
|
stages:
|
||||||
- name: train
|
- name: train
|
||||||
script: |
|
script: |
|
||||||
cd /workspace && git clone https://cnb.cool/ETeam_sy/xiaoli-llm-chat.git
|
set -e
|
||||||
cd xiaoli-llm-chat && python3 scripts/train_cnb.py --epochs 100 --batch_size 16
|
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