﻿# NeMo video LoRA: batch size changes the meaning of step time

Read NVIDIA’s Wan and HunyuanVideo measurements with their batch sizes, steady-state timer and PyTorch allocation boundary before inferring capacity or speed.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/nemo-automodel-video-lora-step-batch-allocator-memory-boundary/
Language: en

NVIDIA's NeMo Automodel diffusion article provides unusually useful boundaries around its video-training measurements. It identifies the hardware, clip shape, batch sizes, timed work, and memory counter. Those details make the table informative, but they also explain why a lower adapter-memory figure is not a guarantee that the same recipe fits a smaller standalone GPU.

## Keep the complete benchmark configuration

The [original NVIDIA article on Hugging Face](https://huggingface.co/blog/nvidia/scale-diffusers-finetuning-nemo-automodel) has publication metadata dated July 17, 2026. Its reported measurements use a fully NVLink-connected node of eight H100 accelerators with 80GB each. Video samples contain 49 frames at 512×512 resolution, and the benchmark uses a cached dataset rather than including the entire raw-media preparation workflow.

For Wan 2.1 14B with rank 64 LoRA and activation checkpointing, global/local batch sizes are 16/2. The reported step time is 7.585±0.014 seconds, with 24.07GiB peak allocated memory per GPU. The uncertainty is sample standard deviation over steady-state measurement windows, not a confidence interval for all future runs. The [inference benchmark methodology guide](/journal/inference-benchmark-method/) provides related principles for preserving the workload and timing boundary, even though this experiment measures training.

## Compare throughput as well as step time

The full-training Wan row uses a different global/local batch, 8/1, and reports 3.798±0.017 seconds per step with 33.35GiB peak allocation. The LoRA step is longer because it processes a larger batch. Reported clip throughput is almost equal: 2.110 versus 2.107 clips per second. Treating step duration alone as the performance ranking would hide that denominator.

For HunyuanVideo 1.5, the LoRA row uses rank 64, checkpointing, and global/local batch 8/1. It reports 5.575±0.006 seconds and 10.58GiB peak allocation. Its full-training counterpart has the same batch and reports 5.926±0.046 seconds and 15.90GiB. These are separate model experiments; the smaller Hunyuan allocation does not establish equal quality, capacity requirements, or architecture-normalized efficiency relative to Wan.

## State what the timer leaves outside

The authors include dataloading, forward and backward passes, gradient clipping, optimizer work, and scheduler work in the step timer. They disable checkpoint writes. Consequently, the table is not complete elapsed time from an unprepared dataset to a durable training artifact.

The [official diffusion fine-tuning guide](https://docs.nvidia.com/nemo/automodel/recipes-e2e-examples/diffusion-fine-tuning) explicitly separates preparation of latent cache files, training, and later generation. That current documentation describes the workflow; it is not an independent reproduction of the earlier measurements. Dataset encoding, model initialization, saving, and validation can materially affect the duration of a real adaptation job, even when steady-state steps match the published values.

## Allocation is not whole-device capacity

The article defines memory as peak PyTorch CUDA allocator usage, rather than total device memory reported by NVML. Driver context, other allocations, and the distributed recipe remain relevant. A per-GPU number from the multi-accelerator experiment cannot be transplanted into a single-card configuration without accounting for placement and communication.

The [LoRA memory guide](/journal/lora-qlora-memory/) explains why frozen base weights, activations, and trainable state still matter. Finally, the article's stylistic video examples are qualitative demonstrations, not a controlled quality evaluation of the timed runs. The strongest conclusion is the measured resource-and-throughput behavior of the documented recipes, with quality and complete job cost assessed separately.
