ci: wire wandb logging via WANDB_API_KEY secret
smoke / nanochat-smoke (push) Successful in 25s

When the secret is present, base_train --run=smoke-$run_number gets
logged to wandb (project=nanochat). Without the secret it falls
back to dummy / DummyWandb, so local runs stay offline.
This commit is contained in:
Fam Zheng
2026-05-05 22:08:13 +01:00
parent 94f115094e
commit f487ffee80
3 changed files with 12 additions and 1 deletions
+3
View File
@@ -19,4 +19,7 @@ jobs:
- name: nvidia-smi
run: nvidia-smi --query-gpu=name,memory.free,memory.used --format=csv
- name: smoke
env:
WANDB_API_KEY: ${{ secrets.WANDB_API_KEY }}
CI_RUN_TAG: smoke-${{ github.run_number }}
run: bash scripts/smoke.sh