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% 754k/170M [00:00<00:22, 7.53MB/s]
  5% 8.36M/170M [00:00<00:03, 47.8MB/s]
 11% 18.5M/170M [00:00<00:02, 72.4MB/s]
 17% 28.7M/170M [00:00<00:01, 83.7MB/s]
 23% 38.4M/170M [00:00<00:01, 88.7MB/s]
 28% 48.4M/170M [00:00<00:01, 92.3MB/s]
 34% 57.6M/170M [00:00<00:01, 91.3MB/s]
 39% 66.8M/170M [00:00<00:01, 90.8MB/s]
 45% 75.9M/170M [00:00<00:01, 87.9MB/s]
 50% 84.7M/170M [00:01<00:01, 85.3MB/s]
 55% 93.3M/170M [00:01<00:00, 84.0MB/s]
 60% 102M/170M [00:01<00:00, 83.4MB/s]
 65% 110M/170M [00:01<00:00, 83.3MB/s]
 69% 118M/170M [00:01<00:00, 76.7MB/s]
 74% 126M/170M [00:01<00:00, 70.3MB/s]
 78% 133M/170M [00:01<00:00, 64.6MB/s]
 82% 140M/170M [00:01<00:00, 53.3MB/s]
 85% 146M/170M [00:02<00:00, 41.2MB/s]
 88% 150M/170M [00:02<00:00, 29.9MB/s]
 90% 154M/170M [00:02<00:00, 25.2MB/s]
 92% 157M/170M [00:02<00:00, 22.8MB/s]
 94% 160M/170M [00:03<00:00, 21.2MB/s]
 95% 162M/170M [00:03<00:00, 20.0MB/s]
 96% 164M/170M [00:03<00:00, 19.3MB/s]
 98% 166M/170M [00:03<00:00, 18.9MB/s]
 99% 168M/170M [00:03<00:00, 18.5MB/s]
100% 170M/170M [00:03<00:00, 18.3MB/s]
100% 170M/170M [00:03<00:00, 46.4MB/s]
2025-05-19 15:24:59,372 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-05-19 15:24:59,425 INFO worker.py:1642 -- Started a local Ray instance.
2025-05-19 15:25:00,374 INFO tune.py:228 -- Initializing Ray automatically. For cluster usage or custom Ray initialization, call `ray.init(...)` before `tune.run(...)`.
2025-05-19 15:25:00,375 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-05-19_15-25-00   |
+--------------------------------------------------------------------+
| Search algorithm                 BasicVariantGenerator             |
| Scheduler                        AsyncHyperBandScheduler           |
| Number of trials                 10                                |
+--------------------------------------------------------------------+

View detailed results here: /var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00
To visualize your results with TensorBoard, run: `tensorboard --logdir /var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00`

Trial status: 10 PENDING
Current time: 2025-05-19 15:25:00. 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_6dce2_00000   PENDING       1    256   0.00268587              16 |
| train_cifar_6dce2_00001   PENDING       1      1   0.000187533              8 |
| train_cifar_6dce2_00002   PENDING     256      4   0.00133767               8 |
| train_cifar_6dce2_00003   PENDING      64     32   0.000205323             16 |
| train_cifar_6dce2_00004   PENDING       4    128   0.00884942               2 |
| train_cifar_6dce2_00005   PENDING       1      4   0.00072358               4 |
| train_cifar_6dce2_00006   PENDING     128     64   0.000830638              2 |
| train_cifar_6dce2_00007   PENDING       8      1   0.00237309              16 |
| train_cifar_6dce2_00008   PENDING       1     32   0.00575061               2 |
| train_cifar_6dce2_00009   PENDING     128      8   0.00181374               4 |
+-------------------------------------------------------------------------------+

Trial train_cifar_6dce2_00005 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_6dce2_00005 config             |
+--------------------------------------------------+
| batch_size                                     4 |
| l1                                             1 |
| l2                                             4 |
| lr                                       0.00072 |
+--------------------------------------------------+

Trial train_cifar_6dce2_00000 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_6dce2_00000 config             |
+--------------------------------------------------+
| batch_size                                    16 |
| l1                                             1 |
| l2                                           256 |
| lr                                       0.00269 |
+--------------------------------------------------+

Trial train_cifar_6dce2_00006 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_6dce2_00006 config             |
+--------------------------------------------------+
| batch_size                                     2 |
| l1                                           128 |
| l2                                            64 |
| lr                                       0.00083 |
+--------------------------------------------------+

Trial train_cifar_6dce2_00004 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_6dce2_00004 config             |
+--------------------------------------------------+
| batch_size                                     2 |
| l1                                             4 |
| l2                                           128 |
| lr                                       0.00885 |
+--------------------------------------------------+

Trial train_cifar_6dce2_00007 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_6dce2_00007 config             |
+--------------------------------------------------+
| batch_size                                    16 |
| l1                                             8 |
| l2                                             1 |
| lr                                       0.00237 |
+--------------------------------------------------+

Trial train_cifar_6dce2_00003 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_6dce2_00003 config             |
+--------------------------------------------------+
| batch_size                                    16 |
| l1                                            64 |
| l2                                            32 |
| lr                                       0.00021 |
+--------------------------------------------------+

Trial train_cifar_6dce2_00002 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_6dce2_00002 config             |
+--------------------------------------------------+
| batch_size                                     8 |
| l1                                           256 |
| l2                                             4 |
| lr                                       0.00134 |
+--------------------------------------------------+

Trial train_cifar_6dce2_00001 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_6dce2_00001 config             |
+--------------------------------------------------+
| batch_size                                     8 |
| l1                                             1 |
| l2                                             1 |
| lr                                       0.00019 |
+--------------------------------------------------+
(func pid=4879) [1,  2000] loss: 2.322

Trial train_cifar_6dce2_00000 finished iteration 1 at 2025-05-19 15:25:30. Total running time: 29s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                  25.15147 |
| time_total_s                                      25.15147 |
| training_iteration                                       1 |
| accuracy                                            0.2145 |
| loss                                               1.89222 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00000 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000000
(func pid=4875) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000000)

Trial train_cifar_6dce2_00007 finished iteration 1 at 2025-05-19 15:25:30. Total running time: 30s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00007 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                  25.34877 |
| time_total_s                                      25.34877 |
| training_iteration                                       1 |
| accuracy                                            0.1935 |
| loss                                               2.05672 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00007 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00007_7_batch_size=16,l1=8,l2=1,lr=0.0024_2025-05-19_15-25-00/checkpoint_000000

Trial train_cifar_6dce2_00007 completed after 1 iterations at 2025-05-19 15:25:30. Total running time: 30s

Trial train_cifar_6dce2_00008 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_6dce2_00008 config             |
+--------------------------------------------------+
| batch_size                                     2 |
| l1                                             1 |
| l2                                            32 |
| lr                                       0.00575 |
+--------------------------------------------------+
(func pid=4879) [1,  4000] loss: 1.156 [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 status: 8 RUNNING | 1 TERMINATED | 1 PENDING
Current time: 2025-05-19 15:25:30. 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_6dce2_00000   RUNNING         1    256   0.00268587              16        1            25.1515   1.89222       0.2145 |
| train_cifar_6dce2_00001   RUNNING         1      1   0.000187533              8                                                    |
| train_cifar_6dce2_00002   RUNNING       256      4   0.00133767               8                                                    |
| train_cifar_6dce2_00003   RUNNING        64     32   0.000205323             16                                                    |
| train_cifar_6dce2_00004   RUNNING         4    128   0.00884942               2                                                    |
| train_cifar_6dce2_00005   RUNNING         1      4   0.00072358               4                                                    |
| train_cifar_6dce2_00006   RUNNING       128     64   0.000830638              2                                                    |
| train_cifar_6dce2_00008   RUNNING         1     32   0.00575061               2                                                    |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00009   PENDING       128      8   0.00181374               4                                                    |
+------------------------------------------------------------------------------------------------------------------------------------+

Trial train_cifar_6dce2_00003 finished iteration 1 at 2025-05-19 15:25:31. Total running time: 30s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00003 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                  25.97699 |
| time_total_s                                      25.97699 |
| training_iteration                                       1 |
| accuracy                                            0.0937 |
| loss                                               2.30338 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00003 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00003_3_batch_size=16,l1=64,l2=32,lr=0.0002_2025-05-19_15-25-00/checkpoint_000000

Trial train_cifar_6dce2_00003 completed after 1 iterations at 2025-05-19 15:25:31. Total running time: 30s

Trial train_cifar_6dce2_00009 started with configuration:
+--------------------------------------------------+
| Trial train_cifar_6dce2_00009 config             |
+--------------------------------------------------+
| batch_size                                     4 |
| l1                                           128 |
| l2                                             8 |
| lr                                       0.00181 |
+--------------------------------------------------+
(func pid=4879) [1,  6000] loss: 0.771 [repeated 5x across cluster]

Trial train_cifar_6dce2_00001 finished iteration 1 at 2025-05-19 15:25:46. Total running time: 45s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00001 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                   40.7911 |
| time_total_s                                       40.7911 |
| training_iteration                                       1 |
| accuracy                                            0.1482 |
| loss                                               2.30368 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00001 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00001_1_batch_size=8,l1=1,l2=1,lr=0.0002_2025-05-19_15-25-00/checkpoint_000000

Trial train_cifar_6dce2_00001 completed after 1 iterations at 2025-05-19 15:25:46. Total running time: 45s
(func pid=4876) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00001_1_batch_size=8,l1=1,l2=1,lr=0.0002_2025-05-19_15-25-00/checkpoint_000000) [repeated 3x across cluster]

Trial train_cifar_6dce2_00002 finished iteration 1 at 2025-05-19 15:25:48. Total running time: 47s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00002 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                  42.65828 |
| time_total_s                                      42.65828 |
| training_iteration                                       1 |
| accuracy                                             0.218 |
| loss                                               1.96026 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00002 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000000
(func pid=4879) [1,  8000] loss: 0.579 [repeated 6x across cluster]

Trial train_cifar_6dce2_00000 finished iteration 2 at 2025-05-19 15:25:50. Total running time: 50s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000001 |
| time_this_iter_s                                  20.65817 |
| time_total_s                                      45.80964 |
| training_iteration                                       2 |
| accuracy                                            0.2343 |
| loss                                               1.89274 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00000 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000001
(func pid=4879) [1, 10000] loss: 0.462 [repeated 5x across cluster]

Trial status: 7 RUNNING | 3 TERMINATED
Current time: 2025-05-19 15:26:00. Total running time: 1min 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_6dce2_00000   RUNNING         1    256   0.00268587              16        2            45.8096   1.89274       0.2343 |
| train_cifar_6dce2_00002   RUNNING       256      4   0.00133767               8        1            42.6583   1.96026       0.218  |
| train_cifar_6dce2_00004   RUNNING         4    128   0.00884942               2                                                    |
| train_cifar_6dce2_00005   RUNNING         1      4   0.00072358               4                                                    |
| train_cifar_6dce2_00006   RUNNING       128     64   0.000830638              2                                                    |
| train_cifar_6dce2_00008   RUNNING         1     32   0.00575061               2                                                    |
| train_cifar_6dce2_00009   RUNNING       128      8   0.00181374               4                                                    |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4875) [3,  2000] loss: 1.854 [repeated 5x across cluster]

Trial train_cifar_6dce2_00000 finished iteration 3 at 2025-05-19 15:26:09. Total running time: 1min 9s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000002 |
| time_this_iter_s                                  18.80521 |
| time_total_s                                      64.61485 |
| training_iteration                                       3 |
| accuracy                                            0.2482 |
| loss                                               1.86006 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00000 saved a checkpoint for iteration 3 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000002
(func pid=4875) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000002) [repeated 3x across cluster]
(func pid=4882) [1,  8000] loss: 0.578 [repeated 3x across cluster]

Trial train_cifar_6dce2_00005 finished iteration 1 at 2025-05-19 15:26:11. Total running time: 1min 11s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00005 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                  66.58794 |
| time_total_s                                      66.58794 |
| training_iteration                                       1 |
| accuracy                                            0.1883 |
| loss                                               1.98973 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00005 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00005_5_batch_size=4,l1=1,l2=4,lr=0.0007_2025-05-19_15-25-00/checkpoint_000000
(func pid=4879) [1, 14000] loss: 0.330 [repeated 4x across cluster]
(func pid=4880) [2,  2000] loss: 1.942 [repeated 3x across cluster]

Trial train_cifar_6dce2_00002 finished iteration 2 at 2025-05-19 15:26:23. Total running time: 1min 23s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00002 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000001 |
| time_this_iter_s                                  35.74479 |
| time_total_s                                      78.40307 |
| training_iteration                                       2 |
| accuracy                                            0.3534 |
| loss                                               1.67865 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00002 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000001
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000001) [repeated 2x across cluster]
(func pid=4882) [1, 12000] loss: 0.385 [repeated 4x across cluster]

Trial train_cifar_6dce2_00000 finished iteration 4 at 2025-05-19 15:26:28. Total running time: 1min 27s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000003 |
| time_this_iter_s                                  18.49452 |
| time_total_s                                      83.10937 |
| training_iteration                                       4 |
| accuracy                                            0.2563 |
| loss                                               1.84075 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00000 saved a checkpoint for iteration 4 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000003

Trial status: 7 RUNNING | 3 TERMINATED
Current time: 2025-05-19 15:26:30. 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_6dce2_00000   RUNNING         1    256   0.00268587              16        4            83.1094   1.84075       0.2563 |
| train_cifar_6dce2_00002   RUNNING       256      4   0.00133767               8        2            78.4031   1.67865       0.3534 |
| train_cifar_6dce2_00004   RUNNING         4    128   0.00884942               2                                                    |
| train_cifar_6dce2_00005   RUNNING         1      4   0.00072358               4        1            66.5879   1.98973       0.1883 |
| train_cifar_6dce2_00006   RUNNING       128     64   0.000830638              2                                                    |
| train_cifar_6dce2_00008   RUNNING         1     32   0.00575061               2                                                    |
| train_cifar_6dce2_00009   RUNNING       128      8   0.00181374               4                                                    |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4879) [1, 18000] loss: 0.257 [repeated 3x across cluster]

Trial train_cifar_6dce2_00009 finished iteration 1 at 2025-05-19 15:26:34. Total running time: 1min 33s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                  63.21378 |
| time_total_s                                      63.21378 |
| training_iteration                                       1 |
| accuracy                                            0.3957 |
| loss                                                1.6662 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00009 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000000
(func pid=4878) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000000) [repeated 2x across cluster]
(func pid=4880) [2,  6000] loss: 0.634 [repeated 4x across cluster]
(func pid=4878) [2,  2000] loss: 1.510 [repeated 4x across cluster]

Trial train_cifar_6dce2_00000 finished iteration 5 at 2025-05-19 15:26:46. Total running time: 1min 46s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000004 |
| time_this_iter_s                                  18.40645 |
| time_total_s                                     101.51582 |
| training_iteration                                       5 |
| accuracy                                             0.248 |
| loss                                               1.89136 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00000 saved a checkpoint for iteration 5 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000004
(func pid=4875) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000004)
(func pid=4882) [1, 18000] loss: 0.256 [repeated 4x across cluster]

Trial train_cifar_6dce2_00002 finished iteration 3 at 2025-05-19 15:26:58. Total running time: 1min 58s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00002 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000002 |
| time_this_iter_s                                  34.67579 |
| time_total_s                                     113.07885 |
| training_iteration                                       3 |
| accuracy                                              0.46 |
| loss                                                1.4778 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00002 saved a checkpoint for iteration 3 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000002
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000002)
(func pid=4880) [2, 10000] loss: 0.379 [repeated 2x across cluster]

Trial status: 7 RUNNING | 3 TERMINATED
Current time: 2025-05-19 15:27:00. 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_6dce2_00000   RUNNING         1    256   0.00268587              16        5           101.516    1.89136       0.248  |
| train_cifar_6dce2_00002   RUNNING       256      4   0.00133767               8        3           113.079    1.4778        0.46   |
| train_cifar_6dce2_00004   RUNNING         4    128   0.00884942               2                                                    |
| train_cifar_6dce2_00005   RUNNING         1      4   0.00072358               4        1            66.5879   1.98973       0.1883 |
| train_cifar_6dce2_00006   RUNNING       128     64   0.000830638              2                                                    |
| train_cifar_6dce2_00008   RUNNING         1     32   0.00575061               2                                                    |
| train_cifar_6dce2_00009   RUNNING       128      8   0.00181374               4        1            63.2138   1.6662        0.3957 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
+------------------------------------------------------------------------------------------------------------------------------------+

Trial train_cifar_6dce2_00004 finished iteration 1 at 2025-05-19 15:27:02. Total running time: 2min 1s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00004 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                  117.2315 |
| time_total_s                                      117.2315 |
| training_iteration                                       1 |
| accuracy                                               0.1 |
| loss                                               2.31721 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00004 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00004_4_batch_size=2,l1=4,l2=128,lr=0.0088_2025-05-19_15-25-00/checkpoint_000000

Trial train_cifar_6dce2_00004 completed after 1 iterations at 2025-05-19 15:27:02. Total running time: 2min 1s
(func pid=4878) [2,  6000] loss: 0.489 [repeated 3x across cluster]

Trial train_cifar_6dce2_00000 finished iteration 6 at 2025-05-19 15:27:04. Total running time: 2min 4s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000005 |
| time_this_iter_s                                  18.11313 |
| time_total_s                                     119.62895 |
| training_iteration                                       6 |
| accuracy                                            0.2512 |
| loss                                               1.78672 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00000 saved a checkpoint for iteration 6 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000005
(func pid=4875) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000005) [repeated 2x across cluster]

Trial train_cifar_6dce2_00006 finished iteration 1 at 2025-05-19 15:27:05. Total running time: 2min 5s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00006 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                 120.52578 |
| time_total_s                                     120.52578 |
| training_iteration                                       1 |
| accuracy                                            0.4702 |
| loss                                               1.46876 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00006 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000000

Trial train_cifar_6dce2_00005 finished iteration 2 at 2025-05-19 15:27:08. Total running time: 2min 8s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00005 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000001 |
| time_this_iter_s                                  56.91256 |
| time_total_s                                     123.50051 |
| training_iteration                                       2 |
| accuracy                                            0.2068 |
| loss                                               1.89247 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00005 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00005_5_batch_size=4,l1=1,l2=4,lr=0.0007_2025-05-19_15-25-00/checkpoint_000001

Trial train_cifar_6dce2_00005 completed after 2 iterations at 2025-05-19 15:27:08. Total running time: 2min 8s
(func pid=4877) [4,  2000] loss: 1.383
(func pid=4878) [2,  8000] loss: 0.355

Trial train_cifar_6dce2_00008 finished iteration 1 at 2025-05-19 15:27:16. Total running time: 2min 15s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00008 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000000 |
| time_this_iter_s                                 105.82419 |
| time_total_s                                     105.82419 |
| training_iteration                                       1 |
| accuracy                                             0.097 |
| loss                                               2.31038 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00008 saved a checkpoint for iteration 1 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00008_8_batch_size=2,l1=1,l2=32,lr=0.0058_2025-05-19_15-25-00/checkpoint_000000

Trial train_cifar_6dce2_00008 completed after 1 iterations at 2025-05-19 15:27:16. Total running time: 2min 15s
(func pid=4882) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00008_8_batch_size=2,l1=1,l2=32,lr=0.0058_2025-05-19_15-25-00/checkpoint_000000) [repeated 3x across cluster]
(func pid=4877) [4,  4000] loss: 0.682 [repeated 3x across cluster]

Trial train_cifar_6dce2_00000 finished iteration 7 at 2025-05-19 15:27:19. Total running time: 2min 19s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000006 |
| time_this_iter_s                                  15.10235 |
| time_total_s                                     134.73129 |
| training_iteration                                       7 |
| accuracy                                            0.2584 |
| loss                                               1.79745 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00000 saved a checkpoint for iteration 7 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000006

Trial train_cifar_6dce2_00002 finished iteration 4 at 2025-05-19 15:27:26. Total running time: 2min 26s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00002 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000003 |
| time_this_iter_s                                  28.22118 |
| time_total_s                                     141.30003 |
| training_iteration                                       4 |
| accuracy                                            0.5201 |
| loss                                                1.3319 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00002 saved a checkpoint for iteration 4 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000003

Trial train_cifar_6dce2_00009 finished iteration 2 at 2025-05-19 15:27:26. Total running time: 2min 26s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000001 |
| time_this_iter_s                                   52.3647 |
| time_total_s                                     115.57848 |
| training_iteration                                       2 |
| accuracy                                            0.5111 |
| loss                                               1.38148 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00009 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000001
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000003) [repeated 2x across cluster]
(func pid=4881) [2,  6000] loss: 0.466 [repeated 3x across cluster]

Trial status: 4 RUNNING | 6 TERMINATED
Current time: 2025-05-19 15:27:31. Total running time: 2min 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_6dce2_00000   RUNNING         1    256   0.00268587              16        7           134.731    1.79745       0.2584 |
| train_cifar_6dce2_00002   RUNNING       256      4   0.00133767               8        4           141.3      1.3319        0.5201 |
| train_cifar_6dce2_00006   RUNNING       128     64   0.000830638              2        1           120.526    1.46876       0.4702 |
| train_cifar_6dce2_00009   RUNNING       128      8   0.00181374               4        2           115.578    1.38148       0.5111 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
+------------------------------------------------------------------------------------------------------------------------------------+

Trial train_cifar_6dce2_00000 finished iteration 8 at 2025-05-19 15:27:34. Total running time: 2min 33s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000007 |
| time_this_iter_s                                  14.39492 |
| time_total_s                                     149.12621 |
| training_iteration                                       8 |
| accuracy                                            0.2516 |
| loss                                               1.79042 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00000 saved a checkpoint for iteration 8 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000007
(func pid=4875) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000007) [repeated 2x across cluster]
(func pid=4878) [3,  2000] loss: 1.308 [repeated 2x across cluster]
(func pid=4878) [3,  4000] loss: 0.673 [repeated 3x across cluster]

Trial train_cifar_6dce2_00000 finished iteration 9 at 2025-05-19 15:27:48. Total running time: 2min 47s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000008 |
| time_this_iter_s                                  14.12111 |
| time_total_s                                     163.24732 |
| training_iteration                                       9 |
| accuracy                                            0.2596 |
| loss                                                1.7892 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00000 saved a checkpoint for iteration 9 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000008
(func pid=4875) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000008)
(func pid=4878) [3,  6000] loss: 0.456 [repeated 4x across cluster]

Trial train_cifar_6dce2_00002 finished iteration 5 at 2025-05-19 15:27:52. Total running time: 2min 51s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00002 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000004 |
| time_this_iter_s                                  25.64473 |
| time_total_s                                     166.94476 |
| training_iteration                                       5 |
| accuracy                                            0.5237 |
| loss                                               1.32322 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00002 saved a checkpoint for iteration 5 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000004
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000004)
(func pid=4878) [3,  8000] loss: 0.330 [repeated 2x across cluster]

Trial status: 4 RUNNING | 6 TERMINATED
Current time: 2025-05-19 15:28:01. Total running time: 3min 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_6dce2_00000   RUNNING         1    256   0.00268587              16        9           163.247    1.7892        0.2596 |
| train_cifar_6dce2_00002   RUNNING       256      4   0.00133767               8        5           166.945    1.32322       0.5237 |
| train_cifar_6dce2_00006   RUNNING       128     64   0.000830638              2        1           120.526    1.46876       0.4702 |
| train_cifar_6dce2_00009   RUNNING       128      8   0.00181374               4        2           115.578    1.38148       0.5111 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
+------------------------------------------------------------------------------------------------------------------------------------+

Trial train_cifar_6dce2_00000 finished iteration 10 at 2025-05-19 15:28:02. Total running time: 3min 2s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00000 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000009 |
| time_this_iter_s                                  14.12377 |
| time_total_s                                     177.37109 |
| training_iteration                                      10 |
| accuracy                                            0.2757 |
| loss                                               1.77101 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00000 saved a checkpoint for iteration 10 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000009

Trial train_cifar_6dce2_00000 completed after 10 iterations at 2025-05-19 15:28:02. Total running time: 3min 2s
(func pid=4875) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00000_0_batch_size=16,l1=1,l2=256,lr=0.0027_2025-05-19_15-25-00/checkpoint_000009)
(func pid=4881) [2, 16000] loss: 0.164 [repeated 4x across cluster]

Trial train_cifar_6dce2_00009 finished iteration 3 at 2025-05-19 15:28:10. Total running time: 3min 9s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000002 |
| time_this_iter_s                                  43.48098 |
| time_total_s                                     159.05946 |
| training_iteration                                       3 |
| accuracy                                            0.5275 |
| loss                                               1.34219 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00009 saved a checkpoint for iteration 3 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000002
(func pid=4878) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000002)
(func pid=4881) [2, 18000] loss: 0.149 [repeated 3x across cluster]

Trial train_cifar_6dce2_00002 finished iteration 6 at 2025-05-19 15:28:16. Total running time: 3min 15s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00002 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000005 |
| time_this_iter_s                                  23.60137 |
| time_total_s                                     190.54613 |
| training_iteration                                       6 |
| accuracy                                             0.545 |
| loss                                               1.29686 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00002 saved a checkpoint for iteration 6 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000005
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000005)
(func pid=4881) [2, 20000] loss: 0.132
(func pid=4878) [4,  2000] loss: 1.236
(func pid=4877) [7,  2000] loss: 1.099
(func pid=4878) [4,  4000] loss: 0.637

Trial train_cifar_6dce2_00006 finished iteration 2 at 2025-05-19 15:28:26. Total running time: 3min 26s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00006 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000001 |
| time_this_iter_s                                  81.07221 |
| time_total_s                                     201.59799 |
| training_iteration                                       2 |
| accuracy                                            0.5265 |
| loss                                               1.32715 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00006 saved a checkpoint for iteration 2 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000001
(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000001)
(func pid=4878) [4,  6000] loss: 0.421

Trial status: 7 TERMINATED | 3 RUNNING
Current time: 2025-05-19 15:28:31. Total running time: 3min 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_6dce2_00002   RUNNING       256      4   0.00133767               8        6           190.546    1.29686       0.545  |
| train_cifar_6dce2_00006   RUNNING       128     64   0.000830638              2        2           201.598    1.32715       0.5265 |
| train_cifar_6dce2_00009   RUNNING       128      8   0.00181374               4        3           159.059    1.34219       0.5275 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4877) [7,  4000] loss: 0.555

Trial train_cifar_6dce2_00002 finished iteration 7 at 2025-05-19 15:28:39. Total running time: 3min 39s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00002 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000006 |
| time_this_iter_s                                  23.56399 |
| time_total_s                                     214.11012 |
| training_iteration                                       7 |
| accuracy                                            0.5659 |
| loss                                               1.25353 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00002 saved a checkpoint for iteration 7 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000006
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000006)
(func pid=4881) [3,  4000] loss: 0.626 [repeated 3x across cluster]
(func pid=4881) [3,  6000] loss: 0.424 [repeated 2x across cluster]

Trial train_cifar_6dce2_00009 finished iteration 4 at 2025-05-19 15:28:49. Total running time: 3min 48s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000003 |
| time_this_iter_s                                  39.01403 |
| time_total_s                                     198.07349 |
| training_iteration                                       4 |
| accuracy                                            0.5574 |
| loss                                               1.27291 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00009 saved a checkpoint for iteration 4 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000003
(func pid=4878) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000003)
(func pid=4881) [3,  8000] loss: 0.314 [repeated 2x across cluster]
(func pid=4881) [3, 10000] loss: 0.252 [repeated 3x across cluster]

Trial status: 7 TERMINATED | 3 RUNNING
Current time: 2025-05-19 15:29:01. Total running time: 4min 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_6dce2_00002   RUNNING       256      4   0.00133767               8        7           214.11     1.25353       0.5659 |
| train_cifar_6dce2_00006   RUNNING       128     64   0.000830638              2        2           201.598    1.32715       0.5265 |
| train_cifar_6dce2_00009   RUNNING       128      8   0.00181374               4        4           198.073    1.27291       0.5574 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
+------------------------------------------------------------------------------------------------------------------------------------+

Trial train_cifar_6dce2_00002 finished iteration 8 at 2025-05-19 15:29:02. Total running time: 4min 1s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00002 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000007 |
| time_this_iter_s                                  22.44478 |
| time_total_s                                      236.5549 |
| training_iteration                                       8 |
| accuracy                                             0.584 |
| loss                                               1.20247 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00002 saved a checkpoint for iteration 8 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000007
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000007)
(func pid=4881) [3, 12000] loss: 0.208 [repeated 2x across cluster]
(func pid=4881) [3, 14000] loss: 0.173 [repeated 3x across cluster]
(func pid=4881) [3, 16000] loss: 0.154 [repeated 3x across cluster]

Trial train_cifar_6dce2_00002 finished iteration 9 at 2025-05-19 15:29:24. Total running time: 4min 23s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00002 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000008 |
| time_this_iter_s                                  22.02682 |
| time_total_s                                     258.58172 |
| training_iteration                                       9 |
| accuracy                                            0.5752 |
| loss                                                1.2965 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00002 saved a checkpoint for iteration 9 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000008
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000008)
(func pid=4878) [5, 10000] loss: 0.237
(func pid=4881) [3, 18000] loss: 0.137

Trial train_cifar_6dce2_00009 finished iteration 5 at 2025-05-19 15:29:29. Total running time: 4min 29s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000004 |
| time_this_iter_s                                  40.33362 |
| time_total_s                                      238.4071 |
| training_iteration                                       5 |
| accuracy                                            0.5441 |
| loss                                               1.33796 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00009 saved a checkpoint for iteration 5 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000004
(func pid=4878) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000004)

Trial status: 7 TERMINATED | 3 RUNNING
Current time: 2025-05-19 15:29:31. Total running time: 4min 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_6dce2_00002   RUNNING       256      4   0.00133767               8        9           258.582    1.2965        0.5752 |
| train_cifar_6dce2_00006   RUNNING       128     64   0.000830638              2        2           201.598    1.32715       0.5265 |
| train_cifar_6dce2_00009   RUNNING       128      8   0.00181374               4        5           238.407    1.33796       0.5441 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [3, 20000] loss: 0.122
(func pid=4877) [10,  2000] loss: 0.899
(func pid=4877) [10,  4000] loss: 0.467 [repeated 2x across cluster]

Trial train_cifar_6dce2_00006 finished iteration 3 at 2025-05-19 15:29:42. Total running time: 4min 41s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00006 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000002 |
| time_this_iter_s                                  75.31019 |
| time_total_s                                     276.90818 |
| training_iteration                                       3 |
| accuracy                                            0.5708 |
| loss                                               1.21594 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00006 saved a checkpoint for iteration 3 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000002
(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000002)

Trial train_cifar_6dce2_00002 finished iteration 10 at 2025-05-19 15:29:47. Total running time: 4min 47s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00002 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000009 |
| time_this_iter_s                                  23.35934 |
| time_total_s                                     281.94106 |
| training_iteration                                      10 |
| accuracy                                            0.5747 |
| loss                                               1.25261 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00002 saved a checkpoint for iteration 10 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000009

Trial train_cifar_6dce2_00002 completed after 10 iterations at 2025-05-19 15:29:47. Total running time: 4min 47s
(func pid=4877) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00002_2_batch_size=8,l1=256,l2=4,lr=0.0013_2025-05-19_15-25-00/checkpoint_000009)
(func pid=4881) [4,  2000] loss: 1.136 [repeated 2x across cluster]
(func pid=4881) [4,  4000] loss: 0.573 [repeated 2x across cluster]
(func pid=4881) [4,  6000] loss: 0.380 [repeated 2x across cluster]

Trial status: 8 TERMINATED | 2 RUNNING
Current time: 2025-05-19 15:30:01. Total running time: 5min 0s
Logical resource usage: 4.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
+------------------------------------------------------------------------------------------------------------------------------------+
| Trial name                status         l1     l2            lr     batch_size     iter     total time (s)      loss     accuracy |
+------------------------------------------------------------------------------------------------------------------------------------+
| train_cifar_6dce2_00006   RUNNING       128     64   0.000830638              2        3           276.908    1.21594       0.5708 |
| train_cifar_6dce2_00009   RUNNING       128      8   0.00181374               4        5           238.407    1.33796       0.5441 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00002   TERMINATED    256      4   0.00133767               8       10           281.941    1.25261       0.5747 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [4,  8000] loss: 0.294 [repeated 2x across cluster]

Trial train_cifar_6dce2_00009 finished iteration 6 at 2025-05-19 15:30:06. Total running time: 5min 6s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000005 |
| time_this_iter_s                                  37.11389 |
| time_total_s                                       275.521 |
| training_iteration                                       6 |
| accuracy                                            0.5608 |
| loss                                               1.28149 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00009 saved a checkpoint for iteration 6 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000005
(func pid=4878) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000005)
(func pid=4881) [4, 10000] loss: 0.235
(func pid=4878) [7,  2000] loss: 1.090
(func pid=4878) [7,  4000] loss: 0.552 [repeated 2x across cluster]
(func pid=4878) [7,  6000] loss: 0.369 [repeated 2x across cluster]

Trial status: 8 TERMINATED | 2 RUNNING
Current time: 2025-05-19 15:30:31. Total running time: 5min 30s
Logical resource usage: 4.0/16 CPUs, 0/1 GPUs (0.0/1.0 accelerator_type:A10G)
+------------------------------------------------------------------------------------------------------------------------------------+
| Trial name                status         l1     l2            lr     batch_size     iter     total time (s)      loss     accuracy |
+------------------------------------------------------------------------------------------------------------------------------------+
| train_cifar_6dce2_00006   RUNNING       128     64   0.000830638              2        3           276.908    1.21594       0.5708 |
| train_cifar_6dce2_00009   RUNNING       128      8   0.00181374               4        6           275.521    1.28149       0.5608 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00002   TERMINATED    256      4   0.00133767               8       10           281.941    1.25261       0.5747 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4878) [7,  8000] loss: 0.283 [repeated 2x across cluster]
(func pid=4878) [7, 10000] loss: 0.222 [repeated 2x across cluster]

Trial train_cifar_6dce2_00009 finished iteration 7 at 2025-05-19 15:30:41. Total running time: 5min 41s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000006 |
| time_this_iter_s                                  35.08838 |
| time_total_s                                     310.60937 |
| training_iteration                                       7 |
| accuracy                                            0.5595 |
| loss                                               1.30004 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00009 saved a checkpoint for iteration 7 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000006
(func pid=4878) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000006)
(func pid=4878) [8,  2000] loss: 1.033 [repeated 2x across cluster]

Trial train_cifar_6dce2_00006 finished iteration 4 at 2025-05-19 15:30:48. Total running time: 5min 48s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00006 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000003 |
| time_this_iter_s                                  66.77956 |
| time_total_s                                     343.68774 |
| training_iteration                                       4 |
| accuracy                                            0.5812 |
| loss                                                1.1917 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00006 saved a checkpoint for iteration 4 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000003
(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000003)
(func pid=4878) [8,  4000] loss: 0.530
(func pid=4881) [5,  2000] loss: 1.075
(func pid=4878) [8,  6000] loss: 0.361
(func pid=4881) [5,  4000] loss: 0.541

Trial status: 8 TERMINATED | 2 RUNNING
Current time: 2025-05-19 15:31:01. Total running time: 6min 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_6dce2_00006   RUNNING       128     64   0.000830638              2        4           343.688    1.1917        0.5812 |
| train_cifar_6dce2_00009   RUNNING       128      8   0.00181374               4        7           310.609    1.30004       0.5595 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00002   TERMINATED    256      4   0.00133767               8       10           281.941    1.25261       0.5747 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [5,  6000] loss: 0.365
(func pid=4878) [8,  8000] loss: 0.271
(func pid=4878) [8, 10000] loss: 0.216 [repeated 2x across cluster]

Trial train_cifar_6dce2_00009 finished iteration 8 at 2025-05-19 15:31:15. Total running time: 6min 15s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000007 |
| time_this_iter_s                                  33.89768 |
| time_total_s                                     344.50705 |
| training_iteration                                       8 |
| accuracy                                            0.5686 |
| loss                                                1.2793 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00009 saved a checkpoint for iteration 8 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000007
(func pid=4878) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000007)
(func pid=4881) [5, 12000] loss: 0.185 [repeated 2x across cluster]
(func pid=4881) [5, 14000] loss: 0.157 [repeated 2x across cluster]

Trial status: 8 TERMINATED | 2 RUNNING
Current time: 2025-05-19 15:31:31. Total running time: 6min 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_6dce2_00006   RUNNING       128     64   0.000830638              2        4           343.688    1.1917        0.5812 |
| train_cifar_6dce2_00009   RUNNING       128      8   0.00181374               4        8           344.507    1.2793        0.5686 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00002   TERMINATED    256      4   0.00133767               8       10           281.941    1.25261       0.5747 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [5, 16000] loss: 0.138 [repeated 2x across cluster]
(func pid=4881) [5, 18000] loss: 0.124 [repeated 2x across cluster]
(func pid=4881) [5, 20000] loss: 0.108 [repeated 2x across cluster]

Trial train_cifar_6dce2_00009 finished iteration 9 at 2025-05-19 15:31:52. Total running time: 6min 52s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000008 |
| time_this_iter_s                                  37.10091 |
| time_total_s                                     381.60797 |
| training_iteration                                       9 |
| accuracy                                            0.5735 |
| loss                                               1.26006 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00009 saved a checkpoint for iteration 9 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000008
(func pid=4878) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000008)

Trial train_cifar_6dce2_00006 finished iteration 5 at 2025-05-19 15:31:54. Total running time: 6min 54s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00006 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000004 |
| time_this_iter_s                                  66.16218 |
| time_total_s                                     409.84992 |
| training_iteration                                       5 |
| accuracy                                            0.5831 |
| loss                                               1.20498 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00006 saved a checkpoint for iteration 5 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000004
(func pid=4878) [10,  2000] loss: 0.947 [repeated 2x across cluster]

Trial status: 8 TERMINATED | 2 RUNNING
Current time: 2025-05-19 15:32:01. Total running time: 7min 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_6dce2_00006   RUNNING       128     64   0.000830638              2        5           409.85     1.20498       0.5831 |
| train_cifar_6dce2_00009   RUNNING       128      8   0.00181374               4        9           381.608    1.26006       0.5735 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00002   TERMINATED    256      4   0.00133767               8       10           281.941    1.25261       0.5747 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4878) [10,  4000] loss: 0.492 [repeated 2x across cluster]
(func pid=4878) [10,  6000] loss: 0.340 [repeated 2x across cluster]
(func pid=4878) [10,  8000] loss: 0.263 [repeated 2x across cluster]
(func pid=4878) [10, 10000] loss: 0.205 [repeated 2x across cluster]

Trial train_cifar_6dce2_00009 finished iteration 10 at 2025-05-19 15:32:26. Total running time: 7min 26s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00009 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000009 |
| time_this_iter_s                                  33.71994 |
| time_total_s                                      415.3279 |
| training_iteration                                      10 |
| accuracy                                            0.5759 |
| loss                                               1.28608 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00009 saved a checkpoint for iteration 10 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000009

Trial train_cifar_6dce2_00009 completed after 10 iterations at 2025-05-19 15:32:26. Total running time: 7min 26s
(func pid=4878) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00009_9_batch_size=4,l1=128,l2=8,lr=0.0018_2025-05-19_15-25-00/checkpoint_000009) [repeated 2x across cluster]
(func pid=4881) [6, 12000] loss: 0.177 [repeated 2x across cluster]

Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2025-05-19 15:32:31. Total running time: 7min 31s
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_6dce2_00006   RUNNING       128     64   0.000830638              2        5           409.85     1.20498       0.5831 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00002   TERMINATED    256      4   0.00133767               8       10           281.941    1.25261       0.5747 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
| train_cifar_6dce2_00009   TERMINATED    128      8   0.00181374               4       10           415.328    1.28608       0.5759 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [6, 14000] loss: 0.149
(func pid=4881) [6, 16000] loss: 0.130
(func pid=4881) [6, 18000] loss: 0.116
(func pid=4881) [6, 20000] loss: 0.108

Trial train_cifar_6dce2_00006 finished iteration 6 at 2025-05-19 15:32:56. Total running time: 7min 56s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00006 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000005 |
| time_this_iter_s                                  61.98218 |
| time_total_s                                      471.8321 |
| training_iteration                                       6 |
| accuracy                                            0.5628 |
| loss                                               1.26244 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00006 saved a checkpoint for iteration 6 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000005
(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000005)

Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2025-05-19 15:33:01. Total running time: 8min 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_6dce2_00006   RUNNING       128     64   0.000830638              2        6           471.832    1.26244       0.5628 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00002   TERMINATED    256      4   0.00133767               8       10           281.941    1.25261       0.5747 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
| train_cifar_6dce2_00009   TERMINATED    128      8   0.00181374               4       10           415.328    1.28608       0.5759 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [7,  2000] loss: 0.955
(func pid=4881) [7,  4000] loss: 0.489
(func pid=4881) [7,  6000] loss: 0.330
(func pid=4881) [7,  8000] loss: 0.254
(func pid=4881) [7, 10000] loss: 0.198
(func pid=4881) [7, 12000] loss: 0.173
Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2025-05-19 15:33:31. Total running time: 8min 31s
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_6dce2_00006   RUNNING       128     64   0.000830638              2        6           471.832    1.26244       0.5628 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00002   TERMINATED    256      4   0.00133767               8       10           281.941    1.25261       0.5747 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
| train_cifar_6dce2_00009   TERMINATED    128      8   0.00181374               4       10           415.328    1.28608       0.5759 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [7, 14000] loss: 0.144
(func pid=4881) [7, 16000] loss: 0.128
(func pid=4881) [7, 18000] loss: 0.114
(func pid=4881) [7, 20000] loss: 0.109

Trial train_cifar_6dce2_00006 finished iteration 7 at 2025-05-19 15:33:57. Total running time: 8min 57s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00006 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000006 |
| time_this_iter_s                                  60.48097 |
| time_total_s                                     532.31307 |
| training_iteration                                       7 |
| accuracy                                            0.5965 |
| loss                                               1.20282 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00006 saved a checkpoint for iteration 7 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000006
(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000006)

Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2025-05-19 15:34:01. Total running time: 9min 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_6dce2_00006   RUNNING       128     64   0.000830638              2        7           532.313    1.20282       0.5965 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00002   TERMINATED    256      4   0.00133767               8       10           281.941    1.25261       0.5747 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
| train_cifar_6dce2_00009   TERMINATED    128      8   0.00181374               4       10           415.328    1.28608       0.5759 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [8,  2000] loss: 0.886
(func pid=4881) [8,  4000] loss: 0.477
(func pid=4881) [8,  6000] loss: 0.316
(func pid=4881) [8,  8000] loss: 0.235
(func pid=4881) [8, 10000] loss: 0.196
(func pid=4881) [8, 12000] loss: 0.165
Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2025-05-19 15:34:31. Total running time: 9min 31s
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_6dce2_00006   RUNNING       128     64   0.000830638              2        7           532.313    1.20282       0.5965 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00002   TERMINATED    256      4   0.00133767               8       10           281.941    1.25261       0.5747 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
| train_cifar_6dce2_00009   TERMINATED    128      8   0.00181374               4       10           415.328    1.28608       0.5759 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [8, 14000] loss: 0.145
(func pid=4881) [8, 16000] loss: 0.126
(func pid=4881) [8, 18000] loss: 0.111
(func pid=4881) [8, 20000] loss: 0.100

Trial train_cifar_6dce2_00006 finished iteration 8 at 2025-05-19 15:34:58. Total running time: 9min 57s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00006 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000007 |
| time_this_iter_s                                  60.57173 |
| time_total_s                                      592.8848 |
| training_iteration                                       8 |
| accuracy                                            0.5964 |
| loss                                               1.21904 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00006 saved a checkpoint for iteration 8 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000007
(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000007)

Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2025-05-19 15:35:01. Total running time: 10min 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_6dce2_00006   RUNNING       128     64   0.000830638              2        8           592.885    1.21904       0.5964 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00002   TERMINATED    256      4   0.00133767               8       10           281.941    1.25261       0.5747 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
| train_cifar_6dce2_00009   TERMINATED    128      8   0.00181374               4       10           415.328    1.28608       0.5759 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [9,  2000] loss: 0.867
(func pid=4881) [9,  4000] loss: 0.457
(func pid=4881) [9,  6000] loss: 0.315
(func pid=4881) [9,  8000] loss: 0.236
(func pid=4881) [9, 10000] loss: 0.188
(func pid=4881) [9, 12000] loss: 0.161
Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2025-05-19 15:35:31. Total running time: 10min 31s
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_6dce2_00006   RUNNING       128     64   0.000830638              2        8           592.885    1.21904       0.5964 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00002   TERMINATED    256      4   0.00133767               8       10           281.941    1.25261       0.5747 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
| train_cifar_6dce2_00009   TERMINATED    128      8   0.00181374               4       10           415.328    1.28608       0.5759 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [9, 14000] loss: 0.136
(func pid=4881) [9, 16000] loss: 0.120
(func pid=4881) [9, 18000] loss: 0.108
(func pid=4881) [9, 20000] loss: 0.099

Trial train_cifar_6dce2_00006 finished iteration 9 at 2025-05-19 15:35:59. Total running time: 10min 58s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00006 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000008 |
| time_this_iter_s                                  61.00487 |
| time_total_s                                     653.88967 |
| training_iteration                                       9 |
| accuracy                                            0.5962 |
| loss                                               1.22708 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00006 saved a checkpoint for iteration 9 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000008
(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000008)

Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2025-05-19 15:36:01. Total running time: 11min 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_6dce2_00006   RUNNING       128     64   0.000830638              2        9           653.89     1.22708       0.5962 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00002   TERMINATED    256      4   0.00133767               8       10           281.941    1.25261       0.5747 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
| train_cifar_6dce2_00009   TERMINATED    128      8   0.00181374               4       10           415.328    1.28608       0.5759 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [10,  2000] loss: 0.826
(func pid=4881) [10,  4000] loss: 0.440
(func pid=4881) [10,  6000] loss: 0.305
(func pid=4881) [10,  8000] loss: 0.224
(func pid=4881) [10, 10000] loss: 0.186
(func pid=4881) [10, 12000] loss: 0.155
Trial status: 9 TERMINATED | 1 RUNNING
Current time: 2025-05-19 15:36:31. Total running time: 11min 31s
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_6dce2_00006   RUNNING       128     64   0.000830638              2        9           653.89     1.22708       0.5962 |
| train_cifar_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00002   TERMINATED    256      4   0.00133767               8       10           281.941    1.25261       0.5747 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
| train_cifar_6dce2_00009   TERMINATED    128      8   0.00181374               4       10           415.328    1.28608       0.5759 |
+------------------------------------------------------------------------------------------------------------------------------------+
(func pid=4881) [10, 14000] loss: 0.134
(func pid=4881) [10, 16000] loss: 0.119
(func pid=4881) [10, 18000] loss: 0.106
(func pid=4881) [10, 20000] loss: 0.098

Trial train_cifar_6dce2_00006 finished iteration 10 at 2025-05-19 15:36:59. Total running time: 11min 59s
+------------------------------------------------------------+
| Trial train_cifar_6dce2_00006 result                       |
+------------------------------------------------------------+
| checkpoint_dir_name                      checkpoint_000009 |
| time_this_iter_s                                  60.51742 |
| time_total_s                                     714.40709 |
| training_iteration                                      10 |
| accuracy                                            0.6022 |
| loss                                                1.2372 |
+------------------------------------------------------------+
Trial train_cifar_6dce2_00006 saved a checkpoint for iteration 10 at: (local)/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000009

Trial train_cifar_6dce2_00006 completed after 10 iterations at 2025-05-19 15:36:59. Total running time: 11min 59s

Trial status: 10 TERMINATED
Current time: 2025-05-19 15:36:59. Total running time: 11min 59s
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_6dce2_00000   TERMINATED      1    256   0.00268587              16       10           177.371    1.77101       0.2757 |
| train_cifar_6dce2_00001   TERMINATED      1      1   0.000187533              8        1            40.7911   2.30368       0.1482 |
| train_cifar_6dce2_00002   TERMINATED    256      4   0.00133767               8       10           281.941    1.25261       0.5747 |
| train_cifar_6dce2_00003   TERMINATED     64     32   0.000205323             16        1            25.977    2.30338       0.0937 |
| train_cifar_6dce2_00004   TERMINATED      4    128   0.00884942               2        1           117.232    2.31721       0.1    |
| train_cifar_6dce2_00005   TERMINATED      1      4   0.00072358               4        2           123.501    1.89247       0.2068 |
| train_cifar_6dce2_00006   TERMINATED    128     64   0.000830638              2       10           714.407    1.2372        0.6022 |
| train_cifar_6dce2_00007   TERMINATED      8      1   0.00237309              16        1            25.3488   2.05672       0.1935 |
| train_cifar_6dce2_00008   TERMINATED      1     32   0.00575061               2        1           105.824    2.31038       0.097  |
| train_cifar_6dce2_00009   TERMINATED    128      8   0.00181374               4       10           415.328    1.28608       0.5759 |
+------------------------------------------------------------------------------------------------------------------------------------+

(func pid=4881) Checkpoint successfully created at: Checkpoint(filesystem=local, path=/var/lib/ci-user/ray_results/train_cifar_2025-05-19_15-25-00/train_cifar_6dce2_00006_6_batch_size=2,l1=128,l2=64,lr=0.0008_2025-05-19_15-25-00/checkpoint_000009)
Best trial config: {'l1': 128, 'l2': 64, 'lr': 0.0008306376519303962, 'batch_size': 2}
Best trial final validation loss: 1.2372038170223116
Best trial final validation accuracy: 0.6022
Best trial test set accuracy: 0.5915

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: ( 12 minutes 14.754 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