def test_mnist_ptl_mini(start_client_server): assert ray.util.client.ray.is_connected() from ray.tune.examples.mnist_ptl_mini import tune_mnist tune_mnist(num_samples=1, num_epochs=1, gpus_per_trial=0)
def test_tune_mnist_keras(start_client_server_4_cpus): assert ray.util.client.ray.is_connected() from ray.tune.examples.tune_mnist_keras import tune_mnist tune_mnist(num_training_iterations=5)