Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ def dummy_parquet_train_val_inputs(tmp_path):
return train_cluster_path, valid_cluster_path


@pytest.mark.skip(
"TODO: These tests currently take an inordinate amount of time. See https://jirasw.nvidia.com/browse/BIONEMO-553"
)
def test_pretrain_pydantic_cli(dummy_protein_dataset, dummy_parquet_train_val_inputs, tmpdir):
result_dir = tmpdir.mkdir("results")
train_cluster_path, valid_cluster_path = dummy_parquet_train_val_inputs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ def test_bionemo2_rootdir(data_path):
assert data_path.is_dir(), f"Test data directory is supposed to be a directory.\n{data_error_str}"


@pytest.mark.skip(
"TODO: These tests currently take an inordinate amount of time. See https://jirasw.nvidia.com/browse/BIONEMO-553"
)
def test_pretrain_cli_from_ckpt(tmpdir, data_path):
# Same as test_pretrain, but includes a checkpoint to initialize from.
result_dir = Path(tmpdir.mkdir("results"))
Expand Down Expand Up @@ -83,6 +86,9 @@ def test_pretrain_cli_from_ckpt(tmpdir, data_path):
assert (result_dir / "test-experiment").exists(), "Could not find test experiment directory."


@pytest.mark.skip(
"TODO: These tests currently take an inordinate amount of time. See https://jirasw.nvidia.com/browse/BIONEMO-553"
)
def test_pretrain_cli(tmpdir, data_path):
"""trains from scratch"""
# data_path: Path = load("single_cell/testdata-20240506") / "cellxgene_2023-12-15_small" / "processed_data"
Expand Down Expand Up @@ -123,6 +129,9 @@ def test_pretrain_cli(tmpdir, data_path):
assert (result_dir / "test-experiment").exists(), "Could not find test experiment directory."


@pytest.mark.skip(
"TODO: These tests currently take an inordinate amount of time. See https://jirasw.nvidia.com/browse/BIONEMO-553"
)
def test_finetune_cli(tmpdir, data_path):
"""Uses CLI to invoke the entrypoint"""
# data_path: Path = load("single_cell/testdata-20240506") / "cellxgene_2023-12-15_small" / "processed_data"
Expand Down