Note
Go to the end to download the full example code.
Hyperparameter tuning with Ray Tune#
Created On: Aug 31, 2020 | Last Updated: Jun 24, 2025 | Last Verified: Nov 05, 2024
Hyperparameter tuning can make the difference between an average model and a highly accurate one. Often simple things like choosing a different learning rate or changing a network layer size can have a dramatic impact on your model performance.
Fortunately, there are tools that help with finding the best combination of parameters. Ray Tune is an industry standard tool for distributed hyperparameter tuning. Ray Tune includes the latest hyperparameter search algorithms, integrates with various analysis libraries, and natively supports distributed training through Ray’s distributed machine learning engine.
In this tutorial, we will show you how to integrate Ray Tune into your PyTorch training workflow. We will extend this tutorial from the PyTorch documentation for training a CIFAR10 image classifier.
As you will see, we only need to add some slight modifications. In particular, we need to
wrap data loading and training in functions,
make some network parameters configurable,
add checkpointing (optional),
and define the search space for the model tuning
To run this tutorial, please make sure the following packages are installed:
ray[tune]: Distributed hyperparameter tuning librarytorchvision: For the data transformers
Setup / Imports#
Let’s 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
from ray import tune
from ray import train
from ray.train import Checkpoint, get_checkpoint
from ray.tune.schedulers import ASHAScheduler
import ray.cloudpickle as pickle
Most of the imports are needed for building the PyTorch model. Only the last imports are for Ray Tune.
Data loaders#
We wrap the data loaders in their own function and pass a global data directory. This way we can share a data directory between different trials.
def load_data(data_dir="./data"):
transform = transforms.Compose(
[transforms.ToTensor(), transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))]
)
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
Configurable neural network#
We can only tune those parameters that are configurable. In this example, we can specify the layer sizes of the fully connected layers:
class Net(nn.Module):
def __init__(self, l1=120, l2=84):
super(Net, self).__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
The train function#
Now it gets interesting, because we introduce some changes to the example from the PyTorch documentation.
We wrap the training script in a function train_cifar(config, data_dir=None).
The config parameter will receive the hyperparameters we would like to
train with. The data_dir specifies the directory where we load and store the data,
so that multiple runs can share the same data source.
We also load the model and optimizer state at the start of the run, if a checkpoint
is provided. Further down in this tutorial you will find information on how
to save the checkpoint and what it is used for.
net = Net(config["l1"], config["l2"])
checkpoint = get_checkpoint()
if checkpoint:
with checkpoint.as_directory() as checkpoint_dir:
data_path = Path(checkpoint_dir) / "data.pkl"
with open(data_path, "rb") as fp:
checkpoint_state = pickle.load(fp)
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
The learning rate of the optimizer is made configurable, too:
optimizer = optim.SGD(net.parameters(), lr=config["lr"], momentum=0.9)
We also split the training data into a training and validation subset. We thus train on 80% of the data and calculate the validation loss on the remaining 20%. The batch sizes with which we iterate through the training and test sets are configurable as well.
Adding (multi) GPU support with DataParallel#
Image classification benefits largely from GPUs. Luckily, we can continue to use
PyTorch’s abstractions in Ray Tune. Thus, we can wrap our model in nn.DataParallel
to support data parallel training on multiple GPUs:
device = "cpu"
if torch.cuda.is_available():
device = "cuda:0"
if torch.cuda.device_count() > 1:
net = nn.DataParallel(net)
net.to(device)
By using a device variable we make sure that training also works when we have
no GPUs available. PyTorch requires us to send our data to the GPU memory explicitly,
like this:
for i, data in enumerate(trainloader, 0):
inputs, labels = data
inputs, labels = inputs.to(device), labels.to(device)
The code now supports training on CPUs, on a single GPU, and on multiple GPUs. Notably, Ray also supports fractional GPUs so we can share GPUs among trials, as long as the model still fits on the GPU memory. We’ll come back to that later.
Communicating with Ray Tune#
The most interesting part is the communication with Ray Tune:
checkpoint_data = {
"epoch": epoch,
"net_state_dict": net.state_dict(),
"optimizer_state_dict": optimizer.state_dict(),
}
with tempfile.TemporaryDirectory() as checkpoint_dir:
data_path = Path(checkpoint_dir) / "data.pkl"
with open(data_path, "wb") as fp:
pickle.dump(checkpoint_data, fp)
checkpoint = Checkpoint.from_directory(checkpoint_dir)
train.report(
{"loss": val_loss / val_steps, "accuracy": correct / total},
checkpoint=checkpoint,
)
Here we first save a checkpoint and then report some metrics back to Ray Tune. Specifically, we send the validation loss and accuracy back to Ray Tune. Ray Tune can then use these metrics to decide which hyperparameter configuration lead to the best results. These metrics can also be used to stop bad performing trials early in order to avoid wasting resources on those trials.
The checkpoint saving is optional, however, it is necessary if we wanted to use advanced schedulers like Population Based Training. Also, by saving the checkpoint we can later load the trained models and validate them on a test set. Lastly, saving checkpoints is useful for fault tolerance, and it allows us to interrupt training and continue training later.
Full training function#
The full code example looks like this:
def train_cifar(config, data_dir=None):
net = Net(config["l1"], config["l2"])
device = "cpu"
if torch.cuda.is_available():
device = "cuda:0"
if torch.cuda.device_count() > 1:
net = nn.DataParallel(net)
net.to(device)
criterion = nn.CrossEntropyLoss()
optimizer = optim.SGD(net.parameters(), lr=config["lr"], momentum=0.9)
checkpoint = get_checkpoint()
if checkpoint:
with checkpoint.as_directory() as checkpoint_dir:
data_path = Path(checkpoint_dir) / "data.pkl"
with open(data_path, "rb") as fp:
checkpoint_state = pickle.load(fp)
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
checkpoint_data = {
"epoch": epoch,
"net_state_dict": net.state_dict(),
"optimizer_state_dict": optimizer.state_dict(),
}
with tempfile.TemporaryDirectory() as checkpoint_dir:
data_path = Path(checkpoint_dir) / "data.pkl"
with open(data_path, "wb") as fp:
pickle.dump(checkpoint_data, fp)
checkpoint = Checkpoint.from_directory(checkpoint_dir)
train.report(
{"loss": val_loss / val_steps, "accuracy": correct / total},
checkpoint=checkpoint,
)
print("Finished Training")
As you can see, most of the code is adapted directly from the original example.
Test set accuracy#
Commonly the performance of a machine learning model is tested on a hold-out test set with data that has not been used for training the model. We also wrap this in a function:
def test_accuracy(net, device="cpu"):
trainset, testset = load_data()
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:
images, labels = data
images, labels = images.to(device), labels.to(device)
outputs = net(images)
_, predicted = torch.max(outputs.data, 1)
total += labels.size(0)
correct += (predicted == labels).sum().item()
return correct / total
The function also expects a device parameter, so we can do the
test set validation on a GPU.
Configuring the search space#
Lastly, we need to define Ray Tune’s search space. Here is an example:
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 parameters
should be powers of 2 between 4 and 256, so either 4, 8, 16, 32, 64, 128, or 256.
The lr (learning rate) should be uniformly sampled between 0.0001 and 0.1. Lastly,
the batch size is a choice between 2, 4, 8, and 16.
At each trial, Ray Tune will now randomly sample a combination of parameters from these
search spaces. It will then train a number of models in parallel and find the best
performing one among these. We also use the ASHAScheduler which will terminate bad
performing trials early.
We wrap the train_cifar function with functools.partial to set the constant
data_dir parameter. We can also tell Ray Tune what resources should be
available for each trial:
gpus_per_trial = 2
# ...
result = tune.run(
partial(train_cifar, data_dir=data_dir),
resources_per_trial={"cpu": 8, "gpu": gpus_per_trial},
config=config,
num_samples=num_samples,
scheduler=scheduler,
checkpoint_at_end=True)
You can specify the number of CPUs, which are then available e.g.
to increase the num_workers of the PyTorch DataLoader instances. The selected
number of GPUs are made visible to PyTorch in each trial. Trials do not have access to
GPUs that haven’t been requested for them - so you don’t have to care about two trials
using the same set of resources.
Here we can also specify fractional GPUs, so something like gpus_per_trial=0.5 is
completely valid. The trials will then share GPUs among each other.
You just have to make sure that the models still fit in the GPU memory.
After training the models, we will find the best performing one and load the trained network from the checkpoint file. We then obtain the test set accuracy and report everything by printing.
The full main function looks like this:
def main(num_samples=10, max_num_epochs=10, gpus_per_trial=2):
data_dir = os.path.abspath("./data")
load_data(data_dir)
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]),
}
scheduler = ASHAScheduler(
metric="loss",
mode="min",
max_t=max_num_epochs,
grace_period=1,
reduction_factor=2,
)
result = tune.run(
partial(train_cifar, data_dir=data_dir),
resources_per_trial={"cpu": 2, "gpu": gpus_per_trial},
config=config,
num_samples=num_samples,
scheduler=scheduler,
)
best_trial = result.get_best_trial("loss", "min", "last")
print(f"Best trial config: {best_trial.config}")
print(f"Best trial final validation loss: {best_trial.last_result['loss']}")
print(f"Best trial final validation accuracy: {best_trial.last_result['accuracy']}")
best_trained_model = Net(best_trial.config["l1"], best_trial.config["l2"])
device = "cpu"
if torch.cuda.is_available():
device = "cuda:0"
if gpus_per_trial > 1:
best_trained_model = nn.DataParallel(best_trained_model)
best_trained_model.to(device)
best_checkpoint = result.get_best_checkpoint(trial=best_trial, metric="accuracy", mode="max")
with best_checkpoint.as_directory() as checkpoint_dir:
data_path = Path(checkpoint_dir) / "data.pkl"
with open(data_path, "rb") as fp:
best_checkpoint_data = pickle.load(fp)
best_trained_model.load_state_dict(best_checkpoint_data["net_state_dict"])
test_acc = test_accuracy(best_trained_model, device)
print("Best trial test set accuracy: {}".format(test_acc))
if __name__ == "__main__":
# You can change the number of GPUs per trial here:
main(num_samples=10, max_num_epochs=10, gpus_per_trial=0)
0%| | 0.00/170M [00:00<?, ?B/s]
0%| | 655k/170M [00:00<00:25, 6.54MB/s]
4%|▍ | 6.46M/170M [00:00<00:04, 36.8MB/s]
9%|▉ | 15.1M/170M [00:00<00:02, 59.1MB/s]
13%|█▎ | 22.9M/170M [00:00<00:02, 66.3MB/s]
18%|█▊ | 30.7M/170M [00:00<00:01, 70.7MB/s]
23%|██▎ | 39.9M/170M [00:00<00:01, 77.8MB/s]
28%|██▊ | 47.7M/170M [00:00<00:01, 75.3MB/s]
34%|███▎ | 57.3M/170M [00:00<00:01, 81.6MB/s]
38%|███▊ | 65.5M/170M [00:00<00:01, 77.4MB/s]
44%|████▍ | 75.0M/170M [00:01<00:01, 82.8MB/s]
49%|████▉ | 83.4M/170M [00:01<00:01, 78.9MB/s]
54%|█████▍ | 92.5M/170M [00:01<00:00, 82.4MB/s]
59%|█████▉ | 101M/170M [00:01<00:00, 80.7MB/s]
64%|██████▍ | 110M/170M [00:01<00:00, 82.4MB/s]
69%|██████▉ | 118M/170M [00:01<00:00, 81.0MB/s]
74%|███████▍ | 126M/170M [00:01<00:00, 81.1MB/s]
79%|███████▉ | 135M/170M [00:01<00:00, 83.2MB/s]
84%|████████▍ | 143M/170M [00:01<00:00, 80.4MB/s]
89%|████████▉ | 153M/170M [00:01<00:00, 83.7MB/s]
94%|█████████▍| 161M/170M [00:02<00:00, 79.8MB/s]
100%|█████████▉| 170M/170M [00:02<00:00, 83.3MB/s]
100%|██████████| 170M/170M [00:02<00:00, 77.5MB/s]
2025-11-13 20:27:28,664 WARNING services.py:1889 -- WARNING: The object store is using /tmp instead of /dev/shm because /dev/shm has only 2147467264 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.
2025-11-13 20:27:29,940 INFO worker.py:1642 -- Started a local Ray instance.
2025-11-13 20:27:30,737 INFO tune.py:228 -- Initializing Ray automatically. For cluster usage or custom Ray initialization, call `ray.init(...)` before `tune.run(...)`.
2025-11-13 20:27:30,738 INFO tune.py:654 -- [output] This will use the new output engine with verbosity 2. To disable the new output and use the legacy output engine, set the environment variable RAY_AIR_NEW_OUTPUT=0. For more information, please see https://github.com/ray-project/ray/issues/36949
╭────────────────────────────────────────────────────────────────────╮
│ Configuration for experiment train_cifar_2025-11-13_20-27-30 │
├────────────────────────────────────────────────────────────────────┤
│ Search algorithm BasicVariantGenerator │
│ Scheduler AsyncHyperBandScheduler │
│ Number of trials 10 │
╰────────────────────────────────────────────────────────────────────╯
View detailed results here: /var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30
To visualize your results with TensorBoard, run: `tensorboard --logdir /var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30`
Trial status: 10 PENDING
Current time: 2025-11-13 20:27:31. 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_2dcb1_00000 PENDING 32 16 0.00281744 4 │
│ train_cifar_2dcb1_00001 PENDING 128 2 0.0163759 16 │
│ train_cifar_2dcb1_00002 PENDING 64 16 0.002631 2 │
│ train_cifar_2dcb1_00003 PENDING 16 16 0.0834615 4 │
│ train_cifar_2dcb1_00004 PENDING 4 32 0.0636816 8 │
│ train_cifar_2dcb1_00005 PENDING 2 8 0.00285436 2 │
│ train_cifar_2dcb1_00006 PENDING 4 256 0.04892 16 │
│ train_cifar_2dcb1_00007 PENDING 128 256 0.00192301 16 │
│ train_cifar_2dcb1_00008 PENDING 4 16 0.00576622 4 │
│ train_cifar_2dcb1_00009 PENDING 128 4 0.0327201 4 │
╰──────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00006 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00006 config │
├──────────────────────────────────────────────────┤
│ batch_size 16 │
│ l1 4 │
│ l2 256 │
│ lr 0.04892 │
╰──────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00004 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00004 config │
├──────────────────────────────────────────────────┤
│ batch_size 8 │
│ l1 4 │
│ l2 32 │
│ lr 0.06368 │
╰──────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00005 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00005 config │
├──────────────────────────────────────────────────┤
│ batch_size 2 │
│ l1 2 │
│ l2 8 │
│ lr 0.00285 │
╰──────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00007 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00007 config │
├──────────────────────────────────────────────────┤
│ batch_size 16 │
│ l1 128 │
│ l2 256 │
│ lr 0.00192 │
╰──────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00000 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00000 config │
├──────────────────────────────────────────────────┤
│ batch_size 4 │
│ l1 32 │
│ l2 16 │
│ lr 0.00282 │
╰──────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00001 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00001 config │
├──────────────────────────────────────────────────┤
│ batch_size 16 │
│ l1 128 │
│ l2 2 │
│ lr 0.01638 │
╰──────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00003 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00003 config │
├──────────────────────────────────────────────────┤
│ batch_size 4 │
│ l1 16 │
│ l2 16 │
│ lr 0.08346 │
╰──────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00002 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00002 config │
├──────────────────────────────────────────────────┤
│ batch_size 2 │
│ l1 64 │
│ l2 16 │
│ lr 0.00263 │
╰──────────────────────────────────────────────────╯
(func pid=3986) [1, 2000] loss: 2.155
Trial status: 8 RUNNING | 2 PENDING
Current time: 2025-11-13 20:28:01. Total running time: 30s
Logical resource usage: 16.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭──────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size │
├──────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_2dcb1_00000 RUNNING 32 16 0.00281744 4 │
│ train_cifar_2dcb1_00001 RUNNING 128 2 0.0163759 16 │
│ train_cifar_2dcb1_00002 RUNNING 64 16 0.002631 2 │
│ train_cifar_2dcb1_00003 RUNNING 16 16 0.0834615 4 │
│ train_cifar_2dcb1_00004 RUNNING 4 32 0.0636816 8 │
│ train_cifar_2dcb1_00005 RUNNING 2 8 0.00285436 2 │
│ train_cifar_2dcb1_00006 RUNNING 4 256 0.04892 16 │
│ train_cifar_2dcb1_00007 RUNNING 128 256 0.00192301 16 │
│ train_cifar_2dcb1_00008 PENDING 4 16 0.00576622 4 │
│ train_cifar_2dcb1_00009 PENDING 128 4 0.0327201 4 │
╰──────────────────────────────────────────────────────────────────────────────╯
(func pid=3986) [1, 4000] loss: 0.960 [repeated 8x 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/ray-logging.html#log-deduplication for more options.)
Trial train_cifar_2dcb1_00006 finished iteration 1 at 2025-11-13 20:28:02. Total running time: 31s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00006 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 27.04587 │
│ time_total_s 27.04587 │
│ training_iteration 1 │
│ accuracy 0.101 │
│ loss 2.30847 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00006 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000000
(func pid=3990) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000000)
Trial train_cifar_2dcb1_00001 finished iteration 1 at 2025-11-13 20:28:02. Total running time: 31s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00001 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 27.13937 │
│ time_total_s 27.13937 │
│ training_iteration 1 │
│ accuracy 0.2855 │
│ loss 1.84184 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00001 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00001_1_batch_size=16,l1=128,l2=2,lr=0.0164_2025-11-13_20-27-30/checkpoint_000000
Trial train_cifar_2dcb1_00007 finished iteration 1 at 2025-11-13 20:28:02. Total running time: 32s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00007 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 27.6159 │
│ time_total_s 27.6159 │
│ training_iteration 1 │
│ accuracy 0.413 │
│ loss 1.60225 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00007 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00007_7_batch_size=16,l1=128,l2=256,lr=0.0019_2025-11-13_20-27-30/checkpoint_000000
(func pid=3989) [1, 6000] loss: 0.675 [repeated 5x across cluster]
Trial train_cifar_2dcb1_00004 finished iteration 1 at 2025-11-13 20:28:19. Total running time: 48s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00004 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 43.94908 │
│ time_total_s 43.94908 │
│ training_iteration 1 │
│ accuracy 0.0995 │
│ loss 2.31852 │
╰────────────────────────────────────────────────────────────╯
(func pid=3988) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00004_4_batch_size=8,l1=4,l2=32,lr=0.0637_2025-11-13_20-27-30/checkpoint_000000) [repeated 3x across cluster]
Trial train_cifar_2dcb1_00004 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00004_4_batch_size=8,l1=4,l2=32,lr=0.0637_2025-11-13_20-27-30/checkpoint_000000
Trial train_cifar_2dcb1_00004 completed after 1 iterations at 2025-11-13 20:28:19. Total running time: 48s
Trial train_cifar_2dcb1_00008 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00008 config │
├──────────────────────────────────────────────────┤
│ batch_size 4 │
│ l1 4 │
│ l2 16 │
│ lr 0.00577 │
╰──────────────────────────────────────────────────╯
(func pid=3985) [2, 2000] loss: 1.803 [repeated 4x across cluster]
Trial train_cifar_2dcb1_00006 finished iteration 2 at 2025-11-13 20:28:27. Total running time: 56s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00006 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000001 │
│ time_this_iter_s 25.34133 │
│ time_total_s 52.38719 │
│ training_iteration 2 │
│ accuracy 0.0999 │
│ loss 2.31008 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00006 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000001
(func pid=3990) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000001)
Trial train_cifar_2dcb1_00001 finished iteration 2 at 2025-11-13 20:28:28. Total running time: 57s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00001 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000001 │
│ time_this_iter_s 25.88283 │
│ time_total_s 53.0222 │
│ training_iteration 2 │
│ accuracy 0.3125 │
│ loss 1.77238 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00001 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00001_1_batch_size=16,l1=128,l2=2,lr=0.0164_2025-11-13_20-27-30/checkpoint_000001
(func pid=3985) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00001_1_batch_size=16,l1=128,l2=2,lr=0.0164_2025-11-13_20-27-30/checkpoint_000001)
Trial train_cifar_2dcb1_00007 finished iteration 2 at 2025-11-13 20:28:29. Total running time: 58s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00007 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000001 │
│ time_this_iter_s 26.03102 │
│ time_total_s 53.64692 │
│ training_iteration 2 │
│ accuracy 0.4966 │
│ loss 1.38116 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00007 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00007_7_batch_size=16,l1=128,l2=256,lr=0.0019_2025-11-13_20-27-30/checkpoint_000001
Trial status: 8 RUNNING | 1 TERMINATED | 1 PENDING
Current time: 2025-11-13 20:28:31. Total running time: 1min 0s
Logical resource usage: 16.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_2dcb1_00000 RUNNING 32 16 0.00281744 4 │
│ train_cifar_2dcb1_00001 RUNNING 128 2 0.0163759 16 2 53.0222 1.77238 0.3125 │
│ train_cifar_2dcb1_00002 RUNNING 64 16 0.002631 2 │
│ train_cifar_2dcb1_00003 RUNNING 16 16 0.0834615 4 │
│ train_cifar_2dcb1_00005 RUNNING 2 8 0.00285436 2 │
│ train_cifar_2dcb1_00006 RUNNING 4 256 0.04892 16 2 52.3872 2.31008 0.0999 │
│ train_cifar_2dcb1_00007 RUNNING 128 256 0.00192301 16 2 53.6469 1.38116 0.4966 │
│ train_cifar_2dcb1_00008 RUNNING 4 16 0.00576622 4 │
│ train_cifar_2dcb1_00004 TERMINATED 4 32 0.0636816 8 1 43.9491 2.31852 0.0995 │
│ train_cifar_2dcb1_00009 PENDING 128 4 0.0327201 4 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=3989) [1, 10000] loss: 0.399 [repeated 7x across cluster]
(func pid=3990) [3, 2000] loss: 2.310 [repeated 5x across cluster]
Trial train_cifar_2dcb1_00003 finished iteration 1 at 2025-11-13 20:28:48. Total running time: 1min 17s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00003 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 72.70859 │
│ time_total_s 72.70859 │
│ training_iteration 1 │
│ accuracy 0.1017 │
│ loss 2.33119 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00003 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00003_3_batch_size=4,l1=16,l2=16,lr=0.0835_2025-11-13_20-27-30/checkpoint_000000
Trial train_cifar_2dcb1_00003 completed after 1 iterations at 2025-11-13 20:28:48. Total running time: 1min 17s
Trial train_cifar_2dcb1_00009 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00009 config │
├──────────────────────────────────────────────────┤
│ batch_size 4 │
│ l1 128 │
│ l2 4 │
│ lr 0.03272 │
╰──────────────────────────────────────────────────╯
(func pid=3987) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00003_3_batch_size=4,l1=16,l2=16,lr=0.0835_2025-11-13_20-27-30/checkpoint_000000) [repeated 2x across cluster]
Trial train_cifar_2dcb1_00000 finished iteration 1 at 2025-11-13 20:28:48. Total running time: 1min 17s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00000 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 73.43734 │
│ time_total_s 73.43734 │
│ training_iteration 1 │
│ accuracy 0.4405 │
│ loss 1.54477 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00000 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000000
Trial train_cifar_2dcb1_00006 finished iteration 3 at 2025-11-13 20:28:51. Total running time: 1min 21s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00006 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000002 │
│ time_this_iter_s 24.29616 │
│ time_total_s 76.68335 │
│ training_iteration 3 │
│ accuracy 0.0976 │
│ loss 2.30625 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00006 saved a checkpoint for iteration 3 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000002
Trial train_cifar_2dcb1_00001 finished iteration 3 at 2025-11-13 20:28:52. Total running time: 1min 21s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00001 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000002 │
│ time_this_iter_s 24.04653 │
│ time_total_s 77.06873 │
│ training_iteration 3 │
│ accuracy 0.3098 │
│ loss 1.81065 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00001 saved a checkpoint for iteration 3 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00001_1_batch_size=16,l1=128,l2=2,lr=0.0164_2025-11-13_20-27-30/checkpoint_000002
(func pid=3989) [1, 14000] loss: 0.281 [repeated 6x across cluster]
Trial train_cifar_2dcb1_00007 finished iteration 3 at 2025-11-13 20:28:53. Total running time: 1min 23s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00007 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000002 │
│ time_this_iter_s 24.78038 │
│ time_total_s 78.42731 │
│ training_iteration 3 │
│ accuracy 0.5407 │
│ loss 1.2779 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00007 saved a checkpoint for iteration 3 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00007_7_batch_size=16,l1=128,l2=256,lr=0.0019_2025-11-13_20-27-30/checkpoint_000002
(func pid=3991) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00007_7_batch_size=16,l1=128,l2=256,lr=0.0019_2025-11-13_20-27-30/checkpoint_000002) [repeated 4x across cluster]
Trial status: 8 RUNNING | 2 TERMINATED
Current time: 2025-11-13 20:29:01. Total running time: 1min 30s
Logical resource usage: 16.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_2dcb1_00000 RUNNING 32 16 0.00281744 4 1 73.4373 1.54477 0.4405 │
│ train_cifar_2dcb1_00001 RUNNING 128 2 0.0163759 16 3 77.0687 1.81065 0.3098 │
│ train_cifar_2dcb1_00002 RUNNING 64 16 0.002631 2 │
│ train_cifar_2dcb1_00005 RUNNING 2 8 0.00285436 2 │
│ train_cifar_2dcb1_00006 RUNNING 4 256 0.04892 16 3 76.6833 2.30625 0.0976 │
│ train_cifar_2dcb1_00007 RUNNING 128 256 0.00192301 16 3 78.4273 1.2779 0.5407 │
│ train_cifar_2dcb1_00008 RUNNING 4 16 0.00576622 4 │
│ train_cifar_2dcb1_00009 RUNNING 128 4 0.0327201 4 │
│ train_cifar_2dcb1_00003 TERMINATED 16 16 0.0834615 4 1 72.7086 2.33119 0.1017 │
│ train_cifar_2dcb1_00004 TERMINATED 4 32 0.0636816 8 1 43.9491 2.31852 0.0995 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=3984) [2, 2000] loss: 1.541 [repeated 3x across cluster]
(func pid=3985) [4, 2000] loss: 1.742 [repeated 6x across cluster]
(func pid=3984) [2, 4000] loss: 0.755 [repeated 2x across cluster]
Trial train_cifar_2dcb1_00006 finished iteration 4 at 2025-11-13 20:29:16. Total running time: 1min 45s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00006 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000003 │
│ time_this_iter_s 24.6038 │
│ time_total_s 101.28715 │
│ training_iteration 4 │
│ accuracy 0.0976 │
│ loss 2.31242 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00006 saved a checkpoint for iteration 4 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000003
(func pid=3990) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000003)
Trial train_cifar_2dcb1_00001 finished iteration 4 at 2025-11-13 20:29:17. Total running time: 1min 46s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00001 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000003 │
│ time_this_iter_s 25.18849 │
│ time_total_s 102.25722 │
│ training_iteration 4 │
│ accuracy 0.3349 │
│ loss 1.72882 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00001 saved a checkpoint for iteration 4 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00001_1_batch_size=16,l1=128,l2=2,lr=0.0164_2025-11-13_20-27-30/checkpoint_000003
(func pid=3985) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00001_1_batch_size=16,l1=128,l2=2,lr=0.0164_2025-11-13_20-27-30/checkpoint_000003)
Trial train_cifar_2dcb1_00007 finished iteration 4 at 2025-11-13 20:29:20. Total running time: 1min 50s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00007 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000003 │
│ time_this_iter_s 27.0286 │
│ time_total_s 105.4559 │
│ training_iteration 4 │
│ accuracy 0.5543 │
│ loss 1.23597 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00007 saved a checkpoint for iteration 4 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00007_7_batch_size=16,l1=128,l2=256,lr=0.0019_2025-11-13_20-27-30/checkpoint_000003
(func pid=3984) [2, 6000] loss: 0.502 [repeated 5x across cluster]
Trial train_cifar_2dcb1_00008 finished iteration 1 at 2025-11-13 20:29:30. Total running time: 2min 0s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00008 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 71.51049 │
│ time_total_s 71.51049 │
│ training_iteration 1 │
│ accuracy 0.2954 │
│ loss 1.88403 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00008 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00008_8_batch_size=4,l1=4,l2=16,lr=0.0058_2025-11-13_20-27-30/checkpoint_000000
(func pid=3988) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00008_8_batch_size=4,l1=4,l2=16,lr=0.0058_2025-11-13_20-27-30/checkpoint_000000) [repeated 2x across cluster]
Trial status: 8 RUNNING | 2 TERMINATED
Current time: 2025-11-13 20:29:31. Total running time: 2min 0s
Logical resource usage: 16.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_2dcb1_00000 RUNNING 32 16 0.00281744 4 1 73.4373 1.54477 0.4405 │
│ train_cifar_2dcb1_00001 RUNNING 128 2 0.0163759 16 4 102.257 1.72882 0.3349 │
│ train_cifar_2dcb1_00002 RUNNING 64 16 0.002631 2 │
│ train_cifar_2dcb1_00005 RUNNING 2 8 0.00285436 2 │
│ train_cifar_2dcb1_00006 RUNNING 4 256 0.04892 16 4 101.287 2.31242 0.0976 │
│ train_cifar_2dcb1_00007 RUNNING 128 256 0.00192301 16 4 105.456 1.23597 0.5543 │
│ train_cifar_2dcb1_00008 RUNNING 4 16 0.00576622 4 1 71.5105 1.88403 0.2954 │
│ train_cifar_2dcb1_00009 RUNNING 128 4 0.0327201 4 │
│ train_cifar_2dcb1_00003 TERMINATED 16 16 0.0834615 4 1 72.7086 2.33119 0.1017 │
│ train_cifar_2dcb1_00004 TERMINATED 4 32 0.0636816 8 1 43.9491 2.31852 0.0995 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=3990) [5, 2000] loss: 2.310 [repeated 4x across cluster]
(func pid=3991) [5, 2000] loss: 1.139 [repeated 4x across cluster]
Trial train_cifar_2dcb1_00006 finished iteration 5 at 2025-11-13 20:29:40. Total running time: 2min 9s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00006 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000004 │
│ time_this_iter_s 23.60276 │
│ time_total_s 124.88991 │
│ training_iteration 5 │
│ accuracy 0.101 │
│ loss 2.30722 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00006 saved a checkpoint for iteration 5 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000004
(func pid=3990) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000004)
Trial train_cifar_2dcb1_00001 finished iteration 5 at 2025-11-13 20:29:41. Total running time: 2min 10s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00001 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000004 │
│ time_this_iter_s 23.65375 │
│ time_total_s 125.91097 │
│ training_iteration 5 │
│ accuracy 0.3384 │
│ loss 1.79685 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00001 saved a checkpoint for iteration 5 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00001_1_batch_size=16,l1=128,l2=2,lr=0.0164_2025-11-13_20-27-30/checkpoint_000004
(func pid=3985) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00001_1_batch_size=16,l1=128,l2=2,lr=0.0164_2025-11-13_20-27-30/checkpoint_000004)
(func pid=3988) [2, 2000] loss: 1.910
(func pid=3984) [2, 10000] loss: 0.296
Trial train_cifar_2dcb1_00007 finished iteration 5 at 2025-11-13 20:29:45. Total running time: 2min 15s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00007 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000004 │
│ time_this_iter_s 25.00924 │
│ time_total_s 130.46515 │
│ training_iteration 5 │
│ accuracy 0.5949 │
│ loss 1.14968 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00007 saved a checkpoint for iteration 5 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00007_7_batch_size=16,l1=128,l2=256,lr=0.0019_2025-11-13_20-27-30/checkpoint_000004
Trial train_cifar_2dcb1_00005 finished iteration 1 at 2025-11-13 20:29:48. Total running time: 2min 17s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00005 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 133.27199 │
│ time_total_s 133.27199 │
│ training_iteration 1 │
│ accuracy 0.1603 │
│ loss 2.20372 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00005 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00005_5_batch_size=2,l1=2,l2=8,lr=0.0029_2025-11-13_20-27-30/checkpoint_000000
Trial train_cifar_2dcb1_00005 completed after 1 iterations at 2025-11-13 20:29:48. Total running time: 2min 17s
(func pid=3989) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00005_5_batch_size=2,l1=2,l2=8,lr=0.0029_2025-11-13_20-27-30/checkpoint_000000) [repeated 2x across cluster]
Trial train_cifar_2dcb1_00002 finished iteration 1 at 2025-11-13 20:29:50. Total running time: 2min 19s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00002 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 135.20299 │
│ time_total_s 135.20299 │
│ training_iteration 1 │
│ accuracy 0.3747 │
│ loss 1.71212 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00002 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00002_2_batch_size=2,l1=64,l2=16,lr=0.0026_2025-11-13_20-27-30/checkpoint_000000
(func pid=3988) [2, 4000] loss: 0.945 [repeated 2x across cluster]
Trial train_cifar_2dcb1_00000 finished iteration 2 at 2025-11-13 20:29:58. Total running time: 2min 27s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00000 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000001 │
│ time_this_iter_s 69.22281 │
│ time_total_s 142.66014 │
│ training_iteration 2 │
│ accuracy 0.4483 │
│ loss 1.50471 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00000 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000001
(func pid=3984) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000001) [repeated 2x across cluster]
Trial train_cifar_2dcb1_00009 finished iteration 1 at 2025-11-13 20:30:00. Total running time: 2min 30s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00009 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 72.55466 │
│ time_total_s 72.55466 │
│ training_iteration 1 │
│ accuracy 0.1025 │
│ loss 2.31394 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00009 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00009_9_batch_size=4,l1=128,l2=4,lr=0.0327_2025-11-13_20-27-30/checkpoint_000000
Trial train_cifar_2dcb1_00009 completed after 1 iterations at 2025-11-13 20:30:00. Total running time: 2min 30s
(func pid=3991) [6, 2000] loss: 1.065 [repeated 3x across cluster]
Trial train_cifar_2dcb1_00006 finished iteration 6 at 2025-11-13 20:30:01. Total running time: 2min 30s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00006 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000005 │
│ time_this_iter_s 21.02546 │
│ time_total_s 145.91537 │
│ training_iteration 6 │
│ accuracy 0.0999 │
│ loss 2.30572 │
╰────────────────────────────────────────────────────────────╯
Trial status: 6 RUNNING | 4 TERMINATED
Current time: 2025-11-13 20:30:01. Total running time: 2min 30s
Logical resource usage: 12.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_2dcb1_00000 RUNNING 32 16 0.00281744 4 2 142.66 1.50471 0.4483 │
│ train_cifar_2dcb1_00001 RUNNING 128 2 0.0163759 16 5 125.911 1.79685 0.3384 │
│ train_cifar_2dcb1_00002 RUNNING 64 16 0.002631 2 1 135.203 1.71212 0.3747 │
│ train_cifar_2dcb1_00006 RUNNING 4 256 0.04892 16 6 145.915 2.30572 0.0999 │
│ train_cifar_2dcb1_00007 RUNNING 128 256 0.00192301 16 5 130.465 1.14968 0.5949 │
│ train_cifar_2dcb1_00008 RUNNING 4 16 0.00576622 4 1 71.5105 1.88403 0.2954 │
│ train_cifar_2dcb1_00003 TERMINATED 16 16 0.0834615 4 1 72.7086 2.33119 0.1017 │
│ train_cifar_2dcb1_00004 TERMINATED 4 32 0.0636816 8 1 43.9491 2.31852 0.0995 │
│ train_cifar_2dcb1_00005 TERMINATED 2 8 0.00285436 2 1 133.272 2.20372 0.1603 │
│ train_cifar_2dcb1_00009 TERMINATED 128 4 0.0327201 4 1 72.5547 2.31394 0.1025 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00006 saved a checkpoint for iteration 6 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000005
Trial train_cifar_2dcb1_00001 finished iteration 6 at 2025-11-13 20:30:02. Total running time: 2min 31s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00001 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000005 │
│ time_this_iter_s 21.02093 │
│ time_total_s 146.9319 │
│ training_iteration 6 │
│ accuracy 0.3686 │
│ loss 1.74514 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00001 saved a checkpoint for iteration 6 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00001_1_batch_size=16,l1=128,l2=2,lr=0.0164_2025-11-13_20-27-30/checkpoint_000005
Trial train_cifar_2dcb1_00007 finished iteration 6 at 2025-11-13 20:30:06. Total running time: 2min 35s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00007 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000005 │
│ time_this_iter_s 20.59096 │
│ time_total_s 151.05611 │
│ training_iteration 6 │
│ accuracy 0.5999 │
│ loss 1.14008 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00007 saved a checkpoint for iteration 6 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00007_7_batch_size=16,l1=128,l2=256,lr=0.0019_2025-11-13_20-27-30/checkpoint_000005
(func pid=3991) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00007_7_batch_size=16,l1=128,l2=256,lr=0.0019_2025-11-13_20-27-30/checkpoint_000005) [repeated 4x across cluster]
(func pid=3984) [3, 2000] loss: 1.438 [repeated 3x across cluster]
(func pid=3985) [7, 2000] loss: 1.699 [repeated 4x across cluster]
Trial train_cifar_2dcb1_00006 finished iteration 7 at 2025-11-13 20:30:20. Total running time: 2min 49s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00006 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000006 │
│ time_this_iter_s 19.08261 │
│ time_total_s 164.99798 │
│ training_iteration 7 │
│ accuracy 0.0981 │
│ loss 2.31828 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00006 saved a checkpoint for iteration 7 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000006
(func pid=3990) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000006)
(func pid=3991) [7, 2000] loss: 0.997 [repeated 3x across cluster]
Trial train_cifar_2dcb1_00001 finished iteration 7 at 2025-11-13 20:30:20. Total running time: 2min 50s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00001 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000006 │
│ time_this_iter_s 18.49515 │
│ time_total_s 165.42705 │
│ training_iteration 7 │
│ accuracy 0.3518 │
│ loss 1.72856 │
╰────────────────────────────────────────────────────────────╯
(func pid=3985) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00001_1_batch_size=16,l1=128,l2=2,lr=0.0164_2025-11-13_20-27-30/checkpoint_000006)
Trial train_cifar_2dcb1_00001 saved a checkpoint for iteration 7 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00001_1_batch_size=16,l1=128,l2=2,lr=0.0164_2025-11-13_20-27-30/checkpoint_000006
Trial train_cifar_2dcb1_00007 finished iteration 7 at 2025-11-13 20:30:25. Total running time: 2min 55s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00007 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000006 │
│ time_this_iter_s 19.45663 │
│ time_total_s 170.51274 │
│ training_iteration 7 │
│ accuracy 0.615 │
│ loss 1.09914 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00007 saved a checkpoint for iteration 7 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00007_7_batch_size=16,l1=128,l2=256,lr=0.0019_2025-11-13_20-27-30/checkpoint_000006
(func pid=3991) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00007_7_batch_size=16,l1=128,l2=256,lr=0.0019_2025-11-13_20-27-30/checkpoint_000006)
(func pid=3986) [2, 8000] loss: 0.424 [repeated 2x across cluster]
Trial status: 6 RUNNING | 4 TERMINATED
Current time: 2025-11-13 20:30:31. Total running time: 3min 0s
Logical resource usage: 12.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_2dcb1_00000 RUNNING 32 16 0.00281744 4 2 142.66 1.50471 0.4483 │
│ train_cifar_2dcb1_00001 RUNNING 128 2 0.0163759 16 7 165.427 1.72856 0.3518 │
│ train_cifar_2dcb1_00002 RUNNING 64 16 0.002631 2 1 135.203 1.71212 0.3747 │
│ train_cifar_2dcb1_00006 RUNNING 4 256 0.04892 16 7 164.998 2.31828 0.0981 │
│ train_cifar_2dcb1_00007 RUNNING 128 256 0.00192301 16 7 170.513 1.09914 0.615 │
│ train_cifar_2dcb1_00008 RUNNING 4 16 0.00576622 4 1 71.5105 1.88403 0.2954 │
│ train_cifar_2dcb1_00003 TERMINATED 16 16 0.0834615 4 1 72.7086 2.33119 0.1017 │
│ train_cifar_2dcb1_00004 TERMINATED 4 32 0.0636816 8 1 43.9491 2.31852 0.0995 │
│ train_cifar_2dcb1_00005 TERMINATED 2 8 0.00285436 2 1 133.272 2.20372 0.1603 │
│ train_cifar_2dcb1_00009 TERMINATED 128 4 0.0327201 4 1 72.5547 2.31394 0.1025 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00008 finished iteration 2 at 2025-11-13 20:30:32. Total running time: 3min 1s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00008 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000001 │
│ time_this_iter_s 61.23812 │
│ time_total_s 132.74861 │
│ training_iteration 2 │
│ accuracy 0.2585 │
│ loss 1.9625 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00008 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00008_8_batch_size=4,l1=4,l2=16,lr=0.0058_2025-11-13_20-27-30/checkpoint_000001
Trial train_cifar_2dcb1_00008 completed after 2 iterations at 2025-11-13 20:30:32. Total running time: 3min 1s
(func pid=3988) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00008_8_batch_size=4,l1=4,l2=16,lr=0.0058_2025-11-13_20-27-30/checkpoint_000001)
(func pid=3990) [8, 2000] loss: 2.310 [repeated 2x across cluster]
Trial train_cifar_2dcb1_00006 finished iteration 8 at 2025-11-13 20:30:38. Total running time: 3min 7s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00006 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000007 │
│ time_this_iter_s 18.19086 │
│ time_total_s 183.18884 │
│ training_iteration 8 │
│ accuracy 0.0999 │
│ loss 2.31107 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00006 saved a checkpoint for iteration 8 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000007
(func pid=3990) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000007)
Trial train_cifar_2dcb1_00001 finished iteration 8 at 2025-11-13 20:30:39. Total running time: 3min 8s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00001 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000007 │
│ time_this_iter_s 18.21903 │
│ time_total_s 183.64608 │
│ training_iteration 8 │
│ accuracy 0.336 │
│ loss 1.76833 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00001 saved a checkpoint for iteration 8 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00001_1_batch_size=16,l1=128,l2=2,lr=0.0164_2025-11-13_20-27-30/checkpoint_000007
(func pid=3985) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00001_1_batch_size=16,l1=128,l2=2,lr=0.0164_2025-11-13_20-27-30/checkpoint_000007)
(func pid=3991) [8, 2000] loss: 0.937 [repeated 4x across cluster]
Trial train_cifar_2dcb1_00007 finished iteration 8 at 2025-11-13 20:30:44. Total running time: 3min 13s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00007 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000007 │
│ time_this_iter_s 18.46476 │
│ time_total_s 188.9775 │
│ training_iteration 8 │
│ accuracy 0.6203 │
│ loss 1.09276 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00007 saved a checkpoint for iteration 8 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00007_7_batch_size=16,l1=128,l2=256,lr=0.0019_2025-11-13_20-27-30/checkpoint_000007
(func pid=3991) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00007_7_batch_size=16,l1=128,l2=256,lr=0.0019_2025-11-13_20-27-30/checkpoint_000007)
(func pid=3990) [9, 2000] loss: 2.310 [repeated 3x across cluster]
Trial train_cifar_2dcb1_00000 finished iteration 3 at 2025-11-13 20:30:52. Total running time: 3min 21s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00000 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000002 │
│ time_this_iter_s 54.21344 │
│ time_total_s 196.87358 │
│ training_iteration 3 │
│ accuracy 0.5012 │
│ loss 1.40321 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00000 saved a checkpoint for iteration 3 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000002
(func pid=3984) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000002)
Trial train_cifar_2dcb1_00006 finished iteration 9 at 2025-11-13 20:30:55. Total running time: 3min 24s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00006 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000008 │
│ time_this_iter_s 16.58306 │
│ time_total_s 199.7719 │
│ training_iteration 9 │
│ accuracy 0.0999 │
│ loss 2.30834 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00006 saved a checkpoint for iteration 9 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000008
Trial train_cifar_2dcb1_00001 finished iteration 9 at 2025-11-13 20:30:56. Total running time: 3min 25s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00001 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000008 │
│ time_this_iter_s 17.00539 │
│ time_total_s 200.65146 │
│ training_iteration 9 │
│ accuracy 0.3524 │
│ loss 1.69919 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00001 saved a checkpoint for iteration 9 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00001_1_batch_size=16,l1=128,l2=2,lr=0.0164_2025-11-13_20-27-30/checkpoint_000008
(func pid=3991) [9, 2000] loss: 0.891 [repeated 3x across cluster]
Trial status: 5 RUNNING | 5 TERMINATED
Current time: 2025-11-13 20:31:01. Total running time: 3min 30s
Logical resource usage: 10.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_2dcb1_00000 RUNNING 32 16 0.00281744 4 3 196.874 1.40321 0.5012 │
│ train_cifar_2dcb1_00001 RUNNING 128 2 0.0163759 16 9 200.651 1.69919 0.3524 │
│ train_cifar_2dcb1_00002 RUNNING 64 16 0.002631 2 1 135.203 1.71212 0.3747 │
│ train_cifar_2dcb1_00006 RUNNING 4 256 0.04892 16 9 199.772 2.30834 0.0999 │
│ train_cifar_2dcb1_00007 RUNNING 128 256 0.00192301 16 8 188.977 1.09276 0.6203 │
│ train_cifar_2dcb1_00003 TERMINATED 16 16 0.0834615 4 1 72.7086 2.33119 0.1017 │
│ train_cifar_2dcb1_00004 TERMINATED 4 32 0.0636816 8 1 43.9491 2.31852 0.0995 │
│ train_cifar_2dcb1_00005 TERMINATED 2 8 0.00285436 2 1 133.272 2.20372 0.1603 │
│ train_cifar_2dcb1_00008 TERMINATED 4 16 0.00576622 4 2 132.749 1.9625 0.2585 │
│ train_cifar_2dcb1_00009 TERMINATED 128 4 0.0327201 4 1 72.5547 2.31394 0.1025 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00007 finished iteration 9 at 2025-11-13 20:31:01. Total running time: 3min 31s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00007 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000008 │
│ time_this_iter_s 17.54963 │
│ time_total_s 206.52712 │
│ training_iteration 9 │
│ accuracy 0.6125 │
│ loss 1.13469 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00007 saved a checkpoint for iteration 9 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00007_7_batch_size=16,l1=128,l2=256,lr=0.0019_2025-11-13_20-27-30/checkpoint_000008
(func pid=3991) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00007_7_batch_size=16,l1=128,l2=256,lr=0.0019_2025-11-13_20-27-30/checkpoint_000008) [repeated 3x across cluster]
(func pid=3986) [2, 18000] loss: 0.188 [repeated 3x across cluster]
Trial train_cifar_2dcb1_00006 finished iteration 10 at 2025-11-13 20:31:11. Total running time: 3min 41s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00006 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 16.75317 │
│ time_total_s 216.52507 │
│ training_iteration 10 │
│ accuracy 0.0999 │
│ loss 2.30819 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00006 saved a checkpoint for iteration 10 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000009
Trial train_cifar_2dcb1_00006 completed after 10 iterations at 2025-11-13 20:31:11. Total running time: 3min 41s
(func pid=3990) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00006_6_batch_size=16,l1=4,l2=256,lr=0.0489_2025-11-13_20-27-30/checkpoint_000009)
Trial train_cifar_2dcb1_00001 finished iteration 10 at 2025-11-13 20:31:13. Total running time: 3min 42s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00001 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 16.88397 │
│ time_total_s 217.53543 │
│ training_iteration 10 │
│ accuracy 0.3527 │
│ loss 1.76473 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00001 saved a checkpoint for iteration 10 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00001_1_batch_size=16,l1=128,l2=2,lr=0.0164_2025-11-13_20-27-30/checkpoint_000009
Trial train_cifar_2dcb1_00001 completed after 10 iterations at 2025-11-13 20:31:13. Total running time: 3min 42s
(func pid=3985) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00001_1_batch_size=16,l1=128,l2=2,lr=0.0164_2025-11-13_20-27-30/checkpoint_000009)
(func pid=3986) [2, 20000] loss: 0.170 [repeated 4x across cluster]
Trial train_cifar_2dcb1_00007 finished iteration 10 at 2025-11-13 20:31:18. Total running time: 3min 47s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00007 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 16.15758 │
│ time_total_s 222.6847 │
│ training_iteration 10 │
│ accuracy 0.6099 │
│ loss 1.13539 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00007 saved a checkpoint for iteration 10 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00007_7_batch_size=16,l1=128,l2=256,lr=0.0019_2025-11-13_20-27-30/checkpoint_000009
Trial train_cifar_2dcb1_00007 completed after 10 iterations at 2025-11-13 20:31:18. Total running time: 3min 47s
(func pid=3991) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00007_7_batch_size=16,l1=128,l2=256,lr=0.0019_2025-11-13_20-27-30/checkpoint_000009)
(func pid=3984) [4, 8000] loss: 0.347 [repeated 3x across cluster]
Trial train_cifar_2dcb1_00002 finished iteration 2 at 2025-11-13 20:31:22. Total running time: 3min 52s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00002 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000001 │
│ time_this_iter_s 92.25074 │
│ time_total_s 227.45372 │
│ training_iteration 2 │
│ accuracy 0.3765 │
│ loss 1.71743 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00002 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00002_2_batch_size=2,l1=64,l2=16,lr=0.0026_2025-11-13_20-27-30/checkpoint_000001
(func pid=3986) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00002_2_batch_size=2,l1=64,l2=16,lr=0.0026_2025-11-13_20-27-30/checkpoint_000001)
(func pid=3984) [4, 10000] loss: 0.284
(func pid=3986) [3, 2000] loss: 1.662
Trial status: 2 RUNNING | 8 TERMINATED
Current time: 2025-11-13 20:31:31. Total running time: 4min 0s
Logical resource usage: 4.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_2dcb1_00000 RUNNING 32 16 0.00281744 4 3 196.874 1.40321 0.5012 │
│ train_cifar_2dcb1_00002 RUNNING 64 16 0.002631 2 2 227.454 1.71743 0.3765 │
│ train_cifar_2dcb1_00001 TERMINATED 128 2 0.0163759 16 10 217.535 1.76473 0.3527 │
│ train_cifar_2dcb1_00003 TERMINATED 16 16 0.0834615 4 1 72.7086 2.33119 0.1017 │
│ train_cifar_2dcb1_00004 TERMINATED 4 32 0.0636816 8 1 43.9491 2.31852 0.0995 │
│ train_cifar_2dcb1_00005 TERMINATED 2 8 0.00285436 2 1 133.272 2.20372 0.1603 │
│ train_cifar_2dcb1_00006 TERMINATED 4 256 0.04892 16 10 216.525 2.30819 0.0999 │
│ train_cifar_2dcb1_00007 TERMINATED 128 256 0.00192301 16 10 222.685 1.13539 0.6099 │
│ train_cifar_2dcb1_00008 TERMINATED 4 16 0.00576622 4 2 132.749 1.9625 0.2585 │
│ train_cifar_2dcb1_00009 TERMINATED 128 4 0.0327201 4 1 72.5547 2.31394 0.1025 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00000 finished iteration 4 at 2025-11-13 20:31:32. Total running time: 4min 2s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00000 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000003 │
│ time_this_iter_s 40.58185 │
│ time_total_s 237.45543 │
│ training_iteration 4 │
│ accuracy 0.4958 │
│ loss 1.44184 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00000 saved a checkpoint for iteration 4 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000003
(func pid=3984) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000003)
(func pid=3986) [3, 4000] loss: 0.827
(func pid=3984) [5, 2000] loss: 1.360
(func pid=3984) [5, 4000] loss: 0.690 [repeated 2x across cluster]
(func pid=3986) [3, 10000] loss: 0.338 [repeated 2x across cluster]
(func pid=3986) [3, 12000] loss: 0.279 [repeated 2x across cluster]
(func pid=3986) [3, 14000] loss: 0.241 [repeated 2x across cluster]
Trial status: 2 RUNNING | 8 TERMINATED
Current time: 2025-11-13 20:32:01. Total running time: 4min 30s
Logical resource usage: 4.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_2dcb1_00000 RUNNING 32 16 0.00281744 4 4 237.455 1.44184 0.4958 │
│ train_cifar_2dcb1_00002 RUNNING 64 16 0.002631 2 2 227.454 1.71743 0.3765 │
│ train_cifar_2dcb1_00001 TERMINATED 128 2 0.0163759 16 10 217.535 1.76473 0.3527 │
│ train_cifar_2dcb1_00003 TERMINATED 16 16 0.0834615 4 1 72.7086 2.33119 0.1017 │
│ train_cifar_2dcb1_00004 TERMINATED 4 32 0.0636816 8 1 43.9491 2.31852 0.0995 │
│ train_cifar_2dcb1_00005 TERMINATED 2 8 0.00285436 2 1 133.272 2.20372 0.1603 │
│ train_cifar_2dcb1_00006 TERMINATED 4 256 0.04892 16 10 216.525 2.30819 0.0999 │
│ train_cifar_2dcb1_00007 TERMINATED 128 256 0.00192301 16 10 222.685 1.13539 0.6099 │
│ train_cifar_2dcb1_00008 TERMINATED 4 16 0.00576622 4 2 132.749 1.9625 0.2585 │
│ train_cifar_2dcb1_00009 TERMINATED 128 4 0.0327201 4 1 72.5547 2.31394 0.1025 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=3986) [3, 16000] loss: 0.211 [repeated 2x across cluster]
Trial train_cifar_2dcb1_00000 finished iteration 5 at 2025-11-13 20:32:07. Total running time: 4min 36s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00000 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000004 │
│ time_this_iter_s 34.92218 │
│ time_total_s 272.37761 │
│ training_iteration 5 │
│ accuracy 0.5024 │
│ loss 1.43781 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00000 saved a checkpoint for iteration 5 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000004
(func pid=3984) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000004)
(func pid=3986) [3, 18000] loss: 0.188
(func pid=3984) [6, 2000] loss: 1.320
(func pid=3984) [6, 4000] loss: 0.680 [repeated 2x across cluster]
(func pid=3984) [6, 6000] loss: 0.455
Trial train_cifar_2dcb1_00002 finished iteration 3 at 2025-11-13 20:32:28. Total running time: 4min 57s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00002 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000002 │
│ time_this_iter_s 65.19346 │
│ time_total_s 292.64718 │
│ training_iteration 3 │
│ accuracy 0.3891 │
│ loss 1.69075 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00002 saved a checkpoint for iteration 3 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00002_2_batch_size=2,l1=64,l2=16,lr=0.0026_2025-11-13_20-27-30/checkpoint_000002
(func pid=3986) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00002_2_batch_size=2,l1=64,l2=16,lr=0.0026_2025-11-13_20-27-30/checkpoint_000002)
Trial status: 2 RUNNING | 8 TERMINATED
Current time: 2025-11-13 20:32:31. Total running time: 5min 0s
Logical resource usage: 4.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_2dcb1_00000 RUNNING 32 16 0.00281744 4 5 272.378 1.43781 0.5024 │
│ train_cifar_2dcb1_00002 RUNNING 64 16 0.002631 2 3 292.647 1.69075 0.3891 │
│ train_cifar_2dcb1_00001 TERMINATED 128 2 0.0163759 16 10 217.535 1.76473 0.3527 │
│ train_cifar_2dcb1_00003 TERMINATED 16 16 0.0834615 4 1 72.7086 2.33119 0.1017 │
│ train_cifar_2dcb1_00004 TERMINATED 4 32 0.0636816 8 1 43.9491 2.31852 0.0995 │
│ train_cifar_2dcb1_00005 TERMINATED 2 8 0.00285436 2 1 133.272 2.20372 0.1603 │
│ train_cifar_2dcb1_00006 TERMINATED 4 256 0.04892 16 10 216.525 2.30819 0.0999 │
│ train_cifar_2dcb1_00007 TERMINATED 128 256 0.00192301 16 10 222.685 1.13539 0.6099 │
│ train_cifar_2dcb1_00008 TERMINATED 4 16 0.00576622 4 2 132.749 1.9625 0.2585 │
│ train_cifar_2dcb1_00009 TERMINATED 128 4 0.0327201 4 1 72.5547 2.31394 0.1025 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=3984) [6, 8000] loss: 0.348
(func pid=3984) [6, 10000] loss: 0.280 [repeated 2x across cluster]
Trial train_cifar_2dcb1_00000 finished iteration 6 at 2025-11-13 20:32:43. Total running time: 5min 12s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00000 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000005 │
│ time_this_iter_s 36.00754 │
│ time_total_s 308.38515 │
│ training_iteration 6 │
│ accuracy 0.5026 │
│ loss 1.46153 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00000 saved a checkpoint for iteration 6 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000005
(func pid=3984) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000005)
(func pid=3986) [4, 6000] loss: 0.551 [repeated 2x across cluster]
(func pid=3986) [4, 8000] loss: 0.409 [repeated 2x across cluster]
(func pid=3986) [4, 10000] loss: 0.330 [repeated 2x across cluster]
Trial status: 2 RUNNING | 8 TERMINATED
Current time: 2025-11-13 20:33:01. Total running time: 5min 30s
Logical resource usage: 4.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_2dcb1_00000 RUNNING 32 16 0.00281744 4 6 308.385 1.46153 0.5026 │
│ train_cifar_2dcb1_00002 RUNNING 64 16 0.002631 2 3 292.647 1.69075 0.3891 │
│ train_cifar_2dcb1_00001 TERMINATED 128 2 0.0163759 16 10 217.535 1.76473 0.3527 │
│ train_cifar_2dcb1_00003 TERMINATED 16 16 0.0834615 4 1 72.7086 2.33119 0.1017 │
│ train_cifar_2dcb1_00004 TERMINATED 4 32 0.0636816 8 1 43.9491 2.31852 0.0995 │
│ train_cifar_2dcb1_00005 TERMINATED 2 8 0.00285436 2 1 133.272 2.20372 0.1603 │
│ train_cifar_2dcb1_00006 TERMINATED 4 256 0.04892 16 10 216.525 2.30819 0.0999 │
│ train_cifar_2dcb1_00007 TERMINATED 128 256 0.00192301 16 10 222.685 1.13539 0.6099 │
│ train_cifar_2dcb1_00008 TERMINATED 4 16 0.00576622 4 2 132.749 1.9625 0.2585 │
│ train_cifar_2dcb1_00009 TERMINATED 128 4 0.0327201 4 1 72.5547 2.31394 0.1025 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=3986) [4, 12000] loss: 0.284 [repeated 2x across cluster]
(func pid=3986) [4, 14000] loss: 0.235 [repeated 2x across cluster]
Trial train_cifar_2dcb1_00000 finished iteration 7 at 2025-11-13 20:33:17. Total running time: 5min 46s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00000 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000006 │
│ time_this_iter_s 33.71303 │
│ time_total_s 342.09818 │
│ training_iteration 7 │
│ accuracy 0.5097 │
│ loss 1.44372 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00000 saved a checkpoint for iteration 7 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000006
(func pid=3984) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000006)
(func pid=3986) [4, 18000] loss: 0.185 [repeated 3x across cluster]
(func pid=3986) [4, 20000] loss: 0.169 [repeated 2x across cluster]
(func pid=3984) [8, 4000] loss: 0.667
Trial status: 2 RUNNING | 8 TERMINATED
Current time: 2025-11-13 20:33:31. Total running time: 6min 0s
Logical resource usage: 4.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_2dcb1_00000 RUNNING 32 16 0.00281744 4 7 342.098 1.44372 0.5097 │
│ train_cifar_2dcb1_00002 RUNNING 64 16 0.002631 2 3 292.647 1.69075 0.3891 │
│ train_cifar_2dcb1_00001 TERMINATED 128 2 0.0163759 16 10 217.535 1.76473 0.3527 │
│ train_cifar_2dcb1_00003 TERMINATED 16 16 0.0834615 4 1 72.7086 2.33119 0.1017 │
│ train_cifar_2dcb1_00004 TERMINATED 4 32 0.0636816 8 1 43.9491 2.31852 0.0995 │
│ train_cifar_2dcb1_00005 TERMINATED 2 8 0.00285436 2 1 133.272 2.20372 0.1603 │
│ train_cifar_2dcb1_00006 TERMINATED 4 256 0.04892 16 10 216.525 2.30819 0.0999 │
│ train_cifar_2dcb1_00007 TERMINATED 128 256 0.00192301 16 10 222.685 1.13539 0.6099 │
│ train_cifar_2dcb1_00008 TERMINATED 4 16 0.00576622 4 2 132.749 1.9625 0.2585 │
│ train_cifar_2dcb1_00009 TERMINATED 128 4 0.0327201 4 1 72.5547 2.31394 0.1025 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00002 finished iteration 4 at 2025-11-13 20:33:32. Total running time: 6min 1s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00002 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000003 │
│ time_this_iter_s 63.84558 │
│ time_total_s 356.49276 │
│ training_iteration 4 │
│ accuracy 0.3957 │
│ loss 1.69621 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00002 saved a checkpoint for iteration 4 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00002_2_batch_size=2,l1=64,l2=16,lr=0.0026_2025-11-13_20-27-30/checkpoint_000003
Trial train_cifar_2dcb1_00002 completed after 4 iterations at 2025-11-13 20:33:32. Total running time: 6min 1s
(func pid=3986) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00002_2_batch_size=2,l1=64,l2=16,lr=0.0026_2025-11-13_20-27-30/checkpoint_000003)
(func pid=3984) [8, 6000] loss: 0.450
(func pid=3984) [8, 8000] loss: 0.341
(func pid=3984) [8, 10000] loss: 0.272
Trial train_cifar_2dcb1_00000 finished iteration 8 at 2025-11-13 20:33:50. Total running time: 6min 19s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00000 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000007 │
│ time_this_iter_s 32.53731 │
│ time_total_s 374.63549 │
│ training_iteration 8 │
│ accuracy 0.532 │
│ loss 1.3387 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00000 saved a checkpoint for iteration 8 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000007
(func pid=3984) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000007)
(func pid=3984) [9, 2000] loss: 1.309
(func pid=3984) [9, 4000] loss: 0.660
Trial status: 1 RUNNING | 9 TERMINATED
Current time: 2025-11-13 20:34:01. Total running time: 6min 30s
Logical resource usage: 2.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_2dcb1_00000 RUNNING 32 16 0.00281744 4 8 374.635 1.3387 0.532 │
│ train_cifar_2dcb1_00001 TERMINATED 128 2 0.0163759 16 10 217.535 1.76473 0.3527 │
│ train_cifar_2dcb1_00002 TERMINATED 64 16 0.002631 2 4 356.493 1.69621 0.3957 │
│ train_cifar_2dcb1_00003 TERMINATED 16 16 0.0834615 4 1 72.7086 2.33119 0.1017 │
│ train_cifar_2dcb1_00004 TERMINATED 4 32 0.0636816 8 1 43.9491 2.31852 0.0995 │
│ train_cifar_2dcb1_00005 TERMINATED 2 8 0.00285436 2 1 133.272 2.20372 0.1603 │
│ train_cifar_2dcb1_00006 TERMINATED 4 256 0.04892 16 10 216.525 2.30819 0.0999 │
│ train_cifar_2dcb1_00007 TERMINATED 128 256 0.00192301 16 10 222.685 1.13539 0.6099 │
│ train_cifar_2dcb1_00008 TERMINATED 4 16 0.00576622 4 2 132.749 1.9625 0.2585 │
│ train_cifar_2dcb1_00009 TERMINATED 128 4 0.0327201 4 1 72.5547 2.31394 0.1025 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=3984) [9, 6000] loss: 0.448
(func pid=3984) [9, 8000] loss: 0.341
(func pid=3984) [9, 10000] loss: 0.269
Trial train_cifar_2dcb1_00000 finished iteration 9 at 2025-11-13 20:34:21. Total running time: 6min 50s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00000 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000008 │
│ time_this_iter_s 31.51279 │
│ time_total_s 406.14829 │
│ training_iteration 9 │
│ accuracy 0.5284 │
│ loss 1.3722 │
╰────────────────────────────────────────────────────────────╯
(func pid=3984) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000008)
Trial train_cifar_2dcb1_00000 saved a checkpoint for iteration 9 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000008
(func pid=3984) [10, 2000] loss: 1.300
Trial status: 1 RUNNING | 9 TERMINATED
Current time: 2025-11-13 20:34:31. Total running time: 7min 0s
Logical resource usage: 2.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_2dcb1_00000 RUNNING 32 16 0.00281744 4 9 406.148 1.3722 0.5284 │
│ train_cifar_2dcb1_00001 TERMINATED 128 2 0.0163759 16 10 217.535 1.76473 0.3527 │
│ train_cifar_2dcb1_00002 TERMINATED 64 16 0.002631 2 4 356.493 1.69621 0.3957 │
│ train_cifar_2dcb1_00003 TERMINATED 16 16 0.0834615 4 1 72.7086 2.33119 0.1017 │
│ train_cifar_2dcb1_00004 TERMINATED 4 32 0.0636816 8 1 43.9491 2.31852 0.0995 │
│ train_cifar_2dcb1_00005 TERMINATED 2 8 0.00285436 2 1 133.272 2.20372 0.1603 │
│ train_cifar_2dcb1_00006 TERMINATED 4 256 0.04892 16 10 216.525 2.30819 0.0999 │
│ train_cifar_2dcb1_00007 TERMINATED 128 256 0.00192301 16 10 222.685 1.13539 0.6099 │
│ train_cifar_2dcb1_00008 TERMINATED 4 16 0.00576622 4 2 132.749 1.9625 0.2585 │
│ train_cifar_2dcb1_00009 TERMINATED 128 4 0.0327201 4 1 72.5547 2.31394 0.1025 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=3984) [10, 4000] loss: 0.658
(func pid=3984) [10, 6000] loss: 0.450
(func pid=3984) [10, 8000] loss: 0.338
(func pid=3984) [10, 10000] loss: 0.271
Trial train_cifar_2dcb1_00000 finished iteration 10 at 2025-11-13 20:34:53. Total running time: 7min 22s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_2dcb1_00000 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 31.78744 │
│ time_total_s 437.93573 │
│ training_iteration 10 │
│ accuracy 0.4918 │
│ loss 1.49332 │
╰────────────────────────────────────────────────────────────╯
Trial train_cifar_2dcb1_00000 saved a checkpoint for iteration 10 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000009
Trial train_cifar_2dcb1_00000 completed after 10 iterations at 2025-11-13 20:34:53. Total running time: 7min 22s
Trial status: 10 TERMINATED
Current time: 2025-11-13 20:34:53. Total running time: 7min 22s
Logical resource usage: 2.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_2dcb1_00000 TERMINATED 32 16 0.00281744 4 10 437.936 1.49332 0.4918 │
│ train_cifar_2dcb1_00001 TERMINATED 128 2 0.0163759 16 10 217.535 1.76473 0.3527 │
│ train_cifar_2dcb1_00002 TERMINATED 64 16 0.002631 2 4 356.493 1.69621 0.3957 │
│ train_cifar_2dcb1_00003 TERMINATED 16 16 0.0834615 4 1 72.7086 2.33119 0.1017 │
│ train_cifar_2dcb1_00004 TERMINATED 4 32 0.0636816 8 1 43.9491 2.31852 0.0995 │
│ train_cifar_2dcb1_00005 TERMINATED 2 8 0.00285436 2 1 133.272 2.20372 0.1603 │
│ train_cifar_2dcb1_00006 TERMINATED 4 256 0.04892 16 10 216.525 2.30819 0.0999 │
│ train_cifar_2dcb1_00007 TERMINATED 128 256 0.00192301 16 10 222.685 1.13539 0.6099 │
│ train_cifar_2dcb1_00008 TERMINATED 4 16 0.00576622 4 2 132.749 1.9625 0.2585 │
│ train_cifar_2dcb1_00009 TERMINATED 128 4 0.0327201 4 1 72.5547 2.31394 0.1025 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=3984) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-11-13_20-27-30/train_cifar_2dcb1_00000_0_batch_size=4,l1=32,l2=16,lr=0.0028_2025-11-13_20-27-30/checkpoint_000009)
Best trial config: {'l1': 128, 'l2': 256, 'lr': 0.0019230121233394283, 'batch_size': 16}
Best trial final validation loss: 1.1353868191957475
Best trial final validation accuracy: 0.6099
Best trial test set accuracy: 0.6252
If you run the code, an example output could look like this:
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 have been stopped early in order to avoid wasting resources. The best performing trial achieved a validation accuracy of about 47%, which could be confirmed on the test set.
So that’s it! You can now tune the parameters of your PyTorch models.
Total running time of the script: (7 minutes 38.173 seconds)