Shortcuts

Multi-Objective NAS with Ax

Authors: David Eriksson, Max Balandat, and the Adaptive Experimentation team at Meta.

In this tutorial, we show how to use Ax to run multi-objective neural architecture search (NAS) for a simple neural network model on the popular MNIST dataset. While the underlying methodology would typically be used for more complicated models and larger datasets, we opt for a tutorial that is easily runnable end-to-end on a laptop in less than 20 minutes.

In many NAS applications, there is a natural tradeoff between multiple objectives of interest. For instance, when deploying models on-device we may want to maximize model performance (for example, accuracy), while simultaneously minimizing competing metrics like power consumption, inference latency, or model size in order to satisfy deployment constraints. Often, we may be able to reduce computational requirements or latency of predictions substantially by accepting minimally lower model performance. Principled methods for exploring such tradeoffs efficiently are key enablers of scalable and sustainable AI, and have many successful applications at Meta - see for instance our case study on a Natural Language Understanding model.

In our example here, we will tune the widths of two hidden layers, the learning rate, the dropout probability, the batch size, and the number of training epochs. The goal is to trade off performance (accuracy on the validation set) and model size (the number of model parameters).

This tutorial makes use of the following PyTorch libraries:

  • PyTorch Lightning (specifying the model and training loop)

  • TorchX (for running training jobs remotely / asynchronously)

  • BoTorch (the Bayesian Optimization library powering Ax’s algorithms)

Defining the TorchX App

Our goal is to optimize the PyTorch Lightning training job defined in mnist_train_nas.py. To do this using TorchX, we write a helper function that takes in the values of the architecture and hyperparameters of the training job and creates a TorchX AppDef with the appropriate settings.

from pathlib import Path

import torchx

from torchx import specs
from torchx.components import utils


def trainer(
    log_path: str,
    hidden_size_1: int,
    hidden_size_2: int,
    learning_rate: float,
    epochs: int,
    dropout: float,
    batch_size: int,
    trial_idx: int = -1,
) -> specs.AppDef:

    # define the log path so we can pass it to the TorchX ``AppDef``
    if trial_idx >= 0:
        log_path = Path(log_path).joinpath(str(trial_idx)).absolute().as_posix()

    return utils.python(
        # command line arguments to the training script
        "--log_path",
        log_path,
        "--hidden_size_1",
        str(hidden_size_1),
        "--hidden_size_2",
        str(hidden_size_2),
        "--learning_rate",
        str(learning_rate),
        "--epochs",
        str(epochs),
        "--dropout",
        str(dropout),
        "--batch_size",
        str(batch_size),
        # other config options
        name="trainer",
        script="mnist_train_nas.py",
        image=torchx.version.TORCHX_IMAGE,
    )

Setting up the Runner

Ax’s Runner abstraction allows writing interfaces to various backends. Ax already comes with Runner for TorchX, and so we just need to configure it. For the purpose of this tutorial we run jobs locally in a fully asynchronous fashion.

In order to launch them on a cluster, you can instead specify a different TorchX scheduler and adjust the configuration appropriately. For example, if you have a Kubernetes cluster, you just need to change the scheduler from local_cwd to kubernetes).

import tempfile
from ax.runners.torchx import TorchXRunner

# Make a temporary dir to log our results into
log_dir = tempfile.mkdtemp()

ax_runner = TorchXRunner(
    tracker_base="/tmp/",
    component=trainer,
    # NOTE: To launch this job on a cluster instead of locally you can
    # specify a different scheduler and adjust arguments appropriately.
    scheduler="local_cwd",
    component_const_params={"log_path": log_dir},
    cfg={},
)

Setting up the SearchSpace

First, we define our search space. Ax supports both range parameters of type integer and float as well as choice parameters which can have non-numerical types such as strings. We will tune the hidden sizes, learning rate, dropout, and number of epochs as range parameters and tune the batch size as an ordered choice parameter to enforce it to be a power of 2.

from ax.core import (
    ChoiceParameter,
    ParameterType,
    RangeParameter,
    SearchSpace,
)

parameters = [
    # NOTE: In a real-world setting, hidden_size_1 and hidden_size_2
    # should probably be powers of 2, but in our simple example this
    # would mean that ``num_params`` can't take on that many values, which
    # in turn makes the Pareto frontier look pretty weird.
    RangeParameter(
        name="hidden_size_1",
        lower=16,
        upper=128,
        parameter_type=ParameterType.INT,
        log_scale=True,
    ),
    RangeParameter(
        name="hidden_size_2",
        lower=16,
        upper=128,
        parameter_type=ParameterType.INT,
        log_scale=True,
    ),
    RangeParameter(
        name="learning_rate",
        lower=1e-4,
        upper=1e-2,
        parameter_type=ParameterType.FLOAT,
        log_scale=True,
    ),
    RangeParameter(
        name="epochs",
        lower=1,
        upper=4,
        parameter_type=ParameterType.INT,
    ),
    RangeParameter(
        name="dropout",
        lower=0.0,
        upper=0.5,
        parameter_type=ParameterType.FLOAT,
    ),
    ChoiceParameter(  # NOTE: ``ChoiceParameters`` don't require log-scale
        name="batch_size",
        values=[32, 64, 128, 256],
        parameter_type=ParameterType.INT,
        is_ordered=True,
        sort_values=True,
    ),
]

search_space = SearchSpace(
    parameters=parameters,
    # NOTE: In practice, it may make sense to add a constraint
    # hidden_size_2 <= hidden_size_1
    parameter_constraints=[],
)

Setting up Metrics

Ax has the concept of a Metric that defines properties of outcomes and how observations are obtained for these outcomes. This allows e.g. encoding how data is fetched from some distributed execution backend and post-processed before being passed as input to Ax.

In this tutorial we will use multi-objective optimization with the goal of maximizing the validation accuracy and minimizing the number of model parameters. The latter represents a simple proxy of model latency, which is hard to estimate accurately for small ML models (in an actual application we would benchmark the latency while running the model on-device).

In our example TorchX will run the training jobs in a fully asynchronous fashion locally and write the results to the log_dir based on the trial index (see the trainer() function above). We will define a metric class that is aware of that logging directory. By subclassing TensorboardCurveMetric we get the logic to read and parse the TensorBoard logs for free.

from ax.metrics.tensorboard import TensorboardCurveMetric


class MyTensorboardMetric(TensorboardCurveMetric):

    # NOTE: We need to tell the new TensorBoard metric how to get the id /
    # file handle for the TensorBoard logs from a trial. In this case
    # our convention is to just save a separate file per trial in
    # the prespecified log dir.
    @classmethod
    def get_ids_from_trials(cls, trials):
        return {
            trial.index: Path(log_dir).joinpath(str(trial.index)).as_posix()
            for trial in trials
        }

    # This indicates whether the metric is queryable while the trial is
    # still running. We don't use this in the current tutorial, but Ax
    # utilizes this to implement trial-level early-stopping functionality.
    @classmethod
    def is_available_while_running(cls):
        return False

Now we can instantiate the metrics for accuracy and the number of model parameters. Here curve_name is the name of the metric in the TensorBoard logs, while name is the metric name used internally by Ax. We also specify lower_is_better to indicate the favorable direction of the two metrics.

val_acc = MyTensorboardMetric(
    name="val_acc",
    curve_name="val_acc",
    lower_is_better=False,
)
model_num_params = MyTensorboardMetric(
    name="num_params",
    curve_name="num_params",
    lower_is_better=True,
)

Setting up the OptimizationConfig

The way to tell Ax what it should optimize is by means of an OptimizationConfig. Here we use a MultiObjectiveOptimizationConfig as we will be performing multi-objective optimization.

Additionally, Ax supports placing constraints on the different metrics by specifying objective thresholds, which bound the region of interest in the outcome space that we want to explore. For this example, we will constrain the validation accuracy to be at least 0.94 (94%) and the number of model parameters to be at most 80,000.

from ax.core import MultiObjective, Objective, ObjectiveThreshold
from ax.core.optimization_config import MultiObjectiveOptimizationConfig


opt_config = MultiObjectiveOptimizationConfig(
    objective=MultiObjective(
        objectives=[
            Objective(metric=val_acc, minimize=False),
            Objective(metric=model_num_params, minimize=True),
        ],
    ),
    objective_thresholds=[
        ObjectiveThreshold(metric=val_acc, bound=0.94, relative=False),
        ObjectiveThreshold(metric=model_num_params, bound=80_000, relative=False),
    ],
)

Creating the Ax Experiment

In Ax, the Experiment object is the object that stores all the information about the problem setup.

from ax.core import Experiment

experiment = Experiment(
    name="torchx_mnist",
    search_space=search_space,
    optimization_config=opt_config,
    runner=ax_runner,
)

Choosing the Generation Strategy

A GenerationStrategy is the abstract representation of how we would like to perform the optimization. While this can be customized (if you’d like to do so, see this tutorial), in most cases Ax can automatically determine an appropriate strategy based on the search space, optimization config, and the total number of trials we want to run.

Typically, Ax chooses to evaluate a number of random configurations before starting a model-based Bayesian Optimization strategy.

total_trials = 48  # total evaluation budget

from ax.modelbridge.dispatch_utils import choose_generation_strategy

gs = choose_generation_strategy(
    search_space=experiment.search_space,
    optimization_config=experiment.optimization_config,
    num_trials=total_trials,
  )
[INFO 03-02 16:06:55] ax.modelbridge.dispatch_utils: Using Models.BOTORCH_MODULAR since there is at least one ordered parameter and there are no unordered categorical parameters.
[INFO 03-02 16:06:55] ax.modelbridge.dispatch_utils: Calculating the number of remaining initialization trials based on num_initialization_trials=None max_initialization_trials=None num_tunable_parameters=6 num_trials=48 use_batch_trials=False
[INFO 03-02 16:06:55] ax.modelbridge.dispatch_utils: calculated num_initialization_trials=9
[INFO 03-02 16:06:55] ax.modelbridge.dispatch_utils: num_completed_initialization_trials=0 num_remaining_initialization_trials=9
[INFO 03-02 16:06:55] ax.modelbridge.dispatch_utils: `verbose`, `disable_progbar`, and `jit_compile` are not yet supported when using `choose_generation_strategy` with ModularBoTorchModel, dropping these arguments.
[INFO 03-02 16:06:55] ax.modelbridge.dispatch_utils: Using Bayesian Optimization generation strategy: GenerationStrategy(name='Sobol+BoTorch', steps=[Sobol for 9 trials, BoTorch for subsequent trials]). Iterations after 9 will take longer to generate due to model-fitting.

Configuring the Scheduler

The Scheduler acts as the loop control for the optimization. It communicates with the backend to launch trials, check their status, and retrieve results. In the case of this tutorial, it is simply reading and parsing the locally saved logs. In a remote execution setting, it would call APIs. The following illustration from the Ax Scheduler tutorial summarizes how the Scheduler interacts with external systems used to run trial evaluations:

../_static/img/ax_scheduler_illustration.png

The Scheduler requires the Experiment and the GenerationStrategy. A set of options can be passed in via SchedulerOptions. Here, we configure the number of total evaluations as well as max_pending_trials, the maximum number of trials that should run concurrently. In our local setting, this is the number of training jobs running as individual processes, while in a remote execution setting, this would be the number of machines you want to use in parallel.

from ax.service.scheduler import Scheduler, SchedulerOptions

scheduler = Scheduler(
    experiment=experiment,
    generation_strategy=gs,
    options=SchedulerOptions(
        total_trials=total_trials, max_pending_trials=4
    ),
)
[INFO 03-02 16:06:55] Scheduler: `Scheduler` requires experiment to have immutable search space and optimization config. Setting property immutable_search_space_and_opt_config to `True` on experiment.

Running the optimization

Now that everything is configured, we can let Ax run the optimization in a fully automated fashion. The Scheduler will periodically check the logs for the status of all currently running trials, and if a trial completes the scheduler will update its status on the experiment and fetch the observations needed for the Bayesian optimization algorithm.

scheduler.run_all_trials()
[INFO 03-02 16:06:55] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:06:55] Scheduler: Running trials [0]...
[INFO 03-02 16:06:57] Scheduler: Running trials [1]...
[INFO 03-02 16:06:58] Scheduler: Running trials [2]...
[INFO 03-02 16:06:59] Scheduler: Running trials [3]...
[INFO 03-02 16:07:00] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:00] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 4).
[INFO 03-02 16:07:01] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:01] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 4).
[INFO 03-02 16:07:02] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:02] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 4).
[INFO 03-02 16:07:04] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:04] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 4).
[INFO 03-02 16:07:08] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:08] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 4).
[INFO 03-02 16:07:13] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:13] Scheduler: Retrieved FAILED trials: [3].
[INFO 03-02 16:07:13] Scheduler: Running trials [4]...
[INFO 03-02 16:07:14] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:14] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 4).
[INFO 03-02 16:07:15] Scheduler: Fetching data for newly completed trials: [0].
[INFO 03-02 16:07:15] Scheduler: Retrieved COMPLETED trials: [0].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:07:15] Scheduler: Running trials [5]...
[INFO 03-02 16:07:16] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:16] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 4).
[INFO 03-02 16:07:17] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:17] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 4).
[INFO 03-02 16:07:18] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:18] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 4).
[INFO 03-02 16:07:21] Scheduler: Fetching data for newly completed trials: 1 - 2.
[INFO 03-02 16:07:21] Scheduler: Retrieved COMPLETED trials: 1 - 2.
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:07:21] Scheduler: Running trials [6]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:07:22] Scheduler: Running trials [7]...
[INFO 03-02 16:07:23] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:23] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 4).
[INFO 03-02 16:07:24] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:24] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 4).
[INFO 03-02 16:07:25] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:25] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 4).
[INFO 03-02 16:07:28] Scheduler: Fetching data for newly completed trials: [5].
[INFO 03-02 16:07:28] Scheduler: Retrieved COMPLETED trials: [5].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:07:28] Scheduler: Running trials [8]...
[INFO 03-02 16:07:29] Scheduler: Fetching data for newly completed trials: [4].
[INFO 03-02 16:07:29] Scheduler: Retrieved COMPLETED trials: [4].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:07:29] Scheduler: Running trials [9]...
[INFO 03-02 16:07:30] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:30] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 4).
[INFO 03-02 16:07:31] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:31] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 4).
[INFO 03-02 16:07:32] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:32] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 4).
[INFO 03-02 16:07:34] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:34] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 4).
[INFO 03-02 16:07:38] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:38] Scheduler: Retrieved FAILED trials: [9].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:07:38] Scheduler: Running trials [10]...
[INFO 03-02 16:07:39] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:39] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 4).
[INFO 03-02 16:07:40] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:40] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 4).
[INFO 03-02 16:07:42] Scheduler: Fetching data for newly completed trials: 6 - 7.
[INFO 03-02 16:07:42] Scheduler: Retrieved COMPLETED trials: 6 - 7.
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:07:43] Scheduler: Running trials [11]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:07:44] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:07:45] Scheduler: Running trials [12]...
[INFO 03-02 16:07:46] Scheduler: Fetching data for newly completed trials: [8].
[INFO 03-02 16:07:46] Scheduler: Retrieved COMPLETED trials: [8].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:07:47] Scheduler: Running trials [13]...
[INFO 03-02 16:07:48] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:48] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 4).
[INFO 03-02 16:07:49] Scheduler: Fetching data for newly completed trials: [10].
[INFO 03-02 16:07:49] Scheduler: Retrieved COMPLETED trials: [10].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:07:49] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:49] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 03-02 16:07:50] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:50] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 03-02 16:07:52] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:52] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 03-02 16:07:54] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:54] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 03-02 16:07:58] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:07:58] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 03-02 16:08:03] Scheduler: Fetching data for newly completed trials: [11].
[INFO 03-02 16:08:03] Scheduler: Retrieved COMPLETED trials: [11].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:08:06] Scheduler: Running trials [14]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:08:07] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:08:07] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:08:07] Scheduler: Fetching data for newly completed trials: [12].
[INFO 03-02 16:08:07] Scheduler: Retrieved COMPLETED trials: [12].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:08:10] Scheduler: Running trials [15]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:08:11] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:08:11] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:08:11] Scheduler: Fetching data for newly completed trials: [13].
[INFO 03-02 16:08:11] Scheduler: Retrieved COMPLETED trials: [13].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:08:12] Scheduler: Running trials [16]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:08:13] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:08:13] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:08:13] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:08:13] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 03-02 16:08:14] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:08:14] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 03-02 16:08:16] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:08:16] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 03-02 16:08:18] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:08:18] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 03-02 16:08:22] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:08:22] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 03-02 16:08:27] Scheduler: Fetching data for newly completed trials: [14].
[INFO 03-02 16:08:27] Scheduler: Retrieved COMPLETED trials: [14].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:08:29] Scheduler: Running trials [17]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:08:30] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:08:30] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:08:30] Scheduler: Fetching data for newly completed trials: [15].
[INFO 03-02 16:08:30] Scheduler: Retrieved COMPLETED trials: [15].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:08:32] Scheduler: Running trials [18]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:08:33] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:08:33] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:08:33] Scheduler: Fetching data for newly completed trials: [16].
[INFO 03-02 16:08:33] Scheduler: Retrieved COMPLETED trials: [16].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:08:35] Scheduler: Running trials [19]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:08:36] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:08:36] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:08:36] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:08:36] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 03-02 16:08:37] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:08:37] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 03-02 16:08:39] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:08:39] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 03-02 16:08:41] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:08:41] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 03-02 16:08:44] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:08:44] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 03-02 16:08:49] Scheduler: Fetching data for newly completed trials: [17].
[INFO 03-02 16:08:49] Scheduler: Retrieved COMPLETED trials: [17].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:08:53] Scheduler: Running trials [20]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:08:54] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:08:54] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:08:54] Scheduler: Fetching data for newly completed trials: [18].
[INFO 03-02 16:08:54] Scheduler: Retrieved COMPLETED trials: [18].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:08:56] Scheduler: Running trials [21]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:08:57] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:08:57] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:08:58] Scheduler: Fetching data for newly completed trials: [19].
[INFO 03-02 16:08:58] Scheduler: Retrieved COMPLETED trials: [19].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:09:00] Scheduler: Running trials [22]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:09:01] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:09:01] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:09:01] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:01] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 03-02 16:09:02] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:02] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 03-02 16:09:04] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:04] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 03-02 16:09:06] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:06] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 03-02 16:09:10] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:10] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 03-02 16:09:15] Scheduler: Fetching data for newly completed trials: [20].
[INFO 03-02 16:09:15] Scheduler: Retrieved COMPLETED trials: [20].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:09:16] Scheduler: Running trials [23]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:09:17] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:09:17] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:09:17] Scheduler: Fetching data for newly completed trials: [21].
[INFO 03-02 16:09:17] Scheduler: Retrieved COMPLETED trials: [21].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:09:20] Scheduler: Running trials [24]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:09:21] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:09:21] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:09:21] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:21] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 03-02 16:09:22] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:22] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 03-02 16:09:23] Scheduler: Fetching data for newly completed trials: [22].
[INFO 03-02 16:09:23] Scheduler: Retrieved COMPLETED trials: [22].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:09:25] Scheduler: Running trials [25]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:09:25] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:09:25] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:09:25] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:25] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 03-02 16:09:26] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:26] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 03-02 16:09:28] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:28] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 03-02 16:09:30] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:30] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 03-02 16:09:34] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:34] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 03-02 16:09:39] Scheduler: Fetching data for newly completed trials: 23 - 24.
[INFO 03-02 16:09:39] Scheduler: Retrieved COMPLETED trials: 23 - 24.
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:09:41] Scheduler: Running trials [26]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:09:42] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:09:45] Scheduler: Running trials [27]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:09:46] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:09:46] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:09:46] Scheduler: Fetching data for newly completed trials: [25].
[INFO 03-02 16:09:46] Scheduler: Retrieved COMPLETED trials: [25].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:09:49] Scheduler: Running trials [28]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:09:50] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:09:50] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:09:50] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:50] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 03-02 16:09:51] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:51] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 03-02 16:09:53] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:53] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 03-02 16:09:55] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:55] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 03-02 16:09:58] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:09:58] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 03-02 16:10:03] Scheduler: Fetching data for newly completed trials: 26 - 27.
[INFO 03-02 16:10:03] Scheduler: Retrieved COMPLETED trials: 26 - 27.
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:10:05] Scheduler: Running trials [29]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:10:06] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:10:09] Scheduler: Running trials [30]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:10:10] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:10:10] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:10:10] Scheduler: Fetching data for newly completed trials: [28].
[INFO 03-02 16:10:10] Scheduler: Retrieved COMPLETED trials: [28].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:10:12] Scheduler: Running trials [31]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:10:13] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:10:13] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:10:13] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:10:13] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 03-02 16:10:14] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:10:14] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 03-02 16:10:16] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:10:16] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 03-02 16:10:18] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:10:18] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 03-02 16:10:21] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:10:21] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 03-02 16:10:26] Scheduler: Fetching data for newly completed trials: [29].
[INFO 03-02 16:10:26] Scheduler: Retrieved COMPLETED trials: [29].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:10:30] Scheduler: Running trials [32]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:10:31] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:10:31] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:10:31] Scheduler: Fetching data for newly completed trials: [30].
[INFO 03-02 16:10:31] Scheduler: Retrieved COMPLETED trials: [30].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:10:34] Scheduler: Running trials [33]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:10:35] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:10:35] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:10:35] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:10:35] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 03-02 16:10:36] Scheduler: Fetching data for newly completed trials: [31].
[INFO 03-02 16:10:36] Scheduler: Retrieved COMPLETED trials: [31].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:10:38] Scheduler: Running trials [34]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:10:39] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:10:39] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:10:39] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:10:39] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 03-02 16:10:40] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:10:40] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 03-02 16:10:42] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:10:42] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 03-02 16:10:44] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:10:44] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 03-02 16:10:47] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:10:47] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 03-02 16:10:52] Scheduler: Fetching data for newly completed trials: [32].
[INFO 03-02 16:10:52] Scheduler: Retrieved COMPLETED trials: [32].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:10:56] Scheduler: Running trials [35]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:10:57] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:10:57] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:10:57] Scheduler: Fetching data for newly completed trials: [33].
[INFO 03-02 16:10:57] Scheduler: Retrieved COMPLETED trials: [33].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:10:59] Scheduler: Running trials [36]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:11:00] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:11:00] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:11:00] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:11:00] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 03-02 16:11:01] Scheduler: Fetching data for newly completed trials: [34].
[INFO 03-02 16:11:01] Scheduler: Retrieved COMPLETED trials: [34].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:11:04] Scheduler: Running trials [37]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:11:05] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:11:05] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:11:05] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:11:05] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 03-02 16:11:06] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:11:06] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 03-02 16:11:08] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:11:08] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 03-02 16:11:10] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:11:10] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 03-02 16:11:14] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:11:14] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 03-02 16:11:19] Scheduler: Fetching data for newly completed trials: [35].
[INFO 03-02 16:11:19] Scheduler: Retrieved COMPLETED trials: [35].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:11:22] Scheduler: Running trials [38]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:11:23] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:11:23] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:11:23] Scheduler: Fetching data for newly completed trials: [36].
[INFO 03-02 16:11:23] Scheduler: Retrieved COMPLETED trials: [36].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:11:26] Scheduler: Running trials [39]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:11:26] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:11:26] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:11:26] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:11:26] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 03-02 16:11:27] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:11:27] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 03-02 16:11:29] Scheduler: Fetching data for newly completed trials: [37].
[INFO 03-02 16:11:29] Scheduler: Retrieved COMPLETED trials: [37].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:11:32] Scheduler: Running trials [40]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:11:33] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:11:33] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:11:33] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:11:33] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 03-02 16:11:34] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:11:34] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 03-02 16:11:35] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:11:35] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 03-02 16:11:38] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:11:38] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 03-02 16:11:41] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:11:41] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 03-02 16:11:46] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:11:46] Scheduler: Waiting for completed trials (for 7 sec, currently running trials: 3).
[INFO 03-02 16:11:54] Scheduler: Fetching data for newly completed trials: 38 - 39.
[INFO 03-02 16:11:54] Scheduler: Retrieved COMPLETED trials: 38 - 39.
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:11:57] Scheduler: Running trials [41]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:11:58] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:11:59] Scheduler: Running trials [42]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:12:00] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:12:00] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:12:00] Scheduler: Fetching data for newly completed trials: [40].
[INFO 03-02 16:12:00] Scheduler: Retrieved COMPLETED trials: [40].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:12:02] Scheduler: Running trials [43]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:12:03] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:12:03] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:12:03] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:12:03] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 03-02 16:12:04] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:12:04] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 03-02 16:12:06] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:12:06] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 03-02 16:12:08] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:12:08] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 03-02 16:12:11] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:12:11] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 03-02 16:12:16] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:12:16] Scheduler: Waiting for completed trials (for 7 sec, currently running trials: 3).
[INFO 03-02 16:12:24] Scheduler: Fetching data for newly completed trials: [41].
[INFO 03-02 16:12:24] Scheduler: Retrieved COMPLETED trials: [41].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:12:27] Scheduler: Running trials [44]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:12:27] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:12:27] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:12:27] Scheduler: Fetching data for newly completed trials: [42].
[INFO 03-02 16:12:27] Scheduler: Retrieved COMPLETED trials: [42].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:12:32] Scheduler: Running trials [45]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:12:33] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:12:33] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:12:33] Scheduler: Fetching data for newly completed trials: [43].
[INFO 03-02 16:12:33] Scheduler: Retrieved COMPLETED trials: [43].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:12:37] Scheduler: Running trials [46]...
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:12:38] ax.modelbridge.torch: The observations are identical to the last set of observations used to fit the model. Skipping model fitting.
[INFO 03-02 16:12:38] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 03-02 16:12:38] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:12:38] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 03-02 16:12:39] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:12:39] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 03-02 16:12:40] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:12:40] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 03-02 16:12:43] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:12:43] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 03-02 16:12:46] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:12:46] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 03-02 16:12:51] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:12:51] Scheduler: Waiting for completed trials (for 7 sec, currently running trials: 3).
[INFO 03-02 16:12:59] Scheduler: Fetching data for newly completed trials: 44 - 45.
[INFO 03-02 16:12:59] Scheduler: Retrieved COMPLETED trials: 44 - 45.
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:13:03] Scheduler: Running trials [47]...
[INFO 03-02 16:13:04] Scheduler: Fetching data for newly completed trials: [46].
[INFO 03-02 16:13:04] Scheduler: Retrieved COMPLETED trials: [46].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[INFO 03-02 16:13:04] Scheduler: Done submitting trials, waiting for remaining 1 running trials...
[INFO 03-02 16:13:04] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:13:04] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 1).
[INFO 03-02 16:13:05] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:13:05] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 1).
[INFO 03-02 16:13:06] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:13:06] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 1).
[INFO 03-02 16:13:09] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:13:09] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 1).
[INFO 03-02 16:13:12] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:13:12] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 1).
[INFO 03-02 16:13:17] Scheduler: Fetching data for newly completed trials: [].
[INFO 03-02 16:13:17] Scheduler: Waiting for completed trials (for 7 sec, currently running trials: 1).
[INFO 03-02 16:13:25] Scheduler: Fetching data for newly completed trials: [47].
[INFO 03-02 16:13:25] Scheduler: Retrieved COMPLETED trials: [47].
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.


OptimizationResult()

Evaluating the results

We can now inspect the result of the optimization using helper functions and visualizations included with Ax.

First, we generate a dataframe with a summary of the results of the experiment. Each row in this dataframe corresponds to a trial (that is, a training job that was run), and contains information on the status of the trial, the parameter configuration that was evaluated, and the metric values that were observed. This provides an easy way to sanity check the optimization.

from ax.service.utils.report_utils import exp_to_df

df = exp_to_df(experiment)
df.head(10)
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[WARNING 03-02 16:13:25] ax.service.utils.report_utils: Column reason missing for all trials. Not appending column.
trial_index arm_name trial_status generation_method is_feasible num_params val_acc hidden_size_1 hidden_size_2 learning_rate epochs dropout batch_size
0 0 0_0 COMPLETED Sobol False 21570.0 0.924083 24 81 0.000402 2 0.097390 32
1 1 1_0 COMPLETED Sobol False 29204.0 0.915760 32 98 0.000240 3 0.304669 32
2 2 2_0 COMPLETED Sobol False 40220.0 0.888225 50 17 0.000153 2 0.282959 32
3 3 3_0 FAILED Sobol NaN NaN NaN 23 52 0.003999 1 0.384778 256
4 4 4_0 COMPLETED Sobol False 43859.0 0.917375 47 123 0.000251 2 0.284745 32
5 5 5_0 COMPLETED Sobol False 16280.0 0.843430 20 20 0.001496 1 0.225163 256
6 6 6_0 COMPLETED Sobol False 17766.0 0.912510 21 42 0.000300 3 0.193121 32
7 7 7_0 COMPLETED Sobol True 50790.0 0.950445 55 118 0.001936 3 0.366567 64
8 8 8_0 COMPLETED Sobol False 31936.0 0.792490 34 120 0.000337 1 0.372472 256
9 9 9_0 FAILED Sobol NaN NaN NaN 31 20 0.001959 3 0.187581 32


We can also visualize the Pareto frontier of tradeoffs between the validation accuracy and the number of model parameters.

Ax uses Plotly to produce interactive plots, which allow you to do things like zoom, crop, or hover in order to view details of components of the plot. Try it out, and take a look at the visualization tutorial if you’d like to learn more).

The final optimization results are shown in the figure below where the color corresponds to the iteration number for each trial. We see that our method was able to successfully explore the trade-offs and found both large models with high validation accuracy as well as small models with comparatively lower validation accuracy.

from ax.service.utils.report_utils import _pareto_frontier_scatter_2d_plotly

_pareto_frontier_scatter_2d_plotly(experiment)
/workspace/.local/lib/python3.10/site-packages/ax/core/map_data.py:188: FutureWarning:

The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.

[WARNING 03-02 16:13:25] ax.service.utils.report_utils: Column reason missing for all trials. Not appending column.


To better understand what our surrogate models have learned about the black box objectives, we can take a look at the leave-one-out cross validation results. Since our models are Gaussian Processes, they not only provide point predictions but also uncertainty estimates about these predictions. A good model means that the predicted means (the points in the figure) are close to the 45 degree line and that the confidence intervals cover the 45 degree line with the expected frequency (here we use 95% confidence intervals, so we would expect them to contain the true observation 95% of the time).

As the figures below show, the model size (num_params) metric is much easier to model than the validation accuracy (val_acc) metric.

from ax.modelbridge.cross_validation import compute_diagnostics, cross_validate
from ax.plot.diagnostic import interact_cross_validation_plotly
from ax.utils.notebook.plotting import init_notebook_plotting, render

cv = cross_validate(model=gs.model)  # The surrogate model is stored on the ``GenerationStrategy``
compute_diagnostics(cv)

interact_cross_validation_plotly(cv)


We can also make contour plots to better understand how the different objectives depend on two of the input parameters. In the figure below, we show the validation accuracy predicted by the model as a function of the two hidden sizes. The validation accuracy clearly increases as the hidden sizes increase.

from ax.plot.contour import interact_contour_plotly

interact_contour_plotly(model=gs.model, metric_name="val_acc")


Similarly, we show the number of model parameters as a function of the hidden sizes in the figure below and see that it also increases as a function of the hidden sizes (the dependency on hidden_size_1 is much larger).

interact_contour_plotly(model=gs.model, metric_name="num_params")


Acknowledgments

We thank the TorchX team (in particular Kiuk Chung and Tristan Rice) for their help with integrating TorchX with Ax.

Total running time of the script: ( 6 minutes 43.051 seconds)

Gallery generated by Sphinx-Gallery


더 궁금하시거나 개선할 내용이 있으신가요? 커뮤니티에 참여해보세요!


이 튜토리얼이 어떠셨나요? 평가해주시면 이후 개선에 참고하겠습니다! :)

© Copyright 2018-2024, PyTorch & 파이토치 한국 사용자 모임(PyTorch Korea User Group).

Built with Sphinx using a theme provided by Read the Docs.

PyTorchKorea @ GitHub

파이토치 한국 사용자 모임을 GitHub에서 만나보세요.

GitHub로 이동

한국어 튜토리얼

한국어로 번역 중인 PyTorch 튜토리얼입니다.

튜토리얼로 이동

커뮤니티

다른 사용자들과 의견을 나누고, 도와주세요!

커뮤니티로 이동