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-01-21 17:33:16,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-01-21 17:33:17,037 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]
0%| | 524k/170M [00:00<00:32, 5.23MB/s]
5%|▍ | 7.80M/170M [00:00<00:03, 44.8MB/s]
11%|█ | 18.0M/170M [00:00<00:02, 70.8MB/s]
17%|█▋ | 28.9M/170M [00:00<00:01, 85.9MB/s]
23%|██▎ | 38.9M/170M [00:00<00:01, 90.6MB/s]
29%|██▉ | 49.7M/170M [00:00<00:01, 96.7MB/s]
35%|███▍ | 59.5M/170M [00:00<00:01, 97.0MB/s]
41%|████ | 70.2M/170M [00:00<00:01, 100MB/s]
47%|████▋ | 80.4M/170M [00:00<00:00, 101MB/s]
53%|█████▎ | 90.7M/170M [00:01<00:00, 101MB/s]
60%|█████▉ | 102M/170M [00:01<00:00, 104MB/s]
66%|██████▌ | 112M/170M [00:01<00:00, 102MB/s]
72%|███████▏ | 122M/170M [00:01<00:00, 103MB/s]
78%|███████▊ | 133M/170M [00:01<00:00, 102MB/s]
84%|████████▍ | 144M/170M [00:01<00:00, 104MB/s]
90%|█████████ | 154M/170M [00:01<00:00, 103MB/s]
97%|█████████▋| 165M/170M [00:01<00:00, 104MB/s]
100%|██████████| 170M/170M [00:01<00:00, 96.3MB/s]
╭────────────────────────────────────────────────────────────────────╮
│ Configuration for experiment train_cifar_2026-01-21_17-33-22 │
├────────────────────────────────────────────────────────────────────┤
│ Search algorithm BasicVariantGenerator │
│ Scheduler AsyncHyperBandScheduler │
│ Number of trials 10 │
╰────────────────────────────────────────────────────────────────────╯
View detailed results here: /var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22
To visualize your results with TensorBoard, run: `tensorboard --logdir /tmp/ray/session_2026-01-21_17-33-15_694507_3486/artifacts/2026-01-21_17-33-22/train_cifar_2026-01-21_17-33-22/driver_artifacts`
Trial status: 10 PENDING
Current time: 2026-01-21 17:33:23. Total running time: 0s
Logical resource usage: 0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size │
├───────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00000 PENDING 1 8 0.000274222 8 │
│ train_cifar_48cfd_00001 PENDING 2 4 0.000240911 8 │
│ train_cifar_48cfd_00002 PENDING 32 64 0.000158496 16 │
│ train_cifar_48cfd_00003 PENDING 64 1 0.014337 8 │
│ train_cifar_48cfd_00004 PENDING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰───────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_48cfd_00000 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00000 config │
├──────────────────────────────────────────────────┤
│ batch_size 8 │
│ device cuda │
│ l1 1 │
│ l2 8 │
│ lr 0.00027 │
╰──────────────────────────────────────────────────╯
(func pid=4602) [1, 2000] loss: 2.313
(func pid=4602) [1, 4000] loss: 1.140
(func pid=4602) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00000_0_batch_size=8,l1=1,l2=8,lr=0.0003_2026-01-21_17-33-22/checkpoint_000000)
(pid=gcs_server) [2026-01-21 17:33:45,975 E 3491 3491] (gcs_server) gcs_server.cc:303: Failed to establish connection to the event+metrics exporter agent. Events and metrics will not be exported. Exporter agent status: RpcError: Running out of retries to initialize the metrics agent. rpc_code: 14
(raylet) [2026-01-21 17:33:46,964 E 3631 3631] (raylet) main.cc:979: Failed to establish connection to the metrics exporter agent. Metrics will not be exported. Exporter agent status: RpcError: Running out of retries to initialize the metrics agent. rpc_code: 14
(bundle_reservation_check_func pid=3707) [2026-01-21 17:33:47,681 E 3707 4013] core_worker_process.cc:837: Failed to establish connection to the metrics exporter agent. Metrics will not be exported. Exporter agent status: RpcError: Running out of retries to initialize the metrics agent. rpc_code: 14
(func pid=4602) [2, 2000] loss: 2.234
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-01-21 17:33:53. Total running time: 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 48cfd_00000 with loss=2.2509201993942263 and params={'l1': 1, 'l2': 8, 'lr': 0.00027422173320989287, 'batch_size': 8, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00000 RUNNING 1 8 0.000274222 8 1 18.3326 2.25092 0.1466 │
│ train_cifar_48cfd_00001 PENDING 2 4 0.000240911 8 │
│ train_cifar_48cfd_00002 PENDING 32 64 0.000158496 16 │
│ train_cifar_48cfd_00003 PENDING 64 1 0.014337 8 │
│ train_cifar_48cfd_00004 PENDING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=4602) [2026-01-21 17:33:53,690 E 4602 4637] core_worker_process.cc:837: Failed to establish connection to the metrics exporter agent. Metrics will not be exported. Exporter agent status: RpcError: Running out of retries to initialize the metrics agent. rpc_code: 14 [repeated 14x across cluster] (Ray deduplicates logs by default. Set RAY_DEDUP_LOGS=0 to disable log deduplication, or see https://docs.ray.io/en/master/ray-observability/user-guides/configure-logging.html#log-deduplication for more options.)
(func pid=4602) [2, 4000] loss: 1.096
(func pid=4602) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00000_0_batch_size=8,l1=1,l2=8,lr=0.0003_2026-01-21_17-33-22/checkpoint_000001)
(func pid=4602) [3, 2000] loss: 2.075
(func pid=4602) [3, 4000] loss: 0.994
(func pid=4602) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00000_0_batch_size=8,l1=1,l2=8,lr=0.0003_2026-01-21_17-33-22/checkpoint_000002)
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-01-21 17:34:23. 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: 48cfd_00000 with loss=1.9274655632972717 and params={'l1': 1, 'l2': 8, 'lr': 0.00027422173320989287, 'batch_size': 8, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00000 RUNNING 1 8 0.000274222 8 3 51.3292 1.92747 0.2019 │
│ train_cifar_48cfd_00001 PENDING 2 4 0.000240911 8 │
│ train_cifar_48cfd_00002 PENDING 32 64 0.000158496 16 │
│ train_cifar_48cfd_00003 PENDING 64 1 0.014337 8 │
│ train_cifar_48cfd_00004 PENDING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=4602) [4, 2000] loss: 1.910
(func pid=4602) [4, 4000] loss: 0.948
(func pid=4602) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00000_0_batch_size=8,l1=1,l2=8,lr=0.0003_2026-01-21_17-33-22/checkpoint_000003)
(func pid=4602) [5, 2000] loss: 1.872
(func pid=4602) [5, 4000] loss: 0.929
(func pid=4602) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00000_0_batch_size=8,l1=1,l2=8,lr=0.0003_2026-01-21_17-33-22/checkpoint_000004)
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-01-21 17:34:53. 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: 48cfd_00000 with loss=1.8603516448020936 and params={'l1': 1, 'l2': 8, 'lr': 0.00027422173320989287, 'batch_size': 8, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00000 RUNNING 1 8 0.000274222 8 5 84.1565 1.86035 0.2299 │
│ train_cifar_48cfd_00001 PENDING 2 4 0.000240911 8 │
│ train_cifar_48cfd_00002 PENDING 32 64 0.000158496 16 │
│ train_cifar_48cfd_00003 PENDING 64 1 0.014337 8 │
│ train_cifar_48cfd_00004 PENDING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=4602) [6, 2000] loss: 1.847
(func pid=4602) [6, 4000] loss: 0.919
(func pid=4602) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00000_0_batch_size=8,l1=1,l2=8,lr=0.0003_2026-01-21_17-33-22/checkpoint_000005)
(func pid=4602) [7, 2000] loss: 1.827
(func pid=4602) [7, 4000] loss: 0.913
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-01-21 17:35:23. 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: 48cfd_00000 with loss=1.8321409105300903 and params={'l1': 1, 'l2': 8, 'lr': 0.00027422173320989287, 'batch_size': 8, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00000 RUNNING 1 8 0.000274222 8 6 100.785 1.83214 0.2302 │
│ train_cifar_48cfd_00001 PENDING 2 4 0.000240911 8 │
│ train_cifar_48cfd_00002 PENDING 32 64 0.000158496 16 │
│ train_cifar_48cfd_00003 PENDING 64 1 0.014337 8 │
│ train_cifar_48cfd_00004 PENDING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=4602) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00000_0_batch_size=8,l1=1,l2=8,lr=0.0003_2026-01-21_17-33-22/checkpoint_000006)
(func pid=4602) [8, 2000] loss: 1.817
(func pid=4602) [8, 4000] loss: 0.905
(func pid=4602) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00000_0_batch_size=8,l1=1,l2=8,lr=0.0003_2026-01-21_17-33-22/checkpoint_000007)
(func pid=4602) [9, 2000] loss: 1.797
(func pid=4602) [9, 4000] loss: 0.901
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-01-21 17:35:53. 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: 48cfd_00000 with loss=1.833387968635559 and params={'l1': 1, 'l2': 8, 'lr': 0.00027422173320989287, 'batch_size': 8, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00000 RUNNING 1 8 0.000274222 8 8 133.771 1.83339 0.243 │
│ train_cifar_48cfd_00001 PENDING 2 4 0.000240911 8 │
│ train_cifar_48cfd_00002 PENDING 32 64 0.000158496 16 │
│ train_cifar_48cfd_00003 PENDING 64 1 0.014337 8 │
│ train_cifar_48cfd_00004 PENDING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=4602) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00000_0_batch_size=8,l1=1,l2=8,lr=0.0003_2026-01-21_17-33-22/checkpoint_000008)
(func pid=4602) [10, 2000] loss: 1.794
(func pid=4602) [10, 4000] loss: 0.894
Trial train_cifar_48cfd_00000 completed after 10 iterations at 2026-01-21 17:36:13. Total running time: 2min 50s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00000 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 16.32754 │
│ time_total_s 166.45763 │
│ training_iteration 10 │
│ accuracy 0.2581 │
│ loss 1.79776 │
╰────────────────────────────────────────────────────────────╯
(func pid=4602) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00000_0_batch_size=8,l1=1,l2=8,lr=0.0003_2026-01-21_17-33-22/checkpoint_000009)
Trial train_cifar_48cfd_00001 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00001 config │
├──────────────────────────────────────────────────┤
│ batch_size 8 │
│ device cuda │
│ l1 2 │
│ l2 4 │
│ lr 0.00024 │
╰──────────────────────────────────────────────────╯
Trial status: 1 TERMINATED | 1 RUNNING | 8 PENDING
Current time: 2026-01-21 17:36:23. 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: 48cfd_00000 with loss=1.7977555104255676 and params={'l1': 1, 'l2': 8, 'lr': 0.00027422173320989287, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00001 RUNNING 2 4 0.000240911 8 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00002 PENDING 32 64 0.000158496 16 │
│ train_cifar_48cfd_00003 PENDING 64 1 0.014337 8 │
│ train_cifar_48cfd_00004 PENDING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5331) [1, 2000] loss: 2.322
(func pid=5331) [1, 4000] loss: 1.141
(func pid=5331) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00001_1_batch_size=8,l1=2,l2=4,lr=0.0002_2026-01-21_17-33-22/checkpoint_000000)
(func pid=5331) [2, 2000] loss: 2.153
(func pid=5331) [2026-01-21 17:36:44,372 E 5331 5367] core_worker_process.cc:837: Failed to establish connection to the metrics exporter agent. Metrics will not be exported. Exporter agent status: RpcError: Running out of retries to initialize the metrics agent. rpc_code: 14
(func pid=5331) [2, 4000] loss: 1.026
(func pid=5331) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00001_1_batch_size=8,l1=2,l2=4,lr=0.0002_2026-01-21_17-33-22/checkpoint_000001)
Trial status: 1 TERMINATED | 1 RUNNING | 8 PENDING
Current time: 2026-01-21 17:36:53. 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: 48cfd_00000 with loss=1.7977555104255676 and params={'l1': 1, 'l2': 8, 'lr': 0.00027422173320989287, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00001 RUNNING 2 4 0.000240911 8 2 34.8813 2.01024 0.2015 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00002 PENDING 32 64 0.000158496 16 │
│ train_cifar_48cfd_00003 PENDING 64 1 0.014337 8 │
│ train_cifar_48cfd_00004 PENDING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5331) [3, 2000] loss: 1.968
(func pid=5331) [3, 4000] loss: 0.967
(func pid=5331) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00001_1_batch_size=8,l1=2,l2=4,lr=0.0002_2026-01-21_17-33-22/checkpoint_000002)
(func pid=5331) [4, 2000] loss: 1.875
(func pid=5331) [4, 4000] loss: 0.923
Trial status: 1 TERMINATED | 1 RUNNING | 8 PENDING
Current time: 2026-01-21 17:37:23. 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: 48cfd_00000 with loss=1.7977555104255676 and params={'l1': 1, 'l2': 8, 'lr': 0.00027422173320989287, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00001 RUNNING 2 4 0.000240911 8 3 51.35 1.92014 0.2397 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00002 PENDING 32 64 0.000158496 16 │
│ train_cifar_48cfd_00003 PENDING 64 1 0.014337 8 │
│ train_cifar_48cfd_00004 PENDING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5331) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00001_1_batch_size=8,l1=2,l2=4,lr=0.0002_2026-01-21_17-33-22/checkpoint_000003)
(func pid=5331) [5, 2000] loss: 1.794
(func pid=5331) [5, 4000] loss: 0.882
(func pid=5331) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00001_1_batch_size=8,l1=2,l2=4,lr=0.0002_2026-01-21_17-33-22/checkpoint_000004)
(func pid=5331) [6, 2000] loss: 1.725
(func pid=5331) [6, 4000] loss: 0.852
Trial status: 1 TERMINATED | 1 RUNNING | 8 PENDING
Current time: 2026-01-21 17:37:53. 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: 48cfd_00001 with loss=1.7465124313354492 and params={'l1': 2, 'l2': 4, 'lr': 0.0002409108547421173, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00001 RUNNING 2 4 0.000240911 8 5 84.4854 1.74651 0.2924 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00002 PENDING 32 64 0.000158496 16 │
│ train_cifar_48cfd_00003 PENDING 64 1 0.014337 8 │
│ train_cifar_48cfd_00004 PENDING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5331) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00001_1_batch_size=8,l1=2,l2=4,lr=0.0002_2026-01-21_17-33-22/checkpoint_000005)
(func pid=5331) [7, 2000] loss: 1.658
(func pid=5331) [7, 4000] loss: 0.836
(func pid=5331) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00001_1_batch_size=8,l1=2,l2=4,lr=0.0002_2026-01-21_17-33-22/checkpoint_000006)
(func pid=5331) [8, 2000] loss: 1.628
Trial status: 1 TERMINATED | 1 RUNNING | 8 PENDING
Current time: 2026-01-21 17:38:23. 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: 48cfd_00001 with loss=1.6305078654766083 and params={'l1': 2, 'l2': 4, 'lr': 0.0002409108547421173, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00001 RUNNING 2 4 0.000240911 8 7 117.263 1.63051 0.3604 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00002 PENDING 32 64 0.000158496 16 │
│ train_cifar_48cfd_00003 PENDING 64 1 0.014337 8 │
│ train_cifar_48cfd_00004 PENDING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5331) [8, 4000] loss: 0.806
(func pid=5331) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00001_1_batch_size=8,l1=2,l2=4,lr=0.0002_2026-01-21_17-33-22/checkpoint_000007)
(func pid=5331) [9, 2000] loss: 1.605
(func pid=5331) [9, 4000] loss: 0.791
(func pid=5331) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00001_1_batch_size=8,l1=2,l2=4,lr=0.0002_2026-01-21_17-33-22/checkpoint_000008)
(func pid=5331) [10, 2000] loss: 1.565
Trial status: 1 TERMINATED | 1 RUNNING | 8 PENDING
Current time: 2026-01-21 17:38:53. 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: 48cfd_00001 with loss=1.5738621395111083 and params={'l1': 2, 'l2': 4, 'lr': 0.0002409108547421173, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00001 RUNNING 2 4 0.000240911 8 9 150.357 1.57386 0.3954 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00002 PENDING 32 64 0.000158496 16 │
│ train_cifar_48cfd_00003 PENDING 64 1 0.014337 8 │
│ train_cifar_48cfd_00004 PENDING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5331) [10, 4000] loss: 0.779
(func pid=5331) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00001_1_batch_size=8,l1=2,l2=4,lr=0.0002_2026-01-21_17-33-22/checkpoint_000009)
Trial train_cifar_48cfd_00001 completed after 10 iterations at 2026-01-21 17:39:04. Total running time: 5min 41s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00001 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 16.49072 │
│ time_total_s 166.84769 │
│ training_iteration 10 │
│ accuracy 0.3893 │
│ loss 1.56684 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_48cfd_00002 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00002 config │
├──────────────────────────────────────────────────┤
│ batch_size 16 │
│ device cuda │
│ l1 32 │
│ l2 64 │
│ lr 0.00016 │
╰──────────────────────────────────────────────────╯
(func pid=6053) [1, 2000] loss: 2.290
(func pid=6053) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00002_2_batch_size=16,l1=32,l2=64,lr=0.0002_2026-01-21_17-33-22/checkpoint_000000)
Trial status: 2 TERMINATED | 1 RUNNING | 7 PENDING
Current time: 2026-01-21 17:39:23. 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: 48cfd_00001 with loss=1.5668378036499024 and params={'l1': 2, 'l2': 4, 'lr': 0.0002409108547421173, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00002 RUNNING 32 64 0.000158496 16 1 10.8536 2.19942 0.1926 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00003 PENDING 64 1 0.014337 8 │
│ train_cifar_48cfd_00004 PENDING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=6053) [2, 2000] loss: 2.073
(func pid=6053) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00002_2_batch_size=16,l1=32,l2=64,lr=0.0002_2026-01-21_17-33-22/checkpoint_000001)
(func pid=6053) [3, 2000] loss: 1.874
(func pid=6053) [2026-01-21 17:39:35,407 E 6053 6089] core_worker_process.cc:837: Failed to establish connection to the metrics exporter agent. Metrics will not be exported. Exporter agent status: RpcError: Running out of retries to initialize the metrics agent. rpc_code: 14
(func pid=6053) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00002_2_batch_size=16,l1=32,l2=64,lr=0.0002_2026-01-21_17-33-22/checkpoint_000002)
(func pid=6053) [4, 2000] loss: 1.725
(func pid=6053) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00002_2_batch_size=16,l1=32,l2=64,lr=0.0002_2026-01-21_17-33-22/checkpoint_000003)
(func pid=6053) [5, 2000] loss: 1.620
Trial status: 2 TERMINATED | 1 RUNNING | 7 PENDING
Current time: 2026-01-21 17:39:53. 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: 48cfd_00001 with loss=1.5668378036499024 and params={'l1': 2, 'l2': 4, 'lr': 0.0002409108547421173, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00002 RUNNING 32 64 0.000158496 16 4 37.266 1.63375 0.396 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00003 PENDING 64 1 0.014337 8 │
│ train_cifar_48cfd_00004 PENDING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=6053) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00002_2_batch_size=16,l1=32,l2=64,lr=0.0002_2026-01-21_17-33-22/checkpoint_000004)
(func pid=6053) [6, 2000] loss: 1.561
(func pid=6053) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00002_2_batch_size=16,l1=32,l2=64,lr=0.0002_2026-01-21_17-33-22/checkpoint_000005)
(func pid=6053) [7, 2000] loss: 1.514
(func pid=6053) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00002_2_batch_size=16,l1=32,l2=64,lr=0.0002_2026-01-21_17-33-22/checkpoint_000006)
(func pid=6053) [8, 2000] loss: 1.478
(func pid=6053) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00002_2_batch_size=16,l1=32,l2=64,lr=0.0002_2026-01-21_17-33-22/checkpoint_000007)
Trial status: 2 TERMINATED | 1 RUNNING | 7 PENDING
Current time: 2026-01-21 17:40:23. Total running time: 7min 0s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 48cfd_00002 with loss=1.4536390251159668 and params={'l1': 32, 'l2': 64, 'lr': 0.00015849625352938026, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00002 RUNNING 32 64 0.000158496 16 8 72.0606 1.45364 0.4655 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00003 PENDING 64 1 0.014337 8 │
│ train_cifar_48cfd_00004 PENDING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=6053) [9, 2000] loss: 1.442
(func pid=6053) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00002_2_batch_size=16,l1=32,l2=64,lr=0.0002_2026-01-21_17-33-22/checkpoint_000008)
(func pid=6053) [10, 2000] loss: 1.414
Trial train_cifar_48cfd_00002 completed after 10 iterations at 2026-01-21 17:40:38. Total running time: 7min 15s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00002 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 8.68978 │
│ time_total_s 89.56287 │
│ training_iteration 10 │
│ accuracy 0.4844 │
│ loss 1.41382 │
╰────────────────────────────────────────────────────────────╯
(func pid=6053) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00002_2_batch_size=16,l1=32,l2=64,lr=0.0002_2026-01-21_17-33-22/checkpoint_000009)
Trial train_cifar_48cfd_00003 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00003 config │
├──────────────────────────────────────────────────┤
│ batch_size 8 │
│ device cuda │
│ l1 64 │
│ l2 1 │
│ lr 0.01434 │
╰──────────────────────────────────────────────────╯
(func pid=6768) [1, 2000] loss: 2.310
Trial status: 3 TERMINATED | 1 RUNNING | 6 PENDING
Current time: 2026-01-21 17:40:53. Total running time: 7min 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 48cfd_00002 with loss=1.4138212385177613 and params={'l1': 32, 'l2': 64, 'lr': 0.00015849625352938026, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00003 RUNNING 64 1 0.014337 8 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00004 PENDING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=6768) [1, 4000] loss: 1.154
Trial train_cifar_48cfd_00003 completed after 1 iterations at 2026-01-21 17:41:01. Total running time: 7min 38s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00003 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 18.66408 │
│ time_total_s 18.66408 │
│ training_iteration 1 │
│ accuracy 0.0985 │
│ loss 2.30637 │
╰────────────────────────────────────────────────────────────╯
(func pid=6768) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00003_3_batch_size=8,l1=64,l2=1,lr=0.0143_2026-01-21_17-33-22/checkpoint_000000)
Trial train_cifar_48cfd_00004 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00004 config │
├──────────────────────────────────────────────────┤
│ batch_size 2 │
│ device cuda │
│ l1 256 │
│ l2 256 │
│ lr 0.03278 │
╰──────────────────────────────────────────────────╯
(func pid=6899) [1, 2000] loss: 2.346
(func pid=6899) [1, 4000] loss: 1.168
(func pid=6899) [1, 6000] loss: 0.779
Trial status: 4 TERMINATED | 1 RUNNING | 5 PENDING
Current time: 2026-01-21 17:41:23. 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: 48cfd_00002 with loss=1.4138212385177613 and params={'l1': 32, 'l2': 64, 'lr': 0.00015849625352938026, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00004 RUNNING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=6899) [1, 8000] loss: 0.585
(func pid=6899) [2026-01-21 17:41:32,414 E 6899 6934] core_worker_process.cc:837: Failed to establish connection to the metrics exporter agent. Metrics will not be exported. Exporter agent status: RpcError: Running out of retries to initialize the metrics agent. rpc_code: 14
(func pid=6899) [1, 10000] loss: 0.468
(func pid=6899) [1, 12000] loss: 0.390
(func pid=6899) [1, 14000] loss: 0.334
(func pid=6899) [1, 16000] loss: 0.293
Trial status: 4 TERMINATED | 1 RUNNING | 5 PENDING
Current time: 2026-01-21 17:41:53. 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: 48cfd_00002 with loss=1.4138212385177613 and params={'l1': 32, 'l2': 64, 'lr': 0.00015849625352938026, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00004 RUNNING 256 256 0.0327759 2 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00005 PENDING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=6899) [1, 18000] loss: 0.260
(func pid=6899) [1, 20000] loss: 0.234
Trial train_cifar_48cfd_00004 completed after 1 iterations at 2026-01-21 17:42:08. Total running time: 8min 45s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00004 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 62.9468 │
│ time_total_s 62.9468 │
│ training_iteration 1 │
│ accuracy 0.0952 │
│ loss 2.34309 │
╰────────────────────────────────────────────────────────────╯
(func pid=6899) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00004_4_batch_size=2,l1=256,l2=256,lr=0.0328_2026-01-21_17-33-22/checkpoint_000000)
Trial train_cifar_48cfd_00005 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00005 config │
├──────────────────────────────────────────────────┤
│ batch_size 2 │
│ device cuda │
│ l1 4 │
│ l2 256 │
│ lr 0.00614 │
╰──────────────────────────────────────────────────╯
(func pid=7035) [1, 2000] loss: 2.333
Trial status: 5 TERMINATED | 1 RUNNING | 4 PENDING
Current time: 2026-01-21 17:42:24. 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: 48cfd_00002 with loss=1.4138212385177613 and params={'l1': 32, 'l2': 64, 'lr': 0.00015849625352938026, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00005 RUNNING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=7035) [1, 4000] loss: 1.155
(func pid=7035) [1, 6000] loss: 0.770
(func pid=7035) [1, 8000] loss: 0.577
(func pid=7035) [2026-01-21 17:42:39,418 E 7035 7070] core_worker_process.cc:837: Failed to establish connection to the metrics exporter agent. Metrics will not be exported. Exporter agent status: RpcError: Running out of retries to initialize the metrics agent. rpc_code: 14
(func pid=7035) [1, 10000] loss: 0.462
(func pid=7035) [1, 12000] loss: 0.385
(func pid=7035) [1, 14000] loss: 0.330
Trial status: 5 TERMINATED | 1 RUNNING | 4 PENDING
Current time: 2026-01-21 17:42:54. 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: 48cfd_00002 with loss=1.4138212385177613 and params={'l1': 32, 'l2': 64, 'lr': 0.00015849625352938026, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00005 RUNNING 4 256 0.00613694 2 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00006 PENDING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=7035) [1, 16000] loss: 0.289
(func pid=7035) [1, 18000] loss: 0.257
(func pid=7035) [1, 20000] loss: 0.231
Trial train_cifar_48cfd_00005 completed after 1 iterations at 2026-01-21 17:43:15. Total running time: 9min 52s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00005 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 63.11874 │
│ time_total_s 63.11874 │
│ training_iteration 1 │
│ accuracy 0.0969 │
│ loss 2.31385 │
╰────────────────────────────────────────────────────────────╯
(func pid=7035) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00005_5_batch_size=2,l1=4,l2=256,lr=0.0061_2026-01-21_17-33-22/checkpoint_000000)
Trial train_cifar_48cfd_00006 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00006 config │
├──────────────────────────────────────────────────┤
│ batch_size 8 │
│ device cuda │
│ l1 128 │
│ l2 64 │
│ lr 0.00279 │
╰──────────────────────────────────────────────────╯
Trial status: 6 TERMINATED | 1 RUNNING | 3 PENDING
Current time: 2026-01-21 17:43:24. 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: 48cfd_00002 with loss=1.4138212385177613 and params={'l1': 32, 'l2': 64, 'lr': 0.00015849625352938026, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00006 RUNNING 128 64 0.00279322 8 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=7170) [1, 2000] loss: 1.887
(func pid=7170) [1, 4000] loss: 0.796
(func pid=7170) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00006_6_batch_size=8,l1=128,l2=64,lr=0.0028_2026-01-21_17-33-22/checkpoint_000000)
(func pid=7170) [2, 2000] loss: 1.418
(func pid=7170) [2026-01-21 17:43:46,425 E 7170 7206] core_worker_process.cc:837: Failed to establish connection to the metrics exporter agent. Metrics will not be exported. Exporter agent status: RpcError: Running out of retries to initialize the metrics agent. rpc_code: 14
(func pid=7170) [2, 4000] loss: 0.684
Trial status: 6 TERMINATED | 1 RUNNING | 3 PENDING
Current time: 2026-01-21 17:43:54. 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: 48cfd_00006 with loss=1.3799220564126968 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00006 RUNNING 128 64 0.00279322 8 1 18.4126 1.37992 0.5046 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=7170) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00006_6_batch_size=8,l1=128,l2=64,lr=0.0028_2026-01-21_17-33-22/checkpoint_000001)
(func pid=7170) [3, 2000] loss: 1.284
(func pid=7170) [3, 4000] loss: 0.629
(func pid=7170) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00006_6_batch_size=8,l1=128,l2=64,lr=0.0028_2026-01-21_17-33-22/checkpoint_000002)
(func pid=7170) [4, 2000] loss: 1.189
(func pid=7170) [4, 4000] loss: 0.600
Trial status: 6 TERMINATED | 1 RUNNING | 3 PENDING
Current time: 2026-01-21 17:44:24. 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: 48cfd_00006 with loss=1.2901197962522506 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00006 RUNNING 128 64 0.00279322 8 3 51.4283 1.29012 0.5374 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=7170) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00006_6_batch_size=8,l1=128,l2=64,lr=0.0028_2026-01-21_17-33-22/checkpoint_000003)
(func pid=7170) [5, 2000] loss: 1.133
(func pid=7170) [5, 4000] loss: 0.574
(func pid=7170) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00006_6_batch_size=8,l1=128,l2=64,lr=0.0028_2026-01-21_17-33-22/checkpoint_000004)
(func pid=7170) [6, 2000] loss: 1.071
Trial status: 6 TERMINATED | 1 RUNNING | 3 PENDING
Current time: 2026-01-21 17:44:54. 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: 48cfd_00006 with loss=1.2146490918397903 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00006 RUNNING 128 64 0.00279322 8 5 84.1679 1.21465 0.5816 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=7170) [6, 4000] loss: 0.550
(func pid=7170) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00006_6_batch_size=8,l1=128,l2=64,lr=0.0028_2026-01-21_17-33-22/checkpoint_000005)
(func pid=7170) [7, 2000] loss: 1.060
(func pid=7170) [7, 4000] loss: 0.536
(func pid=7170) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00006_6_batch_size=8,l1=128,l2=64,lr=0.0028_2026-01-21_17-33-22/checkpoint_000006)
(func pid=7170) [8, 2000] loss: 1.008
Trial status: 6 TERMINATED | 1 RUNNING | 3 PENDING
Current time: 2026-01-21 17:45:24. 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: 48cfd_00006 with loss=1.2721355741739273 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00006 RUNNING 128 64 0.00279322 8 7 116.654 1.27214 0.5791 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=7170) [8, 4000] loss: 0.526
(func pid=7170) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00006_6_batch_size=8,l1=128,l2=64,lr=0.0028_2026-01-21_17-33-22/checkpoint_000007)
(func pid=7170) [9, 2000] loss: 0.983
(func pid=7170) [9, 4000] loss: 0.513
(func pid=7170) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00006_6_batch_size=8,l1=128,l2=64,lr=0.0028_2026-01-21_17-33-22/checkpoint_000008)
Trial status: 6 TERMINATED | 1 RUNNING | 3 PENDING
Current time: 2026-01-21 17:45:54. 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: 48cfd_00006 with loss=1.261097554910183 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00006 RUNNING 128 64 0.00279322 8 9 149.678 1.2611 0.574 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00007 PENDING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=7170) [10, 2000] loss: 0.956
(func pid=7170) [10, 4000] loss: 0.498
Trial train_cifar_48cfd_00006 completed after 10 iterations at 2026-01-21 17:46:05. Total running time: 12min 42s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00006 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 16.40378 │
│ time_total_s 166.08164 │
│ training_iteration 10 │
│ accuracy 0.5931 │
│ loss 1.23533 │
╰────────────────────────────────────────────────────────────╯
(func pid=7170) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00006_6_batch_size=8,l1=128,l2=64,lr=0.0028_2026-01-21_17-33-22/checkpoint_000009)
Trial train_cifar_48cfd_00007 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00007 config │
├──────────────────────────────────────────────────┤
│ batch_size 2 │
│ device cuda │
│ l1 1 │
│ l2 16 │
│ lr 0.00115 │
╰──────────────────────────────────────────────────╯
(func pid=7892) [1, 2000] loss: 2.312
(func pid=7892) [1, 4000] loss: 1.155
Trial status: 7 TERMINATED | 1 RUNNING | 2 PENDING
Current time: 2026-01-21 17:46:24. 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: 48cfd_00006 with loss=1.2353315020799638 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00007 RUNNING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00006 TERMINATED 128 64 0.00279322 8 10 166.082 1.23533 0.5931 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=7892) [1, 6000] loss: 0.770
(func pid=7892) [1, 8000] loss: 0.576
(func pid=7892) [2026-01-21 17:46:36,441 E 7892 7927] core_worker_process.cc:837: Failed to establish connection to the metrics exporter agent. Metrics will not be exported. Exporter agent status: RpcError: Running out of retries to initialize the metrics agent. rpc_code: 14
(func pid=7892) [1, 10000] loss: 0.461
(func pid=7892) [1, 12000] loss: 0.385
(func pid=7892) [1, 14000] loss: 0.330
(func pid=7892) [1, 16000] loss: 0.288
Trial status: 7 TERMINATED | 1 RUNNING | 2 PENDING
Current time: 2026-01-21 17:46:54. 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: 48cfd_00006 with loss=1.2353315020799638 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00007 RUNNING 1 16 0.00114845 2 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00006 TERMINATED 128 64 0.00279322 8 10 166.082 1.23533 0.5931 │
│ train_cifar_48cfd_00008 PENDING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=7892) [1, 18000] loss: 0.256
(func pid=7892) [1, 20000] loss: 0.231
Trial train_cifar_48cfd_00007 completed after 1 iterations at 2026-01-21 17:47:12. Total running time: 13min 49s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00007 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 63.27148 │
│ time_total_s 63.27148 │
│ training_iteration 1 │
│ accuracy 0.0964 │
│ loss 2.30462 │
╰────────────────────────────────────────────────────────────╯
(func pid=7892) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00007_7_batch_size=2,l1=1,l2=16,lr=0.0011_2026-01-21_17-33-22/checkpoint_000000)
Trial train_cifar_48cfd_00008 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00008 config │
├──────────────────────────────────────────────────┤
│ batch_size 8 │
│ device cuda │
│ l1 2 │
│ l2 16 │
│ lr 0.00036 │
╰──────────────────────────────────────────────────╯
(func pid=8028) [1, 2000] loss: 2.304
Trial status: 8 TERMINATED | 1 RUNNING | 1 PENDING
Current time: 2026-01-21 17:47:24. 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: 48cfd_00006 with loss=1.2353315020799638 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00008 RUNNING 2 16 0.000364847 8 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00006 TERMINATED 128 64 0.00279322 8 10 166.082 1.23533 0.5931 │
│ train_cifar_48cfd_00007 TERMINATED 1 16 0.00114845 2 1 63.2715 2.30462 0.0964 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8028) [1, 4000] loss: 1.121
(func pid=8028) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00008_8_batch_size=8,l1=2,l2=16,lr=0.0004_2026-01-21_17-33-22/checkpoint_000000)
(func pid=8028) [2, 2000] loss: 1.920
(func pid=8028) [2026-01-21 17:47:43,455 E 8028 8063] core_worker_process.cc:837: Failed to establish connection to the metrics exporter agent. Metrics will not be exported. Exporter agent status: RpcError: Running out of retries to initialize the metrics agent. rpc_code: 14
(func pid=8028) [2, 4000] loss: 0.917
(func pid=8028) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00008_8_batch_size=8,l1=2,l2=16,lr=0.0004_2026-01-21_17-33-22/checkpoint_000001)
Trial status: 8 TERMINATED | 1 RUNNING | 1 PENDING
Current time: 2026-01-21 17:47:54. 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: 48cfd_00006 with loss=1.2353315020799638 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00008 RUNNING 2 16 0.000364847 8 2 34.4212 1.78552 0.3014 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00006 TERMINATED 128 64 0.00279322 8 10 166.082 1.23533 0.5931 │
│ train_cifar_48cfd_00007 TERMINATED 1 16 0.00114845 2 1 63.2715 2.30462 0.0964 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8028) [3, 2000] loss: 1.766
(func pid=8028) [3, 4000] loss: 0.872
(func pid=8028) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00008_8_batch_size=8,l1=2,l2=16,lr=0.0004_2026-01-21_17-33-22/checkpoint_000002)
(func pid=8028) [4, 2000] loss: 1.702
(func pid=8028) [4, 4000] loss: 0.850
(func pid=8028) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00008_8_batch_size=8,l1=2,l2=16,lr=0.0004_2026-01-21_17-33-22/checkpoint_000003)
Trial status: 8 TERMINATED | 1 RUNNING | 1 PENDING
Current time: 2026-01-21 17:48:24. 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: 48cfd_00006 with loss=1.2353315020799638 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00008 RUNNING 2 16 0.000364847 8 4 67.2229 1.66822 0.3301 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00006 TERMINATED 128 64 0.00279322 8 10 166.082 1.23533 0.5931 │
│ train_cifar_48cfd_00007 TERMINATED 1 16 0.00114845 2 1 63.2715 2.30462 0.0964 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8028) [5, 2000] loss: 1.670
(func pid=8028) [5, 4000] loss: 0.827
(func pid=8028) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00008_8_batch_size=8,l1=2,l2=16,lr=0.0004_2026-01-21_17-33-22/checkpoint_000004)
(func pid=8028) [6, 2000] loss: 1.634
(func pid=8028) [6, 4000] loss: 0.817
Trial status: 8 TERMINATED | 1 RUNNING | 1 PENDING
Current time: 2026-01-21 17:48:54. 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: 48cfd_00006 with loss=1.2353315020799638 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00008 RUNNING 2 16 0.000364847 8 5 83.5994 1.63864 0.3398 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00006 TERMINATED 128 64 0.00279322 8 10 166.082 1.23533 0.5931 │
│ train_cifar_48cfd_00007 TERMINATED 1 16 0.00114845 2 1 63.2715 2.30462 0.0964 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8028) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00008_8_batch_size=8,l1=2,l2=16,lr=0.0004_2026-01-21_17-33-22/checkpoint_000005)
(func pid=8028) [7, 2000] loss: 1.599
(func pid=8028) [7, 4000] loss: 0.803
(func pid=8028) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00008_8_batch_size=8,l1=2,l2=16,lr=0.0004_2026-01-21_17-33-22/checkpoint_000006)
(func pid=8028) [8, 2000] loss: 1.589
(func pid=8028) [8, 4000] loss: 0.797
Trial status: 8 TERMINATED | 1 RUNNING | 1 PENDING
Current time: 2026-01-21 17:49:24. 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: 48cfd_00006 with loss=1.2353315020799638 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00008 RUNNING 2 16 0.000364847 8 7 116.219 1.60738 0.3507 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00006 TERMINATED 128 64 0.00279322 8 10 166.082 1.23533 0.5931 │
│ train_cifar_48cfd_00007 TERMINATED 1 16 0.00114845 2 1 63.2715 2.30462 0.0964 │
│ train_cifar_48cfd_00009 PENDING 1 64 0.000321413 2 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_48cfd_00008 completed after 8 iterations at 2026-01-21 17:49:28. Total running time: 16min 6s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00008 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000007 │
│ time_this_iter_s 16.15975 │
│ time_total_s 132.37844 │
│ training_iteration 8 │
│ accuracy 0.3626 │
│ loss 1.58173 │
╰────────────────────────────────────────────────────────────╯
(func pid=8028) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00008_8_batch_size=8,l1=2,l2=16,lr=0.0004_2026-01-21_17-33-22/checkpoint_000007)
Trial train_cifar_48cfd_00009 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00009 config │
├──────────────────────────────────────────────────┤
│ batch_size 2 │
│ device cuda │
│ l1 1 │
│ l2 64 │
│ lr 0.00032 │
╰──────────────────────────────────────────────────╯
(func pid=8619) [1, 2000] loss: 2.308
(func pid=8619) [1, 4000] loss: 1.153
(func pid=8619) [1, 6000] loss: 0.769
Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2026-01-21 17:49:54. Total running time: 16min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 48cfd_00006 with loss=1.2353315020799638 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00009 RUNNING 1 64 0.000321413 2 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00006 TERMINATED 128 64 0.00279322 8 10 166.082 1.23533 0.5931 │
│ train_cifar_48cfd_00007 TERMINATED 1 16 0.00114845 2 1 63.2715 2.30462 0.0964 │
│ train_cifar_48cfd_00008 TERMINATED 2 16 0.000364847 8 8 132.378 1.58173 0.3626 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8619) [1, 8000] loss: 0.576
(func pid=8619) [2026-01-21 17:50:00,459 E 8619 8654] core_worker_process.cc:837: Failed to establish connection to the metrics exporter agent. Metrics will not be exported. Exporter agent status: RpcError: Running out of retries to initialize the metrics agent. rpc_code: 14
(func pid=8619) [1, 10000] loss: 0.461
(func pid=8619) [1, 12000] loss: 0.384
(func pid=8619) [1, 14000] loss: 0.323
(func pid=8619) [1, 16000] loss: 0.261
(func pid=8619) [1, 18000] loss: 0.221
Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2026-01-21 17:50:24. Total running time: 17min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 48cfd_00006 with loss=1.2353315020799638 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00009 RUNNING 1 64 0.000321413 2 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00006 TERMINATED 128 64 0.00279322 8 10 166.082 1.23533 0.5931 │
│ train_cifar_48cfd_00007 TERMINATED 1 16 0.00114845 2 1 63.2715 2.30462 0.0964 │
│ train_cifar_48cfd_00008 TERMINATED 2 16 0.000364847 8 8 132.378 1.58173 0.3626 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8619) [1, 20000] loss: 0.196
(func pid=8619) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00009_9_batch_size=2,l1=1,l2=64,lr=0.0003_2026-01-21_17-33-22/checkpoint_000000)
(func pid=8619) [2, 2000] loss: 1.947
(func pid=8619) [2, 4000] loss: 0.968
(func pid=8619) [2, 6000] loss: 0.641
Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2026-01-21 17:50:54. Total running time: 17min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 48cfd_00006 with loss=1.2353315020799638 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00009 RUNNING 1 64 0.000321413 2 1 63.8664 1.9705 0.1873 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00006 TERMINATED 128 64 0.00279322 8 10 166.082 1.23533 0.5931 │
│ train_cifar_48cfd_00007 TERMINATED 1 16 0.00114845 2 1 63.2715 2.30462 0.0964 │
│ train_cifar_48cfd_00008 TERMINATED 2 16 0.000364847 8 8 132.378 1.58173 0.3626 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8619) [2, 8000] loss: 0.475
(func pid=8619) [2, 10000] loss: 0.385
(func pid=8619) [2, 12000] loss: 0.318
(func pid=8619) [2, 14000] loss: 0.271
(func pid=8619) [2, 16000] loss: 0.237
(func pid=8619) [2, 18000] loss: 0.209
Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2026-01-21 17:51:24. 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: 48cfd_00006 with loss=1.2353315020799638 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00009 RUNNING 1 64 0.000321413 2 1 63.8664 1.9705 0.1873 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00006 TERMINATED 128 64 0.00279322 8 10 166.082 1.23533 0.5931 │
│ train_cifar_48cfd_00007 TERMINATED 1 16 0.00114845 2 1 63.2715 2.30462 0.0964 │
│ train_cifar_48cfd_00008 TERMINATED 2 16 0.000364847 8 8 132.378 1.58173 0.3626 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8619) [2, 20000] loss: 0.189
(func pid=8619) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00009_9_batch_size=2,l1=1,l2=64,lr=0.0003_2026-01-21_17-33-22/checkpoint_000001)
(func pid=8619) [3, 2000] loss: 1.878
(func pid=8619) [3, 4000] loss: 0.946
(func pid=8619) [3, 6000] loss: 0.621
Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2026-01-21 17:51:54. Total running time: 18min 32s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 48cfd_00006 with loss=1.2353315020799638 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00009 RUNNING 1 64 0.000321413 2 2 125.084 1.8519 0.2174 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00006 TERMINATED 128 64 0.00279322 8 10 166.082 1.23533 0.5931 │
│ train_cifar_48cfd_00007 TERMINATED 1 16 0.00114845 2 1 63.2715 2.30462 0.0964 │
│ train_cifar_48cfd_00008 TERMINATED 2 16 0.000364847 8 8 132.378 1.58173 0.3626 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8619) [3, 8000] loss: 0.471
(func pid=8619) [3, 10000] loss: 0.374
(func pid=8619) [3, 12000] loss: 0.311
(func pid=8619) [3, 14000] loss: 0.265
(func pid=8619) [3, 16000] loss: 0.234
Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2026-01-21 17:52:24. Total running time: 19min 2s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 48cfd_00006 with loss=1.2353315020799638 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00009 RUNNING 1 64 0.000321413 2 2 125.084 1.8519 0.2174 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00006 TERMINATED 128 64 0.00279322 8 10 166.082 1.23533 0.5931 │
│ train_cifar_48cfd_00007 TERMINATED 1 16 0.00114845 2 1 63.2715 2.30462 0.0964 │
│ train_cifar_48cfd_00008 TERMINATED 2 16 0.000364847 8 8 132.378 1.58173 0.3626 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8619) [3, 18000] loss: 0.206
(func pid=8619) [3, 20000] loss: 0.185
(func pid=8619) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00009_9_batch_size=2,l1=1,l2=64,lr=0.0003_2026-01-21_17-33-22/checkpoint_000002)
(func pid=8619) [4, 2000] loss: 1.846
(func pid=8619) [4, 4000] loss: 0.912
Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2026-01-21 17:52:54. Total running time: 19min 32s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 48cfd_00006 with loss=1.2353315020799638 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00009 RUNNING 1 64 0.000321413 2 3 187.224 1.84284 0.2455 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00006 TERMINATED 128 64 0.00279322 8 10 166.082 1.23533 0.5931 │
│ train_cifar_48cfd_00007 TERMINATED 1 16 0.00114845 2 1 63.2715 2.30462 0.0964 │
│ train_cifar_48cfd_00008 TERMINATED 2 16 0.000364847 8 8 132.378 1.58173 0.3626 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8619) [4, 6000] loss: 0.618
(func pid=8619) [4, 8000] loss: 0.458
(func pid=8619) [4, 10000] loss: 0.368
(func pid=8619) [4, 12000] loss: 0.305
(func pid=8619) [4, 14000] loss: 0.261
(func pid=8619) [4, 16000] loss: 0.228
Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2026-01-21 17:53:24. Total running time: 20min 2s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 48cfd_00006 with loss=1.2353315020799638 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00009 RUNNING 1 64 0.000321413 2 3 187.224 1.84284 0.2455 │
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00006 TERMINATED 128 64 0.00279322 8 10 166.082 1.23533 0.5931 │
│ train_cifar_48cfd_00007 TERMINATED 1 16 0.00114845 2 1 63.2715 2.30462 0.0964 │
│ train_cifar_48cfd_00008 TERMINATED 2 16 0.000364847 8 8 132.378 1.58173 0.3626 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8619) [4, 18000] loss: 0.200
(func pid=8619) [4, 20000] loss: 0.183
Trial train_cifar_48cfd_00009 completed after 4 iterations at 2026-01-21 17:53:43. Total running time: 20min 20s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_48cfd_00009 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000003 │
│ time_this_iter_s 62.35122 │
│ time_total_s 249.57543 │
│ training_iteration 4 │
│ accuracy 0.2753 │
│ loss 1.81189 │
╰────────────────────────────────────────────────────────────╯
2026-01-21 17:53:43,082 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-01-21_17-33-22' in 0.0103s.
Trial status: 10 TERMINATED
Current time: 2026-01-21 17:53:43. Total running time: 20min 20s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: 48cfd_00006 with loss=1.2353315020799638 and params={'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_48cfd_00000 TERMINATED 1 8 0.000274222 8 10 166.458 1.79776 0.2581 │
│ train_cifar_48cfd_00001 TERMINATED 2 4 0.000240911 8 10 166.848 1.56684 0.3893 │
│ train_cifar_48cfd_00002 TERMINATED 32 64 0.000158496 16 10 89.5629 1.41382 0.4844 │
│ train_cifar_48cfd_00003 TERMINATED 64 1 0.014337 8 1 18.6641 2.30637 0.0985 │
│ train_cifar_48cfd_00004 TERMINATED 256 256 0.0327759 2 1 62.9468 2.34309 0.0952 │
│ train_cifar_48cfd_00005 TERMINATED 4 256 0.00613694 2 1 63.1187 2.31385 0.0969 │
│ train_cifar_48cfd_00006 TERMINATED 128 64 0.00279322 8 10 166.082 1.23533 0.5931 │
│ train_cifar_48cfd_00007 TERMINATED 1 16 0.00114845 2 1 63.2715 2.30462 0.0964 │
│ train_cifar_48cfd_00008 TERMINATED 2 16 0.000364847 8 8 132.378 1.58173 0.3626 │
│ train_cifar_48cfd_00009 TERMINATED 1 64 0.000321413 2 4 249.575 1.81189 0.2753 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=8619) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-01-21_17-33-22/train_cifar_48cfd_00009_9_batch_size=2,l1=1,l2=64,lr=0.0003_2026-01-21_17-33-22/checkpoint_000003)
Best trial config: {'l1': 128, 'l2': 64, 'lr': 0.0027932170175005767, 'batch_size': 8, 'device': 'cuda'}
Best trial final validation loss: 1.2353315020799638
Best trial final validation accuracy: 0.5931
Best trial test set accuracy: 0.5927
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: (20 minutes 33.830 seconds)