Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/unit-tests-framework.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,9 @@ jobs:
credentials:
username: ${{ vars.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
env:
CI: true
HF_TOKEN: ${{ secrets.HF_TOKEN }}
if: needs.build-bionemo-image.result == 'success'
steps:
- name: Checkout repository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
class BioNeMoAMPLIFYTokenizer(transformers.PreTrainedTokenizerFast, IOMixin): # noqa D101
def __init__(self):
"""A wrapper to make AutoTokenizer serializable for the ESM2 tokenizer."""
other = transformers.AutoTokenizer.from_pretrained("chandar-lab/AMPLIFY_350M", use_fast=True)
other = transformers.AutoTokenizer.from_pretrained("chandar-lab/AMPLIFY_120M", use_fast=True)
self.__dict__.update(other.__dict__)
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import os
import sys
from pathlib import Path

Expand Down Expand Up @@ -321,6 +322,7 @@ def test_convert_amplify_120M_bf16(tmp_path):
reason="AMPLIFY golden value tests require xformers. Run `pip install -v -U "
"git+https://github.com/facebookresearch/[email protected]#egg=xformers` to enable.",
)
@pytest.mark.skipif(os.getenv("CI", "false") == "true", reason="Skipping larger model test in CI.")
def test_convert_amplify_350M(tmp_path):
model_tag = "chandar-lab/AMPLIFY_350M"
module = biobert_lightning_module(config=AMPLIFYConfig())
Expand Down
Loading