Skip to content

ci: Disable presubmit LLM tests temporarily #144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 26, 2023
Merged
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
24 changes: 24 additions & 0 deletions tests/system/small/ml/test_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ def test_create_text_generator_model(palm2_text_generator_model):
assert palm2_text_generator_model._bqml_model is not None


@pytest.mark.skip(
reason="Temporarily disable to validate the hypothesis that LLM capacity is causing the presubmit tests to take long to run."
)
@pytest.mark.flaky(retries=2, delay=120)
def test_create_text_generator_model_default_session(bq_connection, llm_text_pandas_df):
import bigframes.pandas as bpd
Expand All @@ -48,6 +51,9 @@ def test_create_text_generator_model_default_session(bq_connection, llm_text_pan
assert all(series.str.len() > 20)


@pytest.mark.skip(
reason="Temporarily disable to validate the hypothesis that LLM capacity is causing the presubmit tests to take long to run."
)
@pytest.mark.flaky(retries=2, delay=120)
def test_create_text_generator_model_default_connection(llm_text_pandas_df):
from bigframes import _config
Expand All @@ -74,6 +80,9 @@ def test_create_text_generator_model_default_connection(llm_text_pandas_df):


# Marked as flaky only because BQML LLM is in preview, the service only has limited capacity, not stable enough.
@pytest.mark.skip(
reason="Temporarily disable to validate the hypothesis that LLM capacity is causing the presubmit tests to take long to run."
)
@pytest.mark.flaky(retries=2, delay=120)
def test_text_generator_predict_default_params_success(
palm2_text_generator_model, llm_text_df
Expand All @@ -85,6 +94,9 @@ def test_text_generator_predict_default_params_success(
assert all(series.str.len() > 20)


@pytest.mark.skip(
reason="Temporarily disable to validate the hypothesis that LLM capacity is causing the presubmit tests to take long to run."
)
@pytest.mark.flaky(retries=2, delay=120)
def test_text_generator_predict_series_default_params_success(
palm2_text_generator_model, llm_text_df
Expand All @@ -96,6 +108,9 @@ def test_text_generator_predict_series_default_params_success(
assert all(series.str.len() > 20)


@pytest.mark.skip(
reason="Temporarily disable to validate the hypothesis that LLM capacity is causing the presubmit tests to take long to run."
)
@pytest.mark.flaky(retries=2, delay=120)
def test_text_generator_predict_arbitrary_col_label_success(
palm2_text_generator_model, llm_text_df
Expand All @@ -108,6 +123,9 @@ def test_text_generator_predict_arbitrary_col_label_success(
assert all(series.str.len() > 20)


@pytest.mark.skip(
reason="Temporarily disable to validate the hypothesis that LLM capacity is causing the presubmit tests to take long to run."
)
@pytest.mark.flaky(retries=2, delay=120)
def test_text_generator_predict_with_params_success(
palm2_text_generator_model, llm_text_df
Expand Down Expand Up @@ -139,6 +157,9 @@ def test_create_text_embedding_generator_model_defaults(bq_connection):
assert model._bqml_model is not None


@pytest.mark.skip(
reason="Temporarily disable to validate the hypothesis that LLM capacity is causing the presubmit tests to take long to run."
)
@pytest.mark.flaky(retries=2, delay=120)
def test_embedding_generator_predict_success(
palm2_embedding_generator_model, llm_text_df
Expand All @@ -152,6 +173,9 @@ def test_embedding_generator_predict_success(
assert value.size == 768


@pytest.mark.skip(
reason="Temporarily disable to validate the hypothesis that LLM capacity is causing the presubmit tests to take long to run."
)
@pytest.mark.flaky(retries=2, delay=120)
def test_embedding_generator_predict_series_success(
palm2_embedding_generator_model, llm_text_df
Expand Down