Note
Go to the end to download the full example code.
Hyperparameter tuning using Ray Tune#
Created On: Aug 31, 2020 | Last Updated: Jan 08, 2026 | Last Verified: Nov 05, 2024
Author: Ricardo Decal
This tutorial shows how to integrate Ray Tune into your PyTorch training workflow to perform scalable and efficient hyperparameter tuning.
How to modify a PyTorch training loop for Ray Tune
How to scale a hyperparameter sweep to multiple nodes and GPUs without code changes
How to define a hyperparameter search space and run a sweep with
tune.TunerHow to use an early-stopping scheduler (ASHA) and report metrics/checkpoints
How to use checkpointing to resume training and load the best model
PyTorch v2.9+ and
torchvisionRay Tune (
ray[tune]) v2.52.1+GPU(s) are optional, but recommended for faster training
Ray, a project of the PyTorch Foundation, is an open source unified framework for scaling AI and Python applications. It helps run distributed jobs by handling the complexity of distributed computing. Ray Tune is a library built on Ray for hyperparameter tuning that enables you to scale a hyperparameter sweep from your machine to a large cluster with no code changes.
This tutorial adapts the PyTorch tutorial for training a CIFAR10 classifier to run multi-GPU hyperparameter sweeps with Ray Tune.
Setup#
To run this tutorial, install the following dependencies:
pip install "ray[tune]" torchvision
Then start with the imports:
from functools import partial
import os
import tempfile
from pathlib import Path
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
from torch.utils.data import random_split
import torchvision
import torchvision.transforms as transforms
# New: imports for Ray Tune
import ray
from ray import tune
from ray.tune import Checkpoint
from ray.tune.schedulers import ASHAScheduler
Data loading#
Wrap the data loaders in a constructor function. In this tutorial, a global data directory is passed to the function to enable reusing the dataset across different trials. In a cluster environment, you can use shared storage, such as network file systems, to prevent each node from downloading the data separately.
def load_data(data_dir="./data"):
# Mean and standard deviation of the CIFAR10 training subset.
transform = transforms.Compose(
[transforms.ToTensor(), transforms.Normalize((0.4914, 0.48216, 0.44653), (0.2022, 0.19932, 0.20086))]
)
trainset = torchvision.datasets.CIFAR10(
root=data_dir, train=True, download=True, transform=transform
)
testset = torchvision.datasets.CIFAR10(
root=data_dir, train=False, download=True, transform=transform
)
return trainset, testset
Model architecture#
This tutorial searches for the best sizes for the fully connected layers
and the learning rate. To enable this, the Net class exposes the
layer sizes l1 and l2 as configurable parameters that Ray Tune
can search over:
class Net(nn.Module):
def __init__(self, l1=120, l2=84):
super().__init__()
self.conv1 = nn.Conv2d(3, 6, 5)
self.pool = nn.MaxPool2d(2, 2)
self.conv2 = nn.Conv2d(6, 16, 5)
self.fc1 = nn.Linear(16 * 5 * 5, l1)
self.fc2 = nn.Linear(l1, l2)
self.fc3 = nn.Linear(l2, 10)
def forward(self, x):
x = self.pool(F.relu(self.conv1(x)))
x = self.pool(F.relu(self.conv2(x)))
x = torch.flatten(x, 1) # flatten all dimensions except batch
x = F.relu(self.fc1(x))
x = F.relu(self.fc2(x))
x = self.fc3(x)
return x
Define the search space#
Next, define the hyperparameters to tune and how Ray Tune samples them.
Ray Tune offers a variety of search space
distributions
to suit different parameter types: loguniform, uniform,
choice, randint, grid, and more. You can also express
complex dependencies between parameters with conditional search
spaces
or sample from arbitrary functions.
Here is the search space for this tutorial:
config = {
"l1": tune.choice([2**i for i in range(9)]),
"l2": tune.choice([2**i for i in range(9)]),
"lr": tune.loguniform(1e-4, 1e-1),
"batch_size": tune.choice([2, 4, 8, 16]),
}
The tune.choice() accepts a list of values that are uniformly
sampled from. In this example, the l1 and l2 parameter values
are powers of 2 between 1 and 256, and the learning rate samples on a
log scale between 0.0001 and 0.1. Sampling on a log scale enables
exploration across a range of magnitudes on a relative scale, rather
than an absolute scale.
Training function#
Ray Tune requires a training function that accepts a configuration dictionary and runs the main training loop. As Ray Tune runs different trials, it updates the configuration dictionary for each trial.
Here is the full training function, followed by explanations of the key Ray Tune integration points:
def train_cifar(config, data_dir=None):
net = Net(config["l1"], config["l2"])
device = config["device"]
net = net.to(device)
if torch.cuda.device_count() > 1:
net = nn.DataParallel(net)
criterion = nn.CrossEntropyLoss()
optimizer = optim.SGD(net.parameters(), lr=config["lr"], momentum=0.9)
# Load checkpoint if resuming training
checkpoint = tune.get_checkpoint()
if checkpoint:
with checkpoint.as_directory() as checkpoint_dir:
checkpoint_path = Path(checkpoint_dir) / "checkpoint.pt"
checkpoint_state = torch.load(checkpoint_path)
start_epoch = checkpoint_state["epoch"]
net.load_state_dict(checkpoint_state["net_state_dict"])
optimizer.load_state_dict(checkpoint_state["optimizer_state_dict"])
else:
start_epoch = 0
trainset, _testset = load_data(data_dir)
test_abs = int(len(trainset) * 0.8)
train_subset, val_subset = random_split(
trainset, [test_abs, len(trainset) - test_abs]
)
trainloader = torch.utils.data.DataLoader(
train_subset, batch_size=int(config["batch_size"]), shuffle=True, num_workers=8
)
valloader = torch.utils.data.DataLoader(
val_subset, batch_size=int(config["batch_size"]), shuffle=True, num_workers=8
)
for epoch in range(start_epoch, 10): # loop over the dataset multiple times
running_loss = 0.0
epoch_steps = 0
for i, data in enumerate(trainloader, 0):
# get the inputs; data is a list of [inputs, labels]
inputs, labels = data
inputs, labels = inputs.to(device), labels.to(device)
# zero the parameter gradients
optimizer.zero_grad()
# forward + backward + optimize
outputs = net(inputs)
loss = criterion(outputs, labels)
loss.backward()
optimizer.step()
# print statistics
running_loss += loss.item()
epoch_steps += 1
if i % 2000 == 1999: # print every 2000 mini-batches
print(
"[%d, %5d] loss: %.3f"
% (epoch + 1, i + 1, running_loss / epoch_steps)
)
running_loss = 0.0
# Validation loss
val_loss = 0.0
val_steps = 0
total = 0
correct = 0
for i, data in enumerate(valloader, 0):
with torch.no_grad():
inputs, labels = data
inputs, labels = inputs.to(device), labels.to(device)
outputs = net(inputs)
_, predicted = torch.max(outputs.data, 1)
total += labels.size(0)
correct += (predicted == labels).sum().item()
loss = criterion(outputs, labels)
val_loss += loss.cpu().numpy()
val_steps += 1
# Save checkpoint and report metrics
checkpoint_data = {
"epoch": epoch,
"net_state_dict": net.state_dict(),
"optimizer_state_dict": optimizer.state_dict(),
}
with tempfile.TemporaryDirectory() as checkpoint_dir:
checkpoint_path = Path(checkpoint_dir) / "checkpoint.pt"
torch.save(checkpoint_data, checkpoint_path)
checkpoint = Checkpoint.from_directory(checkpoint_dir)
tune.report(
{"loss": val_loss / val_steps, "accuracy": correct / total},
checkpoint=checkpoint,
)
print("Finished Training")
Key integration points#
Using hyperparameters from the configuration dictionary#
Ray Tune updates the config dictionary with the hyperparameters for
each trial. In this example, the model architecture and optimizer
receive the hyperparameters from the config dictionary:
Reporting metrics and saving checkpoints#
The most important integration is communicating with Ray Tune. Ray Tune uses the validation metrics to determine the best hyperparameter configuration and to stop underperforming trials early, saving resources.
Checkpointing enables you to later load the trained models, resume hyperparameter searches, and provides fault tolerance. It’s also required for some Ray Tune schedulers like Population Based Training that pause and resume trials during the search.
This code from the training function loads model and optimizer state at the start if a checkpoint exists:
checkpoint = tune.get_checkpoint()
if checkpoint:
with checkpoint.as_directory() as checkpoint_dir:
checkpoint_path = Path(checkpoint_dir) / "checkpoint.pt"
checkpoint_state = torch.load(checkpoint_path)
start_epoch = checkpoint_state["epoch"]
net.load_state_dict(checkpoint_state["net_state_dict"])
optimizer.load_state_dict(checkpoint_state["optimizer_state_dict"])
At the end of each epoch, save a checkpoint and report the validation metrics:
checkpoint_data = {
"epoch": epoch,
"net_state_dict": net.state_dict(),
"optimizer_state_dict": optimizer.state_dict(),
}
with tempfile.TemporaryDirectory() as checkpoint_dir:
checkpoint_path = Path(checkpoint_dir) / "checkpoint.pt"
torch.save(checkpoint_data, checkpoint_path)
checkpoint = Checkpoint.from_directory(checkpoint_dir)
tune.report(
{"loss": val_loss / val_steps, "accuracy": correct / total},
checkpoint=checkpoint,
)
Ray Tune checkpointing supports local file systems, cloud storage, and distributed file systems. For more information, see the Ray Tune storage documentation.
Multi-GPU support#
Image classification models can be greatly accelerated by using GPUs.
The training function supports multi-GPU training by wrapping the model
in nn.DataParallel:
if torch.cuda.device_count() > 1:
net = nn.DataParallel(net)
This training function supports training on CPUs, a single GPU, multiple GPUs, or multiple nodes without code changes. Ray Tune automatically distributes the trials across the nodes according to the available resources. Ray Tune also supports fractional GPUs so that one GPU can be shared among multiple trials, provided that the models, optimizers, and data batches fit into the GPU memory.
Validation split#
The original CIFAR10 dataset only has train and test subsets. This is sufficient for training a single model, however for hyperparameter tuning a validation subset is required. The training function creates a validation subset by reserving 20% of the training subset. The test subset is used to evaluate the best model’s generalization error after the search completes.
Evaluation function#
After finding the optimal hyperparameters, test the model on a held-out test set to estimate the generalization error:
def test_accuracy(net, device="cpu", data_dir=None):
_trainset, testset = load_data(data_dir)
testloader = torch.utils.data.DataLoader(
testset, batch_size=4, shuffle=False, num_workers=2
)
correct = 0
total = 0
with torch.no_grad():
for data in testloader:
image_batch, labels = data
image_batch, labels = image_batch.to(device), labels.to(device)
outputs = net(image_batch)
_, predicted = torch.max(outputs.data, 1)
total += labels.size(0)
correct += (predicted == labels).sum().item()
return correct / total
Configure and run Ray Tune#
With the training and evaluation functions defined, configure Ray Tune to run the hyperparameter search.
Scheduler for early stopping#
Ray Tune provides schedulers to improve the efficiency of the
hyperparameter search by detecting underperforming trials and stopping
them early. The ASHAScheduler uses the Asynchronous Successive
Halving Algorithm (ASHA) to aggressively terminate low-performing
trials:
scheduler = ASHAScheduler(
max_t=max_num_epochs,
grace_period=1,
reduction_factor=2,
)
Ray Tune also provides advanced search algorithms to smartly pick the next set of hyperparameters based on previous results, instead of relying only on random or grid search. Examples include Optuna and BayesOpt.
Resource allocation#
Tell Ray Tune what resources to allocate for each trial by passing a
resources dictionary to tune.with_resources:
tune.with_resources(
partial(train_cifar, data_dir=data_dir),
resources={"cpu": cpus_per_trial, "gpu": gpus_per_trial}
)
Ray Tune automatically manages the placement of these trials and ensures that the trials run in isolation, so you don’t need to manually assign GPUs to processes.
For example, if you are running this experiment on a cluster of 20
machines, each with 8 GPUs, you can set gpus_per_trial = 0.5 to
schedule two concurrent trials per GPU. This configuration runs 320
trials in parallel across the cluster.
Note
To run this tutorial without GPUs, set gpus_per_trial=0
and expect significantly longer runtimes.
To avoid long runtimes during development, start with a small number of trials and epochs.
Creating the Tuner#
The Ray Tune API is modular and composable. Pass your configuration to
the tune.Tuner class to create a tuner object, then run
tuner.fit() to start training:
tuner = tune.Tuner(
tune.with_resources(
partial(train_cifar, data_dir=data_dir),
resources={"cpu": cpus_per_trial, "gpu": gpus_per_trial}
),
tune_config=tune.TuneConfig(
metric="loss",
mode="min",
scheduler=scheduler,
num_samples=num_trials,
),
param_space=config,
)
results = tuner.fit()
After training completes, retrieve the best performing trial, load its checkpoint, and evaluate on the test set.
Putting it all together#
def main(num_trials=10, max_num_epochs=10, gpus_per_trial=0, cpus_per_trial=2):
print("Starting hyperparameter tuning.")
ray.init(include_dashboard=False)
data_dir = os.path.abspath("./data")
load_data(data_dir) # Pre-download the dataset
device = "cuda" if torch.cuda.is_available() else "cpu"
config = {
"l1": tune.choice([2**i for i in range(9)]),
"l2": tune.choice([2**i for i in range(9)]),
"lr": tune.loguniform(1e-4, 1e-1),
"batch_size": tune.choice([2, 4, 8, 16]),
"device": device,
}
scheduler = ASHAScheduler(
max_t=max_num_epochs,
grace_period=1,
reduction_factor=2,
)
tuner = tune.Tuner(
tune.with_resources(
partial(train_cifar, data_dir=data_dir),
resources={"cpu": cpus_per_trial, "gpu": gpus_per_trial}
),
tune_config=tune.TuneConfig(
metric="loss",
mode="min",
scheduler=scheduler,
num_samples=num_trials,
),
param_space=config,
)
results = tuner.fit()
best_result = results.get_best_result("loss", "min")
print(f"Best trial config: {best_result.config}")
print(f"Best trial final validation loss: {best_result.metrics['loss']}")
print(f"Best trial final validation accuracy: {best_result.metrics['accuracy']}")
best_trained_model = Net(best_result.config["l1"], best_result.config["l2"])
best_trained_model = best_trained_model.to(device)
if gpus_per_trial > 1:
best_trained_model = nn.DataParallel(best_trained_model)
best_checkpoint = best_result.checkpoint
with best_checkpoint.as_directory() as checkpoint_dir:
checkpoint_path = Path(checkpoint_dir) / "checkpoint.pt"
best_checkpoint_data = torch.load(checkpoint_path)
best_trained_model.load_state_dict(best_checkpoint_data["net_state_dict"])
test_acc = test_accuracy(best_trained_model, device, data_dir)
print(f"Best trial test set accuracy: {test_acc}")
if __name__ == "__main__":
# Set the number of trials, epochs, and GPUs per trial here:
main(num_trials=10, max_num_epochs=10, gpus_per_trial=1)
Starting hyperparameter tuning.
2026-03-02 14:53:25,861 WARNING services.py:2137 -- WARNING: The object store is using /tmp instead of /dev/shm because /dev/shm has only 2147471360 bytes available. This will harm performance! You may be able to free up space by deleting files in /dev/shm. If you are inside a Docker container, you can increase /dev/shm size by passing '--shm-size=10.24gb' to 'docker run' (or add it to the run_options list in a Ray cluster config). Make sure to set this to more than 30% of available RAM.
2026-03-02 14:53:26,030 INFO worker.py:2023 -- Started a local Ray instance.
/usr/local/lib/python3.10/dist-packages/ray/_private/worker.py:2062: FutureWarning:
Tip: In future versions of Ray, Ray will no longer override accelerator visible devices env var if num_gpus=0 or num_gpus=None (default). To enable this behavior and turn off this error message, set RAY_ACCEL_ENV_VAR_OVERRIDE_ON_ZERO=0
0%| | 0.00/170M [00:00<?, ?B/s]
1%| | 918k/170M [00:00<00:21, 7.89MB/s]
6%|▋ | 10.7M/170M [00:00<00:02, 57.5MB/s]
13%|█▎ | 22.1M/170M [00:00<00:01, 82.4MB/s]
19%|█▉ | 33.2M/170M [00:00<00:01, 93.3MB/s]
26%|██▋ | 44.8M/170M [00:00<00:01, 101MB/s]
33%|███▎ | 56.2M/170M [00:00<00:01, 105MB/s]
40%|███▉ | 67.5M/170M [00:00<00:00, 108MB/s]
46%|████▌ | 78.4M/170M [00:00<00:00, 103MB/s]
52%|█████▏ | 88.8M/170M [00:00<00:00, 101MB/s]
58%|█████▊ | 99.0M/170M [00:01<00:00, 101MB/s]
65%|██████▍ | 110M/170M [00:01<00:00, 104MB/s]
71%|███████ | 121M/170M [00:01<00:00, 106MB/s]
78%|███████▊ | 132M/170M [00:01<00:00, 107MB/s]
84%|████████▍ | 143M/170M [00:01<00:00, 108MB/s]
91%|█████████ | 154M/170M [00:01<00:00, 109MB/s]
97%|█████████▋| 165M/170M [00:01<00:00, 109MB/s]
100%|██████████| 170M/170M [00:01<00:00, 101MB/s]
╭────────────────────────────────────────────────────────────────────╮
│ Configuration for experiment train_cifar_2026-03-02_14-53-31 │
├────────────────────────────────────────────────────────────────────┤
│ Search algorithm BasicVariantGenerator │
│ Scheduler AsyncHyperBandScheduler │
│ Number of trials 10 │
╰────────────────────────────────────────────────────────────────────╯
View detailed results here: /var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31
To visualize your results with TensorBoard, run: `tensorboard --logdir /tmp/ray/session_2026-03-02_14-53-23_772805_4365/artifacts/2026-03-02_14-53-31/train_cifar_2026-03-02_14-53-31/driver_artifacts`
Trial status: 10 PENDING
Current time: 2026-03-02 14:53:31. Total running time: 0s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size │
├───────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00000 PENDING 4 128 0.0906452 4 │
│ train_cifar_949e4_00001 PENDING 32 256 0.000202512 16 │
│ train_cifar_949e4_00002 PENDING 4 1 0.0146753 2 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰───────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_949e4_00000 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00000 config │
├──────────────────────────────────────────────────┤
│ batch_size 4 │
│ device cuda │
│ l1 4 │
│ l2 128 │
│ lr 0.09065 │
╰──────────────────────────────────────────────────╯
(func pid=5553) [1, 2000] loss: 2.353
(func pid=5553) [1, 4000] loss: 1.176
(func pid=5553) [1, 6000] loss: 0.785
(func pid=5553) [1, 8000] loss: 0.588
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-02 14:54:02. Total running time: 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size │
├───────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00000 RUNNING 4 128 0.0906452 4 │
│ train_cifar_949e4_00001 PENDING 32 256 0.000202512 16 │
│ train_cifar_949e4_00002 PENDING 4 1 0.0146753 2 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰───────────────────────────────────────────────────────────────────────────────╯
(func pid=5553) [1, 10000] loss: 0.470
(func pid=5553) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00000_0_batch_size=4,l1=4,l2=128,lr=0.0906_2026-03-02_14-53-31/checkpoint_000000)
(func pid=5553) [2, 2000] loss: 2.354
(func pid=5553) [2, 4000] loss: 1.179
(func pid=5553) [2, 6000] loss: 0.785
(func pid=5553) [2, 8000] loss: 0.589
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-02 14:54:32. Total running time: 1min 0s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00000 with loss=2.3478487666606904 and params={'l1': 4, 'l2': 128, 'lr': 0.09064516429743204, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00000 RUNNING 4 128 0.0906452 4 1 33.3578 2.34785 0.0991 │
│ train_cifar_949e4_00001 PENDING 32 256 0.000202512 16 │
│ train_cifar_949e4_00002 PENDING 4 1 0.0146753 2 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5553) [2, 10000] loss: 0.470
(func pid=5553) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00000_0_batch_size=4,l1=4,l2=128,lr=0.0906_2026-03-02_14-53-31/checkpoint_000001)
(func pid=5553) [3, 2000] loss: 2.356
(func pid=5553) [3, 4000] loss: 1.178
(func pid=5553) [3, 6000] loss: 0.783
(func pid=5553) [3, 8000] loss: 0.589
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-02 14:55:02. Total running time: 1min 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00000 with loss=2.3413115832328795 and params={'l1': 4, 'l2': 128, 'lr': 0.09064516429743204, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00000 RUNNING 4 128 0.0906452 4 2 64.339 2.34131 0.1025 │
│ train_cifar_949e4_00001 PENDING 32 256 0.000202512 16 │
│ train_cifar_949e4_00002 PENDING 4 1 0.0146753 2 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5553) [3, 10000] loss: 0.471
(func pid=5553) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00000_0_batch_size=4,l1=4,l2=128,lr=0.0906_2026-03-02_14-53-31/checkpoint_000002)
(func pid=5553) [4, 2000] loss: 2.356
(func pid=5553) [4, 4000] loss: 1.177
(func pid=5553) [4, 6000] loss: 0.785
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-02 14:55:32. Total running time: 2min 0s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00000 with loss=2.3239084778785704 and params={'l1': 4, 'l2': 128, 'lr': 0.09064516429743204, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00000 RUNNING 4 128 0.0906452 4 3 95.6924 2.32391 0.1019 │
│ train_cifar_949e4_00001 PENDING 32 256 0.000202512 16 │
│ train_cifar_949e4_00002 PENDING 4 1 0.0146753 2 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5553) [4, 8000] loss: 0.589
(func pid=5553) [4, 10000] loss: 0.471
(func pid=5553) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00000_0_batch_size=4,l1=4,l2=128,lr=0.0906_2026-03-02_14-53-31/checkpoint_000003)
(func pid=5553) [5, 2000] loss: 2.356
(func pid=5553) [5, 4000] loss: 1.176
(func pid=5553) [5, 6000] loss: 0.784
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-02 14:56:02. Total running time: 2min 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00000 with loss=2.3535448268413544 and params={'l1': 4, 'l2': 128, 'lr': 0.09064516429743204, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00000 RUNNING 4 128 0.0906452 4 4 126.774 2.35354 0.1025 │
│ train_cifar_949e4_00001 PENDING 32 256 0.000202512 16 │
│ train_cifar_949e4_00002 PENDING 4 1 0.0146753 2 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5553) [5, 8000] loss: 0.588
(func pid=5553) [5, 10000] loss: 0.470
(func pid=5553) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00000_0_batch_size=4,l1=4,l2=128,lr=0.0906_2026-03-02_14-53-31/checkpoint_000004)
(func pid=5553) [6, 2000] loss: 2.352
(func pid=5553) [6, 4000] loss: 1.177
(func pid=5553) [6, 6000] loss: 0.785
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-02 14:56:32. Total running time: 3min 0s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00000 with loss=2.346885516691208 and params={'l1': 4, 'l2': 128, 'lr': 0.09064516429743204, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00000 RUNNING 4 128 0.0906452 4 5 158.064 2.34689 0.1007 │
│ train_cifar_949e4_00001 PENDING 32 256 0.000202512 16 │
│ train_cifar_949e4_00002 PENDING 4 1 0.0146753 2 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5553) [6, 8000] loss: 0.588
(func pid=5553) [6, 10000] loss: 0.471
(func pid=5553) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00000_0_batch_size=4,l1=4,l2=128,lr=0.0906_2026-03-02_14-53-31/checkpoint_000005)
(func pid=5553) [7, 2000] loss: 2.351
(func pid=5553) [7, 4000] loss: 1.178
(func pid=5553) [7, 6000] loss: 0.785
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-02 14:57:02. Total running time: 3min 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00000 with loss=2.3574838082313536 and params={'l1': 4, 'l2': 128, 'lr': 0.09064516429743204, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00000 RUNNING 4 128 0.0906452 4 6 189.528 2.35748 0.1007 │
│ train_cifar_949e4_00001 PENDING 32 256 0.000202512 16 │
│ train_cifar_949e4_00002 PENDING 4 1 0.0146753 2 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5553) [7, 8000] loss: 0.589
(func pid=5553) [7, 10000] loss: 0.472
(func pid=5553) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00000_0_batch_size=4,l1=4,l2=128,lr=0.0906_2026-03-02_14-53-31/checkpoint_000006)
(func pid=5553) [8, 2000] loss: 2.352
(func pid=5553) [8, 4000] loss: 1.176
(func pid=5553) [8, 6000] loss: 0.784
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-02 14:57:32. Total running time: 4min 0s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00000 with loss=2.3620400087356566 and params={'l1': 4, 'l2': 128, 'lr': 0.09064516429743204, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00000 RUNNING 4 128 0.0906452 4 7 220.56 2.36204 0.0973 │
│ train_cifar_949e4_00001 PENDING 32 256 0.000202512 16 │
│ train_cifar_949e4_00002 PENDING 4 1 0.0146753 2 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5553) [8, 8000] loss: 0.588
(func pid=5553) [8, 10000] loss: 0.471
(func pid=5553) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00000_0_batch_size=4,l1=4,l2=128,lr=0.0906_2026-03-02_14-53-31/checkpoint_000007)
(func pid=5553) [9, 2000] loss: 2.355
(func pid=5553) [9, 4000] loss: 1.177
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-02 14:58:02. Total running time: 4min 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00000 with loss=2.3742747644901274 and params={'l1': 4, 'l2': 128, 'lr': 0.09064516429743204, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00000 RUNNING 4 128 0.0906452 4 8 251.67 2.37427 0.1009 │
│ train_cifar_949e4_00001 PENDING 32 256 0.000202512 16 │
│ train_cifar_949e4_00002 PENDING 4 1 0.0146753 2 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5553) [9, 6000] loss: 0.784
(func pid=5553) [9, 8000] loss: 0.588
(func pid=5553) [9, 10000] loss: 0.471
(func pid=5553) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00000_0_batch_size=4,l1=4,l2=128,lr=0.0906_2026-03-02_14-53-31/checkpoint_000008)
(func pid=5553) [10, 2000] loss: 2.355
(func pid=5553) [10, 4000] loss: 1.177
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-02 14:58:32. Total running time: 5min 0s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00000 with loss=2.3485119963645933 and params={'l1': 4, 'l2': 128, 'lr': 0.09064516429743204, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00000 RUNNING 4 128 0.0906452 4 9 282.426 2.34851 0.1025 │
│ train_cifar_949e4_00001 PENDING 32 256 0.000202512 16 │
│ train_cifar_949e4_00002 PENDING 4 1 0.0146753 2 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5553) [10, 6000] loss: 0.784
(func pid=5553) [10, 8000] loss: 0.588
(func pid=5553) [10, 10000] loss: 0.470
Trial train_cifar_949e4_00000 completed after 10 iterations at 2026-03-02 14:58:49. Total running time: 5min 17s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00000 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 31.35761 │
│ time_total_s 313.78322 │
│ training_iteration 10 │
│ accuracy 0.0999 │
│ loss 2.34549 │
╰────────────────────────────────────────────────────────────╯
(func pid=5553) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00000_0_batch_size=4,l1=4,l2=128,lr=0.0906_2026-03-02_14-53-31/checkpoint_000009)
Trial train_cifar_949e4_00001 started with configuration:
╭─────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00001 config │
├─────────────────────────────────────────────────┤
│ batch_size 16 │
│ device cuda │
│ l1 32 │
│ l2 256 │
│ lr 0.0002 │
╰─────────────────────────────────────────────────╯
(func pid=6876) [1, 2000] loss: 2.285
Trial status: 1 TERMINATED | 1 RUNNING | 8 PENDING
Current time: 2026-03-02 14:59:02. Total running time: 5min 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00000 with loss=2.3454916133403776 and params={'l1': 4, 'l2': 128, 'lr': 0.09064516429743204, 'batch_size': 4, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00001 RUNNING 32 256 0.000202512 16 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00002 PENDING 4 1 0.0146753 2 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=6876) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00001_1_batch_size=16,l1=32,l2=256,lr=0.0002_2026-03-02_14-53-31/checkpoint_000000)
(func pid=6876) [2, 2000] loss: 1.989
(func pid=6876) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00001_1_batch_size=16,l1=32,l2=256,lr=0.0002_2026-03-02_14-53-31/checkpoint_000001)
(func pid=6876) [3, 2000] loss: 1.763
(func pid=6876) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00001_1_batch_size=16,l1=32,l2=256,lr=0.0002_2026-03-02_14-53-31/checkpoint_000002)
(func pid=6876) [4, 2000] loss: 1.604
(func pid=6876) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00001_1_batch_size=16,l1=32,l2=256,lr=0.0002_2026-03-02_14-53-31/checkpoint_000003)
Trial status: 1 TERMINATED | 1 RUNNING | 8 PENDING
Current time: 2026-03-02 14:59:32. Total running time: 6min 0s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00001 with loss=1.564623696899414 and params={'l1': 32, 'l2': 256, 'lr': 0.00020251239003369261, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00001 RUNNING 32 256 0.000202512 16 4 36.8818 1.56462 0.421 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00002 PENDING 4 1 0.0146753 2 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=6876) [5, 2000] loss: 1.524
(func pid=6876) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00001_1_batch_size=16,l1=32,l2=256,lr=0.0002_2026-03-02_14-53-31/checkpoint_000004)
(func pid=6876) [6, 2000] loss: 1.471
(func pid=6876) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00001_1_batch_size=16,l1=32,l2=256,lr=0.0002_2026-03-02_14-53-31/checkpoint_000005)
(func pid=6876) [7, 2000] loss: 1.408
(func pid=6876) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00001_1_batch_size=16,l1=32,l2=256,lr=0.0002_2026-03-02_14-53-31/checkpoint_000006)
Trial status: 1 TERMINATED | 1 RUNNING | 8 PENDING
Current time: 2026-03-02 15:00:02. Total running time: 6min 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00001 with loss=1.4284718389511109 and params={'l1': 32, 'l2': 256, 'lr': 0.00020251239003369261, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00001 RUNNING 32 256 0.000202512 16 7 63.0393 1.42847 0.488 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00002 PENDING 4 1 0.0146753 2 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=6876) [8, 2000] loss: 1.370
(func pid=6876) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00001_1_batch_size=16,l1=32,l2=256,lr=0.0002_2026-03-02_14-53-31/checkpoint_000007)
(func pid=6876) [9, 2000] loss: 1.332
(func pid=6876) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00001_1_batch_size=16,l1=32,l2=256,lr=0.0002_2026-03-02_14-53-31/checkpoint_000008)
(func pid=6876) [10, 2000] loss: 1.290
Trial train_cifar_949e4_00001 completed after 10 iterations at 2026-03-02 15:00:23. Total running time: 6min 51s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00001 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 8.72398 │
│ time_total_s 89.30318 │
│ training_iteration 10 │
│ accuracy 0.5312 │
│ loss 1.31273 │
╰────────────────────────────────────────────────────────────╯
(func pid=6876) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00001_1_batch_size=16,l1=32,l2=256,lr=0.0002_2026-03-02_14-53-31/checkpoint_000009)
Trial train_cifar_949e4_00002 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00002 config │
├──────────────────────────────────────────────────┤
│ batch_size 2 │
│ device cuda │
│ l1 4 │
│ l2 1 │
│ lr 0.01468 │
╰──────────────────────────────────────────────────╯
Trial status: 2 TERMINATED | 1 RUNNING | 7 PENDING
Current time: 2026-03-02 15:00:32. Total running time: 7min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00001 with loss=1.312727098274231 and params={'l1': 32, 'l2': 256, 'lr': 0.00020251239003369261, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00002 RUNNING 4 1 0.0146753 2 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=7756) [1, 2000] loss: 2.324
(func pid=7756) [1, 4000] loss: 1.159
(func pid=7756) [1, 6000] loss: 0.773
(func pid=7756) [1, 8000] loss: 0.580
(func pid=7756) [1, 10000] loss: 0.465
(func pid=7756) [1, 12000] loss: 0.386
Trial status: 2 TERMINATED | 1 RUNNING | 7 PENDING
Current time: 2026-03-02 15:01:02. Total running time: 7min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00001 with loss=1.312727098274231 and params={'l1': 32, 'l2': 256, 'lr': 0.00020251239003369261, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00002 RUNNING 4 1 0.0146753 2 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=7756) [1, 14000] loss: 0.331
(func pid=7756) [1, 16000] loss: 0.290
(func pid=7756) [1, 18000] loss: 0.258
(func pid=7756) [1, 20000] loss: 0.232
Trial train_cifar_949e4_00002 completed after 1 iterations at 2026-03-02 15:01:32. Total running time: 8min 0s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00002 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 63.8653 │
│ time_total_s 63.8653 │
│ training_iteration 1 │
│ accuracy 0.099 │
│ loss 2.32582 │
╰────────────────────────────────────────────────────────────╯
(func pid=7756) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00002_2_batch_size=2,l1=4,l2=1,lr=0.0147_2026-03-02_14-53-31/checkpoint_000000)
Trial status: 3 TERMINATED | 7 PENDING
Current time: 2026-03-02 15:01:32. Total running time: 8min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00001 with loss=1.312727098274231 and params={'l1': 32, 'l2': 256, 'lr': 0.00020251239003369261, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 PENDING 128 16 0.00120837 16 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_949e4_00003 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00003 config │
├──────────────────────────────────────────────────┤
│ batch_size 16 │
│ device cuda │
│ l1 128 │
│ l2 16 │
│ lr 0.00121 │
╰──────────────────────────────────────────────────╯
(func pid=8019) [1, 2000] loss: 1.960
(func pid=8019) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00003_3_batch_size=16,l1=128,l2=16,lr=0.0012_2026-03-02_14-53-31/checkpoint_000000)
(func pid=8019) [2, 2000] loss: 1.477
(func pid=8019) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00003_3_batch_size=16,l1=128,l2=16,lr=0.0012_2026-03-02_14-53-31/checkpoint_000001)
(func pid=8019) [3, 2000] loss: 1.304
Trial status: 3 TERMINATED | 1 RUNNING | 6 PENDING
Current time: 2026-03-02 15:02:02. Total running time: 8min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00001 with loss=1.312727098274231 and params={'l1': 32, 'l2': 256, 'lr': 0.00020251239003369261, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00003 RUNNING 128 16 0.00120837 16 2 19.6279 1.3695 0.5178 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8019) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00003_3_batch_size=16,l1=128,l2=16,lr=0.0012_2026-03-02_14-53-31/checkpoint_000002)
(func pid=8019) [4, 2000] loss: 1.196
(func pid=8019) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00003_3_batch_size=16,l1=128,l2=16,lr=0.0012_2026-03-02_14-53-31/checkpoint_000003)
(func pid=8019) [5, 2000] loss: 1.118
(func pid=8019) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00003_3_batch_size=16,l1=128,l2=16,lr=0.0012_2026-03-02_14-53-31/checkpoint_000004)
(func pid=8019) [6, 2000] loss: 1.056
(func pid=8019) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00003_3_batch_size=16,l1=128,l2=16,lr=0.0012_2026-03-02_14-53-31/checkpoint_000005)
Trial status: 3 TERMINATED | 1 RUNNING | 6 PENDING
Current time: 2026-03-02 15:02:33. Total running time: 9min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1129476368904114 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00003 RUNNING 128 16 0.00120837 16 6 55.025 1.11295 0.6061 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8019) [7, 2000] loss: 1.005
(func pid=8019) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00003_3_batch_size=16,l1=128,l2=16,lr=0.0012_2026-03-02_14-53-31/checkpoint_000006)
(func pid=8019) [8, 2000] loss: 0.947
(func pid=8019) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00003_3_batch_size=16,l1=128,l2=16,lr=0.0012_2026-03-02_14-53-31/checkpoint_000007)
(func pid=8019) [9, 2000] loss: 0.896
(func pid=8019) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00003_3_batch_size=16,l1=128,l2=16,lr=0.0012_2026-03-02_14-53-31/checkpoint_000008)
Trial status: 3 TERMINATED | 1 RUNNING | 6 PENDING
Current time: 2026-03-02 15:03:03. Total running time: 9min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.0795613390445709 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00003 RUNNING 128 16 0.00120837 16 9 81.5958 1.07956 0.6261 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00004 PENDING 8 128 0.00711237 2 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8019) [10, 2000] loss: 0.860
Trial train_cifar_949e4_00003 completed after 10 iterations at 2026-03-02 15:03:06. Total running time: 9min 34s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00003 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 8.82003 │
│ time_total_s 90.41587 │
│ training_iteration 10 │
│ accuracy 0.6177 │
│ loss 1.13383 │
╰────────────────────────────────────────────────────────────╯
(func pid=8019) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00003_3_batch_size=16,l1=128,l2=16,lr=0.0012_2026-03-02_14-53-31/checkpoint_000009)
Trial train_cifar_949e4_00004 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00004 config │
├──────────────────────────────────────────────────┤
│ batch_size 2 │
│ device cuda │
│ l1 8 │
│ l2 128 │
│ lr 0.00711 │
╰──────────────────────────────────────────────────╯
(func pid=8900) [1, 2000] loss: 2.297
(func pid=8900) [1, 4000] loss: 1.125
(func pid=8900) [1, 6000] loss: 0.763
Trial status: 4 TERMINATED | 1 RUNNING | 5 PENDING
Current time: 2026-03-02 15:03:33. Total running time: 10min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00004 RUNNING 8 128 0.00711237 2 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8900) [1, 8000] loss: 0.578
(func pid=8900) [1, 10000] loss: 0.459
(func pid=8900) [1, 12000] loss: 0.377
(func pid=8900) [1, 14000] loss: 0.316
(func pid=8900) [1, 16000] loss: 0.281
(func pid=8900) [1, 18000] loss: 0.254
Trial status: 4 TERMINATED | 1 RUNNING | 5 PENDING
Current time: 2026-03-02 15:04:03. Total running time: 10min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00004 RUNNING 8 128 0.00711237 2 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00005 PENDING 4 64 0.00200031 4 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8900) [1, 20000] loss: 0.229
Trial train_cifar_949e4_00004 completed after 1 iterations at 2026-03-02 15:04:14. Total running time: 10min 42s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00004 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 63.0608 │
│ time_total_s 63.0608 │
│ training_iteration 1 │
│ accuracy 0.1104 │
│ loss 2.28397 │
╰────────────────────────────────────────────────────────────╯
(func pid=8900) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00004_4_batch_size=2,l1=8,l2=128,lr=0.0071_2026-03-02_14-53-31/checkpoint_000000)
Trial train_cifar_949e4_00005 started with configuration:
╭────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00005 config │
├────────────────────────────────────────────────┤
│ batch_size 4 │
│ device cuda │
│ l1 4 │
│ l2 64 │
│ lr 0.002 │
╰────────────────────────────────────────────────╯
(func pid=9161) [1, 2000] loss: 2.052
(func pid=9161) [1, 4000] loss: 0.928
Trial status: 5 TERMINATED | 1 RUNNING | 4 PENDING
Current time: 2026-03-02 15:04:33. Total running time: 11min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00005 RUNNING 4 64 0.00200031 4 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00004 TERMINATED 8 128 0.00711237 2 1 63.0608 2.28397 0.1104 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=9161) [1, 6000] loss: 0.584
(func pid=9161) [1, 8000] loss: 0.429
(func pid=9161) [1, 10000] loss: 0.342
(func pid=9161) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00005_5_batch_size=4,l1=4,l2=64,lr=0.0020_2026-03-02_14-53-31/checkpoint_000000)
(func pid=9161) [2, 2000] loss: 1.695
(func pid=9161) [2, 4000] loss: 0.838
Trial status: 5 TERMINATED | 1 RUNNING | 4 PENDING
Current time: 2026-03-02 15:05:03. Total running time: 11min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00005 RUNNING 4 64 0.00200031 4 1 33.6627 1.71173 0.3447 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00004 TERMINATED 8 128 0.00711237 2 1 63.0608 2.28397 0.1104 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=9161) [2, 6000] loss: 0.547
(func pid=9161) [2, 8000] loss: 0.411
(func pid=9161) [2, 10000] loss: 0.326
(func pid=9161) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00005_5_batch_size=4,l1=4,l2=64,lr=0.0020_2026-03-02_14-53-31/checkpoint_000001)
(func pid=9161) [3, 2000] loss: 1.612
Trial status: 5 TERMINATED | 1 RUNNING | 4 PENDING
Current time: 2026-03-02 15:05:33. Total running time: 12min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00005 RUNNING 4 64 0.00200031 4 2 65.1601 1.6705 0.377 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00004 TERMINATED 8 128 0.00711237 2 1 63.0608 2.28397 0.1104 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=9161) [3, 4000] loss: 0.804
(func pid=9161) [3, 6000] loss: 0.535
(func pid=9161) [3, 8000] loss: 0.400
(func pid=9161) [3, 10000] loss: 0.328
(func pid=9161) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00005_5_batch_size=4,l1=4,l2=64,lr=0.0020_2026-03-02_14-53-31/checkpoint_000002)
(func pid=9161) [4, 2000] loss: 1.603
Trial status: 5 TERMINATED | 1 RUNNING | 4 PENDING
Current time: 2026-03-02 15:06:03. Total running time: 12min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00005 RUNNING 4 64 0.00200031 4 3 96.596 1.57759 0.4077 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00004 TERMINATED 8 128 0.00711237 2 1 63.0608 2.28397 0.1104 │
│ train_cifar_949e4_00006 PENDING 4 64 0.000317153 16 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=9161) [4, 4000] loss: 0.808
(func pid=9161) [4, 6000] loss: 0.540
(func pid=9161) [4, 8000] loss: 0.405
(func pid=9161) [4, 10000] loss: 0.317
Trial train_cifar_949e4_00005 completed after 4 iterations at 2026-03-02 15:06:26. Total running time: 12min 54s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00005 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000003 │
│ time_this_iter_s 31.24767 │
│ time_total_s 127.84369 │
│ training_iteration 4 │
│ accuracy 0.3832 │
│ loss 1.69226 │
╰────────────────────────────────────────────────────────────╯
(func pid=9161) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00005_5_batch_size=4,l1=4,l2=64,lr=0.0020_2026-03-02_14-53-31/checkpoint_000003)
Trial train_cifar_949e4_00006 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00006 config │
├──────────────────────────────────────────────────┤
│ batch_size 16 │
│ device cuda │
│ l1 4 │
│ l2 64 │
│ lr 0.00032 │
╰──────────────────────────────────────────────────╯
Trial status: 6 TERMINATED | 1 RUNNING | 3 PENDING
Current time: 2026-03-02 15:06:33. Total running time: 13min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00006 RUNNING 4 64 0.000317153 16 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00004 TERMINATED 8 128 0.00711237 2 1 63.0608 2.28397 0.1104 │
│ train_cifar_949e4_00005 TERMINATED 4 64 0.00200031 4 4 127.844 1.69226 0.3832 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=9734) [1, 2000] loss: 2.246
(func pid=9734) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00006_6_batch_size=16,l1=4,l2=64,lr=0.0003_2026-03-02_14-53-31/checkpoint_000000)
(func pid=9734) [2, 2000] loss: 1.915
(func pid=9734) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00006_6_batch_size=16,l1=4,l2=64,lr=0.0003_2026-03-02_14-53-31/checkpoint_000001)
(func pid=9734) [3, 2000] loss: 1.694
(func pid=9734) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00006_6_batch_size=16,l1=4,l2=64,lr=0.0003_2026-03-02_14-53-31/checkpoint_000002)
Trial status: 6 TERMINATED | 1 RUNNING | 3 PENDING
Current time: 2026-03-02 15:07:03. Total running time: 13min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00006 RUNNING 4 64 0.000317153 16 3 28.4885 1.66151 0.3717 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00004 TERMINATED 8 128 0.00711237 2 1 63.0608 2.28397 0.1104 │
│ train_cifar_949e4_00005 TERMINATED 4 64 0.00200031 4 4 127.844 1.69226 0.3832 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=9734) [4, 2000] loss: 1.596
(func pid=9734) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00006_6_batch_size=16,l1=4,l2=64,lr=0.0003_2026-03-02_14-53-31/checkpoint_000003)
(func pid=9734) [5, 2000] loss: 1.531
(func pid=9734) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00006_6_batch_size=16,l1=4,l2=64,lr=0.0003_2026-03-02_14-53-31/checkpoint_000004)
(func pid=9734) [6, 2000] loss: 1.467
(func pid=9734) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00006_6_batch_size=16,l1=4,l2=64,lr=0.0003_2026-03-02_14-53-31/checkpoint_000005)
(func pid=9734) [7, 2000] loss: 1.432
Trial status: 6 TERMINATED | 1 RUNNING | 3 PENDING
Current time: 2026-03-02 15:07:33. Total running time: 14min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00006 RUNNING 4 64 0.000317153 16 6 54.6593 1.45066 0.4584 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00004 TERMINATED 8 128 0.00711237 2 1 63.0608 2.28397 0.1104 │
│ train_cifar_949e4_00005 TERMINATED 4 64 0.00200031 4 4 127.844 1.69226 0.3832 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=9734) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00006_6_batch_size=16,l1=4,l2=64,lr=0.0003_2026-03-02_14-53-31/checkpoint_000006)
(func pid=9734) [8, 2000] loss: 1.390
(func pid=9734) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00006_6_batch_size=16,l1=4,l2=64,lr=0.0003_2026-03-02_14-53-31/checkpoint_000007)
(func pid=9734) [9, 2000] loss: 1.373
(func pid=9734) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00006_6_batch_size=16,l1=4,l2=64,lr=0.0003_2026-03-02_14-53-31/checkpoint_000008)
(func pid=9734) [10, 2000] loss: 1.341
Trial train_cifar_949e4_00006 completed after 10 iterations at 2026-03-02 15:08:00. Total running time: 14min 28s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00006 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 8.76402 │
│ time_total_s 89.86318 │
│ training_iteration 10 │
│ accuracy 0.4964 │
│ loss 1.34891 │
╰────────────────────────────────────────────────────────────╯
(func pid=9734) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00006_6_batch_size=16,l1=4,l2=64,lr=0.0003_2026-03-02_14-53-31/checkpoint_000009)
Trial status: 7 TERMINATED | 3 PENDING
Current time: 2026-03-02 15:08:03. Total running time: 14min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00004 TERMINATED 8 128 0.00711237 2 1 63.0608 2.28397 0.1104 │
│ train_cifar_949e4_00005 TERMINATED 4 64 0.00200031 4 4 127.844 1.69226 0.3832 │
│ train_cifar_949e4_00006 TERMINATED 4 64 0.000317153 16 10 89.8632 1.34891 0.4964 │
│ train_cifar_949e4_00007 PENDING 32 16 0.0548086 8 │
│ train_cifar_949e4_00008 PENDING 128 4 0.000558862 8 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_949e4_00007 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00007 config │
├──────────────────────────────────────────────────┤
│ batch_size 8 │
│ device cuda │
│ l1 32 │
│ l2 16 │
│ lr 0.05481 │
╰──────────────────────────────────────────────────╯
(func pid=10630) [1, 2000] loss: 2.318
(func pid=10630) [1, 4000] loss: 1.159
Trial train_cifar_949e4_00007 completed after 1 iterations at 2026-03-02 15:08:22. Total running time: 14min 50s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00007 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 18.53892 │
│ time_total_s 18.53892 │
│ training_iteration 1 │
│ accuracy 0.1008 │
│ loss 2.3227 │
╰────────────────────────────────────────────────────────────╯
(func pid=10630) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00007_7_batch_size=8,l1=32,l2=16,lr=0.0548_2026-03-02_14-53-31/checkpoint_000000)
Trial train_cifar_949e4_00008 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00008 config │
├──────────────────────────────────────────────────┤
│ batch_size 8 │
│ device cuda │
│ l1 128 │
│ l2 4 │
│ lr 0.00056 │
╰──────────────────────────────────────────────────╯
Trial status: 8 TERMINATED | 1 RUNNING | 1 PENDING
Current time: 2026-03-02 15:08:33. Total running time: 15min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00008 RUNNING 128 4 0.000558862 8 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00004 TERMINATED 8 128 0.00711237 2 1 63.0608 2.28397 0.1104 │
│ train_cifar_949e4_00005 TERMINATED 4 64 0.00200031 4 4 127.844 1.69226 0.3832 │
│ train_cifar_949e4_00006 TERMINATED 4 64 0.000317153 16 10 89.8632 1.34891 0.4964 │
│ train_cifar_949e4_00007 TERMINATED 32 16 0.0548086 8 1 18.5389 2.3227 0.1008 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=10800) [1, 2000] loss: 2.209
(func pid=10800) [1, 4000] loss: 0.943
(func pid=10800) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00008_8_batch_size=8,l1=128,l2=4,lr=0.0006_2026-03-02_14-53-31/checkpoint_000000)
(func pid=10800) [2, 2000] loss: 1.704
(func pid=10800) [2, 4000] loss: 0.821
(func pid=10800) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00008_8_batch_size=8,l1=128,l2=4,lr=0.0006_2026-03-02_14-53-31/checkpoint_000001)
Trial status: 8 TERMINATED | 1 RUNNING | 1 PENDING
Current time: 2026-03-02 15:09:03. Total running time: 15min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00008 RUNNING 128 4 0.000558862 8 2 34.5794 1.51927 0.449 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00004 TERMINATED 8 128 0.00711237 2 1 63.0608 2.28397 0.1104 │
│ train_cifar_949e4_00005 TERMINATED 4 64 0.00200031 4 4 127.844 1.69226 0.3832 │
│ train_cifar_949e4_00006 TERMINATED 4 64 0.000317153 16 10 89.8632 1.34891 0.4964 │
│ train_cifar_949e4_00007 TERMINATED 32 16 0.0548086 8 1 18.5389 2.3227 0.1008 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=10800) [3, 2000] loss: 1.525
(func pid=10800) [3, 4000] loss: 0.736
(func pid=10800) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00008_8_batch_size=8,l1=128,l2=4,lr=0.0006_2026-03-02_14-53-31/checkpoint_000002)
(func pid=10800) [4, 2000] loss: 1.381
(func pid=10800) [4, 4000] loss: 0.684
Trial status: 8 TERMINATED | 1 RUNNING | 1 PENDING
Current time: 2026-03-02 15:09:33. Total running time: 16min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00008 RUNNING 128 4 0.000558862 8 3 50.8517 1.4125 0.4867 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00004 TERMINATED 8 128 0.00711237 2 1 63.0608 2.28397 0.1104 │
│ train_cifar_949e4_00005 TERMINATED 4 64 0.00200031 4 4 127.844 1.69226 0.3832 │
│ train_cifar_949e4_00006 TERMINATED 4 64 0.000317153 16 10 89.8632 1.34891 0.4964 │
│ train_cifar_949e4_00007 TERMINATED 32 16 0.0548086 8 1 18.5389 2.3227 0.1008 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=10800) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00008_8_batch_size=8,l1=128,l2=4,lr=0.0006_2026-03-02_14-53-31/checkpoint_000003)
(func pid=10800) [5, 2000] loss: 1.285
(func pid=10800) [5, 4000] loss: 0.642
(func pid=10800) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00008_8_batch_size=8,l1=128,l2=4,lr=0.0006_2026-03-02_14-53-31/checkpoint_000004)
(func pid=10800) [6, 2000] loss: 1.228
(func pid=10800) [6, 4000] loss: 0.599
Trial status: 8 TERMINATED | 1 RUNNING | 1 PENDING
Current time: 2026-03-02 15:10:03. Total running time: 16min 32s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00008 RUNNING 128 4 0.000558862 8 5 83.2784 1.35467 0.5261 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00004 TERMINATED 8 128 0.00711237 2 1 63.0608 2.28397 0.1104 │
│ train_cifar_949e4_00005 TERMINATED 4 64 0.00200031 4 4 127.844 1.69226 0.3832 │
│ train_cifar_949e4_00006 TERMINATED 4 64 0.000317153 16 10 89.8632 1.34891 0.4964 │
│ train_cifar_949e4_00007 TERMINATED 32 16 0.0548086 8 1 18.5389 2.3227 0.1008 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=10800) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00008_8_batch_size=8,l1=128,l2=4,lr=0.0006_2026-03-02_14-53-31/checkpoint_000005)
(func pid=10800) [7, 2000] loss: 1.153
(func pid=10800) [7, 4000] loss: 0.573
(func pid=10800) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00008_8_batch_size=8,l1=128,l2=4,lr=0.0006_2026-03-02_14-53-31/checkpoint_000006)
(func pid=10800) [8, 2000] loss: 1.089
(func pid=10800) [8, 4000] loss: 0.557
Trial status: 8 TERMINATED | 1 RUNNING | 1 PENDING
Current time: 2026-03-02 15:10:33. Total running time: 17min 2s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00008 RUNNING 128 4 0.000558862 8 7 115.47 1.27302 0.5549 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00004 TERMINATED 8 128 0.00711237 2 1 63.0608 2.28397 0.1104 │
│ train_cifar_949e4_00005 TERMINATED 4 64 0.00200031 4 4 127.844 1.69226 0.3832 │
│ train_cifar_949e4_00006 TERMINATED 4 64 0.000317153 16 10 89.8632 1.34891 0.4964 │
│ train_cifar_949e4_00007 TERMINATED 32 16 0.0548086 8 1 18.5389 2.3227 0.1008 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=10800) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00008_8_batch_size=8,l1=128,l2=4,lr=0.0006_2026-03-02_14-53-31/checkpoint_000007)
(func pid=10800) [9, 2000] loss: 1.053
(func pid=10800) [9, 4000] loss: 0.533
(func pid=10800) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00008_8_batch_size=8,l1=128,l2=4,lr=0.0006_2026-03-02_14-53-31/checkpoint_000008)
(func pid=10800) [10, 2000] loss: 1.003
Trial status: 8 TERMINATED | 1 RUNNING | 1 PENDING
Current time: 2026-03-02 15:11:03. Total running time: 17min 32s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00008 RUNNING 128 4 0.000558862 8 9 148.105 1.24879 0.5749 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00004 TERMINATED 8 128 0.00711237 2 1 63.0608 2.28397 0.1104 │
│ train_cifar_949e4_00005 TERMINATED 4 64 0.00200031 4 4 127.844 1.69226 0.3832 │
│ train_cifar_949e4_00006 TERMINATED 4 64 0.000317153 16 10 89.8632 1.34891 0.4964 │
│ train_cifar_949e4_00007 TERMINATED 32 16 0.0548086 8 1 18.5389 2.3227 0.1008 │
│ train_cifar_949e4_00009 PENDING 1 4 0.0153213 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=10800) [10, 4000] loss: 0.515
Trial train_cifar_949e4_00008 completed after 10 iterations at 2026-03-02 15:11:11. Total running time: 17min 39s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00008 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 16.31183 │
│ time_total_s 164.41658 │
│ training_iteration 10 │
│ accuracy 0.5846 │
│ loss 1.20706 │
╰────────────────────────────────────────────────────────────╯
(func pid=10800) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00008_8_batch_size=8,l1=128,l2=4,lr=0.0006_2026-03-02_14-53-31/checkpoint_000009)
Trial train_cifar_949e4_00009 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00009 config │
├──────────────────────────────────────────────────┤
│ batch_size 8 │
│ device cuda │
│ l1 1 │
│ l2 4 │
│ lr 0.01532 │
╰──────────────────────────────────────────────────╯
(func pid=11830) [1, 2000] loss: 2.309
(func pid=11830) [1, 4000] loss: 1.153
Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2026-03-02 15:11:33. Total running time: 18min 2s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00009 RUNNING 1 4 0.0153213 8 │
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00004 TERMINATED 8 128 0.00711237 2 1 63.0608 2.28397 0.1104 │
│ train_cifar_949e4_00005 TERMINATED 4 64 0.00200031 4 4 127.844 1.69226 0.3832 │
│ train_cifar_949e4_00006 TERMINATED 4 64 0.000317153 16 10 89.8632 1.34891 0.4964 │
│ train_cifar_949e4_00007 TERMINATED 32 16 0.0548086 8 1 18.5389 2.3227 0.1008 │
│ train_cifar_949e4_00008 TERMINATED 128 4 0.000558862 8 10 164.417 1.20706 0.5846 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_949e4_00009 completed after 1 iterations at 2026-03-02 15:11:34. Total running time: 18min 2s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_949e4_00009 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 18.56356 │
│ time_total_s 18.56356 │
│ training_iteration 1 │
│ accuracy 0.1007 │
│ loss 2.30408 │
╰────────────────────────────────────────────────────────────╯
(func pid=11830) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31/train_cifar_949e4_00009_9_batch_size=8,l1=1,l2=4,lr=0.0153_2026-03-02_14-53-31/checkpoint_000000)
2026-03-02 15:11:34,770 INFO tune.py:1009 -- Wrote the latest version of all result files and experiment state to '/var/lib/ci-user/ray_results/train_cifar_2026-03-02_14-53-31' in 0.0098s.
Trial status: 10 TERMINATED
Current time: 2026-03-02 15:11:34. Total running time: 18min 3s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 949e4_00003 with loss=1.1338264132976532 and params={'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_949e4_00000 TERMINATED 4 128 0.0906452 4 10 313.783 2.34549 0.0999 │
│ train_cifar_949e4_00001 TERMINATED 32 256 0.000202512 16 10 89.3032 1.31273 0.5312 │
│ train_cifar_949e4_00002 TERMINATED 4 1 0.0146753 2 1 63.8653 2.32582 0.099 │
│ train_cifar_949e4_00003 TERMINATED 128 16 0.00120837 16 10 90.4159 1.13383 0.6177 │
│ train_cifar_949e4_00004 TERMINATED 8 128 0.00711237 2 1 63.0608 2.28397 0.1104 │
│ train_cifar_949e4_00005 TERMINATED 4 64 0.00200031 4 4 127.844 1.69226 0.3832 │
│ train_cifar_949e4_00006 TERMINATED 4 64 0.000317153 16 10 89.8632 1.34891 0.4964 │
│ train_cifar_949e4_00007 TERMINATED 32 16 0.0548086 8 1 18.5389 2.3227 0.1008 │
│ train_cifar_949e4_00008 TERMINATED 128 4 0.000558862 8 10 164.417 1.20706 0.5846 │
│ train_cifar_949e4_00009 TERMINATED 1 4 0.0153213 8 1 18.5636 2.30408 0.1007 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Best trial config: {'l1': 128, 'l2': 16, 'lr': 0.0012083713708995834, 'batch_size': 16, 'device': 'cuda'}
Best trial final validation loss: 1.1338264132976532
Best trial final validation accuracy: 0.6177
Best trial test set accuracy: 0.6188
Results#
Your Ray Tune trial summary output looks something like this. The text table summarizes the validation performance of the trials and highlights the best hyperparameter configuration:
Number of trials: 10/10 (10 TERMINATED)
+-----+--------------+------+------+-------------+--------+---------+------------+
| ... | batch_size | l1 | l2 | lr | iter | loss | accuracy |
|-----+--------------+------+------+-------------+--------+---------+------------|
| ... | 2 | 1 | 256 | 0.000668163 | 1 | 2.31479 | 0.0977 |
| ... | 4 | 64 | 8 | 0.0331514 | 1 | 2.31605 | 0.0983 |
| ... | 4 | 2 | 1 | 0.000150295 | 1 | 2.30755 | 0.1023 |
| ... | 16 | 32 | 32 | 0.0128248 | 10 | 1.66912 | 0.4391 |
| ... | 4 | 8 | 128 | 0.00464561 | 2 | 1.7316 | 0.3463 |
| ... | 8 | 256 | 8 | 0.00031556 | 1 | 2.19409 | 0.1736 |
| ... | 4 | 16 | 256 | 0.00574329 | 2 | 1.85679 | 0.3368 |
| ... | 8 | 2 | 2 | 0.00325652 | 1 | 2.30272 | 0.0984 |
| ... | 2 | 2 | 2 | 0.000342987 | 2 | 1.76044 | 0.292 |
| ... | 4 | 64 | 32 | 0.003734 | 8 | 1.53101 | 0.4761 |
+-----+--------------+------+------+-------------+--------+---------+------------+
Best trial config: {'l1': 64, 'l2': 32, 'lr': 0.0037339984519545164, 'batch_size': 4}
Best trial final validation loss: 1.5310075663924216
Best trial final validation accuracy: 0.4761
Best trial test set accuracy: 0.4737
Most trials stopped early to conserve resources. The best performing trial achieved a validation accuracy of approximately 47%, which the test set confirms.
Observability#
Monitoring is critical when running large-scale experiments. Ray provides a dashboard that lets you view the status of your trials, check cluster resource use, and inspect logs in real time.
For debugging, Ray also offers distributed debugging tools that let you attach a debugger to running trials across the cluster.
Conclusion#
In this tutorial, you learned how to tune the hyperparameters of a
PyTorch model using Ray Tune. You saw how to integrate Ray Tune into
your PyTorch training loop, define a search space for your
hyperparameters, use an efficient scheduler like ASHAScheduler to
terminate low-performing trials early, save checkpoints and report
metrics to Ray Tune, and run the hyperparameter search and analyze the
results.
Ray Tune makes it straightforward to scale your experiments from a single machine to a large cluster, helping you find the best model configuration efficiently.
Further reading#
Total running time of the script: (18 minutes 17.368 seconds)