Note
Click here to download the full example code
Multi-Objective NAS with Ax¶
Created On: Aug 19, 2022 | Last Updated: Jul 31, 2024 | Last Verified: Nov 05, 2024
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 TensorboardMetric
from tensorboard.backend.event_processing import plugin_event_multiplexer as event_multiplexer
class MyTensorboardMetric(TensorboardMetric):
# 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.
def _get_event_multiplexer_for_trial(self, trial):
mul = event_multiplexer.EventMultiplexer(max_reload_threads=20)
mul.AddRunsFromDirectory(Path(log_dir).joinpath(str(trial.index)).as_posix(), None)
mul.Reload()
return mul
# 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",
tag="val_acc",
lower_is_better=False,
)
model_num_params = MyTensorboardMetric(
name="num_params",
tag="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 12-20 16:12:58] ax.modelbridge.dispatch_utils: Using Models.BOTORCH_MODULAR since there is at least one ordered parameter and there are no unordered categorical parameters.
[INFO 12-20 16:12:58] 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 12-20 16:12:58] ax.modelbridge.dispatch_utils: calculated num_initialization_trials=9
[INFO 12-20 16:12:58] ax.modelbridge.dispatch_utils: num_completed_initialization_trials=0 num_remaining_initialization_trials=9
[INFO 12-20 16:12:58] 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 12-20 16:12:58] 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:
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
),
)
[WARNING 12-20 16:12:58] ax.service.utils.with_db_settings_base: Ax currently requires a sqlalchemy version below 2.0. This will be addressed in a future release. Disabling SQL storage in Ax for now, if you would like to use SQL storage please install Ax with mysql extras via `pip install ax-platform[mysql]`.
[INFO 12-20 16:12:58] 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 12-20 16:12:58] Scheduler: Fetching data for newly completed trials: [].
/usr/local/lib/python3.10/dist-packages/ax/modelbridge/cross_validation.py:463: UserWarning:
Encountered exception in computing model fit quality: RandomModelBridge does not support prediction.
[INFO 12-20 16:12:58] Scheduler: Running trials [0]...
/usr/local/lib/python3.10/dist-packages/ax/modelbridge/cross_validation.py:463: UserWarning:
Encountered exception in computing model fit quality: RandomModelBridge does not support prediction.
[INFO 12-20 16:12:59] Scheduler: Running trials [1]...
/usr/local/lib/python3.10/dist-packages/ax/modelbridge/cross_validation.py:463: UserWarning:
Encountered exception in computing model fit quality: RandomModelBridge does not support prediction.
[INFO 12-20 16:12:59] Scheduler: Running trials [2]...
/usr/local/lib/python3.10/dist-packages/ax/modelbridge/cross_validation.py:463: UserWarning:
Encountered exception in computing model fit quality: RandomModelBridge does not support prediction.
[INFO 12-20 16:13:00] Scheduler: Running trials [3]...
[INFO 12-20 16:13:01] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:01] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 4).
[INFO 12-20 16:13:02] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:02] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 4).
[INFO 12-20 16:13:03] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:03] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 4).
[INFO 12-20 16:13:06] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:06] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 4).
[INFO 12-20 16:13:09] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:09] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 4).
[INFO 12-20 16:13:14] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:14] Scheduler: Waiting for completed trials (for 7 sec, currently running trials: 4).
[INFO 12-20 16:13:22] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:22] Scheduler: Waiting for completed trials (for 11 sec, currently running trials: 4).
[INFO 12-20 16:13:33] Scheduler: Fetching data for newly completed trials: [1, 3].
[INFO 12-20 16:13:33] Scheduler: Retrieved COMPLETED trials: [1, 3].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/modelbridge/cross_validation.py:463: UserWarning:
Encountered exception in computing model fit quality: RandomModelBridge does not support prediction.
[INFO 12-20 16:13:33] Scheduler: Running trials [4]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/modelbridge/cross_validation.py:463: UserWarning:
Encountered exception in computing model fit quality: RandomModelBridge does not support prediction.
[INFO 12-20 16:13:34] Scheduler: Running trials [5]...
[INFO 12-20 16:13:35] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:35] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 4).
[INFO 12-20 16:13:36] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:36] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 4).
[INFO 12-20 16:13:38] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:38] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 4).
[INFO 12-20 16:13:40] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:40] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 4).
[INFO 12-20 16:13:43] Scheduler: Fetching data for newly completed trials: [2].
[INFO 12-20 16:13:43] Scheduler: Retrieved COMPLETED trials: [2].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/modelbridge/cross_validation.py:463: UserWarning:
Encountered exception in computing model fit quality: RandomModelBridge does not support prediction.
[INFO 12-20 16:13:43] Scheduler: Running trials [6]...
[INFO 12-20 16:13:44] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:44] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 4).
[INFO 12-20 16:13:45] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:45] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 4).
[INFO 12-20 16:13:47] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:47] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 4).
[INFO 12-20 16:13:49] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:49] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 4).
[INFO 12-20 16:13:53] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:53] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 4).
[INFO 12-20 16:13:58] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:13:58] Scheduler: Waiting for completed trials (for 7 sec, currently running trials: 4).
[INFO 12-20 16:14:05] Scheduler: Fetching data for newly completed trials: [4].
[INFO 12-20 16:14:05] Scheduler: Retrieved COMPLETED trials: [4].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/modelbridge/cross_validation.py:463: UserWarning:
Encountered exception in computing model fit quality: RandomModelBridge does not support prediction.
[INFO 12-20 16:14:05] Scheduler: Running trials [7]...
[INFO 12-20 16:14:06] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:14:06] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 4).
[INFO 12-20 16:14:07] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:14:07] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 4).
[INFO 12-20 16:14:09] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:14:09] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 4).
[INFO 12-20 16:14:11] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:14:11] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 4).
[INFO 12-20 16:14:14] Scheduler: Fetching data for newly completed trials: [6].
[INFO 12-20 16:14:14] Scheduler: Retrieved COMPLETED trials: [6].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/modelbridge/cross_validation.py:463: UserWarning:
Encountered exception in computing model fit quality: RandomModelBridge does not support prediction.
[INFO 12-20 16:14:15] Scheduler: Running trials [8]...
[INFO 12-20 16:14:16] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:14:16] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 4).
[INFO 12-20 16:14:17] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:14:17] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 4).
[INFO 12-20 16:14:18] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:14:18] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 4).
[INFO 12-20 16:14:20] Scheduler: Fetching data for newly completed trials: [5].
[INFO 12-20 16:14:20] Scheduler: Retrieved COMPLETED trials: [5].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:14:24] Scheduler: Running trials [9]...
[INFO 12-20 16:14:25] Scheduler: Fetching data for newly completed trials: [0].
[INFO 12-20 16:14:25] Scheduler: Retrieved COMPLETED trials: [0].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:14:31] Scheduler: Running trials [10]...
[INFO 12-20 16:14:32] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:14:32] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 4).
[INFO 12-20 16:14:33] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:14:33] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 4).
[INFO 12-20 16:14:34] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:14:34] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 4).
[INFO 12-20 16:14:37] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:14:37] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 4).
[INFO 12-20 16:14:40] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:14:40] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 4).
[INFO 12-20 16:14:45] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:14:45] Scheduler: Waiting for completed trials (for 7 sec, currently running trials: 4).
[INFO 12-20 16:14:53] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:14:53] Scheduler: Waiting for completed trials (for 11 sec, currently running trials: 4).
[INFO 12-20 16:15:04] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:15:04] Scheduler: Waiting for completed trials (for 17 sec, currently running trials: 4).
[INFO 12-20 16:15:21] Scheduler: Fetching data for newly completed trials: 7 - 10.
[INFO 12-20 16:15:21] Scheduler: Retrieved COMPLETED trials: 7 - 10.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:15:25] Scheduler: Running trials [11]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:15:30] Scheduler: Running trials [12]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:15:36] Scheduler: Running trials [13]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:15:40] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:15:40] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:15:40] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:15:41] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:15:41] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 12-20 16:15:43] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:15:43] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 12-20 16:15:45] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:15:45] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 12-20 16:15:48] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:15:48] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 12-20 16:15:53] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:15:53] Scheduler: Waiting for completed trials (for 7 sec, currently running trials: 3).
[INFO 12-20 16:16:01] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:16:01] Scheduler: Waiting for completed trials (for 11 sec, currently running trials: 3).
[INFO 12-20 16:16:12] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:16:12] Scheduler: Waiting for completed trials (for 17 sec, currently running trials: 3).
[INFO 12-20 16:16:29] Scheduler: Fetching data for newly completed trials: 11 - 12.
[INFO 12-20 16:16:29] Scheduler: Retrieved COMPLETED trials: 11 - 12.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:16:36] Scheduler: Running trials [14]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:16:44] Scheduler: Running trials [15]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:16:50] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:16:50] Scheduler: Fetching data for newly completed trials: [13].
[INFO 12-20 16:16:50] Scheduler: Retrieved COMPLETED trials: [13].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:16:57] Scheduler: Running trials [16]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:17:03] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:17:03] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:17:03] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:17:04] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:17:04] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 12-20 16:17:06] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:17:06] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 12-20 16:17:08] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:17:08] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 12-20 16:17:11] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:17:11] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 12-20 16:17:17] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:17:17] Scheduler: Waiting for completed trials (for 7 sec, currently running trials: 3).
[INFO 12-20 16:17:24] Scheduler: Fetching data for newly completed trials: [14].
[INFO 12-20 16:17:24] Scheduler: Retrieved COMPLETED trials: [14].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:17:31] Scheduler: Running trials [17]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:17:35] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:17:35] Scheduler: Fetching data for newly completed trials: 15 - 16.
[INFO 12-20 16:17:35] Scheduler: Retrieved COMPLETED trials: 15 - 16.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:17:44] Scheduler: Running trials [18]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:17:53] Scheduler: Running trials [19]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:18:00] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:18:00] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:18:00] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:18:01] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:18:01] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 12-20 16:18:03] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:18:03] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 12-20 16:18:05] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:18:05] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 12-20 16:18:09] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:18:09] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 12-20 16:18:14] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:18:14] Scheduler: Waiting for completed trials (for 7 sec, currently running trials: 3).
[INFO 12-20 16:18:21] Scheduler: Fetching data for newly completed trials: [17, 19].
[INFO 12-20 16:18:21] Scheduler: Retrieved COMPLETED trials: [17, 19].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:18:30] Scheduler: Running trials [20]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:18:42] Scheduler: Running trials [21]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:18:50] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:18:50] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:18:50] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:18:51] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:18:51] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 12-20 16:18:52] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:18:52] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 12-20 16:18:54] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:18:54] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 12-20 16:18:58] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:18:58] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 12-20 16:19:03] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:19:03] Scheduler: Waiting for completed trials (for 7 sec, currently running trials: 3).
[INFO 12-20 16:19:11] Scheduler: Fetching data for newly completed trials: [18].
[INFO 12-20 16:19:11] Scheduler: Retrieved COMPLETED trials: [18].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:19:18] Scheduler: Running trials [22]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:19:24] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:19:24] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:19:24] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:19:25] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:19:25] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 12-20 16:19:27] Scheduler: Fetching data for newly completed trials: [20].
[INFO 12-20 16:19:27] Scheduler: Retrieved COMPLETED trials: [20].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:19:33] Scheduler: Running trials [23]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:19:36] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:19:36] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:19:36] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:19:37] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:19:37] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 12-20 16:19:38] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:19:38] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 12-20 16:19:40] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:19:40] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 12-20 16:19:44] Scheduler: Fetching data for newly completed trials: [21].
[INFO 12-20 16:19:44] Scheduler: Retrieved COMPLETED trials: [21].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:19:54] Scheduler: Running trials [24]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:20:01] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:20:01] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:20:01] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:20:02] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:20:02] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 12-20 16:20:03] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:20:03] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 12-20 16:20:06] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:20:06] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 12-20 16:20:09] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:20:09] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 12-20 16:20:14] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:20:14] Scheduler: Waiting for completed trials (for 7 sec, currently running trials: 3).
[INFO 12-20 16:20:22] Scheduler: Fetching data for newly completed trials: [22].
[INFO 12-20 16:20:22] Scheduler: Retrieved COMPLETED trials: [22].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:20:31] Scheduler: Running trials [25]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:20:37] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:20:37] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:20:37] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:20:38] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:20:38] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 12-20 16:20:39] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:20:39] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 12-20 16:20:42] Scheduler: Fetching data for newly completed trials: [23].
[INFO 12-20 16:20:42] Scheduler: Retrieved COMPLETED trials: [23].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:20:53] Scheduler: Running trials [26]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:21:01] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:21:01] Scheduler: Fetching data for newly completed trials: [24].
[INFO 12-20 16:21:01] Scheduler: Retrieved COMPLETED trials: [24].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:21:10] Scheduler: Running trials [27]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:21:16] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:21:16] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:21:16] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:21:17] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:21:17] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 12-20 16:21:18] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:21:18] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 12-20 16:21:21] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:21:21] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 12-20 16:21:24] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:21:24] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 12-20 16:21:29] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:21:29] Scheduler: Waiting for completed trials (for 7 sec, currently running trials: 3).
[INFO 12-20 16:21:37] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:21:37] Scheduler: Waiting for completed trials (for 11 sec, currently running trials: 3).
[INFO 12-20 16:21:48] Scheduler: Fetching data for newly completed trials: 25 - 26.
[INFO 12-20 16:21:48] Scheduler: Retrieved COMPLETED trials: 25 - 26.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:22:00] Scheduler: Running trials [28]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:22:11] Scheduler: Running trials [29]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:22:17] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:22:17] Scheduler: Fetching data for newly completed trials: [27].
[INFO 12-20 16:22:17] Scheduler: Retrieved COMPLETED trials: [27].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:22:31] Scheduler: Running trials [30]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:22:39] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:22:39] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:22:39] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:22:40] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:22:40] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 12-20 16:22:42] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:22:42] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 12-20 16:22:44] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:22:44] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 12-20 16:22:47] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:22:47] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 12-20 16:22:52] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:22:52] Scheduler: Waiting for completed trials (for 7 sec, currently running trials: 3).
[INFO 12-20 16:23:00] Scheduler: Fetching data for newly completed trials: [28].
[INFO 12-20 16:23:00] Scheduler: Retrieved COMPLETED trials: [28].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:23:13] Scheduler: Running trials [31]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:23:23] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:23:23] Scheduler: Fetching data for newly completed trials: [29].
[INFO 12-20 16:23:23] Scheduler: Retrieved COMPLETED trials: [29].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:23:45] Scheduler: Running trials [32]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:23:56] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:23:56] Scheduler: Fetching data for newly completed trials: [30].
[INFO 12-20 16:23:56] Scheduler: Retrieved COMPLETED trials: [30].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:24:10] Scheduler: Running trials [33]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:24:18] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:24:18] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:24:18] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:24:19] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:24:19] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 12-20 16:24:20] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:24:20] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 12-20 16:24:23] Scheduler: Fetching data for newly completed trials: [31].
[INFO 12-20 16:24:23] Scheduler: Retrieved COMPLETED trials: [31].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:24:36] Scheduler: Running trials [34]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:24:45] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:24:45] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:24:45] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:24:46] Scheduler: Fetching data for newly completed trials: [32].
[INFO 12-20 16:24:46] Scheduler: Retrieved COMPLETED trials: [32].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:25:07] Scheduler: Running trials [35]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:25:21] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:25:21] Scheduler: Fetching data for newly completed trials: 33 - 34.
[INFO 12-20 16:25:21] Scheduler: Retrieved COMPLETED trials: 33 - 34.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:25:35] Scheduler: Running trials [36]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:25:51] Scheduler: Running trials [37]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:26:02] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:26:02] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:26:02] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:26:03] Scheduler: Fetching data for newly completed trials: [35].
[INFO 12-20 16:26:03] Scheduler: Retrieved COMPLETED trials: [35].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:26:19] Scheduler: Running trials [38]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:26:28] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:26:28] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:26:28] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:26:29] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:26:29] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 12-20 16:26:31] Scheduler: Fetching data for newly completed trials: [36].
[INFO 12-20 16:26:31] Scheduler: Retrieved COMPLETED trials: [36].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:26:48] Scheduler: Running trials [39]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:26:58] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:26:58] Scheduler: Fetching data for newly completed trials: [37].
[INFO 12-20 16:26:58] Scheduler: Retrieved COMPLETED trials: [37].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:27:15] Scheduler: Running trials [40]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:27:25] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:27:25] Scheduler: Fetching data for newly completed trials: [38].
[INFO 12-20 16:27:25] Scheduler: Retrieved COMPLETED trials: [38].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:27:40] Scheduler: Running trials [41]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:27:48] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:27:48] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:27:48] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:27:49] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:27:49] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 12-20 16:27:50] Scheduler: Fetching data for newly completed trials: [39].
[INFO 12-20 16:27:50] Scheduler: Retrieved COMPLETED trials: [39].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:28:01] Scheduler: Running trials [42]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:28:02] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:28:02] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:28:02] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:28:03] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:28:03] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 12-20 16:28:05] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:28:05] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 12-20 16:28:07] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:28:07] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 12-20 16:28:10] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:28:10] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 12-20 16:28:16] Scheduler: Fetching data for newly completed trials: [40].
[INFO 12-20 16:28:16] Scheduler: Retrieved COMPLETED trials: [40].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:28:34] Scheduler: Running trials [43]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:28:46] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:28:46] Scheduler: Fetching data for newly completed trials: [41].
[INFO 12-20 16:28:46] Scheduler: Retrieved COMPLETED trials: [41].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:28:55] Scheduler: Running trials [44]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:29:01] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:29:01] Scheduler: Fetching data for newly completed trials: [42].
[INFO 12-20 16:29:01] Scheduler: Retrieved COMPLETED trials: [42].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:29:15] Scheduler: Running trials [45]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:29:26] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:29:26] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:29:26] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:29:27] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:29:27] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 12-20 16:29:29] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:29:29] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 12-20 16:29:31] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:29:31] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 12-20 16:29:34] Scheduler: Fetching data for newly completed trials: [43].
[INFO 12-20 16:29:34] Scheduler: Retrieved COMPLETED trials: [43].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:29:50] Scheduler: Running trials [46]...
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:30:02] Scheduler: Generated all trials that can be generated currently. Max parallelism currently reached.
[INFO 12-20 16:30:02] Scheduler: Fetching data for newly completed trials: [44].
[INFO 12-20 16:30:02] Scheduler: Retrieved COMPLETED trials: [44].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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.
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:30:15] Scheduler: Running trials [47]...
[INFO 12-20 16:30:16] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:30:16] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 3).
[INFO 12-20 16:30:17] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:30:17] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 3).
[INFO 12-20 16:30:19] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:30:19] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 3).
[INFO 12-20 16:30:21] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:30:21] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 3).
[INFO 12-20 16:30:24] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:30:24] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 3).
[INFO 12-20 16:30:30] Scheduler: Fetching data for newly completed trials: [45].
[INFO 12-20 16:30:30] Scheduler: Retrieved COMPLETED trials: [45].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:30:30] Scheduler: Done submitting trials, waiting for remaining 2 running trials...
[INFO 12-20 16:30:30] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:30:30] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 2).
[INFO 12-20 16:30:31] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:30:31] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 2).
[INFO 12-20 16:30:32] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:30:32] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 2).
[INFO 12-20 16:30:34] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:30:34] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 2).
[INFO 12-20 16:30:38] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:30:38] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 2).
[INFO 12-20 16:30:43] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:30:43] Scheduler: Waiting for completed trials (for 7 sec, currently running trials: 2).
[INFO 12-20 16:30:50] Scheduler: Fetching data for newly completed trials: [46].
[INFO 12-20 16:30:50] Scheduler: Retrieved COMPLETED trials: [46].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:30:50] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:30:50] Scheduler: Waiting for completed trials (for 1 sec, currently running trials: 1).
[INFO 12-20 16:30:51] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:30:51] Scheduler: Waiting for completed trials (for 1.5 sec, currently running trials: 1).
[INFO 12-20 16:30:53] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:30:53] Scheduler: Waiting for completed trials (for 2 sec, currently running trials: 1).
[INFO 12-20 16:30:55] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:30:55] Scheduler: Waiting for completed trials (for 3 sec, currently running trials: 1).
[INFO 12-20 16:30:59] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:30:59] Scheduler: Waiting for completed trials (for 5 sec, currently running trials: 1).
[INFO 12-20 16:31:04] Scheduler: Fetching data for newly completed trials: [].
[INFO 12-20 16:31:04] Scheduler: Waiting for completed trials (for 7 sec, currently running trials: 1).
[INFO 12-20 16:31:11] Scheduler: Fetching data for newly completed trials: [47].
[INFO 12-20 16:31:11] Scheduler: Retrieved COMPLETED trials: [47].
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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)
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:31:11] ax.service.utils.report_utils: Column reason missing for all trials. Not appending column.
We can also visualize the Pareto frontier of tradeoffs between the validation accuracy and the number of model parameters.
Tip
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)
/usr/local/lib/python3.10/dist-packages/ax/core/map_data.py:195: 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 12-20 16:31:12] 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: ( 18 minutes 28.973 seconds)