Skip to content

Commit e08c50a

Browse files
authored
Merge branch 'main' into mvle/jet-test-esm2-finetune
2 parents 8025525 + 934068c commit e08c50a

File tree

39 files changed

+27
-3065
lines changed

39 files changed

+27
-3065
lines changed

.github/workflows/internal_tools.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repos:
2727
hooks:
2828
- id: license-header-check
2929
name: Run license-check script
30-
entry: python internal/infra-bionemo/src/infra_bionemo/license_check.py -c scripts -c sub-packages -c docs -c internal --license-header ./license_header --modify
30+
entry: python ci/scripts/license_check.py -c sub-packages -c docs -c ci --license-header ./license_header --modify
3131
language: python
3232
additional_dependencies: ["click==8.1.7"]
3333
pass_filenames: false

3rdparty/NeMo

Submodule NeMo updated from 29c230b to ee0be11

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ EOF
6464
## Drop this when pytorch images ship the fixed commit.
6565
ARG TE_TAG=9d4e11eaa508383e35b510dc338e58b09c30be73
6666

67-
COPY ./patches/te.patch /tmp/te.patch
67+
COPY ./docker_build_patches/te.patch /tmp/te.patch
6868
RUN git clone --recurse-submodules https://github.com/NVIDIA/TransformerEngine.git /tmp/TransformerEngine && \
6969
cd /tmp/TransformerEngine && \
7070
git checkout --recurse-submodules ${TE_TAG} && \
@@ -354,7 +354,6 @@ FROM bionemo2-base AS release
354354
RUN mkdir -p /workspace/bionemo2/.cache/
355355

356356
COPY VERSION .
357-
COPY ./scripts ./scripts
358357
COPY ./README.md ./
359358
# Copy over folders so that the image can run tests in a self-contained fashion.
360359
COPY ./ci/scripts ./ci/scripts
File renamed without changes.

ci/benchmarks/partial-conv/evo2_pretrain.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ script_args:
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/clara-discovery%2Fcuhyena/jobs/172596829/artifacts/dist/
19-
file_name_wheel: cuhyena-0.1-cp312-cp312-linux_x86_64.whl
18+
artefacts_url: https://__token__:${JET_GITLAB_TOKEN}@gitlab-master.nvidia.com/api/v4/projects/180496/packages/pypi/simple
19+
file_name_wheel: cuhyena==v0.2.3+cuda12.9
2020
model: evo2
2121
variant: train
2222
config_name: 1b
@@ -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 ${artefacts_url}
4544
touch $INSTALL_FLAG
4645
fi
4746
# All ranks wait until install flag file appears

ci/docker/Dockerfile.uv

Lines changed: 0 additions & 218 deletions
This file was deleted.

ci/docker/entrypoint.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

internal/infra-bionemo/src/infra_bionemo/license_check.py renamed to ci/scripts/license_check.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,24 @@
1414
# limitations under the License.
1515

1616

17+
#! /usr/bin/env python3
18+
19+
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
20+
# SPDX-License-Identifier: LicenseRef-Apache2
21+
#
22+
# Licensed under the Apache License, Version 2.0 (the "License");
23+
# you may not use this file except in compliance with the License.
24+
# You may obtain a copy of the License at
25+
#
26+
# http://www.apache.org/licenses/LICENSE-2.0
27+
#
28+
# Unless required by applicable law or agreed to in writing, software
29+
# distributed under the License is distributed on an "AS IS" BASIS,
30+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31+
# See the License for the specific language governing permissions and
32+
# limitations under the License.
33+
34+
1735
import ast
1836
import sys
1937
from dataclasses import dataclass

ci/scripts/static_checks.sh

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ set -xueo pipefail
55
REPOSITORY_ROOT=$(git rev-parse --show-toplevel)
66
cd $REPOSITORY_ROOT
77

8-
echo "Running ruff checks"
9-
set +e
10-
ruff check scripts/ sub-packages/ docs/
11-
E_RUFF_CHECK="$?"
12-
set -e
13-
148
echo "Running tach checks"
159
set +e
1610
tach check
@@ -19,7 +13,7 @@ set -e
1913

2014
echo "Running pre-commit checks"
2115
set +e
22-
pre-commit run --all-files --show-diff-on-failure --color always
16+
pre-commit run --all-files --show-diff-on-failure --color always --verbose
2317
E_PRE_COMMIT="$?"
2418
set -e
2519

@@ -29,10 +23,6 @@ if [[ "${E_PRE_COMMIT}" != "0" ]]; then
2923
ANY_FAILURE=1
3024
echo "ERROR: pre-commit hooks failed! (exit: ${E_PRE_COMMIT})"
3125
fi
32-
if [[ "${E_RUFF_CHECK}" != "0" ]]; then
33-
ANY_FAILURE=1
34-
echo "ERROR: ruff check failed! (exit: ${E_RUFF_CHECK})"
35-
fi
3626
if [[ "${E_TACH_CHECK}" != "0" ]]; then
3727
ANY_FAILURE=1
3828
echo "ERROR: tach check failed! (exit: ${E_TACH_CHECK})"

0 commit comments

Comments
 (0)