ray/doc/source/ray-air/examples/BUILD

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
928 B
Text
Raw Normal View History

load("//bazel:python.bzl", "py_test_run_all_notebooks")
filegroup(
name = "air_examples",
srcs = glob(["*.ipynb"]),
visibility = ["//doc:__subpackages__"]
)
# --------------------------------------------------------------------
# Test all doc/source/ray-air/examples notebooks.
# --------------------------------------------------------------------
py_test_run_all_notebooks(
size = "large",
include = ["*.ipynb"],
exclude = ["huggingface_text_classification.ipynb", "torch_incremental_learning.ipynb"],
data = ["//doc/source/ray-air/examples:air_examples"],
tags = ["exclusive", "team:ml", "ray_air"],
)
# GPU Tests
py_test_run_all_notebooks(
size = "large",
include = ["huggingface_text_classification.ipynb", "torch_incremental_learning.ipynb"],
exclude = [],
data = ["//doc/source/ray-air/examples:air_examples"],
tags = ["exclusive", "team:ml", "gpu", "ray_air"],
)