Skip to content

Commit 18ee0e7

Browse files
committed
add lepton ci var
Signed-off-by: Jared Wilber <jwilber@nvidia.com>
1 parent fa7b47a commit 18ee0e7

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

.github/workflows/convergence-tests.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,34 @@ name: "BioNeMo Model Convergence Tests"
33
on:
44
workflow_dispatch:
55

6-
# run lepton tests
7-
# update dashboard
8-
96
jobs:
107
submit-lepton-jobs:
118
runs-on: ubuntu-latest
129
steps:
1310
- name: Checkout
1411
uses: actions/checkout@v4
1512

13+
- name: Set up Python
14+
uses: actions/setup-python@v5
15+
with:
16+
python-version: "3.11"
17+
cache: "pip"
18+
cache-dependency-path: |
19+
requirements.ci.txt
20+
ci/lepton/model_convergence/scripts/requirements.txt
21+
22+
- name: Install deps
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install "hydra-core==1.3.2" "omegaconf==2.3.0" "leptonai" typer pandas
26+
python - <<'PY'
27+
import hydra, omegaconf, leptonai
28+
print("OK:", hydra.__version__, omegaconf.__version__, leptonai.__version__)
29+
PY
30+
1631
- name: Submit Lepton Jobs
32+
env:
33+
LEP_LOGIN_CREDENTIALS: ${{ secrets.LEP_LOGIN_CREDENTIALS }}
1734
run: |
35+
lep login -c "$LEP_LOGIN_CREDENTIALS" || true
1836
python ci/lepton/model_convergence/scripts/launch_job.py --config-name "evo2_finetune_lora"
19-

0 commit comments

Comments
 (0)