Shortcuts

Hyperparameter tuning with Ray Tune

Created On: Aug 31, 2020 | Last Updated: Oct 31, 2024 | 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

  1. wrap data loading and training in functions,

  2. make some network parameters configurable,

  3. add checkpointing (optional),

  4. 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 library

  • torchvision: 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% 623k/170M [00:00<00:27, 6.20MB/s]
  5% 7.83M/170M [00:00<00:03, 44.9MB/s]
 10% 16.4M/170M [00:00<00:02, 63.1MB/s]
 15% 24.9M/170M [00:00<00:02, 71.9MB/s]
 19% 32.1M/170M [00:00<00:02, 66.4MB/s]
 23% 38.9M/170M [00:00<00:02, 62.6MB/s]
 27% 45.2M/170M [00:00<00:02, 59.8MB/s]
 30% 51.3M/170M [00:00<00:02, 57.8MB/s]
 34% 57.2M/170M [00:00<00:01, 58.2MB/s]
 37% 63.1M/170M [00:01<00:01, 56.8MB/s]
 40% 68.8M/170M [00:01<00:02, 47.6MB/s]
 43% 73.8M/170M [00:01<00:02, 43.0MB/s]
 46% 78.3M/170M [00:01<00:02, 40.3MB/s]
 48% 82.5M/170M [00:01<00:02, 38.8MB/s]
 51% 86.5M/170M [00:01<00:02, 37.5MB/s]
 53% 90.3M/170M [00:01<00:02, 36.6MB/s]
 55% 94.0M/170M [00:01<00:02, 35.8MB/s]
 57% 97.6M/170M [00:02<00:02, 35.2MB/s]
 59% 101M/170M [00:02<00:01, 34.8MB/s]
 61% 105M/170M [00:02<00:01, 34.3MB/s]
 63% 108M/170M [00:02<00:01, 34.3MB/s]
 66% 112M/170M [00:02<00:01, 34.8MB/s]
 68% 115M/170M [00:02<00:01, 35.0MB/s]
 70% 119M/170M [00:02<00:01, 36.3MB/s]
 72% 123M/170M [00:02<00:01, 36.9MB/s]
 74% 127M/170M [00:02<00:01, 37.4MB/s]
 77% 131M/170M [00:03<00:01, 37.2MB/s]
 79% 135M/170M [00:03<00:00, 36.6MB/s]
 81% 138M/170M [00:03<00:00, 36.3MB/s]
 83% 142M/170M [00:03<00:00, 35.6MB/s]
 85% 145M/170M [00:03<00:00, 35.7MB/s]
 87% 149M/170M [00:03<00:00, 34.8MB/s]
 89% 153M/170M [00:03<00:00, 34.0MB/s]
 91% 156M/170M [00:03<00:00, 33.1MB/s]
 93% 159M/170M [00:03<00:00, 33.2MB/s]
 95% 163M/170M [00:03<00:00, 33.5MB/s]
 97% 166M/170M [00:04<00:00, 33.4MB/s]
 99% 170M/170M [00:04<00:00, 33.3MB/s]
100% 170M/170M [00:04<00:00, 40.6MB/s]
2025-06-04 21:24:44,390 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-06-04 21:24:44,446 INFO worker.py:1642 -- Started a local Ray instance.
2025-06-04 21:24:45,365 INFO tune.py:228 -- Initializing Ray automatically. For cluster usage or custom Ray initialization, call `ray.init(...)` before `tune.run(...)`.
2025-06-04 21:24:45,366 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-06-04_21-24-45   |
+--------------------------------------------------------------------+
| Search algorithm                 BasicVariantGenerator             |
| Scheduler                        AsyncHyperBandScheduler           |
| Number of trials                 10                                |
+--------------------------------------------------------------------+

View detailed results here: /var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45
To visualize your results with TensorBoard, run: `tensorboard --logdir /var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45`

Trial status: 10 PENDING
Current time: 2025-06-04 21:24:45. Total running time: 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 |
+-------------------------------------------------------------------------------+
| train_cifar_56125_00000   PENDING      32      4   0.00063935               2 |
| train_cifar_56125_00001   PENDING       2    128   0.0178334                2 |
| train_cifar_56125_00002   PENDING     256      2   0.0371779               16 |
| train_cifar_56125_00003   PENDING       1      1   0.00140895               4 |
| train_cifar_56125_00004   PENDING      16    256   0.0167159                2 |
| train_cifar_56125_00005   PENDING       1      2   0.00829943               4 |
| train_cifar_56125_00006   PENDING       4      4   0.000134291             16 |
| train_cifar_56125_00007   PENDING       2     32   0.0187485               16 |
| train_cifar_56125_00008   PENDING      16      2   0.000144716              2 |
| train_cifar_56125_00009   PENDING      32     16   0.0021979                2 |
+-------------------------------------------------------------------------------+

Trial train_cifar_56125_00000 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_56125_00000 config             |
+--------------------------------------------------+
| batch_size                                     2 |
| l1                                            32 |
| l2                                             4 |
| lr                                       0.00064 |
+--------------------------------------------------+

Trial train_cifar_56125_00007 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_56125_00007 config             |
+--------------------------------------------------+
| batch_size                                    16 |
| l1                                             2 |
| l2                                            32 |
| lr                                       0.01875 |
+--------------------------------------------------+

Trial train_cifar_56125_00003 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_56125_00003 config             |
+--------------------------------------------------+
| batch_size                                     4 |
| l1                                             1 |
| l2                                             1 |
| lr                                       0.00141 |
+--------------------------------------------------+

Trial train_cifar_56125_00004 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_56125_00004 config             |
+--------------------------------------------------+
| batch_size                                     2 |
| l1                                            16 |
| l2                                           256 |
| lr                                       0.01672 |
+--------------------------------------------------+

Trial train_cifar_56125_00005 started with configuration:
+-------------------------------------------------+
| Trial train_cifar_56125_00005 config            |
+-------------------------------------------------+
| batch_size                                    4 |
| l1                                            1 |
| l2                                            2 |
| lr                                       0.0083 |
+-------------------------------------------------+

Trial train_cifar_56125_00006 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_56125_00006 config             |
+--------------------------------------------------+
| batch_size                                    16 |
| l1                                             4 |
| l2                                             4 |
| lr                                       0.00013 |
+--------------------------------------------------+

Trial train_cifar_56125_00002 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_56125_00002 config             |
+--------------------------------------------------+
| batch_size                                    16 |
| l1                                           256 |
| l2                                             2 |
| lr                                       0.03718 |
+--------------------------------------------------+

Trial train_cifar_56125_00001 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_56125_00001 config             |
+--------------------------------------------------+
| batch_size                                     2 |
| l1                                             2 |
| l2                                           128 |
| lr                                       0.01783 |
+--------------------------------------------------+
(func pid=4875) [1,  2000] loss: 2.310

Trial train_cifar_56125_00007 finished iteration 1 at 2025-06-04 21:25:13. Total running time: 28s
+------------------------------------------------------------+
| Trial train_cifar_56125_00007 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                   23.4182 |
| time_total_s                                       23.4182 |
| training_iteration                                       1 |
| accuracy                                            0.1916 |
| loss                                               1.92637 |
+------------------------------------------------------------+
Trial train_cifar_56125_00007 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000000
(func pid=4882) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000000)

Trial train_cifar_56125_00006 finished iteration 1 at 2025-06-04 21:25:14. Total running time: 28s
+------------------------------------------------------------+
| Trial train_cifar_56125_00006 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                  24.18919 |
| time_total_s                                      24.18919 |
| training_iteration                                       1 |
| accuracy                                            0.0993 |
| loss                                               2.30958 |
+------------------------------------------------------------+
Trial train_cifar_56125_00006 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00006_6_batch_size=16,l1=4,l2=4,lr=0.0001_2025-06-04_21-24-45/checkpoint_000000

Trial train_cifar_56125_00006 completed after 1 iterations at 2025-06-04 21:25:14. Total running time: 28s

Trial train_cifar_56125_00008 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_56125_00008 config             |
+--------------------------------------------------+
| batch_size                                     2 |
| l1                                            16 |
| l2                                             2 |
| lr                                       0.00014 |
+--------------------------------------------------+
(func pid=4875) [1,  4000] loss: 1.125 [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_56125_00002 finished iteration 1 at 2025-06-04 21:25:15. Total running time: 29s
+------------------------------------------------------------+
| Trial train_cifar_56125_00002 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                  25.09781 |
| time_total_s                                      25.09781 |
| training_iteration                                       1 |
| accuracy                                            0.1654 |
| loss                                               2.08122 |
+------------------------------------------------------------+
Trial train_cifar_56125_00002 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00002_2_batch_size=16,l1=256,l2=2,lr=0.0372_2025-06-04_21-24-45/checkpoint_000000

Trial status: 8 RUNNING | 1 TERMINATED | 1 PENDING
Current time: 2025-06-04 21:25:15. 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     iter     total time (s)      loss     accuracy |
+------------------------------------------------------------------------------------------------------------------------------------+
| train_cifar_56125_00000   RUNNING        32      4   0.00063935               2                                                    |
| train_cifar_56125_00001   RUNNING         2    128   0.0178334                2                                                    |
| train_cifar_56125_00002   RUNNING       256      2   0.0371779               16        1            25.0978   2.08122       0.1654 |
| train_cifar_56125_00003   RUNNING         1      1   0.00140895               4                                                    |
| train_cifar_56125_00004   RUNNING        16    256   0.0167159                2                                                    |
| train_cifar_56125_00005   RUNNING         1      2   0.00829943               4                                                    |
| train_cifar_56125_00007   RUNNING         2     32   0.0187485               16        1            23.4182   1.92637       0.1916 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2                                                    |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00009   PENDING        32     16   0.0021979                2                                                    |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4875) [1,  6000] loss: 0.693 [repeated 5x across cluster]
(func pid=4877) [2,  2000] loss: 2.299 [repeated 7x across cluster]

Trial train_cifar_56125_00007 finished iteration 2 at 2025-06-04 21:25:35. Total running time: 50s
+------------------------------------------------------------+
| Trial train_cifar_56125_00007 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000001 |
| time_this_iter_s                                  22.07987 |
| time_total_s                                      45.49807 |
| training_iteration                                       2 |
| accuracy                                            0.1981 |
| loss                                               1.97248 |
+------------------------------------------------------------+
(func pid=4882) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000001) [repeated 3x across cluster]
Trial train_cifar_56125_00007 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000001
(func pid=4880) [1,  8000] loss: 0.486 [repeated 4x across cluster]

Trial train_cifar_56125_00002 finished iteration 2 at 2025-06-04 21:25:40. Total running time: 54s
+------------------------------------------------------------+
| Trial train_cifar_56125_00002 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000001 |
| time_this_iter_s                                  24.61223 |
| time_total_s                                      49.71004 |
| training_iteration                                       2 |
| accuracy                                            0.0957 |
| loss                                               2.30782 |
+------------------------------------------------------------+
Trial train_cifar_56125_00002 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00002_2_batch_size=16,l1=256,l2=2,lr=0.0372_2025-06-04_21-24-45/checkpoint_000001

Trial train_cifar_56125_00002 completed after 2 iterations at 2025-06-04 21:25:40. Total running time: 54s

Trial train_cifar_56125_00009 started with configuration:
+-------------------------------------------------+
| Trial train_cifar_56125_00009 config            |
+-------------------------------------------------+
| batch_size                                    2 |
| l1                                           32 |
| l2                                           16 |
| lr                                       0.0022 |
+-------------------------------------------------+
(func pid=4875) [1, 10000] loss: 0.371 [repeated 3x across cluster]

Trial status: 8 RUNNING | 2 TERMINATED
Current time: 2025-06-04 21:25:45. 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_56125_00000   RUNNING        32      4   0.00063935               2                                                    |
| train_cifar_56125_00001   RUNNING         2    128   0.0178334                2                                                    |
| train_cifar_56125_00003   RUNNING         1      1   0.00140895               4                                                    |
| train_cifar_56125_00004   RUNNING        16    256   0.0167159                2                                                    |
| train_cifar_56125_00005   RUNNING         1      2   0.00829943               4                                                    |
| train_cifar_56125_00007   RUNNING         2     32   0.0187485               16        2            45.4981   1.97248       0.1981 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2                                                    |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2                                                    |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4882) [3,  2000] loss: 2.192 [repeated 6x across cluster]
(func pid=4879) [1, 12000] loss: 0.387 [repeated 3x across cluster]

Trial train_cifar_56125_00007 finished iteration 3 at 2025-06-04 21:25:56. Total running time: 1min 10s
+------------------------------------------------------------+
| Trial train_cifar_56125_00007 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000002 |
| time_this_iter_s                                  20.81938 |
| time_total_s                                      66.31745 |
| training_iteration                                       3 |
| accuracy                                            0.1011 |
| loss                                               2.30533 |
+------------------------------------------------------------+
Trial train_cifar_56125_00007 saved a checkpoint for iteration 3 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000002
(func pid=4882) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000002) [repeated 2x across cluster]

Trial train_cifar_56125_00003 finished iteration 1 at 2025-06-04 21:25:59. Total running time: 1min 14s
+------------------------------------------------------------+
| Trial train_cifar_56125_00003 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                   69.3496 |
| time_total_s                                       69.3496 |
| training_iteration                                       1 |
| accuracy                                            0.1984 |
| loss                                               1.90765 |
+------------------------------------------------------------+

Trial train_cifar_56125_00005 finished iteration 1 at 2025-06-04 21:25:59. Total running time: 1min 14s
+------------------------------------------------------------+
| Trial train_cifar_56125_00005 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                  69.32479 |
| time_total_s                                      69.32479 |
| training_iteration                                       1 |
| accuracy                                            0.1028 |
| loss                                               2.30894 |
+------------------------------------------------------------+

Trial train_cifar_56125_00003 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000000

Trial train_cifar_56125_00005 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00005_5_batch_size=4,l1=1,l2=2,lr=0.0083_2025-06-04_21-24-45/checkpoint_000000

Trial train_cifar_56125_00005 completed after 1 iterations at 2025-06-04 21:25:59. Total running time: 1min 14s
(func pid=4877) [1,  4000] loss: 0.985 [repeated 3x across cluster]
(func pid=4882) [4,  2000] loss: 2.305 [repeated 5x across cluster]

Trial train_cifar_56125_00007 finished iteration 4 at 2025-06-04 21:26:15. Total running time: 1min 30s
+------------------------------------------------------------+
| Trial train_cifar_56125_00007 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000003 |
| time_this_iter_s                                  19.11966 |
| time_total_s                                       85.4371 |
| training_iteration                                       4 |
| accuracy                                             0.098 |
| loss                                               2.30425 |
+------------------------------------------------------------+
Trial train_cifar_56125_00007 saved a checkpoint for iteration 4 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000003
(func pid=4882) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000003) [repeated 3x across cluster]
(func pid=4881) [1, 12000] loss: 0.382 [repeated 6x across cluster]

Trial status: 7 RUNNING | 3 TERMINATED
Current time: 2025-06-04 21:26:15. Total running time: 1min 30s
Logical resource usage: 14.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_56125_00000   RUNNING        32      4   0.00063935               2                                                    |
| train_cifar_56125_00001   RUNNING         2    128   0.0178334                2                                                    |
| train_cifar_56125_00003   RUNNING         1      1   0.00140895               4        1            69.3496   1.90765       0.1984 |
| train_cifar_56125_00004   RUNNING        16    256   0.0167159                2                                                    |
| train_cifar_56125_00007   RUNNING         2     32   0.0187485               16        4            85.4371   2.30425       0.098  |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2                                                    |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2                                                    |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4875) [1, 18000] loss: 0.184 [repeated 3x across cluster]
(func pid=4880) [2,  6000] loss: 0.629 [repeated 4x across cluster]

Trial train_cifar_56125_00007 finished iteration 5 at 2025-06-04 21:26:34. Total running time: 1min 48s
+------------------------------------------------------------+
| Trial train_cifar_56125_00007 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000004 |
| time_this_iter_s                                  18.52779 |
| time_total_s                                     103.96489 |
| training_iteration                                       5 |
| accuracy                                            0.1003 |
| loss                                               2.30644 |
+------------------------------------------------------------+
Trial train_cifar_56125_00007 saved a checkpoint for iteration 5 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000004
(func pid=4882) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000004)
(func pid=4880) [2,  8000] loss: 0.471 [repeated 7x across cluster]
(func pid=4880) [2, 10000] loss: 0.377 [repeated 3x across cluster]

Trial status: 7 RUNNING | 3 TERMINATED
Current time: 2025-06-04 21:26:45. Total running time: 2min 0s
Logical resource usage: 14.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_56125_00000   RUNNING        32      4   0.00063935               2                                                    |
| train_cifar_56125_00001   RUNNING         2    128   0.0178334                2                                                    |
| train_cifar_56125_00003   RUNNING         1      1   0.00140895               4        1            69.3496   1.90765       0.1984 |
| train_cifar_56125_00004   RUNNING        16    256   0.0167159                2                                                    |
| train_cifar_56125_00007   RUNNING         2     32   0.0187485               16        5           103.965    2.30644       0.1003 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2                                                    |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2                                                    |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
+------------------------------------------------------------------------------------------------------------------------------------+

Trial train_cifar_56125_00004 finished iteration 1 at 2025-06-04 21:26:48. Total running time: 2min 3s
+------------------------------------------------------------+
| Trial train_cifar_56125_00004 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                 118.57597 |
| time_total_s                                     118.57597 |
| training_iteration                                       1 |
| accuracy                                            0.1049 |
| loss                                               2.33595 |
+------------------------------------------------------------+
Trial train_cifar_56125_00004 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00004_4_batch_size=2,l1=16,l2=256,lr=0.0167_2025-06-04_21-24-45/checkpoint_000000

Trial train_cifar_56125_00004 completed after 1 iterations at 2025-06-04 21:26:48. Total running time: 2min 3s
(func pid=4879) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00004_4_batch_size=2,l1=16,l2=256,lr=0.0167_2025-06-04_21-24-45/checkpoint_000000)

Trial train_cifar_56125_00000 finished iteration 1 at 2025-06-04 21:26:48. Total running time: 2min 3s
+------------------------------------------------------------+
| Trial train_cifar_56125_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                 118.79057 |
| time_total_s                                     118.79057 |
| training_iteration                                       1 |
| accuracy                                            0.3756 |
| loss                                               1.62391 |
+------------------------------------------------------------+
Trial train_cifar_56125_00000 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000000

Trial train_cifar_56125_00001 finished iteration 1 at 2025-06-04 21:26:49. Total running time: 2min 3s
+------------------------------------------------------------+
| Trial train_cifar_56125_00001 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                 118.93566 |
| time_total_s                                     118.93566 |
| training_iteration                                       1 |
| accuracy                                            0.0997 |
| loss                                                 2.312 |
+------------------------------------------------------------+
Trial train_cifar_56125_00001 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00001_1_batch_size=2,l1=2,l2=128,lr=0.0178_2025-06-04_21-24-45/checkpoint_000000

Trial train_cifar_56125_00001 completed after 1 iterations at 2025-06-04 21:26:49. Total running time: 2min 3s

Trial train_cifar_56125_00007 finished iteration 6 at 2025-06-04 21:26:51. Total running time: 2min 5s
+------------------------------------------------------------+
| Trial train_cifar_56125_00007 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000005 |
| time_this_iter_s                                  17.19964 |
| time_total_s                                     121.16453 |
| training_iteration                                       6 |
| accuracy                                            0.0967 |
| loss                                               2.30569 |
+------------------------------------------------------------+
Trial train_cifar_56125_00007 saved a checkpoint for iteration 6 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000005

Trial train_cifar_56125_00003 finished iteration 2 at 2025-06-04 21:26:53. Total running time: 2min 8s
+------------------------------------------------------------+
| Trial train_cifar_56125_00003 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000001 |
| time_this_iter_s                                  54.07323 |
| time_total_s                                     123.42282 |
| training_iteration                                       2 |
| accuracy                                            0.1888 |
| loss                                               1.87521 |
+------------------------------------------------------------+
Trial train_cifar_56125_00003 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000001
(func pid=4877) [1, 16000] loss: 0.212 [repeated 4x across cluster]
(func pid=4877) [1, 18000] loss: 0.184 [repeated 2x across cluster]

Trial train_cifar_56125_00008 finished iteration 1 at 2025-06-04 21:27:01. Total running time: 2min 16s
+------------------------------------------------------------+
| Trial train_cifar_56125_00008 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                 107.16689 |
| time_total_s                                     107.16689 |
| training_iteration                                       1 |
| accuracy                                            0.2168 |
| loss                                               2.10592 |
+------------------------------------------------------------+
Trial train_cifar_56125_00008 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000000
(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000000) [repeated 5x across cluster]

Trial train_cifar_56125_00007 finished iteration 7 at 2025-06-04 21:27:06. Total running time: 2min 20s
+------------------------------------------------------------+
| Trial train_cifar_56125_00007 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000006 |
| time_this_iter_s                                  14.90167 |
| time_total_s                                      136.0662 |
| training_iteration                                       7 |
| accuracy                                            0.0967 |
| loss                                               2.30595 |
+------------------------------------------------------------+
Trial train_cifar_56125_00007 saved a checkpoint for iteration 7 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000006
(func pid=4877) [1, 20000] loss: 0.168 [repeated 4x across cluster]

Trial status: 5 RUNNING | 5 TERMINATED
Current time: 2025-06-04 21:27:15. Total running time: 2min 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_56125_00000   RUNNING        32      4   0.00063935               2        1           118.791    1.62391       0.3756 |
| train_cifar_56125_00003   RUNNING         1      1   0.00140895               4        2           123.423    1.87521       0.1888 |
| train_cifar_56125_00007   RUNNING         2     32   0.0187485               16        7           136.066    2.30595       0.0967 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        1           107.167    2.10592       0.2168 |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2                                                    |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [2,  4000] loss: 1.024 [repeated 4x across cluster]

Trial train_cifar_56125_00009 finished iteration 1 at 2025-06-04 21:27:21. Total running time: 2min 35s
+------------------------------------------------------------+
| Trial train_cifar_56125_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                 101.00836 |
| time_total_s                                     101.00836 |
| training_iteration                                       1 |
| accuracy                                            0.3761 |
| loss                                               1.71013 |
+------------------------------------------------------------+
Trial train_cifar_56125_00009 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00009_9_batch_size=2,l1=32,l2=16,lr=0.0022_2025-06-04_21-24-45/checkpoint_000000
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00009_9_batch_size=2,l1=32,l2=16,lr=0.0022_2025-06-04_21-24-45/checkpoint_000000) [repeated 2x across cluster]

Trial train_cifar_56125_00007 finished iteration 8 at 2025-06-04 21:27:21. Total running time: 2min 35s
+------------------------------------------------------------+
| Trial train_cifar_56125_00007 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000007 |
| time_this_iter_s                                  15.11777 |
| time_total_s                                     151.18397 |
| training_iteration                                       8 |
| accuracy                                            0.0967 |
| loss                                               2.30552 |
+------------------------------------------------------------+
Trial train_cifar_56125_00007 saved a checkpoint for iteration 8 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000007
(func pid=4881) [2,  6000] loss: 0.676 [repeated 4x across cluster]
(func pid=4881) [2,  8000] loss: 0.498 [repeated 4x across cluster]

Trial train_cifar_56125_00007 finished iteration 9 at 2025-06-04 21:27:36. Total running time: 2min 50s
+------------------------------------------------------------+
| Trial train_cifar_56125_00007 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000008 |
| time_this_iter_s                                  14.79955 |
| time_total_s                                     165.98352 |
| training_iteration                                       9 |
| accuracy                                            0.0986 |
| loss                                               2.30508 |
+------------------------------------------------------------+
Trial train_cifar_56125_00007 saved a checkpoint for iteration 9 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000008
(func pid=4882) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000008) [repeated 2x across cluster]

Trial train_cifar_56125_00003 finished iteration 3 at 2025-06-04 21:27:38. Total running time: 2min 53s
+------------------------------------------------------------+
| Trial train_cifar_56125_00003 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000002 |
| time_this_iter_s                                  44.99577 |
| time_total_s                                     168.41859 |
| training_iteration                                       3 |
| accuracy                                            0.2101 |
| loss                                               1.87701 |
+------------------------------------------------------------+
Trial train_cifar_56125_00003 saved a checkpoint for iteration 3 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000002
(func pid=4881) [2, 10000] loss: 0.396 [repeated 5x across cluster]

Trial status: 5 RUNNING | 5 TERMINATED
Current time: 2025-06-04 21:27:45. Total running time: 3min 0s
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_56125_00000   RUNNING        32      4   0.00063935               2        1           118.791    1.62391       0.3756 |
| train_cifar_56125_00003   RUNNING         1      1   0.00140895               4        3           168.419    1.87701       0.2101 |
| train_cifar_56125_00007   RUNNING         2     32   0.0187485               16        9           165.984    2.30508       0.0986 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        1           107.167    2.10592       0.2168 |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        1           101.008    1.71013       0.3761 |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [2, 12000] loss: 0.324 [repeated 3x across cluster]

Trial train_cifar_56125_00007 finished iteration 10 at 2025-06-04 21:27:51. Total running time: 3min 5s
+------------------------------------------------------------+
| Trial train_cifar_56125_00007 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000009 |
| time_this_iter_s                                  15.12702 |
| time_total_s                                     181.11053 |
| training_iteration                                      10 |
| accuracy                                            0.0984 |
| loss                                               2.30651 |
+------------------------------------------------------------+
Trial train_cifar_56125_00007 saved a checkpoint for iteration 10 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000009

Trial train_cifar_56125_00007 completed after 10 iterations at 2025-06-04 21:27:51. Total running time: 3min 5s
(func pid=4882) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00007_7_batch_size=16,l1=2,l2=32,lr=0.0187_2025-06-04_21-24-45/checkpoint_000009) [repeated 2x across cluster]
(func pid=4881) [2, 14000] loss: 0.277 [repeated 5x across cluster]
(func pid=4881) [2, 16000] loss: 0.240 [repeated 4x across cluster]
(func pid=4881) [2, 18000] loss: 0.211 [repeated 4x across cluster]

Trial train_cifar_56125_00000 finished iteration 2 at 2025-06-04 21:28:13. Total running time: 3min 27s
+------------------------------------------------------------+
| Trial train_cifar_56125_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000001 |
| time_this_iter_s                                  84.32803 |
| time_total_s                                     203.11859 |
| training_iteration                                       2 |
| accuracy                                            0.4795 |
| loss                                               1.42085 |
+------------------------------------------------------------+
Trial train_cifar_56125_00000 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000001
(func pid=4875) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000001)
(func pid=4881) [2, 20000] loss: 0.187 [repeated 3x across cluster]

Trial status: 4 RUNNING | 6 TERMINATED
Current time: 2025-06-04 21:28:16. Total running time: 3min 30s
Logical resource usage: 8.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_56125_00000   RUNNING        32      4   0.00063935               2        2           203.119    1.42085       0.4795 |
| train_cifar_56125_00003   RUNNING         1      1   0.00140895               4        3           168.419    1.87701       0.2101 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        1           107.167    2.10592       0.2168 |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        1           101.008    1.71013       0.3761 |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4875) [3,  2000] loss: 1.386 [repeated 3x across cluster]

Trial train_cifar_56125_00003 finished iteration 4 at 2025-06-04 21:28:21. Total running time: 3min 36s
+------------------------------------------------------------+
| Trial train_cifar_56125_00003 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000003 |
| time_this_iter_s                                  43.11678 |
| time_total_s                                     211.53537 |
| training_iteration                                       4 |
| accuracy                                            0.2316 |
| loss                                                1.8453 |
+------------------------------------------------------------+
Trial train_cifar_56125_00003 saved a checkpoint for iteration 4 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000003
(func pid=4880) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000003)

Trial train_cifar_56125_00008 finished iteration 2 at 2025-06-04 21:28:24. Total running time: 3min 39s
+------------------------------------------------------------+
| Trial train_cifar_56125_00008 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000001 |
| time_this_iter_s                                  83.06421 |
| time_total_s                                     190.23109 |
| training_iteration                                       2 |
| accuracy                                            0.2941 |
| loss                                               1.86246 |
+------------------------------------------------------------+
Trial train_cifar_56125_00008 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000001
(func pid=4875) [3,  4000] loss: 0.704 [repeated 2x across cluster]
(func pid=4875) [3,  6000] loss: 0.454 [repeated 4x across cluster]
(func pid=4875) [3,  8000] loss: 0.352 [repeated 3x across cluster]

Trial train_cifar_56125_00009 finished iteration 2 at 2025-06-04 21:28:41. Total running time: 3min 56s
+------------------------------------------------------------+
| Trial train_cifar_56125_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000001 |
| time_this_iter_s                                  80.74502 |
| time_total_s                                     181.75338 |
| training_iteration                                       2 |
| accuracy                                            0.4038 |
| loss                                                1.6631 |
+------------------------------------------------------------+
Trial train_cifar_56125_00009 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00009_9_batch_size=2,l1=32,l2=16,lr=0.0022_2025-06-04_21-24-45/checkpoint_000001
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00009_9_batch_size=2,l1=32,l2=16,lr=0.0022_2025-06-04_21-24-45/checkpoint_000001) [repeated 2x across cluster]

Trial status: 4 RUNNING | 6 TERMINATED
Current time: 2025-06-04 21:28:46. Total running time: 4min 0s
Logical resource usage: 8.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_56125_00000   RUNNING        32      4   0.00063935               2        2           203.119    1.42085       0.4795 |
| train_cifar_56125_00003   RUNNING         1      1   0.00140895               4        4           211.535    1.8453        0.2316 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        2           190.231    1.86246       0.2941 |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        2           181.753    1.6631        0.4038 |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4875) [3, 10000] loss: 0.275 [repeated 3x across cluster]
(func pid=4875) [3, 12000] loss: 0.232 [repeated 4x across cluster]
(func pid=4875) [3, 14000] loss: 0.196 [repeated 4x across cluster]

Trial train_cifar_56125_00003 finished iteration 5 at 2025-06-04 21:29:01. Total running time: 4min 16s
+------------------------------------------------------------+
| Trial train_cifar_56125_00003 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000004 |
| time_this_iter_s                                  39.97954 |
| time_total_s                                     251.51492 |
| training_iteration                                       5 |
| accuracy                                            0.2301 |
| loss                                               1.84962 |
+------------------------------------------------------------+
Trial train_cifar_56125_00003 saved a checkpoint for iteration 5 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000004
(func pid=4880) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000004)
(func pid=4875) [3, 16000] loss: 0.173 [repeated 3x across cluster]
(func pid=4875) [3, 18000] loss: 0.149 [repeated 4x across cluster]

Trial status: 4 RUNNING | 6 TERMINATED
Current time: 2025-06-04 21:29:16. Total running time: 4min 30s
Logical resource usage: 8.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_56125_00000   RUNNING        32      4   0.00063935               2        2           203.119    1.42085       0.4795 |
| train_cifar_56125_00003   RUNNING         1      1   0.00140895               4        5           251.515    1.84962       0.2301 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        2           190.231    1.86246       0.2941 |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        2           181.753    1.6631        0.4038 |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4875) [3, 20000] loss: 0.137 [repeated 4x across cluster]
(func pid=4877) [3, 14000] loss: 0.232 [repeated 4x across cluster]

Trial train_cifar_56125_00000 finished iteration 3 at 2025-06-04 21:29:29. Total running time: 4min 43s
+------------------------------------------------------------+
| Trial train_cifar_56125_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000002 |
| time_this_iter_s                                  76.09308 |
| time_total_s                                     279.21167 |
| training_iteration                                       3 |
| accuracy                                            0.4973 |
| loss                                               1.39595 |
+------------------------------------------------------------+
Trial train_cifar_56125_00000 saved a checkpoint for iteration 3 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000002
(func pid=4875) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000002)
(func pid=4877) [3, 16000] loss: 0.204 [repeated 3x across cluster]

Trial train_cifar_56125_00008 finished iteration 3 at 2025-06-04 21:29:40. Total running time: 4min 54s
+------------------------------------------------------------+
| Trial train_cifar_56125_00008 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000002 |
| time_this_iter_s                                  75.68877 |
| time_total_s                                     265.91987 |
| training_iteration                                       3 |
| accuracy                                            0.3117 |
| loss                                               1.79298 |
+------------------------------------------------------------+
Trial train_cifar_56125_00008 saved a checkpoint for iteration 3 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000002
(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000002)
(func pid=4877) [3, 18000] loss: 0.179 [repeated 3x across cluster]

Trial train_cifar_56125_00003 finished iteration 6 at 2025-06-04 21:29:41. Total running time: 4min 56s
+------------------------------------------------------------+
| Trial train_cifar_56125_00003 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000005 |
| time_this_iter_s                                  40.01153 |
| time_total_s                                     291.52645 |
| training_iteration                                       6 |
| accuracy                                            0.2347 |
| loss                                               1.84082 |
+------------------------------------------------------------+
Trial train_cifar_56125_00003 saved a checkpoint for iteration 6 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000005
(func pid=4880) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000005)

Trial status: 4 RUNNING | 6 TERMINATED
Current time: 2025-06-04 21:29:46. Total running time: 5min 0s
Logical resource usage: 8.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_56125_00000   RUNNING        32      4   0.00063935               2        3           279.212    1.39595       0.4973 |
| train_cifar_56125_00003   RUNNING         1      1   0.00140895               4        6           291.526    1.84082       0.2347 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        3           265.92     1.79298       0.3117 |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        2           181.753    1.6631        0.4038 |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [4,  2000] loss: 1.744 [repeated 2x across cluster]
(func pid=4881) [4,  4000] loss: 0.873 [repeated 4x across cluster]

Trial train_cifar_56125_00009 finished iteration 3 at 2025-06-04 21:29:59. Total running time: 5min 14s
+------------------------------------------------------------+
| Trial train_cifar_56125_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000002 |
| time_this_iter_s                                   78.0915 |
| time_total_s                                     259.84488 |
| training_iteration                                       3 |
| accuracy                                            0.4136 |
| loss                                               1.63679 |
+------------------------------------------------------------+
Trial train_cifar_56125_00009 saved a checkpoint for iteration 3 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00009_9_batch_size=2,l1=32,l2=16,lr=0.0022_2025-06-04_21-24-45/checkpoint_000002
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00009_9_batch_size=2,l1=32,l2=16,lr=0.0022_2025-06-04_21-24-45/checkpoint_000002)
(func pid=4881) [4,  6000] loss: 0.581 [repeated 3x across cluster]
(func pid=4881) [4,  8000] loss: 0.433 [repeated 4x across cluster]

Trial status: 4 RUNNING | 6 TERMINATED
Current time: 2025-06-04 21:30:16. Total running time: 5min 30s
Logical resource usage: 8.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_56125_00000   RUNNING        32      4   0.00063935               2        3           279.212    1.39595       0.4973 |
| train_cifar_56125_00003   RUNNING         1      1   0.00140895               4        6           291.526    1.84082       0.2347 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        3           265.92     1.79298       0.3117 |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        3           259.845    1.63679       0.4136 |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [4, 10000] loss: 0.347 [repeated 4x across cluster]
(func pid=4881) [4, 12000] loss: 0.288 [repeated 4x across cluster]

Trial train_cifar_56125_00003 finished iteration 7 at 2025-06-04 21:30:25. Total running time: 5min 40s
+------------------------------------------------------------+
| Trial train_cifar_56125_00003 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000006 |
| time_this_iter_s                                  43.97374 |
| time_total_s                                     335.50018 |
| training_iteration                                       7 |
| accuracy                                            0.2266 |
| loss                                               1.90678 |
+------------------------------------------------------------+
Trial train_cifar_56125_00003 saved a checkpoint for iteration 7 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000006
(func pid=4880) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000006)
(func pid=4881) [4, 14000] loss: 0.244 [repeated 3x across cluster]
(func pid=4881) [4, 16000] loss: 0.215 [repeated 4x across cluster]
(func pid=4881) [4, 18000] loss: 0.189 [repeated 4x across cluster]

Trial status: 4 RUNNING | 6 TERMINATED
Current time: 2025-06-04 21:30:46. Total running time: 6min 0s
Logical resource usage: 8.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_56125_00000   RUNNING        32      4   0.00063935               2        3           279.212    1.39595       0.4973 |
| train_cifar_56125_00003   RUNNING         1      1   0.00140895               4        7           335.5      1.90678       0.2266 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        3           265.92     1.79298       0.3117 |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        3           259.845    1.63679       0.4136 |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
+------------------------------------------------------------------------------------------------------------------------------------+

Trial train_cifar_56125_00000 finished iteration 4 at 2025-06-04 21:30:51. Total running time: 6min 5s
+------------------------------------------------------------+
| Trial train_cifar_56125_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000003 |
| time_this_iter_s                                  81.93456 |
| time_total_s                                     361.14622 |
| training_iteration                                       4 |
| accuracy                                            0.5457 |
| loss                                               1.28059 |
+------------------------------------------------------------+
Trial train_cifar_56125_00000 saved a checkpoint for iteration 4 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000003
(func pid=4875) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000003)
(func pid=4881) [4, 20000] loss: 0.171 [repeated 3x across cluster]
(func pid=4875) [5,  2000] loss: 1.217 [repeated 3x across cluster]

Trial train_cifar_56125_00008 finished iteration 4 at 2025-06-04 21:31:02. Total running time: 6min 16s
+------------------------------------------------------------+
| Trial train_cifar_56125_00008 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000003 |
| time_this_iter_s                                  81.83368 |
| time_total_s                                     347.75355 |
| training_iteration                                       4 |
| accuracy                                            0.3548 |
| loss                                               1.70167 |
+------------------------------------------------------------+
Trial train_cifar_56125_00008 saved a checkpoint for iteration 4 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000003
(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000003)
(func pid=4875) [5,  4000] loss: 0.608 [repeated 3x across cluster]

Trial train_cifar_56125_00003 finished iteration 8 at 2025-06-04 21:31:07. Total running time: 6min 21s
+------------------------------------------------------------+
| Trial train_cifar_56125_00003 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000007 |
| time_this_iter_s                                  41.76033 |
| time_total_s                                     377.26051 |
| training_iteration                                       8 |
| accuracy                                            0.2552 |
| loss                                               1.84733 |
+------------------------------------------------------------+
Trial train_cifar_56125_00003 saved a checkpoint for iteration 8 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000007
(func pid=4880) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000007)
(func pid=4875) [5,  6000] loss: 0.417 [repeated 3x across cluster]

Trial status: 4 RUNNING | 6 TERMINATED
Current time: 2025-06-04 21:31:16. Total running time: 6min 30s
Logical resource usage: 8.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_56125_00000   RUNNING        32      4   0.00063935               2        4           361.146    1.28059       0.5457 |
| train_cifar_56125_00003   RUNNING         1      1   0.00140895               4        8           377.261    1.84733       0.2552 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        4           347.754    1.70167       0.3548 |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        3           259.845    1.63679       0.4136 |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4875) [5,  8000] loss: 0.310 [repeated 3x across cluster]

Trial train_cifar_56125_00009 finished iteration 4 at 2025-06-04 21:31:20. Total running time: 6min 34s
+------------------------------------------------------------+
| Trial train_cifar_56125_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000003 |
| time_this_iter_s                                  80.30063 |
| time_total_s                                     340.14551 |
| training_iteration                                       4 |
| accuracy                                             0.432 |
| loss                                               1.63909 |
+------------------------------------------------------------+
Trial train_cifar_56125_00009 saved a checkpoint for iteration 4 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00009_9_batch_size=2,l1=32,l2=16,lr=0.0022_2025-06-04_21-24-45/checkpoint_000003
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00009_9_batch_size=2,l1=32,l2=16,lr=0.0022_2025-06-04_21-24-45/checkpoint_000003)
(func pid=4875) [5, 10000] loss: 0.251 [repeated 3x across cluster]
(func pid=4875) [5, 12000] loss: 0.210 [repeated 4x across cluster]
(func pid=4875) [5, 14000] loss: 0.182 [repeated 4x across cluster]
(func pid=4875) [5, 16000] loss: 0.157 [repeated 4x across cluster]

Trial status: 4 RUNNING | 6 TERMINATED
Current time: 2025-06-04 21:31:46. Total running time: 7min 0s
Logical resource usage: 8.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_56125_00000   RUNNING        32      4   0.00063935               2        4           361.146    1.28059       0.5457 |
| train_cifar_56125_00003   RUNNING         1      1   0.00140895               4        8           377.261    1.84733       0.2552 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        4           347.754    1.70167       0.3548 |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        4           340.146    1.63909       0.432  |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
+------------------------------------------------------------------------------------------------------------------------------------+

Trial train_cifar_56125_00003 finished iteration 9 at 2025-06-04 21:31:47. Total running time: 7min 1s
+------------------------------------------------------------+
| Trial train_cifar_56125_00003 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000008 |
| time_this_iter_s                                  39.98516 |
| time_total_s                                     417.24567 |
| training_iteration                                       9 |
| accuracy                                            0.2495 |
| loss                                               1.82542 |
+------------------------------------------------------------+
Trial train_cifar_56125_00003 saved a checkpoint for iteration 9 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000008
(func pid=4880) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000008)
(func pid=4875) [5, 18000] loss: 0.139 [repeated 3x across cluster]
(func pid=4875) [5, 20000] loss: 0.122 [repeated 4x across cluster]
(func pid=4877) [5, 14000] loss: 0.227 [repeated 4x across cluster]

Trial train_cifar_56125_00000 finished iteration 5 at 2025-06-04 21:32:09. Total running time: 7min 24s
+------------------------------------------------------------+
| Trial train_cifar_56125_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000004 |
| time_this_iter_s                                  78.45262 |
| time_total_s                                     439.59885 |
| training_iteration                                       5 |
| accuracy                                            0.5273 |
| loss                                               1.32296 |
+------------------------------------------------------------+
Trial train_cifar_56125_00000 saved a checkpoint for iteration 5 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000004
(func pid=4875) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000004)
(func pid=4877) [5, 16000] loss: 0.203 [repeated 3x across cluster]

Trial status: 4 RUNNING | 6 TERMINATED
Current time: 2025-06-04 21:32:16. Total running time: 7min 30s
Logical resource usage: 8.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_56125_00000   RUNNING        32      4   0.00063935               2        5           439.599    1.32296       0.5273 |
| train_cifar_56125_00003   RUNNING         1      1   0.00140895               4        9           417.246    1.82542       0.2495 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        4           347.754    1.70167       0.3548 |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        4           340.146    1.63909       0.432  |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
+------------------------------------------------------------------------------------------------------------------------------------+

Trial train_cifar_56125_00008 finished iteration 5 at 2025-06-04 21:32:19. Total running time: 7min 34s
+------------------------------------------------------------+
| Trial train_cifar_56125_00008 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000004 |
| time_this_iter_s                                  77.53453 |
| time_total_s                                     425.28807 |
| training_iteration                                       5 |
| accuracy                                             0.375 |
| loss                                                1.6526 |
+------------------------------------------------------------+
Trial train_cifar_56125_00008 saved a checkpoint for iteration 5 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000004
(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000004)
(func pid=4877) [5, 18000] loss: 0.179 [repeated 3x across cluster]
(func pid=4881) [6,  2000] loss: 1.619 [repeated 3x across cluster]

Trial train_cifar_56125_00003 finished iteration 10 at 2025-06-04 21:32:27. Total running time: 7min 42s
+------------------------------------------------------------+
| Trial train_cifar_56125_00003 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000009 |
| time_this_iter_s                                  40.34997 |
| time_total_s                                     457.59564 |
| training_iteration                                      10 |
| accuracy                                            0.2364 |
| loss                                               1.81719 |
+------------------------------------------------------------+
Trial train_cifar_56125_00003 saved a checkpoint for iteration 10 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000009

Trial train_cifar_56125_00003 completed after 10 iterations at 2025-06-04 21:32:27. Total running time: 7min 42s
(func pid=4880) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00003_3_batch_size=4,l1=1,l2=1,lr=0.0014_2025-06-04_21-24-45/checkpoint_000009)
(func pid=4881) [6,  4000] loss: 0.824 [repeated 3x across cluster]

Trial train_cifar_56125_00009 finished iteration 5 at 2025-06-04 21:32:36. Total running time: 7min 50s
+------------------------------------------------------------+
| Trial train_cifar_56125_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000004 |
| time_this_iter_s                                  76.03905 |
| time_total_s                                     416.18456 |
| training_iteration                                       5 |
| accuracy                                             0.459 |
| loss                                               1.56351 |
+------------------------------------------------------------+
Trial train_cifar_56125_00009 saved a checkpoint for iteration 5 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00009_9_batch_size=2,l1=32,l2=16,lr=0.0022_2025-06-04_21-24-45/checkpoint_000004
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00009_9_batch_size=2,l1=32,l2=16,lr=0.0022_2025-06-04_21-24-45/checkpoint_000004)
(func pid=4881) [6,  6000] loss: 0.546 [repeated 2x across cluster]
(func pid=4881) [6,  8000] loss: 0.399 [repeated 3x across cluster]

Trial status: 3 RUNNING | 7 TERMINATED
Current time: 2025-06-04 21:32:46. Total running time: 8min 0s
Logical resource usage: 6.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_56125_00000   RUNNING        32      4   0.00063935               2        5           439.599    1.32296       0.5273 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        5           425.288    1.6526        0.375  |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        5           416.185    1.56351       0.459  |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00003   TERMINATED      1      1   0.00140895               4       10           457.596    1.81719       0.2364 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [6, 10000] loss: 0.325 [repeated 3x across cluster]
(func pid=4881) [6, 12000] loss: 0.269 [repeated 3x across cluster]
(func pid=4881) [6, 14000] loss: 0.229 [repeated 3x across cluster]
(func pid=4881) [6, 16000] loss: 0.202 [repeated 3x across cluster]
(func pid=4881) [6, 18000] loss: 0.179 [repeated 3x across cluster]
Trial status: 3 RUNNING | 7 TERMINATED
Current time: 2025-06-04 21:33:16. Total running time: 8min 30s
Logical resource usage: 6.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_56125_00000   RUNNING        32      4   0.00063935               2        5           439.599    1.32296       0.5273 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        5           425.288    1.6526        0.375  |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        5           416.185    1.56351       0.459  |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00003   TERMINATED      1      1   0.00140895               4       10           457.596    1.81719       0.2364 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
+------------------------------------------------------------------------------------------------------------------------------------+

Trial train_cifar_56125_00000 finished iteration 6 at 2025-06-04 21:33:19. Total running time: 8min 34s
+------------------------------------------------------------+
| Trial train_cifar_56125_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000005 |
| time_this_iter_s                                  69.77427 |
| time_total_s                                     509.37311 |
| training_iteration                                       6 |
| accuracy                                            0.5637 |
| loss                                               1.23522 |
+------------------------------------------------------------+
Trial train_cifar_56125_00000 saved a checkpoint for iteration 6 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000005
(func pid=4875) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000005)
(func pid=4881) [6, 20000] loss: 0.161 [repeated 2x across cluster]
(func pid=4877) [6, 18000] loss: 0.181 [repeated 3x across cluster]

Trial train_cifar_56125_00008 finished iteration 6 at 2025-06-04 21:33:30. Total running time: 8min 45s
+------------------------------------------------------------+
| Trial train_cifar_56125_00008 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000005 |
| time_this_iter_s                                  70.74706 |
| time_total_s                                     496.03513 |
| training_iteration                                       6 |
| accuracy                                            0.3987 |
| loss                                               1.58869 |
+------------------------------------------------------------+
Trial train_cifar_56125_00008 saved a checkpoint for iteration 6 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000005
(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000005)
(func pid=4877) [6, 20000] loss: 0.160 [repeated 2x across cluster]
(func pid=4881) [7,  4000] loss: 0.790 [repeated 3x across cluster]

Trial train_cifar_56125_00009 finished iteration 6 at 2025-06-04 21:33:45. Total running time: 8min 59s
+------------------------------------------------------------+
| Trial train_cifar_56125_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000005 |
| time_this_iter_s                                  69.03221 |
| time_total_s                                     485.21677 |
| training_iteration                                       6 |
| accuracy                                            0.4225 |
| loss                                               1.60169 |
+------------------------------------------------------------+
Trial train_cifar_56125_00009 saved a checkpoint for iteration 6 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00009_9_batch_size=2,l1=32,l2=16,lr=0.0022_2025-06-04_21-24-45/checkpoint_000005
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00009_9_batch_size=2,l1=32,l2=16,lr=0.0022_2025-06-04_21-24-45/checkpoint_000005)

Trial status: 3 RUNNING | 7 TERMINATED
Current time: 2025-06-04 21:33:46. Total running time: 9min 1s
Logical resource usage: 6.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_56125_00000   RUNNING        32      4   0.00063935               2        6           509.373    1.23522       0.5637 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        6           496.035    1.58869       0.3987 |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        6           485.217    1.60169       0.4225 |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00003   TERMINATED      1      1   0.00140895               4       10           457.596    1.81719       0.2364 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [7,  6000] loss: 0.515 [repeated 2x across cluster]
(func pid=4881) [7,  8000] loss: 0.397 [repeated 3x across cluster]
(func pid=4881) [7, 10000] loss: 0.317 [repeated 3x across cluster]
(func pid=4881) [7, 12000] loss: 0.266 [repeated 3x across cluster]
(func pid=4881) [7, 14000] loss: 0.225 [repeated 3x across cluster]
Trial status: 3 RUNNING | 7 TERMINATED
Current time: 2025-06-04 21:34:16. Total running time: 9min 31s
Logical resource usage: 6.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_56125_00000   RUNNING        32      4   0.00063935               2        6           509.373    1.23522       0.5637 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        6           496.035    1.58869       0.3987 |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        6           485.217    1.60169       0.4225 |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00003   TERMINATED      1      1   0.00140895               4       10           457.596    1.81719       0.2364 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [7, 16000] loss: 0.198 [repeated 3x across cluster]
(func pid=4881) [7, 18000] loss: 0.173 [repeated 3x across cluster]

Trial train_cifar_56125_00000 finished iteration 7 at 2025-06-04 21:34:31. Total running time: 9min 45s
+------------------------------------------------------------+
| Trial train_cifar_56125_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000006 |
| time_this_iter_s                                  71.53175 |
| time_total_s                                     580.90486 |
| training_iteration                                       7 |
| accuracy                                            0.5699 |
| loss                                               1.23481 |
+------------------------------------------------------------+
Trial train_cifar_56125_00000 saved a checkpoint for iteration 7 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000006
(func pid=4875) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000006)
(func pid=4881) [7, 20000] loss: 0.154 [repeated 2x across cluster]
(func pid=4875) [8,  2000] loss: 1.127 [repeated 2x across cluster]

Trial train_cifar_56125_00008 finished iteration 7 at 2025-06-04 21:34:40. Total running time: 9min 55s
+------------------------------------------------------------+
| Trial train_cifar_56125_00008 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000006 |
| time_this_iter_s                                  70.27307 |
| time_total_s                                      566.3082 |
| training_iteration                                       7 |
| accuracy                                            0.4084 |
| loss                                               1.55374 |
+------------------------------------------------------------+
Trial train_cifar_56125_00008 saved a checkpoint for iteration 7 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000006
(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000006)
(func pid=4875) [8,  4000] loss: 0.564 [repeated 2x across cluster]

Trial status: 3 RUNNING | 7 TERMINATED
Current time: 2025-06-04 21:34:46. Total running time: 10min 1s
Logical resource usage: 6.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_56125_00000   RUNNING        32      4   0.00063935               2        7           580.905    1.23481       0.5699 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        7           566.308    1.55374       0.4084 |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        6           485.217    1.60169       0.4225 |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00003   TERMINATED      1      1   0.00140895               4       10           457.596    1.81719       0.2364 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4875) [8,  6000] loss: 0.375 [repeated 3x across cluster]
(func pid=4875) [8,  8000] loss: 0.287 [repeated 2x across cluster]

Trial train_cifar_56125_00009 finished iteration 7 at 2025-06-04 21:34:56. Total running time: 10min 11s
+------------------------------------------------------------+
| Trial train_cifar_56125_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000006 |
| time_this_iter_s                                  71.48535 |
| time_total_s                                     556.70212 |
| training_iteration                                       7 |
| accuracy                                            0.4369 |
| loss                                               1.64423 |
+------------------------------------------------------------+
Trial train_cifar_56125_00009 saved a checkpoint for iteration 7 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00009_9_batch_size=2,l1=32,l2=16,lr=0.0022_2025-06-04_21-24-45/checkpoint_000006
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00009_9_batch_size=2,l1=32,l2=16,lr=0.0022_2025-06-04_21-24-45/checkpoint_000006)
(func pid=4875) [8, 10000] loss: 0.233 [repeated 2x across cluster]
(func pid=4875) [8, 12000] loss: 0.193 [repeated 3x across cluster]
(func pid=4875) [8, 14000] loss: 0.169 [repeated 3x across cluster]

Trial status: 3 RUNNING | 7 TERMINATED
Current time: 2025-06-04 21:35:16. Total running time: 10min 31s
Logical resource usage: 6.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_56125_00000   RUNNING        32      4   0.00063935               2        7           580.905    1.23481       0.5699 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        7           566.308    1.55374       0.4084 |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        7           556.702    1.64423       0.4369 |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00003   TERMINATED      1      1   0.00140895               4       10           457.596    1.81719       0.2364 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4875) [8, 16000] loss: 0.143 [repeated 3x across cluster]
(func pid=4881) [8, 14000] loss: 0.218 [repeated 2x across cluster]
(func pid=4881) [8, 16000] loss: 0.193 [repeated 3x across cluster]
(func pid=4881) [8, 18000] loss: 0.172 [repeated 3x across cluster]

Trial train_cifar_56125_00000 finished iteration 8 at 2025-06-04 21:35:38. Total running time: 10min 53s
+------------------------------------------------------------+
| Trial train_cifar_56125_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000007 |
| time_this_iter_s                                  67.67287 |
| time_total_s                                     648.57773 |
| training_iteration                                       8 |
| accuracy                                            0.5603 |
| loss                                               1.25543 |
+------------------------------------------------------------+
Trial train_cifar_56125_00000 saved a checkpoint for iteration 8 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000007
(func pid=4875) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000007)
(func pid=4881) [8, 20000] loss: 0.153 [repeated 2x across cluster]

Trial status: 3 RUNNING | 7 TERMINATED
Current time: 2025-06-04 21:35:46. Total running time: 11min 1s
Logical resource usage: 6.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_56125_00000   RUNNING        32      4   0.00063935               2        8           648.578    1.25543       0.5603 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        7           566.308    1.55374       0.4084 |
| train_cifar_56125_00009   RUNNING        32     16   0.0021979                2        7           556.702    1.64423       0.4369 |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00003   TERMINATED      1      1   0.00140895               4       10           457.596    1.81719       0.2364 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4875) [9,  4000] loss: 0.545 [repeated 3x across cluster]

Trial train_cifar_56125_00008 finished iteration 8 at 2025-06-04 21:35:50. Total running time: 11min 5s
+------------------------------------------------------------+
| Trial train_cifar_56125_00008 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000007 |
| time_this_iter_s                                  69.99343 |
| time_total_s                                     636.30163 |
| training_iteration                                       8 |
| accuracy                                            0.4191 |
| loss                                               1.54049 |
+------------------------------------------------------------+
Trial train_cifar_56125_00008 saved a checkpoint for iteration 8 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000007
(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000007)
(func pid=4875) [9,  6000] loss: 0.373 [repeated 2x across cluster]
(func pid=4875) [9,  8000] loss: 0.284 [repeated 3x across cluster]

Trial train_cifar_56125_00009 finished iteration 8 at 2025-06-04 21:36:06. Total running time: 11min 20s
+------------------------------------------------------------+
| Trial train_cifar_56125_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000007 |
| time_this_iter_s                                  69.34816 |
| time_total_s                                     626.05028 |
| training_iteration                                       8 |
| accuracy                                            0.3882 |
| loss                                                1.7217 |
+------------------------------------------------------------+
Trial train_cifar_56125_00009 saved a checkpoint for iteration 8 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00009_9_batch_size=2,l1=32,l2=16,lr=0.0022_2025-06-04_21-24-45/checkpoint_000007

Trial train_cifar_56125_00009 completed after 8 iterations at 2025-06-04 21:36:06. Total running time: 11min 20s
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00009_9_batch_size=2,l1=32,l2=16,lr=0.0022_2025-06-04_21-24-45/checkpoint_000007)
(func pid=4875) [9, 10000] loss: 0.229 [repeated 2x across cluster]
(func pid=4875) [9, 12000] loss: 0.185 [repeated 2x across cluster]

Trial status: 2 RUNNING | 8 TERMINATED
Current time: 2025-06-04 21:36:16. Total running time: 11min 31s
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_56125_00000   RUNNING        32      4   0.00063935               2        8           648.578    1.25543       0.5603 |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        8           636.302    1.54049       0.4191 |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00003   TERMINATED      1      1   0.00140895               4       10           457.596    1.81719       0.2364 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
| train_cifar_56125_00009   TERMINATED     32     16   0.0021979                2        8           626.05     1.7217        0.3882 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4875) [9, 14000] loss: 0.163 [repeated 2x across cluster]
(func pid=4875) [9, 16000] loss: 0.138 [repeated 2x across cluster]
(func pid=4875) [9, 18000] loss: 0.129 [repeated 2x across cluster]
(func pid=4875) [9, 20000] loss: 0.117 [repeated 2x across cluster]
(func pid=4881) [9, 18000] loss: 0.167 [repeated 2x across cluster]

Trial train_cifar_56125_00000 finished iteration 9 at 2025-06-04 21:36:44. Total running time: 11min 58s
+------------------------------------------------------------+
| Trial train_cifar_56125_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000008 |
| time_this_iter_s                                  65.30768 |
| time_total_s                                      713.8854 |
| training_iteration                                       9 |
| accuracy                                              0.56 |
| loss                                               1.29861 |
+------------------------------------------------------------+
Trial train_cifar_56125_00000 saved a checkpoint for iteration 9 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000008
(func pid=4875) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000008)

Trial status: 2 RUNNING | 8 TERMINATED
Current time: 2025-06-04 21:36:46. Total running time: 12min 1s
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_56125_00000   RUNNING        32      4   0.00063935               2        9           713.885    1.29861       0.56   |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        8           636.302    1.54049       0.4191 |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00003   TERMINATED      1      1   0.00140895               4       10           457.596    1.81719       0.2364 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
| train_cifar_56125_00009   TERMINATED     32     16   0.0021979                2        8           626.05     1.7217        0.3882 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [9, 20000] loss: 0.151
(func pid=4875) [10,  2000] loss: 1.104
(func pid=4875) [10,  4000] loss: 0.558

Trial train_cifar_56125_00008 finished iteration 9 at 2025-06-04 21:36:55. Total running time: 12min 10s
+------------------------------------------------------------+
| Trial train_cifar_56125_00008 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000008 |
| time_this_iter_s                                  64.79787 |
| time_total_s                                      701.0995 |
| training_iteration                                       9 |
| accuracy                                            0.4261 |
| loss                                               1.50702 |
+------------------------------------------------------------+
Trial train_cifar_56125_00008 saved a checkpoint for iteration 9 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000008
(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000008)
(func pid=4875) [10,  6000] loss: 0.374
(func pid=4875) [10,  8000] loss: 0.272 [repeated 2x across cluster]
(func pid=4875) [10, 10000] loss: 0.222 [repeated 2x across cluster]
(func pid=4875) [10, 12000] loss: 0.187 [repeated 2x across cluster]

Trial status: 2 RUNNING | 8 TERMINATED
Current time: 2025-06-04 21:37:16. Total running time: 12min 31s
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_56125_00000   RUNNING        32      4   0.00063935               2        9           713.885    1.29861       0.56   |
| train_cifar_56125_00008   RUNNING        16      2   0.000144716              2        9           701.1      1.50702       0.4261 |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00003   TERMINATED      1      1   0.00140895               4       10           457.596    1.81719       0.2364 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
| train_cifar_56125_00009   TERMINATED     32     16   0.0021979                2        8           626.05     1.7217        0.3882 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4875) [10, 14000] loss: 0.166 [repeated 2x across cluster]
(func pid=4875) [10, 16000] loss: 0.139 [repeated 2x across cluster]
(func pid=4875) [10, 18000] loss: 0.127 [repeated 2x across cluster]
(func pid=4875) [10, 20000] loss: 0.110 [repeated 2x across cluster]
(func pid=4881) [10, 18000] loss: 0.165 [repeated 2x across cluster]

Trial train_cifar_56125_00000 finished iteration 10 at 2025-06-04 21:37:44. Total running time: 12min 59s
+------------------------------------------------------------+
| Trial train_cifar_56125_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000009 |
| time_this_iter_s                                  60.51067 |
| time_total_s                                     774.39608 |
| training_iteration                                      10 |
| accuracy                                             0.563 |
| loss                                                1.2946 |
+------------------------------------------------------------+
Trial train_cifar_56125_00000 saved a checkpoint for iteration 10 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000009

Trial train_cifar_56125_00000 completed after 10 iterations at 2025-06-04 21:37:44. Total running time: 12min 59s
(func pid=4875) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00000_0_batch_size=2,l1=32,l2=4,lr=0.0006_2025-06-04_21-24-45/checkpoint_000009)

Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2025-06-04 21:37:46. Total running time: 13min 1s
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_56125_00008   RUNNING        16      2   0.000144716              2        9           701.1      1.50702       0.4261 |
| train_cifar_56125_00000   TERMINATED     32      4   0.00063935               2       10           774.396    1.2946        0.563  |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00003   TERMINATED      1      1   0.00140895               4       10           457.596    1.81719       0.2364 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
| train_cifar_56125_00009   TERMINATED     32     16   0.0021979                2        8           626.05     1.7217        0.3882 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [10, 20000] loss: 0.150

Trial train_cifar_56125_00008 finished iteration 10 at 2025-06-04 21:37:55. Total running time: 13min 10s
+------------------------------------------------------------+
| Trial train_cifar_56125_00008 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000009 |
| time_this_iter_s                                  59.94538 |
| time_total_s                                     761.04488 |
| training_iteration                                      10 |
| accuracy                                             0.441 |
| loss                                               1.48298 |
+------------------------------------------------------------+
Trial train_cifar_56125_00008 saved a checkpoint for iteration 10 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000009

Trial train_cifar_56125_00008 completed after 10 iterations at 2025-06-04 21:37:55. Total running time: 13min 10s

Trial status: 10 TERMINATED
Current time: 2025-06-04 21:37:55. Total running time: 13min 10s
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_56125_00000   TERMINATED     32      4   0.00063935               2       10           774.396    1.2946        0.563  |
| train_cifar_56125_00001   TERMINATED      2    128   0.0178334                2        1           118.936    2.312         0.0997 |
| train_cifar_56125_00002   TERMINATED    256      2   0.0371779               16        2            49.71     2.30782       0.0957 |
| train_cifar_56125_00003   TERMINATED      1      1   0.00140895               4       10           457.596    1.81719       0.2364 |
| train_cifar_56125_00004   TERMINATED     16    256   0.0167159                2        1           118.576    2.33595       0.1049 |
| train_cifar_56125_00005   TERMINATED      1      2   0.00829943               4        1            69.3248   2.30894       0.1028 |
| train_cifar_56125_00006   TERMINATED      4      4   0.000134291             16        1            24.1892   2.30958       0.0993 |
| train_cifar_56125_00007   TERMINATED      2     32   0.0187485               16       10           181.111    2.30651       0.0984 |
| train_cifar_56125_00008   TERMINATED     16      2   0.000144716              2       10           761.045    1.48298       0.441  |
| train_cifar_56125_00009   TERMINATED     32     16   0.0021979                2        8           626.05     1.7217        0.3882 |
+------------------------------------------------------------------------------------------------------------------------------------+

Best trial config: {'l1': 32, 'l2': 4, 'lr': 0.0006393498782536083, 'batch_size': 2}
Best trial final validation loss: 1.294604569706088
Best trial final validation accuracy: 0.563
(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-06-04_21-24-45/train_cifar_56125_00008_8_batch_size=2,l1=16,l2=2,lr=0.0001_2025-06-04_21-24-45/checkpoint_000009)
Best trial test set accuracy: 0.5756

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: ( 13 minutes 26.161 seconds)

Gallery generated by Sphinx-Gallery

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources