Skip to content

Commit c482697

Browse files
committed
updated install cmd
1 parent 60affc4 commit c482697

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

ci/benchmarks/partial-conv/evo2_pretrain.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ key_segments:
77
lr: False
88
min_lr: False
99
wu_steps: False
10-
artefacts_url: False
10+
pckg_url: False
1111
file_name_wheel: False
1212
script_args:
1313
# All arguments referenced in the script string must be specified here.
1414
# Arguments not referenced in the script string must have the 'arg' field specified.
1515
# See jet/core/configs.py for the specification of the configuration class
1616
workspace: /workspace/bionemo2
1717
data_path: /data/evo2
18-
artefacts_url: https://gitlab-master.nvidia.com/api/v4/projects/180496/packages/pypi/simple
18+
pckg_url: gitlab-master.nvidia.com/api/v4/projects/180496/packages/pypi/simple/
1919
file_name_wheel: subquadratic-ops
2020
model: evo2
2121
variant: train
@@ -40,8 +40,7 @@ script_args:
4040
script: |-
4141
INSTALL_FLAG="/tmp/install_done_${{SLURMD_NODENAME}}";
4242
if [ "$SLURM_LOCALID" = "0" ]; then
43-
curl --location --header "PRIVATE-TOKEN:$JET_GITLAB_TOKEN" "${artefacts_url}/${file_name_wheel}" --output ${file_name_wheel}
44-
pip install ${file_name_wheel}
43+
pip install ${file_name_wheel} --index-url https://oauth2:$JET_GITLAB_TOKEN@${pckg_url} --extra-index-url https://pypi.org/simple/
4544
touch $INSTALL_FLAG
4645
fi
4746
# All ranks wait until install flag file appears

0 commit comments

Comments
 (0)