Note
Go to the end to download the full example code.
Created On: Aug 31, 2020 | Last Updated: Jan 08, 2026 | Last Verified: Nov 05, 2024
Author: Ricardo Decal
This tutorial shows how to integrate Ray Tune into your PyTorch training workflow to perform scalable and efficient hyperparameter tuning.
How to modify a PyTorch training loop for Ray Tune
How to scale a hyperparameter sweep to multiple nodes and GPUs without code changes
How to define a hyperparameter search space and run a sweep with
tune.TunerHow to use an early-stopping scheduler (ASHA) and report metrics/checkpoints
How to use checkpointing to resume training and load the best model
PyTorch v2.9+ and
torchvisionRay Tune (
ray[tune]) v2.52.1+GPU(s) are optional, but recommended for faster training
Ray, a project of the PyTorch Foundation, is an open source unified framework for scaling AI and Python applications. It helps run distributed jobs by handling the complexity of distributed computing. Ray Tune is a library built on Ray for hyperparameter tuning that enables you to scale a hyperparameter sweep from your machine to a large cluster with no code changes.
This tutorial adapts the PyTorch tutorial for training a CIFAR10 classifier to run multi-GPU hyperparameter sweeps with Ray Tune.
Setup#
To run this tutorial, install the following dependencies:
pip install "ray[tune]" torchvision
Then start with the imports:
from functools import partial import os import tempfile from pathlib import Path import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torch.utils.data import random_split import torchvision import torchvision.transforms as transforms # New: imports for Ray Tune import ray from ray import tune from ray.tune import Checkpoint from ray.tune.schedulers import ASHAScheduler
Data loading#
Wrap the data loaders in a constructor function. In this tutorial, a global data directory is passed to the function to enable reusing the dataset across different trials. In a cluster environment, you can use shared storage, such as network file systems, to prevent each node from downloading the data separately.
def load_data(data_dir="./data"): # Mean and standard deviation of the CIFAR10 training subset. transform = transforms.Compose( [transforms.ToTensor(), transforms.Normalize((0.4914, 0.48216, 0.44653), (0.2022, 0.19932, 0.20086))] ) trainset = torchvision.datasets.CIFAR10( root=data_dir, train=True, download=True, transform=transform ) testset = torchvision.datasets.CIFAR10( root=data_dir, train=False, download=True, transform=transform ) return trainset, testset
Model architecture#
This tutorial searches for the best sizes for the fully connected layers
and the learning rate. To enable this, the Net class exposes the
layer sizes l1 and l2 as configurable parameters that Ray Tune
can search over:
class Net(nn.Module): def __init__(self, l1=120, l2=84): super().__init__() self.conv1 = nn.Conv2d(3, 6, 5) self.pool = nn.MaxPool2d(2, 2) self.conv2 = nn.Conv2d(6, 16, 5) self.fc1 = nn.Linear(16 * 5 * 5, l1) self.fc2 = nn.Linear(l1, l2) self.fc3 = nn.Linear(l2, 10) def forward(self, x): x = self.pool(F.relu(self.conv1(x))) x = self.pool(F.relu(self.conv2(x))) x = torch.flatten(x, 1) # flatten all dimensions except batch x = F.relu(self.fc1(x)) x = F.relu(self.fc2(x)) x = self.fc3(x) return x
Define the search space#
Next, define the hyperparameters to tune and how Ray Tune samples them.
Ray Tune offers a variety of search space
distributions
to suit different parameter types: loguniform, uniform,
choice, randint, grid, and more. You can also express
complex dependencies between parameters with conditional search
spaces
or sample from arbitrary functions.
Here is the search space for this tutorial:
config = { "l1": tune.choice([2**i for i in range(9)]), "l2": tune.choice([2**i for i in range(9)]), "lr": tune.loguniform(1e-4, 1e-1), "batch_size": tune.choice([2, 4, 8, 16]), }
The tune.choice() accepts a list of values that are uniformly
sampled from. In this example, the l1 and l2 parameter values
are powers of 2 between 1 and 256, and the learning rate samples on a
log scale between 0.0001 and 0.1. Sampling on a log scale enables
exploration across a range of magnitudes on a relative scale, rather
than an absolute scale.
Training function#
Ray Tune requires a training function that accepts a configuration dictionary and runs the main training loop. As Ray Tune runs different trials, it updates the configuration dictionary for each trial.
Here is the full training function, followed by explanations of the key Ray Tune integration points:
def train_cifar(config, data_dir=None): net = Net(config["l1"], config["l2"]) device = config["device"] net = net.to(device) if torch.cuda.device_count() > 1: net = nn.DataParallel(net) criterion = nn.CrossEntropyLoss() optimizer = optim.SGD(net.parameters(), lr=config["lr"], momentum=0.9) # Load checkpoint if resuming training checkpoint = tune.get_checkpoint() if checkpoint: with checkpoint.as_directory() as checkpoint_dir: checkpoint_path = Path(checkpoint_dir) / "checkpoint.pt" checkpoint_state = torch.load(checkpoint_path) start_epoch = checkpoint_state["epoch"] net.load_state_dict(checkpoint_state["net_state_dict"]) optimizer.load_state_dict(checkpoint_state["optimizer_state_dict"]) else: start_epoch = 0 trainset, _testset = load_data(data_dir) test_abs = int(len(trainset) * 0.8) train_subset, val_subset = random_split( trainset, [test_abs, len(trainset) - test_abs] ) trainloader = torch.utils.data.DataLoader( train_subset, batch_size=int(config["batch_size"]), shuffle=True, num_workers=8 ) valloader = torch.utils.data.DataLoader( val_subset, batch_size=int(config["batch_size"]), shuffle=True, num_workers=8 ) for epoch in range(start_epoch, 10): # loop over the dataset multiple times running_loss = 0.0 epoch_steps = 0 for i, data in enumerate(trainloader, 0): # get the inputs; data is a list of [inputs, labels] inputs, labels = data inputs, labels = inputs.to(device), labels.to(device) # zero the parameter gradients optimizer.zero_grad() # forward + backward + optimize outputs = net(inputs) loss = criterion(outputs, labels) loss.backward() optimizer.step() # print statistics running_loss += loss.item() epoch_steps += 1 if i % 2000 == 1999: # print every 2000 mini-batches print( "[%d, %5d] loss: %.3f" % (epoch + 1, i + 1, running_loss / epoch_steps) ) running_loss = 0.0 # Validation loss val_loss = 0.0 val_steps = 0 total = 0 correct = 0 for i, data in enumerate(valloader, 0): with torch.no_grad(): inputs, labels = data inputs, labels = inputs.to(device), labels.to(device) outputs = net(inputs) _, predicted = torch.max(outputs.data, 1) total += labels.size(0) correct += (predicted == labels).sum().item() loss = criterion(outputs, labels) val_loss += loss.cpu().numpy() val_steps += 1 # Save checkpoint and report metrics checkpoint_data = { "epoch": epoch, "net_state_dict": net.state_dict(), "optimizer_state_dict": optimizer.state_dict(), } with tempfile.TemporaryDirectory() as checkpoint_dir: checkpoint_path = Path(checkpoint_dir) / "checkpoint.pt" torch.save(checkpoint_data, checkpoint_path) checkpoint = Checkpoint.from_directory(checkpoint_dir) tune.report( {"loss": val_loss / val_steps, "accuracy": correct / total}, checkpoint=checkpoint, ) print("Finished Training")
Key integration points#
Using hyperparameters from the configuration dictionary#
Ray Tune updates the config dictionary with the hyperparameters for
each trial. In this example, the model architecture and optimizer
receive the hyperparameters from the config dictionary:
Reporting metrics and saving checkpoints#
The most important integration is communicating with Ray Tune. Ray Tune uses the validation metrics to determine the best hyperparameter configuration and to stop underperforming trials early, saving resources.
Checkpointing enables you to later load the trained models, resume hyperparameter searches, and provides fault tolerance. It’s also required for some Ray Tune schedulers like Population Based Training that pause and resume trials during the search.
This code from the training function loads model and optimizer state at the start if a checkpoint exists:
checkpoint = tune.get_checkpoint() if checkpoint: with checkpoint.as_directory() as checkpoint_dir: checkpoint_path = Path(checkpoint_dir) / "checkpoint.pt" checkpoint_state = torch.load(checkpoint_path) start_epoch = checkpoint_state["epoch"] net.load_state_dict(checkpoint_state["net_state_dict"]) optimizer.load_state_dict(checkpoint_state["optimizer_state_dict"])
At the end of each epoch, save a checkpoint and report the validation metrics:
checkpoint_data = { "epoch": epoch, "net_state_dict": net.state_dict(), "optimizer_state_dict": optimizer.state_dict(), } with tempfile.TemporaryDirectory() as checkpoint_dir: checkpoint_path = Path(checkpoint_dir) / "checkpoint.pt" torch.save(checkpoint_data, checkpoint_path) checkpoint = Checkpoint.from_directory(checkpoint_dir) tune.report( {"loss": val_loss / val_steps, "accuracy": correct / total}, checkpoint=checkpoint, )
Ray Tune checkpointing supports local file systems, cloud storage, and distributed file systems. For more information, see the Ray Tune storage documentation.
Multi-GPU support#
Image classification models can be greatly accelerated by using GPUs.
The training function supports multi-GPU training by wrapping the model
in nn.DataParallel:
This training function supports training on CPUs, a single GPU, multiple GPUs, or multiple nodes without code changes. Ray Tune automatically distributes the trials across the nodes according to the available resources. Ray Tune also supports fractional GPUs so that one GPU can be shared among multiple trials, provided that the models, optimizers, and data batches fit into the GPU memory.
Validation split#
The original CIFAR10 dataset only has train and test subsets. This is sufficient for training a single model, however for hyperparameter tuning a validation subset is required. The training function creates a validation subset by reserving 20% of the training subset. The test subset is used to evaluate the best model’s generalization error after the search completes.
Evaluation function#
After finding the optimal hyperparameters, test the model on a held-out test set to estimate the generalization error:
def test_accuracy(net, device="cpu", data_dir=None): _trainset, testset = load_data(data_dir) testloader = torch.utils.data.DataLoader( testset, batch_size=4, shuffle=False, num_workers=2 ) correct = 0 total = 0 with torch.no_grad(): for data in testloader: image_batch, labels = data image_batch, labels = image_batch.to(device), labels.to(device) outputs = net(image_batch) _, predicted = torch.max(outputs.data, 1) total += labels.size(0) correct += (predicted == labels).sum().item() return correct / total
Configure and run Ray Tune#
With the training and evaluation functions defined, configure Ray Tune to run the hyperparameter search.
Scheduler for early stopping#
Ray Tune provides schedulers to improve the efficiency of the
hyperparameter search by detecting underperforming trials and stopping
them early. The ASHAScheduler uses the Asynchronous Successive
Halving Algorithm (ASHA) to aggressively terminate low-performing
trials:
scheduler = ASHAScheduler( max_t=max_num_epochs, grace_period=1, reduction_factor=2, )
Ray Tune also provides advanced search algorithms to smartly pick the next set of hyperparameters based on previous results, instead of relying only on random or grid search. Examples include Optuna and BayesOpt.
Resource allocation#
Tell Ray Tune what resources to allocate for each trial by passing a
resources dictionary to tune.with_resources:
tune.with_resources( partial(train_cifar, data_dir=data_dir), resources={"cpu": cpus_per_trial, "gpu": gpus_per_trial} )
Ray Tune automatically manages the placement of these trials and ensures that the trials run in isolation, so you don’t need to manually assign GPUs to processes.
For example, if you are running this experiment on a cluster of 20
machines, each with 8 GPUs, you can set gpus_per_trial = 0.5 to
schedule two concurrent trials per GPU. This configuration runs 320
trials in parallel across the cluster.
Note
To run this tutorial without GPUs, set gpus_per_trial=0
and expect significantly longer runtimes.
To avoid long runtimes during development, start with a small number of trials and epochs.
Creating the Tuner#
The Ray Tune API is modular and composable. Pass your configuration to
the tune.Tuner class to create a tuner object, then run
tuner.fit() to start training:
tuner = tune.Tuner( tune.with_resources( partial(train_cifar, data_dir=data_dir), resources={"cpu": cpus_per_trial, "gpu": gpus_per_trial} ), tune_config=tune.TuneConfig( metric="loss", mode="min", scheduler=scheduler, num_samples=num_trials, ), param_space=config, ) results = tuner.fit()
After training completes, retrieve the best performing trial, load its checkpoint, and evaluate on the test set.
Putting it all together#
def main(num_trials=10, max_num_epochs=10, gpus_per_trial=0, cpus_per_trial=2): print("Starting hyperparameter tuning.") ray.init(include_dashboard=False) data_dir = os.path.abspath("./data") load_data(data_dir) # Pre-download the dataset device = "cuda" if torch.cuda.is_available() else "cpu" config = { "l1": tune.choice([2**i for i in range(9)]), "l2": tune.choice([2**i for i in range(9)]), "lr": tune.loguniform(1e-4, 1e-1), "batch_size": tune.choice([2, 4, 8, 16]), "device": device, } scheduler = ASHAScheduler( max_t=max_num_epochs, grace_period=1, reduction_factor=2, ) tuner = tune.Tuner( tune.with_resources( partial(train_cifar, data_dir=data_dir), resources={"cpu": cpus_per_trial, "gpu": gpus_per_trial} ), tune_config=tune.TuneConfig( metric="loss", mode="min", scheduler=scheduler, num_samples=num_trials, ), param_space=config, ) results = tuner.fit() best_result = results.get_best_result("loss", "min") print(f"Best trial config: {best_result.config}") print(f"Best trial final validation loss: {best_result.metrics['loss']}") print(f"Best trial final validation accuracy: {best_result.metrics['accuracy']}") best_trained_model = Net(best_result.config["l1"], best_result.config["l2"]) best_trained_model = best_trained_model.to(device) if gpus_per_trial > 1: best_trained_model = nn.DataParallel(best_trained_model) best_checkpoint = best_result.checkpoint with best_checkpoint.as_directory() as checkpoint_dir: checkpoint_path = Path(checkpoint_dir) / "checkpoint.pt" best_checkpoint_data = torch.load(checkpoint_path) best_trained_model.load_state_dict(best_checkpoint_data["net_state_dict"]) test_acc = test_accuracy(best_trained_model, device, data_dir) print(f"Best trial test set accuracy: {test_acc}") if __name__ == "__main__": # Set the number of trials, epochs, and GPUs per trial here: main(num_trials=10, max_num_epochs=10, gpus_per_trial=1)
Starting hyperparameter tuning.
2026-03-24 23:25:36,554 WARNING services.py:2137 -- WARNING: The object store is using /tmp instead of /dev/shm because /dev/shm has only 2147471360 bytes available. This will harm performance! You may be able to free up space by deleting files in /dev/shm. If you are inside a Docker container, you can increase /dev/shm size by passing '--shm-size=10.24gb' to 'docker run' (or add it to the run_options list in a Ray cluster config). Make sure to set this to more than 30% of available RAM.
2026-03-24 23:25:37,719 INFO worker.py:2023 -- Started a local Ray instance.
/usr/local/lib/python3.10/dist-packages/ray/_private/worker.py:2062: FutureWarning: Tip: In future versions of Ray, Ray will no longer override accelerator visible devices env var if num_gpus=0 or num_gpus=None (default). To enable this behavior and turn off this error message, set RAY_ACCEL_ENV_VAR_OVERRIDE_ON_ZERO=0
warnings.warn(
0%| | 0.00/170M [00:00<?, ?B/s]
0%| | 524k/170M [00:00<00:32, 5.17MB/s]
4%|▍ | 6.95M/170M [00:00<00:04, 39.6MB/s]
9%|▉ | 15.7M/170M [00:00<00:02, 61.3MB/s]
15%|█▍ | 24.9M/170M [00:00<00:01, 73.3MB/s]
20%|██ | 34.5M/170M [00:00<00:01, 81.5MB/s]
25%|██▌ | 43.3M/170M [00:00<00:01, 83.7MB/s]
31%|███ | 52.7M/170M [00:00<00:01, 87.1MB/s]
37%|███▋ | 62.7M/170M [00:00<00:01, 90.9MB/s]
43%|████▎ | 72.8M/170M [00:00<00:01, 94.3MB/s]
49%|████▊ | 83.0M/170M [00:01<00:00, 96.3MB/s]
55%|█████▍ | 93.3M/170M [00:01<00:00, 98.3MB/s]
61%|██████ | 103M/170M [00:01<00:00, 99.0MB/s]
67%|██████▋ | 114M/170M [00:01<00:00, 100MB/s]
73%|███████▎ | 124M/170M [00:01<00:00, 101MB/s]
79%|███████▊ | 134M/170M [00:01<00:00, 101MB/s]
85%|████████▍ | 144M/170M [00:01<00:00, 102MB/s]
91%|█████████ | 155M/170M [00:01<00:00, 102MB/s]
97%|█████████▋| 165M/170M [00:01<00:00, 102MB/s]
100%|██████████| 170M/170M [00:01<00:00, 91.8MB/s]
╭────────────────────────────────────────────────────────────────────╮
│ Configuration for experiment train_cifar_2026-03-24_23-25-43 │
├────────────────────────────────────────────────────────────────────┤
│ Search algorithm BasicVariantGenerator │
│ Scheduler AsyncHyperBandScheduler │
│ Number of trials 10 │
╰────────────────────────────────────────────────────────────────────╯
View detailed results here: /var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43
To visualize your results with TensorBoard, run: `tensorboard --logdir /tmp/ray/session_2026-03-24_23-25-34_877610_4336/artifacts/2026-03-24_23-25-43/train_cifar_2026-03-24_23-25-43/driver_artifacts`
Trial status: 10 PENDING
Current time: 2026-03-24 23:25:43. Total running time: 0s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size │
├───────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00000 PENDING 128 128 0.0633328 4 │
│ train_cifar_c7450_00001 PENDING 32 8 0.00517357 8 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰───────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_c7450_00000 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00000 config │
├──────────────────────────────────────────────────┤
│ batch_size 4 │
│ device cuda │
│ l1 128 │
│ l2 128 │
│ lr 0.06333 │
╰──────────────────────────────────────────────────╯
(func pid=5525) [1, 2000] loss: 2.339
(func pid=5525) [1, 4000] loss: 1.169
(func pid=5525) [1, 6000] loss: 0.779
(func pid=5525) [1, 8000] loss: 0.585
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-24 23:26:13. Total running time: 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
╭───────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size │
├───────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00000 RUNNING 128 128 0.0633328 4 │
│ train_cifar_c7450_00001 PENDING 32 8 0.00517357 8 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰───────────────────────────────────────────────────────────────────────────────╯
(func pid=5525) [1, 10000] loss: 0.467
(func pid=5525) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00000_0_batch_size=4,l1=128,l2=128,lr=0.0633_2026-03-24_23-25-43/checkpoint_000000)
(func pid=5525) [2, 2000] loss: 2.338
(func pid=5525) [2, 4000] loss: 1.170
(func pid=5525) [2, 6000] loss: 0.779
(func pid=5525) [2, 8000] loss: 0.585
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-24 23:26:43. Total running time: 1min 0s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00000 with loss=2.3215429622650148 and params={'l1': 128, 'l2': 128, 'lr': 0.0633327984547561, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00000 RUNNING 128 128 0.0633328 4 1 32.7731 2.32154 0.1022 │
│ train_cifar_c7450_00001 PENDING 32 8 0.00517357 8 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5525) [2, 10000] loss: 0.468
(func pid=5525) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00000_0_batch_size=4,l1=128,l2=128,lr=0.0633_2026-03-24_23-25-43/checkpoint_000001)
(func pid=5525) [3, 2000] loss: 2.340
(func pid=5525) [3, 4000] loss: 1.170
(func pid=5525) [3, 6000] loss: 0.780
(func pid=5525) [3, 8000] loss: 0.585
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-24 23:27:13. Total running time: 1min 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00000 with loss=2.3449689382076264 and params={'l1': 128, 'l2': 128, 'lr': 0.0633327984547561, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00000 RUNNING 128 128 0.0633328 4 2 63.369 2.34497 0.1008 │
│ train_cifar_c7450_00001 PENDING 32 8 0.00517357 8 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5525) [3, 10000] loss: 0.468
(func pid=5525) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00000_0_batch_size=4,l1=128,l2=128,lr=0.0633_2026-03-24_23-25-43/checkpoint_000002)
(func pid=5525) [4, 2000] loss: 2.339
(func pid=5525) [4, 4000] loss: 1.170
(func pid=5525) [4, 6000] loss: 0.780
(func pid=5525) [4, 8000] loss: 0.585
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-24 23:27:44. Total running time: 2min 0s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00000 with loss=2.337194841337204 and params={'l1': 128, 'l2': 128, 'lr': 0.0633327984547561, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00000 RUNNING 128 128 0.0633328 4 3 94.1479 2.33719 0.1008 │
│ train_cifar_c7450_00001 PENDING 32 8 0.00517357 8 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5525) [4, 10000] loss: 0.468
(func pid=5525) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00000_0_batch_size=4,l1=128,l2=128,lr=0.0633_2026-03-24_23-25-43/checkpoint_000003)
(func pid=5525) [5, 2000] loss: 2.341
(func pid=5525) [5, 4000] loss: 1.168
(func pid=5525) [5, 6000] loss: 0.779
(func pid=5525) [5, 8000] loss: 0.585
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-24 23:28:14. Total running time: 2min 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00000 with loss=2.3226108296871186 and params={'l1': 128, 'l2': 128, 'lr': 0.0633327984547561, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00000 RUNNING 128 128 0.0633328 4 4 125.159 2.32261 0.0983 │
│ train_cifar_c7450_00001 PENDING 32 8 0.00517357 8 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5525) [5, 10000] loss: 0.467
(func pid=5525) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00000_0_batch_size=4,l1=128,l2=128,lr=0.0633_2026-03-24_23-25-43/checkpoint_000004)
(func pid=5525) [6, 2000] loss: 2.342
(func pid=5525) [6, 4000] loss: 1.171
(func pid=5525) [6, 6000] loss: 0.781
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-24 23:28:44. Total running time: 3min 0s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00000 with loss=2.3665945817947387 and params={'l1': 128, 'l2': 128, 'lr': 0.0633327984547561, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00000 RUNNING 128 128 0.0633328 4 5 155.804 2.36659 0.0978 │
│ train_cifar_c7450_00001 PENDING 32 8 0.00517357 8 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5525) [6, 8000] loss: 0.585
(func pid=5525) [6, 10000] loss: 0.468
(func pid=5525) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00000_0_batch_size=4,l1=128,l2=128,lr=0.0633_2026-03-24_23-25-43/checkpoint_000005)
(func pid=5525) [7, 2000] loss: 2.337
(func pid=5525) [7, 4000] loss: 1.169
(func pid=5525) [7, 6000] loss: 0.780
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-24 23:29:14. Total running time: 3min 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00000 with loss=2.312245300102234 and params={'l1': 128, 'l2': 128, 'lr': 0.0633327984547561, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00000 RUNNING 128 128 0.0633328 4 6 186.523 2.31225 0.0983 │
│ train_cifar_c7450_00001 PENDING 32 8 0.00517357 8 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5525) [7, 8000] loss: 0.585
(func pid=5525) [7, 10000] loss: 0.468
(func pid=5525) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00000_0_batch_size=4,l1=128,l2=128,lr=0.0633_2026-03-24_23-25-43/checkpoint_000006)
(func pid=5525) [8, 2000] loss: 2.341
(func pid=5525) [8, 4000] loss: 1.168
(func pid=5525) [8, 6000] loss: 0.780
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-24 23:29:44. Total running time: 4min 0s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00000 with loss=2.3541718545913697 and params={'l1': 128, 'l2': 128, 'lr': 0.0633327984547561, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00000 RUNNING 128 128 0.0633328 4 7 217.285 2.35417 0.1022 │
│ train_cifar_c7450_00001 PENDING 32 8 0.00517357 8 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5525) [8, 8000] loss: 0.585
(func pid=5525) [8, 10000] loss: 0.467
(func pid=5525) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00000_0_batch_size=4,l1=128,l2=128,lr=0.0633_2026-03-24_23-25-43/checkpoint_000007)
(func pid=5525) [9, 2000] loss: 2.338
(func pid=5525) [9, 4000] loss: 1.169
(func pid=5525) [9, 6000] loss: 0.780
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-24 23:30:14. Total running time: 4min 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00000 with loss=2.362977590847015 and params={'l1': 128, 'l2': 128, 'lr': 0.0633327984547561, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00000 RUNNING 128 128 0.0633328 4 8 247.862 2.36298 0.1008 │
│ train_cifar_c7450_00001 PENDING 32 8 0.00517357 8 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5525) [9, 8000] loss: 0.585
(func pid=5525) [9, 10000] loss: 0.468
(func pid=5525) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00000_0_batch_size=4,l1=128,l2=128,lr=0.0633_2026-03-24_23-25-43/checkpoint_000008)
(func pid=5525) [10, 2000] loss: 2.337
(func pid=5525) [10, 4000] loss: 1.170
(func pid=5525) [10, 6000] loss: 0.780
Trial status: 1 RUNNING | 9 PENDING
Current time: 2026-03-24 23:30:44. Total running time: 5min 0s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00000 with loss=2.3404176879882814 and params={'l1': 128, 'l2': 128, 'lr': 0.0633327984547561, 'batch_size': 4, 'device': 'cuda'}
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00000 RUNNING 128 128 0.0633328 4 9 278.571 2.34042 0.1012 │
│ train_cifar_c7450_00001 PENDING 32 8 0.00517357 8 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=5525) [10, 8000] loss: 0.585
(func pid=5525) [10, 10000] loss: 0.467
Trial train_cifar_c7450_00000 completed after 10 iterations at 2026-03-24 23:30:56. Total running time: 5min 13s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00000 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 30.74459 │
│ time_total_s 309.31545 │
│ training_iteration 10 │
│ accuracy 0.0983 │
│ loss 2.32042 │
╰────────────────────────────────────────────────────────────╯
(func pid=5525) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00000_0_batch_size=4,l1=128,l2=128,lr=0.0633_2026-03-24_23-25-43/checkpoint_000009)
Trial train_cifar_c7450_00001 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00001 config │
├──────────────────────────────────────────────────┤
│ batch_size 8 │
│ device cuda │
│ l1 32 │
│ l2 8 │
│ lr 0.00517 │
╰──────────────────────────────────────────────────╯
(func pid=6830) [1, 2000] loss: 1.965
(func pid=6830) [1, 4000] loss: 0.873
Trial status: 1 TERMINATED | 1 RUNNING | 8 PENDING
Current time: 2026-03-24 23:31:14. Total running time: 5min 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00000 with loss=2.320415520954132 and params={'l1': 128, 'l2': 128, 'lr': 0.0633327984547561, 'batch_size': 4, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00001 RUNNING 32 8 0.00517357 8 │
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=6830) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00001_1_batch_size=8,l1=32,l2=8,lr=0.0052_2026-03-24_23-25-43/checkpoint_000000)
(func pid=6830) [2, 2000] loss: 1.647
(func pid=6830) [2, 4000] loss: 0.816
(func pid=6830) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00001_1_batch_size=8,l1=32,l2=8,lr=0.0052_2026-03-24_23-25-43/checkpoint_000001)
(func pid=6830) [3, 2000] loss: 1.579
Trial status: 1 TERMINATED | 1 RUNNING | 8 PENDING
Current time: 2026-03-24 23:31:44. Total running time: 6min 0s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00001 with loss=1.5878794371604918 and params={'l1': 32, 'l2': 8, 'lr': 0.005173568287063475, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00001 RUNNING 32 8 0.00517357 8 2 34.2359 1.58788 0.4378 │
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=6830) [3, 4000] loss: 0.783
(func pid=6830) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00001_1_batch_size=8,l1=32,l2=8,lr=0.0052_2026-03-24_23-25-43/checkpoint_000002)
(func pid=6830) [4, 2000] loss: 1.542
(func pid=6830) [4, 4000] loss: 0.773
(func pid=6830) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00001_1_batch_size=8,l1=32,l2=8,lr=0.0052_2026-03-24_23-25-43/checkpoint_000003)
(func pid=6830) [5, 2000] loss: 1.507
Trial status: 1 TERMINATED | 1 RUNNING | 8 PENDING
Current time: 2026-03-24 23:32:14. Total running time: 6min 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00001 with loss=1.540605419921875 and params={'l1': 32, 'l2': 8, 'lr': 0.005173568287063475, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00001 RUNNING 32 8 0.00517357 8 4 66.6956 1.54061 0.4506 │
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=6830) [5, 4000] loss: 0.759
(func pid=6830) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00001_1_batch_size=8,l1=32,l2=8,lr=0.0052_2026-03-24_23-25-43/checkpoint_000004)
(func pid=6830) [6, 2000] loss: 1.513
(func pid=6830) [6, 4000] loss: 0.757
(func pid=6830) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00001_1_batch_size=8,l1=32,l2=8,lr=0.0052_2026-03-24_23-25-43/checkpoint_000005)
Trial status: 1 TERMINATED | 1 RUNNING | 8 PENDING
Current time: 2026-03-24 23:32:44. Total running time: 7min 0s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00001 with loss=1.4967643314123154 and params={'l1': 32, 'l2': 8, 'lr': 0.005173568287063475, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00001 RUNNING 32 8 0.00517357 8 6 99.0435 1.49676 0.4773 │
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=6830) [7, 2000] loss: 1.493
(func pid=6830) [7, 4000] loss: 0.759
(func pid=6830) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00001_1_batch_size=8,l1=32,l2=8,lr=0.0052_2026-03-24_23-25-43/checkpoint_000006)
(func pid=6830) [8, 2000] loss: 1.465
(func pid=6830) [8, 4000] loss: 0.760
(func pid=6830) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00001_1_batch_size=8,l1=32,l2=8,lr=0.0052_2026-03-24_23-25-43/checkpoint_000007)
Trial status: 1 TERMINATED | 1 RUNNING | 8 PENDING
Current time: 2026-03-24 23:33:14. Total running time: 7min 30s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00001 with loss=1.560466304922104 and params={'l1': 32, 'l2': 8, 'lr': 0.005173568287063475, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00001 RUNNING 32 8 0.00517357 8 8 131.44 1.56047 0.4704 │
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=6830) [9, 2000] loss: 1.483
(func pid=6830) [9, 4000] loss: 0.752
(func pid=6830) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00001_1_batch_size=8,l1=32,l2=8,lr=0.0052_2026-03-24_23-25-43/checkpoint_000008)
(func pid=6830) [10, 2000] loss: 1.462
(func pid=6830) [10, 4000] loss: 0.751
Trial train_cifar_c7450_00001 completed after 10 iterations at 2026-03-24 23:33:44. Total running time: 8min 0s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00001 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 16.0914 │
│ time_total_s 163.44599 │
│ training_iteration 10 │
│ accuracy 0.4897 │
│ loss 1.54689 │
╰────────────────────────────────────────────────────────────╯
(func pid=6830) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00001_1_batch_size=8,l1=32,l2=8,lr=0.0052_2026-03-24_23-25-43/checkpoint_000009)
Trial status: 2 TERMINATED | 8 PENDING
Current time: 2026-03-24 23:33:44. Total running time: 8min 0s
Logical resource usage: 0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00001 with loss=1.5468887360095978 and params={'l1': 32, 'l2': 8, 'lr': 0.005173568287063475, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00001 TERMINATED 32 8 0.00517357 8 10 163.446 1.54689 0.4897 │
│ train_cifar_c7450_00002 PENDING 32 4 0.00107937 16 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_c7450_00002 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00002 config │
├──────────────────────────────────────────────────┤
│ batch_size 16 │
│ device cuda │
│ l1 32 │
│ l2 4 │
│ lr 0.00108 │
╰──────────────────────────────────────────────────╯
(func pid=7860) [1, 2000] loss: 2.123
(func pid=7860) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00002_2_batch_size=16,l1=32,l2=4,lr=0.0011_2026-03-24_23-25-43/checkpoint_000000)
(func pid=7860) [2, 2000] loss: 1.688
(func pid=7860) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00002_2_batch_size=16,l1=32,l2=4,lr=0.0011_2026-03-24_23-25-43/checkpoint_000001)
(func pid=7860) [3, 2000] loss: 1.506
Trial status: 2 TERMINATED | 1 RUNNING | 7 PENDING
Current time: 2026-03-24 23:34:14. Total running time: 8min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00001 with loss=1.5468887360095978 and params={'l1': 32, 'l2': 8, 'lr': 0.005173568287063475, 'batch_size': 8, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00002 RUNNING 32 4 0.00107937 16 2 19.5321 1.55057 0.4433 │
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00001 TERMINATED 32 8 0.00517357 8 10 163.446 1.54689 0.4897 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=7860) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00002_2_batch_size=16,l1=32,l2=4,lr=0.0011_2026-03-24_23-25-43/checkpoint_000002)
(func pid=7860) [4, 2000] loss: 1.401
(func pid=7860) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00002_2_batch_size=16,l1=32,l2=4,lr=0.0011_2026-03-24_23-25-43/checkpoint_000003)
(func pid=7860) [5, 2000] loss: 1.324
(func pid=7860) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00002_2_batch_size=16,l1=32,l2=4,lr=0.0011_2026-03-24_23-25-43/checkpoint_000004)
(func pid=7860) [6, 2000] loss: 1.272
(func pid=7860) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00002_2_batch_size=16,l1=32,l2=4,lr=0.0011_2026-03-24_23-25-43/checkpoint_000005)
Trial status: 2 TERMINATED | 1 RUNNING | 7 PENDING
Current time: 2026-03-24 23:34:44. Total running time: 9min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00002 with loss=1.3125652185440064 and params={'l1': 32, 'l2': 4, 'lr': 0.0010793695568657134, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00002 RUNNING 32 4 0.00107937 16 6 53.8603 1.31257 0.5287 │
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00001 TERMINATED 32 8 0.00517357 8 10 163.446 1.54689 0.4897 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=7860) [7, 2000] loss: 1.229
(func pid=7860) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00002_2_batch_size=16,l1=32,l2=4,lr=0.0011_2026-03-24_23-25-43/checkpoint_000006)
(func pid=7860) [8, 2000] loss: 1.193
(func pid=7860) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00002_2_batch_size=16,l1=32,l2=4,lr=0.0011_2026-03-24_23-25-43/checkpoint_000007)
(func pid=7860) [9, 2000] loss: 1.166
(func pid=7860) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00002_2_batch_size=16,l1=32,l2=4,lr=0.0011_2026-03-24_23-25-43/checkpoint_000008)
(func pid=7860) [10, 2000] loss: 1.141
Trial status: 2 TERMINATED | 1 RUNNING | 7 PENDING
Current time: 2026-03-24 23:35:14. Total running time: 9min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00002 with loss=1.195989760875702 and params={'l1': 32, 'l2': 4, 'lr': 0.0010793695568657134, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00002 RUNNING 32 4 0.00107937 16 9 79.8555 1.19599 0.574 │
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00001 TERMINATED 32 8 0.00517357 8 10 163.446 1.54689 0.4897 │
│ train_cifar_c7450_00003 PENDING 16 4 0.00221738 16 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_c7450_00002 completed after 10 iterations at 2026-03-24 23:35:17. Total running time: 9min 33s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00002 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 8.66077 │
│ time_total_s 88.51622 │
│ training_iteration 10 │
│ accuracy 0.566 │
│ loss 1.21925 │
╰────────────────────────────────────────────────────────────╯
(func pid=7860) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00002_2_batch_size=16,l1=32,l2=4,lr=0.0011_2026-03-24_23-25-43/checkpoint_000009)
Trial train_cifar_c7450_00003 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00003 config │
├──────────────────────────────────────────────────┤
│ batch_size 16 │
│ device cuda │
│ l1 16 │
│ l2 4 │
│ lr 0.00222 │
╰──────────────────────────────────────────────────╯
(func pid=8741) [1, 2000] loss: 2.072
(func pid=8741) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00003_3_batch_size=16,l1=16,l2=4,lr=0.0022_2026-03-24_23-25-43/checkpoint_000000)
(func pid=8741) [2, 2000] loss: 1.713
Trial train_cifar_c7450_00003 completed after 2 iterations at 2026-03-24 23:35:41. Total running time: 9min 57s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00003 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000001 │
│ time_this_iter_s 8.6797 │
│ time_total_s 19.58333 │
│ training_iteration 2 │
│ accuracy 0.3821 │
│ loss 1.63427 │
╰────────────────────────────────────────────────────────────╯
(func pid=8741) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00003_3_batch_size=16,l1=16,l2=4,lr=0.0022_2026-03-24_23-25-43/checkpoint_000001)
Trial status: 4 TERMINATED | 6 PENDING
Current time: 2026-03-24 23:35:44. Total running time: 10min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00002 with loss=1.2192473624229432 and params={'l1': 32, 'l2': 4, 'lr': 0.0010793695568657134, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00001 TERMINATED 32 8 0.00517357 8 10 163.446 1.54689 0.4897 │
│ train_cifar_c7450_00002 TERMINATED 32 4 0.00107937 16 10 88.5162 1.21925 0.566 │
│ train_cifar_c7450_00003 TERMINATED 16 4 0.00221738 16 2 19.5833 1.63427 0.3821 │
│ train_cifar_c7450_00004 PENDING 1 32 0.000253045 4 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_c7450_00004 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00004 config │
├──────────────────────────────────────────────────┤
│ batch_size 4 │
│ device cuda │
│ l1 1 │
│ l2 32 │
│ lr 0.00025 │
╰──────────────────────────────────────────────────╯
(func pid=8991) [1, 2000] loss: 2.306
(func pid=8991) [1, 4000] loss: 1.134
(func pid=8991) [1, 6000] loss: 0.713
(func pid=8991) [1, 8000] loss: 0.511
(func pid=8991) [1, 10000] loss: 0.397
Trial status: 4 TERMINATED | 1 RUNNING | 5 PENDING
Current time: 2026-03-24 23:36:14. Total running time: 10min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00002 with loss=1.2192473624229432 and params={'l1': 32, 'l2': 4, 'lr': 0.0010793695568657134, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00004 RUNNING 1 32 0.000253045 4 │
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00001 TERMINATED 32 8 0.00517357 8 10 163.446 1.54689 0.4897 │
│ train_cifar_c7450_00002 TERMINATED 32 4 0.00107937 16 10 88.5162 1.21925 0.566 │
│ train_cifar_c7450_00003 TERMINATED 16 4 0.00221738 16 2 19.5833 1.63427 0.3821 │
│ train_cifar_c7450_00005 PENDING 128 16 0.00940367 4 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_c7450_00004 completed after 1 iterations at 2026-03-24 23:36:19. Total running time: 10min 35s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00004 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 33.4227 │
│ time_total_s 33.4227 │
│ training_iteration 1 │
│ accuracy 0.1974 │
│ loss 1.9572 │
╰────────────────────────────────────────────────────────────╯
(func pid=8991) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00004_4_batch_size=4,l1=1,l2=32,lr=0.0003_2026-03-24_23-25-43/checkpoint_000000)
Trial train_cifar_c7450_00005 started with configuration:
╭─────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00005 config │
├─────────────────────────────────────────────────┤
│ batch_size 4 │
│ device cuda │
│ l1 128 │
│ l2 16 │
│ lr 0.0094 │
╰─────────────────────────────────────────────────╯
(func pid=9198) [1, 2000] loss: 2.182
(func pid=9198) [1, 4000] loss: 1.068
(func pid=9198) [1, 6000] loss: 0.710
Trial status: 5 TERMINATED | 1 RUNNING | 4 PENDING
Current time: 2026-03-24 23:36:44. Total running time: 11min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00002 with loss=1.2192473624229432 and params={'l1': 32, 'l2': 4, 'lr': 0.0010793695568657134, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00005 RUNNING 128 16 0.00940367 4 │
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00001 TERMINATED 32 8 0.00517357 8 10 163.446 1.54689 0.4897 │
│ train_cifar_c7450_00002 TERMINATED 32 4 0.00107937 16 10 88.5162 1.21925 0.566 │
│ train_cifar_c7450_00003 TERMINATED 16 4 0.00221738 16 2 19.5833 1.63427 0.3821 │
│ train_cifar_c7450_00004 TERMINATED 1 32 0.000253045 4 1 33.4227 1.9572 0.1974 │
│ train_cifar_c7450_00006 PENDING 1 1 0.00463184 8 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=9198) [1, 8000] loss: 0.537
(func pid=9198) [1, 10000] loss: 0.441
Trial train_cifar_c7450_00005 completed after 1 iterations at 2026-03-24 23:36:56. Total running time: 11min 13s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00005 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 33.08212 │
│ time_total_s 33.08212 │
│ training_iteration 1 │
│ accuracy 0.1063 │
│ loss 2.31052 │
╰────────────────────────────────────────────────────────────╯
(func pid=9198) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00005_5_batch_size=4,l1=128,l2=16,lr=0.0094_2026-03-24_23-25-43/checkpoint_000000)
Trial train_cifar_c7450_00006 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00006 config │
├──────────────────────────────────────────────────┤
│ batch_size 8 │
│ device cuda │
│ l1 1 │
│ l2 1 │
│ lr 0.00463 │
╰──────────────────────────────────────────────────╯
(func pid=9386) [1, 2000] loss: 2.316
(func pid=9386) [1, 4000] loss: 1.152
Trial status: 6 TERMINATED | 1 RUNNING | 3 PENDING
Current time: 2026-03-24 23:37:14. Total running time: 11min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00002 with loss=1.2192473624229432 and params={'l1': 32, 'l2': 4, 'lr': 0.0010793695568657134, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00006 RUNNING 1 1 0.00463184 8 │
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00001 TERMINATED 32 8 0.00517357 8 10 163.446 1.54689 0.4897 │
│ train_cifar_c7450_00002 TERMINATED 32 4 0.00107937 16 10 88.5162 1.21925 0.566 │
│ train_cifar_c7450_00003 TERMINATED 16 4 0.00221738 16 2 19.5833 1.63427 0.3821 │
│ train_cifar_c7450_00004 TERMINATED 1 32 0.000253045 4 1 33.4227 1.9572 0.1974 │
│ train_cifar_c7450_00005 TERMINATED 128 16 0.00940367 4 1 33.0821 2.31052 0.1063 │
│ train_cifar_c7450_00007 PENDING 8 128 0.00744603 16 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Trial train_cifar_c7450_00006 completed after 1 iterations at 2026-03-24 23:37:19. Total running time: 11min 35s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00006 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 18.60816 │
│ time_total_s 18.60816 │
│ training_iteration 1 │
│ accuracy 0.099 │
│ loss 2.30335 │
╰────────────────────────────────────────────────────────────╯
(func pid=9386) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00006_6_batch_size=8,l1=1,l2=1,lr=0.0046_2026-03-24_23-25-43/checkpoint_000000)
Trial train_cifar_c7450_00007 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00007 config │
├──────────────────────────────────────────────────┤
│ batch_size 16 │
│ device cuda │
│ l1 8 │
│ l2 128 │
│ lr 0.00745 │
╰──────────────────────────────────────────────────╯
(func pid=9575) [1, 2000] loss: 1.822
(func pid=9575) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00007_7_batch_size=16,l1=8,l2=128,lr=0.0074_2026-03-24_23-25-43/checkpoint_000000)
(func pid=9575) [2, 2000] loss: 1.553
(func pid=9575) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00007_7_batch_size=16,l1=8,l2=128,lr=0.0074_2026-03-24_23-25-43/checkpoint_000001)
Trial status: 7 TERMINATED | 1 RUNNING | 2 PENDING
Current time: 2026-03-24 23:37:44. Total running time: 12min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00002 with loss=1.2192473624229432 and params={'l1': 32, 'l2': 4, 'lr': 0.0010793695568657134, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00007 RUNNING 8 128 0.00744603 16 2 19.7196 1.42941 0.4864 │
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00001 TERMINATED 32 8 0.00517357 8 10 163.446 1.54689 0.4897 │
│ train_cifar_c7450_00002 TERMINATED 32 4 0.00107937 16 10 88.5162 1.21925 0.566 │
│ train_cifar_c7450_00003 TERMINATED 16 4 0.00221738 16 2 19.5833 1.63427 0.3821 │
│ train_cifar_c7450_00004 TERMINATED 1 32 0.000253045 4 1 33.4227 1.9572 0.1974 │
│ train_cifar_c7450_00005 TERMINATED 128 16 0.00940367 4 1 33.0821 2.31052 0.1063 │
│ train_cifar_c7450_00006 TERMINATED 1 1 0.00463184 8 1 18.6082 2.30335 0.099 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=9575) [3, 2000] loss: 1.500
(func pid=9575) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00007_7_batch_size=16,l1=8,l2=128,lr=0.0074_2026-03-24_23-25-43/checkpoint_000002)
(func pid=9575) [4, 2000] loss: 1.477
(func pid=9575) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00007_7_batch_size=16,l1=8,l2=128,lr=0.0074_2026-03-24_23-25-43/checkpoint_000003)
(func pid=9575) [5, 2000] loss: 1.456
(func pid=9575) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00007_7_batch_size=16,l1=8,l2=128,lr=0.0074_2026-03-24_23-25-43/checkpoint_000004)
Trial status: 7 TERMINATED | 1 RUNNING | 2 PENDING
Current time: 2026-03-24 23:38:14. Total running time: 12min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00002 with loss=1.2192473624229432 and params={'l1': 32, 'l2': 4, 'lr': 0.0010793695568657134, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00007 RUNNING 8 128 0.00744603 16 5 45.7262 1.44157 0.4868 │
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00001 TERMINATED 32 8 0.00517357 8 10 163.446 1.54689 0.4897 │
│ train_cifar_c7450_00002 TERMINATED 32 4 0.00107937 16 10 88.5162 1.21925 0.566 │
│ train_cifar_c7450_00003 TERMINATED 16 4 0.00221738 16 2 19.5833 1.63427 0.3821 │
│ train_cifar_c7450_00004 TERMINATED 1 32 0.000253045 4 1 33.4227 1.9572 0.1974 │
│ train_cifar_c7450_00005 TERMINATED 128 16 0.00940367 4 1 33.0821 2.31052 0.1063 │
│ train_cifar_c7450_00006 TERMINATED 1 1 0.00463184 8 1 18.6082 2.30335 0.099 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=9575) [6, 2000] loss: 1.446
(func pid=9575) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00007_7_batch_size=16,l1=8,l2=128,lr=0.0074_2026-03-24_23-25-43/checkpoint_000005)
(func pid=9575) [7, 2000] loss: 1.442
(func pid=9575) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00007_7_batch_size=16,l1=8,l2=128,lr=0.0074_2026-03-24_23-25-43/checkpoint_000006)
(func pid=9575) [8, 2000] loss: 1.440
(func pid=9575) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00007_7_batch_size=16,l1=8,l2=128,lr=0.0074_2026-03-24_23-25-43/checkpoint_000007)
(func pid=9575) [9, 2000] loss: 1.436
(func pid=9575) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00007_7_batch_size=16,l1=8,l2=128,lr=0.0074_2026-03-24_23-25-43/checkpoint_000008)
Trial status: 7 TERMINATED | 1 RUNNING | 2 PENDING
Current time: 2026-03-24 23:38:45. Total running time: 13min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00002 with loss=1.2192473624229432 and params={'l1': 32, 'l2': 4, 'lr': 0.0010793695568657134, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00007 RUNNING 8 128 0.00744603 16 9 80.6356 1.61318 0.4408 │
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00001 TERMINATED 32 8 0.00517357 8 10 163.446 1.54689 0.4897 │
│ train_cifar_c7450_00002 TERMINATED 32 4 0.00107937 16 10 88.5162 1.21925 0.566 │
│ train_cifar_c7450_00003 TERMINATED 16 4 0.00221738 16 2 19.5833 1.63427 0.3821 │
│ train_cifar_c7450_00004 TERMINATED 1 32 0.000253045 4 1 33.4227 1.9572 0.1974 │
│ train_cifar_c7450_00005 TERMINATED 128 16 0.00940367 4 1 33.0821 2.31052 0.1063 │
│ train_cifar_c7450_00006 TERMINATED 1 1 0.00463184 8 1 18.6082 2.30335 0.099 │
│ train_cifar_c7450_00008 PENDING 32 256 0.00677879 8 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=9575) [10, 2000] loss: 1.466
Trial train_cifar_c7450_00007 completed after 10 iterations at 2026-03-24 23:38:53. Total running time: 13min 9s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00007 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000009 │
│ time_this_iter_s 8.72883 │
│ time_total_s 89.36444 │
│ training_iteration 10 │
│ accuracy 0.4832 │
│ loss 1.45521 │
╰────────────────────────────────────────────────────────────╯
(func pid=9575) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00007_7_batch_size=16,l1=8,l2=128,lr=0.0074_2026-03-24_23-25-43/checkpoint_000009)
Trial train_cifar_c7450_00008 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00008 config │
├──────────────────────────────────────────────────┤
│ batch_size 8 │
│ device cuda │
│ l1 32 │
│ l2 256 │
│ lr 0.00678 │
╰──────────────────────────────────────────────────╯
(func pid=10454) [1, 2000] loss: 1.897
(func pid=10454) [1, 4000] loss: 0.880
Trial status: 8 TERMINATED | 1 RUNNING | 1 PENDING
Current time: 2026-03-24 23:39:15. Total running time: 13min 31s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00002 with loss=1.2192473624229432 and params={'l1': 32, 'l2': 4, 'lr': 0.0010793695568657134, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00008 RUNNING 32 256 0.00677879 8 │
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00001 TERMINATED 32 8 0.00517357 8 10 163.446 1.54689 0.4897 │
│ train_cifar_c7450_00002 TERMINATED 32 4 0.00107937 16 10 88.5162 1.21925 0.566 │
│ train_cifar_c7450_00003 TERMINATED 16 4 0.00221738 16 2 19.5833 1.63427 0.3821 │
│ train_cifar_c7450_00004 TERMINATED 1 32 0.000253045 4 1 33.4227 1.9572 0.1974 │
│ train_cifar_c7450_00005 TERMINATED 128 16 0.00940367 4 1 33.0821 2.31052 0.1063 │
│ train_cifar_c7450_00006 TERMINATED 1 1 0.00463184 8 1 18.6082 2.30335 0.099 │
│ train_cifar_c7450_00007 TERMINATED 8 128 0.00744603 16 10 89.3644 1.45521 0.4832 │
│ train_cifar_c7450_00009 PENDING 1 128 0.00744559 8 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=10454) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00008_8_batch_size=8,l1=32,l2=256,lr=0.0068_2026-03-24_23-25-43/checkpoint_000000)
(func pid=10454) [2, 2000] loss: 1.690
(func pid=10454) [2, 4000] loss: 0.854
Trial train_cifar_c7450_00008 completed after 2 iterations at 2026-03-24 23:39:32. Total running time: 13min 48s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00008 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000001 │
│ time_this_iter_s 16.16063 │
│ time_total_s 34.47176 │
│ training_iteration 2 │
│ accuracy 0.3703 │
│ loss 1.76255 │
╰────────────────────────────────────────────────────────────╯
(func pid=10454) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00008_8_batch_size=8,l1=32,l2=256,lr=0.0068_2026-03-24_23-25-43/checkpoint_000001)
Trial train_cifar_c7450_00009 started with configuration:
╭──────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00009 config │
├──────────────────────────────────────────────────┤
│ batch_size 8 │
│ device cuda │
│ l1 1 │
│ l2 128 │
│ lr 0.00745 │
╰──────────────────────────────────────────────────╯
(func pid=10725) [1, 2000] loss: 2.306
Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2026-03-24 23:39:45. Total running time: 14min 1s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00002 with loss=1.2192473624229432 and params={'l1': 32, 'l2': 4, 'lr': 0.0010793695568657134, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00009 RUNNING 1 128 0.00744559 8 │
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00001 TERMINATED 32 8 0.00517357 8 10 163.446 1.54689 0.4897 │
│ train_cifar_c7450_00002 TERMINATED 32 4 0.00107937 16 10 88.5162 1.21925 0.566 │
│ train_cifar_c7450_00003 TERMINATED 16 4 0.00221738 16 2 19.5833 1.63427 0.3821 │
│ train_cifar_c7450_00004 TERMINATED 1 32 0.000253045 4 1 33.4227 1.9572 0.1974 │
│ train_cifar_c7450_00005 TERMINATED 128 16 0.00940367 4 1 33.0821 2.31052 0.1063 │
│ train_cifar_c7450_00006 TERMINATED 1 1 0.00463184 8 1 18.6082 2.30335 0.099 │
│ train_cifar_c7450_00007 TERMINATED 8 128 0.00744603 16 10 89.3644 1.45521 0.4832 │
│ train_cifar_c7450_00008 TERMINATED 32 256 0.00677879 8 2 34.4718 1.76255 0.3703 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
(func pid=10725) [1, 4000] loss: 1.155
(func pid=10725) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43/train_cifar_c7450_00009_9_batch_size=8,l1=1,l2=128,lr=0.0074_2026-03-24_23-25-43/checkpoint_000000)
Trial train_cifar_c7450_00009 completed after 1 iterations at 2026-03-24 23:39:55. Total running time: 14min 11s
╭────────────────────────────────────────────────────────────╮
│ Trial train_cifar_c7450_00009 result │
├────────────────────────────────────────────────────────────┤
│ checkpoint_dir_name checkpoint_000000 │
│ time_this_iter_s 18.4671 │
│ time_total_s 18.4671 │
│ training_iteration 1 │
│ accuracy 0.1013 │
│ loss 2.30657 │
╰────────────────────────────────────────────────────────────╯
2026-03-24 23:39:55,300 INFO tune.py:1009 -- Wrote the latest version of all result files and experiment state to '/var/lib/ci-user/ray_results/train_cifar_2026-03-24_23-25-43' in 0.0096s.
Trial status: 10 TERMINATED
Current time: 2026-03-24 23:39:55. Total running time: 14min 11s
Logical resource usage: 2.0/16 CPUs, 1.0/1 GPUs (0.0/1.0 accelerator_type:A10G)
Current best trial: c7450_00002 with loss=1.2192473624229432 and params={'l1': 32, 'l2': 4, 'lr': 0.0010793695568657134, 'batch_size': 16, 'device': 'cuda'}
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Trial name status l1 l2 lr batch_size iter total time (s) loss accuracy │
├────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ train_cifar_c7450_00000 TERMINATED 128 128 0.0633328 4 10 309.315 2.32042 0.0983 │
│ train_cifar_c7450_00001 TERMINATED 32 8 0.00517357 8 10 163.446 1.54689 0.4897 │
│ train_cifar_c7450_00002 TERMINATED 32 4 0.00107937 16 10 88.5162 1.21925 0.566 │
│ train_cifar_c7450_00003 TERMINATED 16 4 0.00221738 16 2 19.5833 1.63427 0.3821 │
│ train_cifar_c7450_00004 TERMINATED 1 32 0.000253045 4 1 33.4227 1.9572 0.1974 │
│ train_cifar_c7450_00005 TERMINATED 128 16 0.00940367 4 1 33.0821 2.31052 0.1063 │
│ train_cifar_c7450_00006 TERMINATED 1 1 0.00463184 8 1 18.6082 2.30335 0.099 │
│ train_cifar_c7450_00007 TERMINATED 8 128 0.00744603 16 10 89.3644 1.45521 0.4832 │
│ train_cifar_c7450_00008 TERMINATED 32 256 0.00677879 8 2 34.4718 1.76255 0.3703 │
│ train_cifar_c7450_00009 TERMINATED 1 128 0.00744559 8 1 18.4671 2.30657 0.1013 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Best trial config: {'l1': 32, 'l2': 4, 'lr': 0.0010793695568657134, 'batch_size': 16, 'device': 'cuda'}
Best trial final validation loss: 1.2192473624229432
Best trial final validation accuracy: 0.566
Best trial test set accuracy: 0.5737
Results#
Your Ray Tune trial summary output looks something like this. The text table summarizes the validation performance of the trials and highlights the best hyperparameter configuration:
Number of trials: 10/10 (10 TERMINATED) +-----+--------------+------+------+-------------+--------+---------+------------+ | ... | batch_size | l1 | l2 | lr | iter | loss | accuracy | |-----+--------------+------+------+-------------+--------+---------+------------| | ... | 2 | 1 | 256 | 0.000668163 | 1 | 2.31479 | 0.0977 | | ... | 4 | 64 | 8 | 0.0331514 | 1 | 2.31605 | 0.0983 | | ... | 4 | 2 | 1 | 0.000150295 | 1 | 2.30755 | 0.1023 | | ... | 16 | 32 | 32 | 0.0128248 | 10 | 1.66912 | 0.4391 | | ... | 4 | 8 | 128 | 0.00464561 | 2 | 1.7316 | 0.3463 | | ... | 8 | 256 | 8 | 0.00031556 | 1 | 2.19409 | 0.1736 | | ... | 4 | 16 | 256 | 0.00574329 | 2 | 1.85679 | 0.3368 | | ... | 8 | 2 | 2 | 0.00325652 | 1 | 2.30272 | 0.0984 | | ... | 2 | 2 | 2 | 0.000342987 | 2 | 1.76044 | 0.292 | | ... | 4 | 64 | 32 | 0.003734 | 8 | 1.53101 | 0.4761 | +-----+--------------+------+------+-------------+--------+---------+------------+ Best trial config: {'l1': 64, 'l2': 32, 'lr': 0.0037339984519545164, 'batch_size': 4} Best trial final validation loss: 1.5310075663924216 Best trial final validation accuracy: 0.4761 Best trial test set accuracy: 0.4737
Most trials stopped early to conserve resources. The best performing trial achieved a validation accuracy of approximately 47%, which the test set confirms.
Observability#
Monitoring is critical when running large-scale experiments. Ray provides a dashboard that lets you view the status of your trials, check cluster resource use, and inspect logs in real time.
For debugging, Ray also offers distributed debugging tools that let you attach a debugger to running trials across the cluster.
Conclusion#
In this tutorial, you learned how to tune the hyperparameters of a
PyTorch model using Ray Tune. You saw how to integrate Ray Tune into
your PyTorch training loop, define a search space for your
hyperparameters, use an efficient scheduler like ASHAScheduler to
terminate low-performing trials early, save checkpoints and report
metrics to Ray Tune, and run the hyperparameter search and analyze the
results.
Ray Tune makes it straightforward to scale your experiments from a single machine to a large cluster, helping you find the best model configuration efficiently.
Further reading#
Total running time of the script: (14 minutes 26.813 seconds)