页面简介
H3 Max generates a 5-second video in under 3 seconds. In our human preference evaluations against twelve leading video models, it ranks first on quality, prompt understanding, and aesthetics. Independent benchmarks from Artificial Analysis and Design Arena rank it first as well. We’ve written about the model itself.
正文摘录
H3 Max generates a 5-second video in under 3 seconds. In our human preference evaluations against twelve leading video models, it ranks first on quality, prompt understanding, and aesthetics. Independent benchmarks from Artificial Analysis and Design Arena rank it first as well. We’ve written about the model itself. This article covers the platform that takes it from training to production and keeps performance optimized as demand grows.The fal platform is three layers that compound: fal Compute, fal Serverless, and fal Model APIs.fal Compute provides the infrastructure for training: clusters of 16 or more nodes interconnected over RDMA fabrics such as InfiniBand or RoCE, rented for long-running training jobs.fal Serverless is where trained models get deployed and served: billions of requests a day across thousands of endpoints. It got there because our own ML team has been dogfooding it for four years, and every reliability and observability feature exists because we needed it ourselves.Model APIs sit on top: 1300+ endpoints behind a single API interface. When you call minimax/h3-max/image-to-video, you are hitting a Model API, and the queuing, autoscaling, and error handling underneath it are handled for you.Many of our customers move along this stack in order: train on Compute, deploy on Serverless, then distribute as a Model API on the marketplace. H3 Max went through exactly this lifecycle. This article walks through it layer by layer, along with the techniques that let H3 Max deliver two different things that are easy to conflate. The first is low inference latency: how long one generation takes on a warm GPU that is already running. The second is low end-to-end latency at scale: how long a user actually waits for their video once queueing and cold starts are added on top of inference. The first is mostly a model problem. The second is an infrastructure problem, and it is the one Serverless exists to solve.The Model API interface to H3 Max using fal.subscribe. The client also supports fal.queue.submit for async submission with webhooks and fal.run for blocking calls. See Inference methods.Moving towards low latency, high quality video generationFor a while, generative video models followed a predictable pattern: each new model understood prompts better and rendered more detail, but latency barely moved. Quality was the axis everyone optimized. The standard way to buy speed was to cut sampling steps or serve a smaller model, and the output got worse on the way down.H3 Max is the first model in the industry to break through that barrier into a new zone: high quality and low latency at once. The chart above shows the first number from the introduction, inference latency. On the fal Serverless dashboard, it surfaces as Request Execution on the App Analytics tab, measured as the time spent executing the endpoint handler, which is inference plus whatever else the handler does.The chart above shows Request Execution for the H3 Max endpoint on GB200s. Two things set this number: the machine type serving the request, and the inputs of the request itself. Resolution, clip length, and other parameters change how much work one generation is, which explains the variance visible in the chart.The second number is end-to-end latency at scale. When thousands of requests arrive at once, more than your idle capacity can absorb, the total time a user waits also includes queueing time and cold starts. The dashboard splits the parts into Request Startup and Request Execution, and measures the whole directly on the End-to-End Latency chart, timed per request from receipt to response. Keeping that number low under load is one goal of the Serverless product, and it is a different engineering problem from making a single generation fast.The diagram below shows how requests and runners connect. A request enters the queue, and if an idle runner exists it starts right away. If not, the request waits, and the autoscaler adds a runner if the scaling configuration allows it, below the max_concurrency and past the scaling delay. When a new runner is needed, its cold start becomes part of the request's startup time. The queue has no size limit, and retry-able runner failures are automatically re-queued, so bursts are absorbed rather than dropped.End-to-end latency from two points of view. The request lane shows the queue statuses a caller sees, IN_QUEUE and IN_PROGRESS. The runner lane shows the runner states behind them. The brackets are the two dashboard metrics, Request Startup and Request Execution, and each card lists the levers that minimize one phase. For the full lifecycle of each lane, see Understanding Requests and Understanding Runners in the docs.Layer 1: Post-training H3 Max on fal ComputeWe start at the training layer. H3 Max was post-trained by the fal Research team on fal Compute, with an explicit goal: minimize inference time while maximizing quality. On the end-to-end latency chart, this layer in particular moves Request Execution.For a diffusion-based video model, inference time depends largely on the number of sampling steps and the cost of each step on the selected hardware. Post-training is where we reduced both. H3 Max used fal's post-training and reinforcement learning infrastructure for diffusion transformers, with high-quality training data, and we only shipped optimizations that preserved the model's ranking in our quality evaluations. Model size is different. It was fixed by the base model before any of this work, and it cascades through everything downstream: it determines the machine type, whether the model fits on one node or must be sharded across several, and how long weights take to load on a cold start.The training itself ran on a cluster of interconnected GB200 NVL72 nodes on fal Compute. The final run took on the order of a week to ten days; considerably more time went into the experiments that shaped it. An optimization only shipped if the model kept its rank in our quality evaluations. There are plenty of ways to make a video model faster that look excellent on a latency chart and quietly cost you the output. Those were rejected.fal Compute is the same product any team can rent: interconnected clusters, typically 16 nodes and up, with full control of the machines. If your training job outgrows a single node, this is the layer built for it.Layer 2: Inference at scale with fal ServerlessSo you have trained (or post-trained) a model. Next is deploying it to serve inference at scale, with the goal of minimizing end-to-end latency. fal Serverless gives you a set of levers over both halves of the split from the last section, Request Startup and Request Execution.Reducing cold start impactStart with the part everyone feels first: the cold start. Opening any runner on the Serverless runners page shows its side-sheet, with the cold start broken into stages:The runner side-sheet's cold start timeline. In this example: 26 seconds to acquire a B200 GPU (PENDING), 1.56 seconds to pull the image (DOCKER PULL), and 496 seconds of setup.That breakdown tells you where to aim. A runner moves through five key states on its way to serving traffic and the time from PENDING to IDLE is your cold start latency.PENDING: waiting to be scheduled onto available hardware. fal absorbs this stage and does not bill for it.DOCKER_PULL: the environment image is pulled to the node and cached. This stage is skipped entirely when the node already holds the image, and it is not billed either.SETUP: the container runs your application's setup() function, loading model weights onto the GPU and doing any other startup work. Billing starts here.IDLE: ready to serve requests, not actively executing a generation.RUNNING: actively executing a generation.The side-sheet above shows a single runner. The Runners tab also aggregates cold starts across all runners in the selected range, with p50, p95, p99, and average duration per state. One slow runner can be an outlier, so this is the view that shows which state actually contributes most to cold start latency. The sections below go through those states one at a time.The aggregate cold start summary on the Runners tab: percentile and average durations per cold start state, across all runners in the selected range. Here we can see that setup times contribute the most to cold start latency (43.31s p50 setup, 48.28s p50 cold start time).Getting capacity when you need itPENDING is the wait for hardware, so minimizing it comes down to how many free machines exist of the machine_type your app configures. Enterprise customers of fal Serverless typically structure capacity in two tiers:A reservation: a fixed number of GPUs per machine type, held 24/7 and isolated from the shared pool. Reserved capacity eliminates pending and setup time for a guaranteed pool of GPUs, which in practice means always-warm runners, no cold starts on the reserved floor, and predictable unit economics.Bursting above that baseline into the shared pool. The burst pool is shared across Enterprise customers, so performance there is less predictable: under contention, a burst can wait longer in PENDING than reserved capacity ever does. Pricing differs too. Reservation rates are fixed by contract, while non-contracted usage is billed at prevailing rates, which can change. However, the burst mechanism provides elasticity and flexibility that make the Serverless product even more beneficial during high-traffic periods, model launches and experiments, on top of your baseline reservation.An example customer with 600 H100s reserved. The hatched area shows bursting into the shared pool. Capacity graphs like this one live in the capacity dashboard.H3 Max does something additionally clever. It load balances across multiple machine types by following the multi-app-routing pattern. The public endpoint is a small CPU app that owns everything about a request that does not need a GPU: validation, prompt expansion, the safety checker, billing. The