2020-07-25 06:22:54 +02:00
|
|
|
# --------------------------------------------------------------------
|
|
|
|
# Tests from the doc/examples directory.
|
|
|
|
# Please keep these sorted alphabetically, but start with the
|
|
|
|
# root directory.
|
|
|
|
# --------------------------------------------------------------------
|
2021-04-13 14:20:26 -07:00
|
|
|
py_test(
|
|
|
|
name = "plot_hyperparameter",
|
|
|
|
size = "small",
|
|
|
|
srcs = ["examples/plot_hyperparameter.py"],
|
2021-08-18 18:38:31 -07:00
|
|
|
tags = ["exclusive", "team:ml"]
|
2021-04-13 14:20:26 -07:00
|
|
|
)
|
2020-07-25 06:22:54 +02:00
|
|
|
|
2021-04-13 14:20:26 -07:00
|
|
|
py_test(
|
|
|
|
name = "plot_parameter_server",
|
|
|
|
size = "medium",
|
|
|
|
srcs = ["examples/plot_parameter_server.py"],
|
2021-08-18 18:38:31 -07:00
|
|
|
tags = ["exclusive", "team:ml"]
|
2021-04-13 14:20:26 -07:00
|
|
|
)
|
2020-07-25 06:22:54 +02:00
|
|
|
|
2021-05-24 10:25:16 -07:00
|
|
|
py_test(
|
|
|
|
name = "plot_pong_example",
|
|
|
|
size = "large",
|
|
|
|
srcs = ["examples/plot_pong_example.py"],
|
2021-08-18 18:38:31 -07:00
|
|
|
tags = ["exclusive", "team:ml"]
|
2021-05-24 10:25:16 -07:00
|
|
|
)
|
2020-07-25 06:22:54 +02:00
|
|
|
|
2020-09-15 00:16:36 -07:00
|
|
|
py_test(
|
|
|
|
name = "progress_bar",
|
|
|
|
size = "small",
|
|
|
|
srcs = ["examples/progress_bar.py"],
|
2021-08-18 18:38:31 -07:00
|
|
|
tags = ["exclusive", "team:ml"]
|
2020-09-15 00:16:36 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
|
2020-07-25 06:22:54 +02:00
|
|
|
# Directory: examples/doc_code
|
|
|
|
py_test(
|
|
|
|
name = "doc_code_tf_example",
|
|
|
|
size = "small",
|
|
|
|
main = "examples/doc_code/tf_example.py",
|
|
|
|
srcs = ["examples/doc_code/tf_example.py"],
|
2021-08-18 18:38:31 -07:00
|
|
|
tags = ["exclusive", "tf", "team:ml"]
|
2020-07-25 06:22:54 +02:00
|
|
|
)
|
|
|
|
|
2021-03-03 15:46:32 -08:00
|
|
|
py_test(
|
|
|
|
name = "doc_code_torch_example",
|
|
|
|
size = "small",
|
|
|
|
main = "examples/doc_code/torch_example.py",
|
|
|
|
srcs = ["examples/doc_code/torch_example.py"],
|
2021-08-18 18:38:31 -07:00
|
|
|
tags = ["exclusive", "pytorch", "team:ml"]
|
2021-03-03 15:46:32 -08:00
|
|
|
)
|
2020-07-25 06:22:54 +02:00
|
|
|
|
2021-03-15 17:37:02 -05:00
|
|
|
py_test(
|
|
|
|
name = "doc_code_metrics_example",
|
|
|
|
size = "small",
|
|
|
|
main = "examples/doc_code/metrics_example.py",
|
|
|
|
srcs = ["examples/doc_code/metrics_example.py"],
|
2021-08-18 18:38:31 -07:00
|
|
|
tags = ["exclusive", "team:serve"]
|
2021-03-15 17:37:02 -05:00
|
|
|
)
|
|
|
|
|
2021-06-09 18:02:16 -07:00
|
|
|
py_test(
|
|
|
|
name = "doc_code_runtime_env_example",
|
|
|
|
size = "small",
|
|
|
|
main = "examples/doc_code/runtime_env_example.py",
|
|
|
|
srcs = ["examples/doc_code/runtime_env_example.py"],
|
2021-08-18 18:38:31 -07:00
|
|
|
tags = ["exclusive", "post_wheel_build", "team:serve"]
|
2021-06-09 18:02:16 -07:00
|
|
|
)
|
|
|
|
|
2020-07-25 06:22:54 +02:00
|
|
|
# --------------------------------------------------------------------
|
|
|
|
# Tests from the doc/source/tune/_tutorials directory.
|
|
|
|
# Please keep these sorted alphabetically.
|
|
|
|
# --------------------------------------------------------------------
|
|
|
|
|
2020-10-24 01:08:46 -07:00
|
|
|
py_test(
|
|
|
|
name = "tune_sklearn",
|
|
|
|
size = "medium",
|
|
|
|
main = "source/tune/_tutorials/tune-sklearn.py",
|
|
|
|
srcs = ["source/tune/_tutorials/tune-sklearn.py"],
|
2021-08-18 18:38:31 -07:00
|
|
|
tags = ["exclusive", "example", "team:ml"],
|
2020-10-24 01:08:46 -07:00
|
|
|
args = ["--smoke-test"]
|
|
|
|
)
|
2020-08-08 00:32:49 +02:00
|
|
|
|
2021-04-13 14:20:26 -07:00
|
|
|
py_test(
|
|
|
|
name = "tune_serve_integration_mnist",
|
|
|
|
size = "medium",
|
|
|
|
main = "source/tune/_tutorials/tune-serve-integration-mnist.py",
|
|
|
|
srcs = ["source/tune/_tutorials/tune-serve-integration-mnist.py"],
|
2021-08-18 18:38:31 -07:00
|
|
|
tags = ["exclusive", "example", "team:ml"],
|
2021-04-13 14:20:26 -07:00
|
|
|
args = ["--smoke-test", "--from_scratch", "--day 0"]
|
|
|
|
)
|