Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
fix(working-memory): reserve measured working memory for tiled VAE decodes and encodes (#9946)
Alexander Eichhorn7a82b201e188
diff --git a/docs/src/content/docs/configuration/Optimization/low-vram-mode.mdx b/docs/src/content/docs/configuration/Optimization/low-vram-mode.mdxindex 9bb48faeb7..883262bdc3 100644--- a/docs/src/content/docs/configuration/Optimization/low-vram-mode.mdx+++ b/docs/src/content/docs/configuration/Optimization/low-vram-mode.mdx@@ -178,7 +178,7 @@ Invoke's decode estimates are measured on a few reference GPUs. Your GPU, driver- **What it runs**: a few short text-to-image generations of the model at three sizes, up to the largest your GPU can decode in one piece with the VAE fully loaded in the memory free on it when the calibration is planned, in each VAE precision the model can decode in. Before each measured operation, Invoke moves the other models off the GPU, so the measured model is fully loaded. Each size runs once to warm up and twice more. The generations go through the normal queue, so they wait behind queued work and appear there like any other generation. Their images are intermediates: they never appear in the gallery or on a board, and Clear Intermediates removes them once the calibration has finished.- **Who and where**: administrators only. It needs exactly one GPU set as the generation device; with several, it is not available. One calibration runs on the GPU at a time: starting another while one runs, from another browser tab for instance, is refused until it has finished or you stop it. That includes the moment between two of its sizes: another administrator's calibration whose page was closed holds the GPU for two more minutes. Your own interrupted calibration does not hold you back: starting a new one replaces it. If another calibration ran on the GPU in between all the same, the first one cannot go on: calibrate it again. If the model, or another model the calibration loads, is replaced or reinstalled while the calibration runs, the sizes still to come fail with a note to calibrate again, and the calibration counts as stopped: the sizes it already measured are discarded too, since they measured the model as it was before.-- **What it changes**: decodes up to the largest size measured use the measured values, plus the same 5% margin the built-in values carry. Measurements that a fragmented GPU memory pool inflated, or taken while the VAE was only partly on the GPU, are left out, and the Model Manager shows those sizes as not counted. Larger decodes use whichever of the measured and the built-in estimate is larger. Other models that decode the same way (for example, SD1.5 and SDXL models when you calibrate an SDXL model) use the measurements too. Because the estimate decides when a large decode is split into tiles up front, a calibration can change which large images are decoded in tiles.+- **What it changes**: decodes up to the largest size measured use the measured values, plus the same 5% margin the built-in values carry. Measurements that a fragmented GPU memory pool inflated, or taken while the VAE was only partly on the GPU, are left out, and the Model Manager shows those sizes as not counted. Larger decodes use whichever of the measured and the built-in estimate is larger. A tiled decode uses the measurements for each tile where they need more than the built-in values, and keeps the built-in values for what tiling adds. Other models that decode the same way (for example, SD1.5 and SDXL models when you calibrate an SDXL model) use the measurements too. Because the estimate decides when a large decode is split into tiles up front, a calibration can change which large images are decoded in tiles.- **Where it applies**: on this kind of GPU only (identical cards share it), and only while the software that affects memory stays the same: the operating system, the PyTorch and GPU runtime versions, the memory-related environment variables and Invoke's memory settings. After such a change Invoke goes back to the built-in values until you calibrate again. A driver update keeps the measurements but marks them as possibly out of date until you calibrate again.- **Stopping it**: stopping a calibration started from the Model Manager, or clearing the queue while it runs, discards everything that calibration measured, the sizes that already finished included; the Model Manager shows those sizes as not counted because the calibration was stopped. Calibrate again to measure them. If a size fails for another reason, for example because the GPU runs out of memory at the largest size, the sizes that finished still count. A calibration run sent through the API without an `attempt_id` counts on its own instead: stopped, it keeps the sizes it measured. If they should not count, remove the run through the API (`DELETE /api/v2/models/working_memory/runs/{run_id}`), or reset the model's calibration in the Model Manager.- **What it does not cover**: image-to-image and inpainting encodes keep the built-in values.@@ -214,7 +214,7 @@ clear_vram_after_session: true### Tiled VAE decode and encode-Without tiling, the memory a VAE needs grows with the square of the image size. For FLUX.1, an untiled 3072² encode peaks at about 18.8 GiB on an RTX 4090, and a tiled one at 0.8 GiB, while tiled memory stays roughly flat as the image grows. Tiling costs some speed on smaller images.+Without tiling, the memory a VAE needs grows with the square of the image size. For FLUX.1, an untiled 3072² encode peaks at about 18.8 GiB on an RTX 4090, and a tiled one at 0.8 GiB, while tiled memory grows far more slowly. It does still grow: while the tiles are assembled, the decoded tiles and two copies of the image are held at once, about 23 bytes per pixel in bf16, and the node's latents and post-processing come on top. A 24576x24576 FLUX.1 decode at a 512 px tile measured 13.4 GiB on an RX 9060 XT and 16.5 GiB on an RTX 4090, and Invoke reserves at least that. Tiling costs some speed on smaller images.Invoke tiles large decodes by itself: when an untiled decode would claim most of the memory the GPU keeps resident, it decodes in tiles instead, for the FLUX.1, FLUX.2, Z-Image, Qwen-Image, Qwen-Image-2.1, Krea-2, Anima and Wan decodes, and for Qwen-Image-2.1's encodes as well. Because a tiled decode is not pixel-identical to an untiled one, this only kicks in for images too large for the card: for Z-Image on a 16GB GPU, for example, from about 1850x1850 on Nvidia and from about 1500x1500 on AMD, whose convolution library needs more memory. On a ROCm build under Windows the comparison uses the video-memory budget Windows grants Invoke, which is lower than the card's total and lower again while another program uses the GPU. Anima tiles a little earlier, because its untiled decode pushes the Anima model itself out of VRAM on 8GB cards. Wan videos are tiled from 832x480 on 8GB cards and from 720p on 16GB cards, where their untiled decodes need about as much memory as the card holds, or more.diff --git a/docs/src/content/docs/development/Architecture/model-manager.mdx b/docs/src/content/docs/development/Architecture/model-manager.mdxindex 8fb0e77b17..9c079b52ae 100644--- a/docs/src/content/docs/development/Architecture/model-manager.mdx+++ b/docs/src/content/docs/development/Architecture/model-manager.mdx@@ -1058,21 +1058,23 @@ To write such an estimator (`invokeai/backend/util/vae_working_memory.py` has fi- Register an `EstimatorSpec` at module import, and list the module in `ESTIMATOR_MODULES` (`working_memory/spec.py`); the data test fails on a module that declares a spec without being listed.- Split the estimator in two. The impure part reads the model and the device and records every runtime decision (tile, the dtype the operation runs in, score-matrix bytes, a quantized model's dequantization transient) as a feature, and refuses a dtype the spec has no line for with a `ValueError` naming the estimator, dtype and platform. The pure `terms(features, values)` turns features and coefficient values into terms, building fitted terms with `WorkingMemoryTerm.fitted(...)`. The public function returns `SPEC.estimate(features, device)`.- Record the dtype the operation will run in, not the one the cached model holds. The SD1/SDXL nodes cast the shared VAE with `sd_vae_run_dtype`: fp16 for every GPU run that does not ask for fp32 (bf16 never runs), fp32 when asked and for a CPU decode. Their estimate prices the same function's answer, plus what the in-place cast adds to the resident weights. Uncast VAEs compute in their first floating-point parameter wider than a byte, so fp8 or packed SDNQ storage does not count.-- Declare the line the fitted terms price on with `line=` (a function returning a `fit.Line`): the suffix that names the line's coefficients, the operation's size on its x-axis, whether a measurement of these features fits the line, and how point ids label them. Every estimator declares it and nothing defaults it, so a new estimator cannot inherit another's line, and with it which of its measurements fit. The VAE estimators declare the AutoencoderKL convolution line in output pixels (`fit.convolution_line`), the Z-Image, FLUX.2, FLUX.3 and Krea-2 denoise ones in attended tokens. The fit subtracts nothing from a point's demand, so a line admits only measurements whose demand is the line's alone: an operation with a term of its own on top of the line (a tile, an in-place upcast, a ControlNet's hints, regional prompting's bias, LoRAs, a dequantization or fp8 cast transient, a materialized score matrix the estimate adds rather than takes the larger of) bounds its estimate but fits nothing.+- Declare the line the fitted terms price on with `line=` (a function returning a `fit.Line`): the suffix that names the line's coefficients, the operation's size on its x-axis, whether a measurement of these features fits the line, and how point ids label them. Every estimator declares it and nothing defaults it, so a new estimator cannot inherit another's line, and with it which of its measurements fit. The VAE estimators declare the AutoencoderKL convolution line in output pixels (`fit.convolution_line`), the Z-Image, FLUX.2, FLUX.3 and Krea-2 denoise ones in attended tokens. A line may sit on another (`Line.sits_on`, the line beneath and the operation's size on it): a tiled VAE operation prices its tile, clamped to the image per axis, on the untiled line and sits there, and its estimator's tiled line `tiled_<operation>_<dtype>`, in the image's pixels, prices what tiling adds on top. A line may also have a second phase that peaks apart from it (`Line.assembly`): a tiled decode assembles the image from its decoded tiles after the last one, priced on the assembly line `assembled_decode_<dtype>` in the image's pixels, and the estimate reserves the larger phase. The fit subtracts nothing else from a point's demand, so a line admits only measurements whose demand is the line's alone, or the line's above the line it sits on: an operation with a term of its own on top of the line (an in-place upcast, a batch, a ControlNet's hints, regional prompting's bias, LoRAs, a dequantization or fp8 cast transient, a materialized score matrix the estimate adds rather than takes the larger of) bounds its estimate but fits nothing.- Declare `legacy_formula=` where the terms are shaped unlike the hand-set formula they replace, so that a `legacy` entry's constants alone do not reproduce it (the Krea-2 denoise's CFG and style multipliers, its count-based LoRA term). Where the values are legacy-priced (`ResolvedCoefficients.legacy_priced`: a `legacy` entry, or an unmeasured platform raised to an entry's `unmeasured_floor`), the estimate adds what the formula gives beyond its terms, as a term `legacy_formula`; fitted values on a measured platform never read it.- Opt in with `user_calibrated=True` where a user's calibration may move the estimator: the five VAE estimators do. An estimator that does not is shipped-fit only; a calibration run still records its windows. The calibration summary and plan are built on pixel lines (they key sizes by `width` and `height`), so an estimator on another line, such as the Z-Image denoise's in tokens, must not opt in until they key sizes by `Line.size`.- Bump `version` whenever `terms` changes the formula.-- Key the spec by the platform traits its fitted terms depend on (`platform_keys`; the VAE estimators use `conv_backend` and `allocator`), and ship one coefficient entry per measured platform in `invokeai/backend/working_memory/data/`, either with its own `values` or with `values_from` another estimator's entry, which may carry more values than the borrower reads.+- Key the spec by the platform traits its fitted terms depend on (`platform_keys`; the VAE estimators use `conv_backend` and `allocator`), and ship one coefficient entry per measured platform in `invokeai/backend/working_memory/data/`, with its own `values`, with `values_from` another estimator's entry, which may carry more values than the borrower reads, or with both: the borrower's own lines next to the borrowed ones, never a value it also borrows. `vae.sd`, `vae.flux` and `vae.flux2` borrow the family's untiled lines from `vae.sd3` and carry their own tiled and assembly lines, which differ per family; on MIOpen with expandable segments `vae.flux2` carries its own untiled lines too, as its fp32 decode differs from the family's by more than the margin.- A platform is the convolution backend (`cudnn`, `miopen`, `mps`, `xpu`, `cpu`), torch's caching allocator and the OS. The allocator is torch's backend first (`cudaMallocAsync` ignores expandable segments), then `expandable` if the allocator environment variables enable expandable segments on the native allocator, else `native`; anything but a CUDA/HIP GPU is `native`. `platform_for(device)` reads them from this process; `platform_for_environment(backend, hard)` reads the same facts from a measurement's recorded environment, through the same function.- - `MEASURED` in `working_memory/platform.py` lists the measured backend, allocator and OS combinations (an OS of `None` for every OS). `priced_as` prices every other pair as one of them, keeping the OS: a backend nothing is measured on as cuDNN with the native allocator, an allocator not measured with its backend as that backend's native allocator. There the entry that carries the values raises them to its `unmeasured_floor`: the pre-dtype slopes for the VAE lines, the legacy constants for the denoise lines. A fit describes the card it was measured on, not the platforms it stands in for.+ - `MEASURED` in `working_memory/platform.py` lists the measured backend, allocator and OS combinations (an OS of `None` for every OS). `priced_as` prices every other pair as one of them, keeping the OS: a backend nothing is measured on as cuDNN with the native allocator, an allocator not measured with its backend as that backend's native allocator. There the entry that carries the values raises them to its `unmeasured_floor`: the pre-dtype slopes for the untiled VAE lines, for the tiled and assembly lines each value's largest over the measured platforms (at every size of at least zero a line of per-value maxima lies on or above every measured platform's line, whatever the signs, a negative intercept included). That is conservative by design until those platforms are measured. Its cost, over the shipped tiled points' features against the most demanding measured platform's estimate for them: with the default `device_working_mem_gb` of 3 GB a reservation below 3 GB changes nothing; a tiled decode on CPU, XPU or MPS reserves up to 1.18x (a FLUX.1 decode at a 512 px tile, 12288 px), a tiled encode there up to 1.29x (an SD fp32 encode at a 1024 px tile, 12288 px); on Linux ROCm decodes up to 1.71x and encodes 2.2-2.5x from 1536 px, mostly the untiled stand-ins at the tile. The denoise lines floor at their legacy constants. A fit describes the card it was measured on, not the platforms it stands in for.- An entry applies to the OS only when its platform names one, and then takes precedence there over the one that does not. Only MIOpen names one. With the native allocator, Windows demand is concave and up to 1.6x Linux's, so Windows has its own fit and every other OS keeps the Linux one. Expandable segments are measured on Windows only, where they are Invoke's ROCm default, so `MEASURED` lists them for Windows and every other OS prices them as the native allocator there. cuDNN is priced the same on every OS.- A spec whose fitted terms no platform trait moves declares `platform_keys=()` and ships one entry with an empty `platform`, read alike on every platform, measured or not, never priced as another or floored; its estimate's `source` names it `any platform`, and its points name no platform. MOSS-Image's denoise estimator does this: its fitted term is GEMM and fused-attention activations, not convolution workspaces, and a backend without a fused SDPA kernel is priced by the analytic score-matrix term.- Ship the measured points next to them. A point's `method` says how it was read: one fresh process per point for `reserved_peak` (the allocator's peak reserved bytes), `driver_peak` (the driver-level device usage), and `demand_peak` (the largest of driver-level, reserved and allocated peak, over two runs, which catches the memory HIP maps beyond the allocator on a process's first operation); `device_peak`, the drop in the driver's free memory (`torch.cuda.mem_get_info`, polled during the operation) below its value just before it, which also counts what is allocated around the allocator's reserve; or `probe_demand`, the probe's `demand_bytes`, the largest over the valid, fit-eligible windows of calibration runs in a running server. `scripts/working_memory/build_shipped.py` builds `probe_demand` points from calibration store exports, takes fresh-process points from the point files a calibration script writes (`--points`), and refits the values (see the Family E2E guide). A point names the OS only where it measured an OS-specific entry. `working_memory/bounds.py` holds the rule the data test (`tests/backend/working_memory/`) and the builder apply: each estimate is at least its point, and where a fitted term decides an in-fit point, at most 1.3 times the point, its ratio in `bounds.UPPER_BOUND_EXCEPTIONS` (points no line can hold within 1.3x), or the point's tighter `max_ratio`. A `probe_demand` point is a lower bound only (`MeasuredPoint.holds_upper_bound`) and takes no `max_ratio`: a warm window in a running server reads below the cold first run after a server start, the worst case a reservation must cover. It may raise a line; only the fresh-process points cap one. The `device_working_mem_gb` floor counts only where an analytic term decides.-- Fit the values, never hand-tune them. Fitted terms price a line per operation and dtype: `k_<suffix>` bytes per unit of the line's size plus a base of `b_<suffix>` bytes. The AutoencoderKL estimators price their convolutions on lines in output pixels (`k_<operation>_<dtype>`), the Z-Image and Krea-2 denoise their forwards on lines in attended tokens (`k_denoise_<dtype>`), the FLUX.2 and FLUX.3 denoise their forwards on one such line per dtype and transformer width (`k_denoise_<dtype>_h<width>`).- - `working_memory/fit.py` fits each line on the in-fit points its estimators' `line` admits, of every estimator that resolves to the entry: for the convolution lines the untiled single-sample points, leaving out those whose VAE an in-place cast grew (`upcast_weight_bytes`, a term of its own). The fit of the points that hold an upper bound (the fresh-process ones) is the edge of their upper convex hull (with the origin, so the base is never negative) that over-reserves least, rated on the highest reading per size, the steeper on a tie and never a falling one. It needs at least two sizes twice apart. The shipped values add a 5% margin and round up: the slope to a whole byte per unit of size, the base to a whole MiB. A `probe_demand` point is covered by the line and can raise it, but takes no part in that fit.+- Fit the values, never hand-tune them. Fitted terms price a line per operation and dtype: `k_<suffix>` bytes per unit of the line's size plus a base of `b_<suffix>` bytes. The AutoencoderKL estimators price their convolutions on lines in output pixels (`k_<operation>_<dtype>`), a tiled operation's tile on the same lines and what tiling adds on its estimator's tiled lines in image pixels (`k_tiled_<operation>_<dtype>`), a tiled decode's assembly on its assembly lines in image pixels (`k_assembled_decode_<dtype>`), the Z-Image and Krea-2 denoise their forwards on lines in attended tokens (`k_denoise_<dtype>`), the FLUX.2 and FLUX.3 denoise their forwards on one such line per dtype and transformer width (`k_denoise_<dtype>_h<width>`).+ - `working_memory/fit.py` fits each line on the in-fit points its estimators' `line` admits, of every estimator whose entry carries the line on its platform (its own entry, or the one it borrows the line from): for the convolution lines the single-sample points, leaving out those whose VAE an in-place cast grew (`upcast_weight_bytes`, a term of its own). The fit of the points that hold an upper bound (the fresh-process ones) is the rising edge of their upper convex hull (with the origin, so the base is never negative), or the flat line through the hull's peak where it falls past it, that over-reserves least, rated on the highest reading per size of the capping points, the steeper on a tie and never a falling one. A `probe_demand` point is covered by the line and can raise it, but takes no part in that fit. A fresh VAE point below 512 px a side (`fit.SMALLEST_APP_SIDE`), on a tile or untiled, shapes that fit but rates no edge, and it holds no upper bound (`Line.caps`): a tile that small is set by hand in the workflow editor only (the nodes' default resolves to 512 px for FLUX and 1024 px for SD, and the upscale tab sets 512 to 1536 px), and every estimate for an untiled image up to 384 px a side lies below the 3 GiB default `device_working_mem_gb` the model cache reserves at least. It needs at least two sizes twice apart. The shipped values add a 5% margin and round up: the slope to a whole byte per unit of size, the base to a whole MiB.+ - A line that sits on another covers its points' demand above the untiled demand their own estimator measured at their size on the line beneath, on the same platform, operation and dtype (the highest of its in-fit, fresh-process points there: the untiled references a tiling run measures at each tile's side). Only where no such measurement exists does the fitted price of the line beneath stand in, so the fit runs in dependency order: the lines that sit on none first, then each line that sits on one (`fit.base_values`, `fit.fitted_values`; the data test and the builder both fit through `fitted_values`). The reason is the tiles nobody measured. The shipped untiled line lies above the measured demand by a margin that differs per tile size; covered above that line, a tiled line would absorb the margin at the measured tiles and miss it at others (fitted so on the 512 and 1024 px tiles alone, it priced a 768 px tile at 0.99x on the RX 9060 XT with expandable segments and a 256 px tile at 0.74-0.89x on the RTX 4090). Covered above the measured demand, it is what tiling adds to the untiled demand at the tile, which holds for any tile whose growth is no larger than the measured tiles'. The estimate still prices the tile on the shipped untiled line, which covers the measured demand, and a line that sits on another is rated on that whole estimate, so its points hold the 1.3x bound like any other; a line on which no point's demand lies above its points' untiled demand is zero. The tiled VAE lines are fitted so on fresh-process points of `scripts/calibrate_vae_tiling_working_memory.py`, each the operation as its node runs it inside its `model_on_device` window (on the RTX 4090 with both allocators and the RX 9060 XT with both on Windows: image sides 1024 to 12288 px with 512 and 1024 px tiles, 2048 to 12288 px with a 1536 px tile on the RTX 4090, and 2048 to 8192 px with 256 and 768 px tiles, the 256 px ones bounding their estimates from below only; and past 12288 px: FLUX.1 and FLUX.2 in bf16 at a 512 px tile at 16384 to 24576 px under `cudaMallocAsync` and with expandable segments on the RX 9060 XT, and FLUX.2 at 26624 and 28672 px with the RTX 4090's native allocator; FLUX.1 and FLUX.2 at a 1024 px tile at 16384 and 20480 px with the RTX 4090's native allocator and with expandable segments on the RX 9060 XT; under `cudaMallocAsync` SD at a 1536 px tile at 14336 px and FLUX.1 at 16384 px; and with MIOpen's native allocator SD at a 768 px tile at 12288 px, its fp32 encode also at 16384 px). Past the largest measured side the lines are extrapolated: at the tiles the app sets, each estimate stays above the extension of its last measured segment to at least 15,800 px (FLUX.2's encode at a 512 px tile with MIOpen's native allocator, measured to 12288 px). Where the floor decides the largest measured points, as for the FLUX.1 and FLUX.2 decodes at a 512 px tile, the estimate stays above that extension to 65,536 px at least. The upscale tab scales by up to 16x (`UPSCALE_SCALE_MAX`), so outputs past the covered range are reachable from the UI. A tiled encode needs more than its tile does, by up to about 42 bytes per image pixel at 4096 px, 29 at 8192 px and 20 at 12288 px, for its input image and moments. A tiled decode demands about what the untiled decode of one tile does, flat in the image, but for a jump some allocators take once the image spans several tiles, up to about 4096 px; above that the assembly takes over (every decoded tile, the blended rows and the concatenated image, about 3.8 image copies, and the node's post-processing), up to 3x the tile's own demand at 8192 px and 7x at 12288 px with a 512 px tile. One line on top of the tile cannot price both shapes, so a tiled decode reserves `max(untiled(tile) + T(P), A(P))`, its tiled line `T` and its assembly line `A` in the image's pixels `P`. `fit.two_phase_envelope` fits the two together on the tiled decodes, by a deterministic search: each candidate `A` is the zero line or a line through two points' readings with a slope of at least zero (its intercept may be negative), `T` the envelope of the points above it, and the candidate whose estimates over-reserve the capping points least as both lines ship (the largest ratio, then the sum) wins, the zero line on a tie, so no assembly line ships that no point needs. Both take the 5% margin, which scales the whole line, a negative intercept included; the search rates them with it, because it scales a point's whole demand where `A` prices it and only what tiling adds where `T` does. An entry whose decodes need no assembly phase ships it at zero. However far the lines extrapolate, a tiled operation reserves at least its floor, a phase of its own, for every sample (`vae_working_memory._tiled_convolutions`), plus the 5% the shipped lines carry: what is counted varies across runs and cards as a line's points do, so the floor gets the same headroom, as a term of its own in the estimate (`floor_margin`). A decode's floor is the buffers of its assembly (every decoded tile as diffusers slices it, the edge tiles clipped, the rows blended from them and the concatenated image, three channels of the run dtype each), the latents it decodes, the one image its node post-processes inside its window (`l2i`, `z_image_l2i`; `flux2_vae_decode` and `flux_vae_decode` post-process after it), and the untiled line's base. An encode's is its input image, every encoded tile of moments (twice the latent channels), the rows blended from them and the concatenated moments, the distribution its node makes of them (three latent-wide tensors, six where it samples), and the base. The extra image and the distribution are what the measured allocators took beside the buffers, not what is live at once: the assembly's tiles and rows are freed by then, and `l2i` and `z_image_l2i` hold the decoded image and two more at their post-processing's peak. Under `cudaMallocAsync` the FLUX.1 decodes at 16384 to 24576 px took the counted floor and base to within 0.2%, and with expandable segments on Windows ROCm less; on the native allocators the fitted lines decide every such decode measured, to 12288 px at a 512 px tile and to 20480 px at a 1024 px tile, and past them one that keeps the freed blocks could take up to two images more than counted. The floor is counted at the 0.25 overlap every shipped VAE tiles at, from the recorded features alone, so the estimators refuse a tiled operation at another overlap. The fit leaves a point to the floor where the counted floor, without the margin, covers it, so that it reserves the point with the margin as a line would: the point lifts no line and passes no assembly line through it, and it rates a candidate only where the candidate prices it above its floor, since below it the point reserves its floor whichever candidate wins (`fit.FitPoint.floor`); `bounds.py` holds it to its upper bound against what is reserved. On the RTX 4090 under `cudaMallocAsync` and the RX 9060 XT with expandable segments the floor decides the largest measured operations at a 512 px tile from about 5,000 px a side (SD fp16 with expandable segments) to 12,000 px (FLUX.2 under `cudaMallocAsync`), later at larger tiles, and the measured points it decides took 0.75 to 0.95 of what it reserves. Images that large are reachable: the upscale tab scales by up to 16x, and an image made in the graph reaches the encode nodes without PIL's decompression-bomb check, which only `Image.open` applies. Every VAE estimator (SD1/SDXL, FLUX.1 and FLUX.2) prices the batch its tensor carries: the convolution terms per sample, the assembly line's base once where it is negative (``k * P + max(b, n * b)``), and the mid-block score matrix over batch times heads. The decode nodes that return one image (`l2i`, `flux_vae_decode`, `z_image_l2i`) decode and price only the first sample of their latents, so a multi-sample latent costs what one sample does.+ - One tiled line serves every tile of an estimator, operation and dtype, so the largest jump any tile takes above its untiled demand sets the line's base for all tiles, and the fastest growth per pixel its slope. On the default allocators, cuDNN's native one and expandable segments on MIOpen on Windows, the tiled estimates stay within 1.3x of their points but for 24 of 353, listed in `UPPER_BOUND_EXCEPTIONS` (up to 1.56x). FLUX.2's decode lines on cuDNN with the native allocator have no headroom left: its 768 px tile at 8192 px sits at 1.41x, so a FLUX.1 or FLUX.2 bf16 decode probe there that raises the untiled line, from about 4.63 GB at 1024 px, breaks that bound, and the builder refuses the raise until the exceptions are adjusted. Under `cudaMallocAsync` and MIOpen's native allocator 30 of 194 and 53 of 149 points sit more than 1.3x below their estimates, up to 2.38x (FLUX.2's decode at a 512 px tile, 1024 px) and 1.72x (SD fp16's decode at a 512 px tile, 1024 px; on MIOpen the untiled line's headroom at the tile adds to it). A tiled line per tile would remove that; over-reserving is preferred to the extra parameter.- A point whose demand is not its line's alone sets `in_fit: false`: it fits nothing and gets only the lower bound. That is a point measured in a regime its platform does not run (CUDA with the math attention kernel forced), and a fit-grid forward whose features its estimator's `line` does not admit, such as one whose build materializes the score matrix. The test lists every such point.- - A line is fitted only once its in-fit fresh-process points alone span two sizes twice apart (`fit.capping_spans`); `fitted_values` refuses any other line. The shipped pair is the fresh-process fit where it covers every other point of the line by the 5% margin. Where it does not, `fit.raised_pair` raises it by the least the upper bounds allow: of the lines at or above it, per coefficient, that cover every point by 5% and keep the upper bound of every point priced on the line (`bounds.line_bounds`, in the line's units: tiled, batched and upcast VAE operations and denoise forwards with an analytic term included, though their line admits them to no fit, read where the line decides their estimate), the one whose reservation averaged over the fresh-process sizes is smallest, the steeper on a tie. The candidates are the lines that ship, a whole byte of slope per unit of size and a whole MiB of base, checked against the conditions exactly, with no allowance. Each condition is a half-plane in slope and base, so the lines that keep them all form a convex region: the search scans each whole MiB of base across that region, taking the lowest whole slope the conditions leave at it, which finds the lowest rounded line or proves there is none (some milliseconds per line on the shipped data). Where no rounded line satisfies them all, also where only a line between whole bytes or MiB would, it refuses with `fit.LineConflict`, naming the probe and the bounds that conflict (each bound by its point's id, measured bytes and the most it allows, since two points can share an id), or saying that the floor itself already breaks a bound. The data then conflicts with the bounds: `build_shipped.py` prints the changes it would make, writes nothing and exits 1, as for a result the bounds reject; it exits 2 only for input it cannot use. A `probe_demand` point thus lowers neither the slope nor the base, and since probe sizes do not enter the average, a probe the shipped line already covers leaves it where it is.- - Until then the line is a declared stand-in, listed in the entry's `stand_ins` and never below the pre-dtype slope. `probe_demand` points on it bound it from below only: `build_shipped.py` keeps it where it covers them by 5%, otherwise raises it as `fit.raised_pair` raises a fitted line, the stand-in as the floor and the average over the sizes of its fresh-process points or, without any, of all its points, and notes the raise in the provenance. It never lowers it. MIOpen with the native allocator off Windows prices fp16 and fp32 at the pre-dtype figure, and CogView4's lines there at its expandable-segments ones.+ - A line is fitted only once its capping points alone (in-fit, fresh-process and at a size and tile the app sets, `Line.caps`) span two sizes twice apart (`fit.capping_spans`); `fitted_values` refuses any other line. For a line that sits on none the shipped pair is the fresh-process fit where it covers every other point of the line by the 5% margin. Where it does not, `fit.raised_pair` raises it by the least the upper bounds allow: of the lines at or above it, per coefficient, that cover every point by 5% and keep the upper bound of every point priced on the line (`bounds.line_bounds`, in the line's units: batched and upcast VAE operations and denoise forwards with an analytic term included, though their line admits them to no fit, read where the line decides their estimate), the one whose reservation averaged over the capping sizes is smallest, the steeper on a tie. The candidates are the lines that ship, a whole byte of slope per unit of size and a whole MiB of base, checked against the conditions exactly, with no allowance. Each condition is a half-plane in slope and base, so the lines that keep them all form a convex region: the search scans each whole MiB of base across that region, taking the lowest whole slope the conditions leave at it, which finds the lowest rounded line or proves there is none (some milliseconds per line on the shipped data). Where no rounded line satisfies them all, also where only a line between whole bytes or MiB would, it refuses with `fit.LineConflict`, naming the probe and the bounds that conflict (each bound by its point's id, measured bytes and the most it allows, since two points can share an id), or saying that the floor itself already breaks a bound. The data then conflicts with the bounds: `build_shipped.py` prints the changes it would make, writes nothing and exits 1, as for a result the bounds reject; it exits 2 only for input it cannot use. A `probe_demand` point thus lowers neither the slope nor the base, and since probe sizes do not enter the average, a probe the shipped line already covers leaves it where it is. A tiled operation bounds neither its tiled line nor the untiled line beneath: the tiled line is fitted after the untiled one, on what that one prices the tile at. A tiled point with an untiled reference measured at its tile is covered above that reference (`fit.point_reading`), so a raise beneath adds to its estimate byte for byte; only points without one, covered above the line beneath, can hand the tile's cost from the tiled line to it. The data test and the builder check the result against every tiled bound, and the builder refuses (exit 1) a raise that breaks one. That is a known limitation, not the intent: `fit.raised_pair` picks the least raise without the tiled bounds, so it can refuse a probe for which a steeper raise would keep them all. On cuDNN with the native allocator, SD fp16 decode probes at 1024 px of 4.9 and 5.0 GB raise the untiled line, which puts the decodes at a 512 px tile at 1536 and 3072 px at 1.30-1.32x, over their bound; the earlier rule, the larger per coefficient of the fit on all points and on the fresh-process ones, raised the line otherwise and accepted them. A joint fit of the untiled and tiled lines would remove the limitation. A line that sits on another reads its points above offsets the line beneath sets, which no half-plane in its own slope and base states, so it is not raised so: its pair is the larger, per coefficient, of the fit on all its points and the fit on its fresh-process points alone, both rated on the capping points (`fit.sitting_pair`), so a `probe_demand` point that drops a fresh hull vertex lowers neither the slope nor the base there either. A tiled decode line and its assembly line take that per line and coefficient of the two two-phase fits (`fit.fitted_two_phase`).+ - Until then the line is a declared stand-in, listed in the entry's `stand_ins`; an untiled one is never below the pre-dtype slope. `probe_demand` points on it bound it from below only: `build_shipped.py` keeps a line that sits on none where it covers them by 5%, otherwise raises it as `fit.raised_pair` raises a fitted line, the stand-in as the floor and the average over the sizes of its capping points or, without any, of all its points; a tiled line it raises to their fit where that lies above, read above its points' offsets, with its assembly line. It notes the raise in the provenance and never lowers the line. MIOpen with the native allocator off Windows prices fp16 and fp32 at the pre-dtype figure, CogView4's lines there at its expandable-segments ones, and every tiled and assembly line at its unmeasured floor. A tiled or assembly line of a dtype no tiled point measures on a platform (FLUX.1 fp16 and fp32, FLUX.2 fp32) takes there, value by value, the larger of the SDXL VAE's line of that operation and dtype and the family's own bf16 line scaled by the element size (twice for fp32): the FLUX encoders emit 4 to 8 times the SDXL VAE's moment channels, and a FLUX decode's node and allocator show in the family's own lines, not in the SDXL VAE's.- A value on no line its entry carries is hand-set, and only a spec keyed by no platform trait may carry one (`hand_set_values` in `fit.py`): a keyed spec prices lines whose every value is half of one, so its value off one fails the data test. MOSS-Image's `k_token` is one, bytes per attended token (the image's tokens at 1/16 of each side plus the prompt's), whose entry ships no base for its `token` line. Its points still decide it and bound it from both sides; only the fit check leaves it out.- Every value an entry carries is a stand-in, a `legacy` constant, or decided by an in-fit point. The data test fails when a fitted value is not the fit of its points, naming the value to ship, and when in-fit fresh-process points that span a fit measure a stand-in's line.- An entry marked `legacy` carries hand-set constants rather than a fit: no point decides them and `fit.py` does not reproduce them, though its estimator's points still bound its estimates. `LEGACY_ENTRIES` in the data test lists the entries, by estimator and platform, allowed to be legacy, so a fit has to remove its entry there too. The builder replaces an entry's legacy values with the fit of its points once they fit every line it carries within the upper bounds and each line has a point that holds the upper bound, a fresh-process one: probe windows alone never replace hand-set values. An entry whose platform they do not measure stays legacy.@@ -1191,10 +1193,10 @@ The reset, export and summary routes act on the current device class unless `dev`backend/working_memory/user_fit.py` owns the rule; the calibration service owns the store and the cache.- Only the estimators that opt in (`EstimatorSpec.user_calibrated`, the five VAE estimators) take part. The windows of any other, a Z-Image denoise's say, stay in the store and count among the windows that fit no line, but no user line is fitted on them, none moves their estimates, the summary lists none of their lines, and they size no plan: denoise lines are shipped-fit only.-- A user line is fitted per line of `fit.py`: the shipped entry that carries the values (one hop of `values_from`) and `<operation>_<dtype>`. A window joins where its estimator's `line` admits it (for the convolution lines: untiled, one sample, no in-place upcast, an AutoencoderKL: the SD estimator's AutoencoderTiny windows join no line), it is valid and fit-eligible, it is not fragmented, its demand is positive, and its estimator version has shipped values on the platform. Every user point is a `probe_demand` window, so all of them rate the hull's edges. No fresh-process point caps a user line and no floor holds it, so that edge always covers its points and the raise of shipped lines (`fit.raised_pair`) has nothing to do there. `fit.user_pair` adds `USER_MARGIN`, the shipped 5%, to the envelope and rounds up as the shipped values do. A line needs two sizes `MIN_AREA_RATIO` apart.+- A user line is fitted per line of `fit.py`: the shipped entry that carries the values (one hop of `values_from`) and `<operation>_<dtype>`. A window joins where its estimator's `line` admits it as the line's own demand (`Line.own_demand`; for the convolution lines: untiled, one sample, no in-place upcast, an AutoencoderKL: the SD estimator's AutoencoderTiny windows join no line, and tiled windows none either, since a tiled line sits on the untiled one and is the shipped fit's alone), it is valid and fit-eligible, it is not fragmented, its demand is positive, and its estimator version has shipped values on the platform. Every user point is a `probe_demand` window, so all of them rate the hull's edges. No fresh-process point caps a user line and no floor holds it, so that edge always covers its points and the raise of shipped lines (`fit.raised_pair`) has nothing to do there. `fit.user_pair` adds `USER_MARGIN`, the shipped 5%, to the envelope and rounds up as the shipped values do. A line needs two sizes `MIN_AREA_RATIO` apart.- Fragmented windows measured the allocator's history, not the operation. One rule, `fragmentation.fragmented`, judges them for the user fit and for `scripts/working_memory/build_shipped.py`, which flags shipped points by it. It judges a measurement: the fit-eligible windows of one attempt (an owner's `attempt_id`, so two owners' attempts with one id are two measurements; else the run; for the builder also one server lifetime) at one environment, estimator, version and features, in the order they ran. A measurement drops out whole when reserved grew by 10% from its first window to its largest while allocated stayed within 2%, or when its largest window's reserved-to-allocated ratio is 1.2 times the median of the same line's smaller measurements that count, from any attempt. Each attempt is judged on its own, because its windows ran back to back on one allocator state: a recalibration can bring back a size an earlier attempt measured fragmented, and a later fragmented attempt drops no clean one. The ratio rule catches a size whose windows all ran fragmented, or that kept only one fit-eligible window: on an RX 9060 XT the fp32 SDXL decode at 1216 px measured 1.47 against 1.10 at 576 and 832 px, with one fully resident window beside two partly resident ones. Windows of a running attempt are judged but set no reference, as they join no user line yet. Partly resident windows (`partial_residency`) never count and enter neither rule. A size counts when any attempt's windows at it count, and its `windows` and `measured_bytes` cover those windows only.- The windows are those of the current device class's file taken under an environment whose hard facts equal the current ones (same `env_id`). A soft-fact difference keeps the fit. The summary reports a line as `stale`, with the facts that changed, when the soft facts of the newest finished run that fed it differ from the current ones; a run stored without soft facts stands for the environment's, those first recorded with it. So recalibrating after a driver update clears `stale`. Older windows of the same hard environment keep feeding the line: the hard facts are what decide whether a window still measures this machine. A hard mismatch leaves the shipped values.-- `EstimatorSpec.estimate` asks the registered provider (`user_fit.set_user_fit_provider`; the service registers it in `start()` and clears it in `stop()`) for the user fit of the spec, platform and device. Without one, the estimate is the shipped one, bit for bit. With one, `user_fit.resolve` reads the operation's line and its size there (output pixels) as `EstimatorSpec.line` places it. At or below the largest measured size the user line replaces the shipped one; above it, the larger of the two estimates wins. A tiled operation is placed by its image, priced on its tile. The `source` starts with `user:<device class id>:<env id>` and names the line where the user line decides. A line the user did not measure stays shipped. Because estimates feed `reservation_bytes`, a user line also moves `should_pretile_vae_decode`.+- `EstimatorSpec.estimate` asks the registered provider (`user_fit.set_user_fit_provider`; the service registers it in `start()` and clears it in `stop()`) for the user fit of the spec, platform and device. Without one, the estimate is the shipped one, bit for bit. With one, `user_fit.resolve` reads the operation's line and its size there (output pixels) as `EstimatorSpec.line` places it. At or below the largest measured size the user line replaces the shipped one; above it, the larger of the two estimates wins. A tiled operation prices its tile on the larger of the user and the shipped untiled line, within the measured sizes and above them, and its tiled and assembly lines stay shipped: they were fitted above the untiled demand measured where the shipped line was, which a lower user line beneath them could undercut, while a card whose untiled decode needs more than the shipped line needs it for each tile too. The `source` starts with `user:<device class id>:<env id>` and names the line where the user line decides. A line the user did not measure stays shipped. Because estimates feed `reservation_bytes`, a user line also moves `should_pretile_vae_decode`.- Only finished runs and attempts feed a fit. The windows of a run the queue holds an item of that is pending, in progress or waiting join no user line, whoever refreshes the fits meanwhile. The queue tells by the run's origin, which an item carries from the moment it is queued, before the run records it or the runner admits it; a retry carries it too, so a run that failed holds its windows back again while its retry waits, and releases them once the retry finished or was canceled or removed. Nor do the windows of any run of the same attempt, the same owner's `attempt_id`: the client posts each step of an attempt as its own run, so an attempt's windows feed no fit while any of its runs is in the queue (`held_back: running`), and its later, larger cases are priced without its own earlier windows. Once none is, an attempt feeds a fit only if it is complete and was not stopped (`aborted_attempt`); its windows join at the first refresh after that, whether its runs completed or failed. Complete means it queued `attempt_steps` runs, those a reset removed since included (`removed_attempt_steps`), so removing a run of a finished attempt discards only that run's windows. A reset while the attempt runs, or after it was stopped, stops it for good: its earlier steps are gone, so it cannot measure every size it planned. The UI disables Reset while a calibration runs, so only API clients do that. Stopped also means an item of it interrupted it, judged per item: the item that stands for a lineage, its latest retry or itself, was canceled (Stop cancels what the queue still holds), is gone from the queue before the runner saw it finish (a queue clear), or failed at admission because a model changed after the calibration was planned (`error_code: model_changed`: its later steps would measure another model). So does another run created between its first and its last run. The items are those the store records: the run's batch and every retry, recorded as the queue commits it or by the runner, so a retry canceled and pruned before anything refreshed, a restart included, still stops its attempt; and an attempt one of whose runs has retries in flight left over (`retries_in_flight`) is stopped too, since a retry of it may exist that the store does not record. Any other failed item, such as an out-of-memory error at the largest size, ends that step and not the attempt, also beside a canceled one in a run whose batch data made several items, whose displayed status is then `failed`; a canceled item whose retry completed or failed no longer aborts it, and a retry canceled while it waited does. A run with no item at all, whose items were never recorded nor found by its origin, stops it as well. An attempt with fewer runs and none running is stopped too: Stop, or a submission that failed, ended it before it queued them all (a step not posted yet looks the same until it is). A stopped attempt measured only some of its sizes and never feeds a fit, also when those span enough sizes for a line: its runs read `held_back: aborted_attempt`, its windows are excluded with `excluded_reason: aborted_attempt`, and a line only it measured is `insufficient`, with a `problem` that says a stopped or interrupted calibration measured it. A run without an `attempt_id` is judged on its own and is never stopped this way: canceled, it feeds what it measured; another attempt that finished counts as usual. Runs stored with an `attempt_id` but no `attempt_steps` come only from development builds of the calibration; their attempt is judged on the runs it recorded, as before, rather than making the store file unusable. The summary shows a running run's windows in the sizes, window counts and `measured_by`, while its user line, range, user estimates and state are those of the fit estimates read; a line only a running run measured is `insufficient` and says so.- The provider answers from memory. `refresh_user_fits()` rebuilds that memory per GPU generation device. `DefaultSessionRunner.run()` calls it once when it starts any queue item, calibration items included; `get_plan` calls it first, so the case sizes price with the store as it is, and every reset calls it after its write, so a reset applies at once. It stats each device class's file and re-reads it only when the mtime, size or inode or the environment changed. Each refresh of a file with runs, and each model summary, reads the queue to judge the attempts. To tell which runs are running it reads the origins of the queue's unfinished calibration items (`get_unfinished_origins`): the queue finds those items by their status and tests the origin on their rows, so the read costs what the queue has pending or running, not its history; on SQLite about 0.05 ms beside a handful of unfinished items, whatever the history, and 3 ms beside 100 (34 ms beside 1000) pending items of 64 KB sessions, whose overflow pages the origin sits behind. Grouping the runs into attempts costs about 0.5 ms at 180 runs and 11 ms at 3600. To tell whether a settled attempt was stopped it reads by id (`get_queue_item_summaries_by_ids`, the primary key) the items the store records whose end the runner did not see. A finished item never changes, so its outcome is kept, per run and item id (a recreated or restored database can give two runs' items one id), until its run is removed, by a reset or by a creation that queued nothing, and each item is read once it finished; a run with an item the queue shows pending or in progress, a retry queued since the read for running items, holds its attempt back as running for that refresh. Every judgement of these outcomes (a refresh, the model summary, a new attempt's check, a reset), with its read of the store file, and every removal holds one lock of the service, taken before the file's lock, so a removal's runs leave no outcome behind. A row counts only while it carries the run's origin: a recreated or restored database gives the id to an unrelated item, and the run's own item is gone, so it reads as canceled. An unchanged file with an unchanged set of runs held back is not fitted again. A calibration item, a retry included, is in progress when the runner refreshes before it, so it is priced without its own attempt's windows. Nothing on the estimate path reads a file. Several generation devices each use their own class's fit; calibrating them is not supported.- Shared lines: on cuDNN the SD, SD3, FLUX.1 and FLUX.2 estimators borrow one entry, so an SDXL fp16 decode calibrates every estimator's fp16 decode there. The plan lists the installed models this affects.diff --git a/invokeai/app/invocations/vae/flux_vae_decode.py b/invokeai/app/invocations/vae/flux_vae_decode.pyindex f50c2a3272..342935997d 100644--- a/invokeai/app/invocations/vae/flux_vae_decode.py+++ b/invokeai/app/invocations/vae/flux_vae_decode.py@@ -148,7 +148,9 @@ class FluxVaeDecodeInvocation(BaseInvocation, WithMetadata, WithBoard):@torch.no_grad()def invoke(self, context: InvocationContext) -> ImageOutput:- latents = context.tensors.load(self.latents.latents_name)+ # The node returns the first image only, so decode only the first sample: the VAE and its working-memory+ # estimate see a batch of one however many samples the latents carry.+ latents = context.tensors.load(self.latents.latents_name)[:1]vae_info = context.models.load(self.vae.vae)context.util.signal_progress("Running VAE")image = self._vae_decode(context=context, vae_info=vae_info, latents=latents)diff --git a/invokeai/app/invocations/vae/image_to_latents.py b/invokeai/app/invocations/vae/image_to_latents.pyindex 1be14f136b..94fbada10e 100644--- a/invokeai/app/invocations/vae/image_to_latents.py+++ b/invokeai/app/invocations/vae/image_to_latents.py@@ -26,8 +26,11 @@ from invokeai.app.services.shared.invocation_context import InvocationContextfrom invokeai.backend.model_manager.load.load_base import LoadedModelfrom invokeai.backend.stable_diffusion.diffusers_pipeline import image_resized_to_grid_as_tensorfrom invokeai.backend.stable_diffusion.vae_tiling import patch_vae_tiling_params-from invokeai.backend.util.devices import TorchDevice-from invokeai.backend.util.vae_working_memory import estimate_vae_working_memory_sd15_sdxl, sd_vae_run_dtype+from invokeai.backend.util.vae_working_memory import (+ SD_VAE_TILE_OVERLAP_FACTOR,+ estimate_vae_working_memory_sd15_sdxl,+ sd_vae_run_dtype,+)"""SDXL VAE color compensation values determined experimentally to reduce color drift.@@ -118,11 +121,12 @@ class ImageToLatentsInvocation(BaseInvocation):tiling_context = patch_vae_tiling_params(vae,tile_sample_min_size=tile_size,- tile_overlap_factor=0.25,+ tile_overlap_factor=SD_VAE_TILE_OVERLAP_FACTOR,)- # non_noised_latents_from_image- image_tensor = image_tensor.to(device=TorchDevice.choose_torch_device(), dtype=vae.dtype)+ # The VAE's intended compute device, as in `l2i`: a cpu_only VAE is not on the session device, and the+ # current parameter residency is not it either under partial loading (see #9373).+ image_tensor = image_tensor.to(device=vae_info.compute_device, dtype=vae.dtype)with torch.inference_mode(), tiling_context:latents = ImageToLatentsInvocation._encode_to_tensor(vae, image_tensor)diff --git a/invokeai/app/invocations/vae/latents_to_image.py b/invokeai/app/invocations/vae/latents_to_image.pyindex bb2aafd0bf..5616380536 100644--- a/invokeai/app/invocations/vae/latents_to_image.py+++ b/invokeai/app/invocations/vae/latents_to_image.py@@ -20,7 +20,11 @@ from invokeai.app.services.shared.invocation_context import InvocationContextfrom invokeai.backend.stable_diffusion.extensions.seamless import SeamlessExtfrom invokeai.backend.stable_diffusion.vae_tiling import patch_vae_tiling_paramsfrom invokeai.backend.util.devices import TorchDevice-from invokeai.backend.util.vae_working_memory import estimate_vae_working_memory_sd15_sdxl, sd_vae_run_dtype+from invokeai.backend.util.vae_working_memory import (+ SD_VAE_TILE_OVERLAP_FACTOR,+ estimate_vae_working_memory_sd15_sdxl,+ sd_vae_run_dtype,+)@invocation(@@ -49,7 +53,9 @@ class LatentsToImageInvocation(BaseInvocation, WithMetadata, WithBoard):@torch.no_grad()def invoke(self, context: InvocationContext) -> ImageOutput:- latents = context.tensors.load(self.latents.latents_name)+ # The node returns the first image only, so decode only the first sample: the VAE and its working-memory+ # estimate see a batch of one however many samples the latents carry.+ latents = context.tensors.load(self.latents.latents_name)[:1]use_tiling = self.tiled or context.config.get().force_tiled_decode@@ -91,7 +97,7 @@ class LatentsToImageInvocation(BaseInvocation, WithMetadata, WithBoard):tiling_context = patch_vae_tiling_params(vae,tile_sample_min_size=self.tile_size,- tile_overlap_factor=0.25,+ tile_overlap_factor=SD_VAE_TILE_OVERLAP_FACTOR,)# clear memory as vae decode can request a lotdiff --git a/invokeai/app/invocations/vae/z_image_latents_to_image.py b/invokeai/app/invocations/vae/z_image_latents_to_image.pyindex af4c4bf07f..92f46ed5d0 100644--- a/invokeai/app/invocations/vae/z_image_latents_to_image.py+++ b/invokeai/app/invocations/vae/z_image_latents_to_image.py@@ -51,7 +51,9 @@ class ZImageLatentsToImageInvocation(BaseInvocation, WithMetadata, WithBoard):@torch.no_grad()def invoke(self, context: InvocationContext) -> ImageOutput:- latents = context.tensors.load(self.latents.latents_name)+ # The node returns the first image only, so decode only the first sample: the VAE and its working-memory+ # estimate see a batch of one however many samples the latents carry.+ latents = context.tensors.load(self.latents.latents_name)[:1]vae_info = context.models.load(self.vae.vae)if not isinstance(vae_info.model, AutoencoderKL):diff --git a/invokeai/app/services/working_memory_calibration/working_memory_calibration_fits.py b/invokeai/app/services/working_memory_calibration/working_memory_calibration_fits.pyindex 6862193bce..2fdf129bc3 100644--- a/invokeai/app/services/working_memory_calibration/working_memory_calibration_fits.py+++ b/invokeai/app/services/working_memory_calibration/working_memory_calibration_fits.py@@ -44,14 +44,15 @@ def fit_label(device_class_id: str, env_id: str) -> str:def _measured_line(point: CalibrationPoint, specs: Mapping[str, EstimatorSpec]) -> Optional[Line]:"""The line a window measured: valid, a positive demand, and an estimator of `specs` that is `user_calibrated`- and whose line admits its features. None for every other window."""+ and whose line admits its features as its own demand (`Line.own_demand`; a tiled operation's line sits on the+ untiled one and is the shipped fit's alone). None for every other window."""if not point.valid or point.demand_bytes is None or point.demand_bytes <= 0:return Nonespec = specs.get(point.estimator)if spec is None or not spec.user_calibrated:return Nonefound = spec.line(point.features)- return found if found is not None and found.fits else None+ return found if found is not None and found.own_demand else Nonedef _attempts(file: CalibrationStoreFile) -> dict[str, str]:diff --git a/invokeai/backend/stable_diffusion/vae_tiling.py b/invokeai/backend/stable_diffusion/vae_tiling.pyindex 24a0e868e9..ab2395c4b2 100644--- a/invokeai/backend/stable_diffusion/vae_tiling.py+++ b/invokeai/backend/stable_diffusion/vae_tiling.py@@ -3,7 +3,7 @@ from contextlib import contextmanagerfrom diffusers.models.autoencoders.autoencoder_kl import AutoencoderKLfrom diffusers.models.autoencoders.autoencoder_tiny import AutoencoderTiny-from invokeai.backend.util.vae_tiling_scope import diffusers_latent_tile, diffusers_vae_downsample+from invokeai.backend.util.vae_tiling_scope import diffusers_tile@contextmanager@@ -18,11 +18,11 @@ def patch_vae_tiling_params(the outputs. As a general rule, bigger tiles produce better results, but this comes at the cost of higher memoryusage.- `tile_sample_min_size` is a request, in output pixels. The tile actually applied is the largest one at or below it- that the VAE's tiled paths can assemble -- see `diffusers_latent_tile` for why that is not every value, and what- setting `tile_latent_min_size` independently used to cost. That derivation is the reason this takes a single size- rather than the pair it patches: the pair has a constraint between its members, so a caller must not be able to- supply one.+ `tile_sample_min_size` is a request, in output pixels. The tile actually applied is `diffusers_tile`'s, the largest+ one at or below it that the VAE's tiled paths can assemble -- see `diffusers_latent_tile` for why that is not every+ value, and what setting `tile_latent_min_size` independently used to cost. That derivation is the reason this takes+ a single size rather than the pair it patches: the pair has a constraint between its members, so a caller must not+ be able to supply one. `estimate_vae_working_memory_sd15_sdxl` prices the same tile.`AutoencoderTiny` has no such constraint -- its tiled encode reads only `tile_sample_min_size` and its tiled decodeonly `tile_latent_min_size`, so the two never meet -- but it takes the same derivation rather than a class branch.@@ -35,12 +35,11 @@ def patch_vae_tiling_params(orig_tile_latent_min_size = vae.tile_latent_min_sizeorig_tile_overlap_factor = vae.tile_overlap_factor- downsample = diffusers_vae_downsample(vae)- latent_tile = diffusers_latent_tile(tile_sample_min_size, downsample, tile_overlap_factor)+ sample_tile, latent_tile = diffusers_tile(vae, tile_sample_min_size, tile_overlap_factor)try:# Apply target config.- vae.tile_sample_min_size = latent_tile * downsample+ vae.tile_sample_min_size = sample_tilevae.tile_latent_min_size = latent_tilevae.tile_overlap_factor = tile_overlap_factoryielddiff --git a/invokeai/backend/util/vae_tiling_scope.py b/invokeai/backend/util/vae_tiling_scope.pyindex 6c18a5d5d8..906e2f1782 100644--- a/invokeai/backend/util/vae_tiling_scope.py+++ b/invokeai/backend/util/vae_tiling_scope.py@@ -12,9 +12,11 @@ which have no `tile_overlap_factor` at all, and `stable_diffusion.vae_tiling.patfor SD's, which leaves `use_tiling` to the caller.`diffusers_latent_tile` and `diffusers_vae_downsample` state constraints of the diffusers VAE-classes rather than of this module, which is why they are public: the SD sibling derived the tile-geometry independently and produced wrong-sized images for it, and it now calls these instead. A-third copy of that arithmetic is the failure mode this module exists to stop.+classes rather than of this module. The SD sibling once derived the tile geometry itself and+produced wrong-sized images for it; `diffusers_tile` turns the two into the geometry a VAE is given,+and both siblings set it from there. The working-memory estimators price the tile from there too+(`scoped_vae_tile` for this module's), so an estimate prices the tile that runs rather than the one+a field asked for. A third copy of that arithmetic is the failure mode this module exists to stop."""from contextlib import contextmanager@@ -82,11 +84,10 @@ def scoped_vae_tiling(vae: Any, tile_size: int | None) -> Iterator[None]:# assumes it did. Setting the two attributes afterwards is how the rest of this codebase# sizes a diffusers VAE's tiles; see `flux2/ref_image_extension.py`, which forces 512# for the same reason. Both are in `_TILING_ATTRS`, so the finally block puts them back.- downsample = diffusers_vae_downsample(vae)- latent_tile = diffusers_latent_tile(resolve_tile_size(tile_size), downsample, vae.tile_overlap_factor)+ sample_tile, latent_tile = scoped_vae_tile(vae, tile_size)vae.enable_tiling()vae.tile_latent_min_size = latent_tile- vae.tile_sample_min_size = latent_tile * downsample+ vae.tile_sample_min_size = sample_tileyieldfinally:for name, value in original.items():@@ -94,6 +95,22 @@ def scoped_vae_tiling(vae: Any, tile_size: int | None) -> Iterator[None]:setattr(vae, name, value)+def scoped_vae_tile(vae: Any, tile_size: int) -> tuple[int, int]:+ """The `(tile_sample_min_size, tile_latent_min_size)` `scoped_vae_tiling` sets for a node's tile field:+ `diffusers_tile` of the resolved field (`resolve_tile_size`) at the overlap the VAE carries. The FLUX.1 and FLUX.2+ estimators price its sample size, so they price the tile that runs."""+ return diffusers_tile(vae, resolve_tile_size(tile_size), vae.tile_overlap_factor)+++def diffusers_tile(vae: Any, requested_sample_size: int, overlap_factor: float) -> tuple[int, int]:+ """The `(tile_sample_min_size, tile_latent_min_size)` a diffusers VAE runs for a request in output pixels at+ `overlap_factor`: the latent tile `diffusers_latent_tile` picks at the VAE's own downsample, and the sample size+ derived from it. At the stock 0.25 factor and an 8x VAE, a 24 px request runs 32 px and a 200 px one 192 px."""+ downsample = diffusers_vae_downsample(vae)+ latent_tile = diffusers_latent_tile(requested_sample_size, downsample, overlap_factor)+ return latent_tile * downsample, latent_tile++def diffusers_vae_downsample(vae: Any) -> int:"""Output pixels per latent element along one axis, for the diffusers VAE classes.diff --git a/invokeai/backend/util/vae_working_memory.py b/invokeai/backend/util/vae_working_memory.pyindex 222aa660ab..6eee86ffc0 100644--- a/invokeai/backend/util/vae_working_memory.py+++ b/invokeai/backend/util/vae_working_memory.py@@ -1,6 +1,6 @@from collections.abc import Mappingfrom dataclasses import replace-from typing import Literal, cast+from typing import Literal, NamedTuple, castimport torchfrom diffusers.models.autoencoders.autoencoder_kl import AutoencoderKL@@ -14,9 +14,9 @@ from invokeai.backend.util import wddmfrom invokeai.backend.util.attention import sdpa_score_matrix_bytesfrom invokeai.backend.util.devices import TorchDevicefrom invokeai.backend.util.logging import InvokeAILogger-from invokeai.backend.util.vae_tiling_scope import resolve_tile_size+from invokeai.backend.util.vae_tiling_scope import diffusers_tile, scoped_vae_tilefrom invokeai.backend.working_memory.estimate import FeatureValue, WorkingMemoryEstimate, WorkingMemoryTerm-from invokeai.backend.working_memory.fit import convolution_line+from invokeai.backend.working_memory.fit import SHIPPED_MARGIN, convolution_linefrom invokeai.backend.working_memory.platform import platform_forfrom invokeai.backend.working_memory.spec import EstimatorSpec, register@@ -137,20 +137,81 @@ def _vae_mid_block_score_matrix_bytes(# too, but a wider one (block widths up to 1024, three layers per block, no mid-block attention): it carries its own# lines, about 1.9x the family's for a decode.#+# A tiled operation of the SD1/SDXL, FLUX.1 or FLUX.2 VAE pays the untiled line at its largest tile and, on top of it,+# the estimator's tiled line in the image's pixels; a tiled decode reserves the larger of that and its assembly line,+# also in the image's pixels. Neither operation reserves less than its floor: the buffers it holds at once, counted from+# its tile grid, what its node keeps or adds beside them, and the untiled line's base, with the shipped lines' margin on+# top (`_tiled_convolutions`, `_with_margin`). The tiled and assembly lines are per estimator: what tiling adds differs+# per family, so each family's entry carries its own beside the untiled lines it borrows. The floor is counted, not+# fitted, and the fit leaves the points it covers to it (`fit.FitPoint.floor`): on the RTX 4090 under `cudaMallocAsync`+# and the RX 9060 XT with expandable segments it decides the largest operations measured at a 512 px tile, from about+# 5000 px a side (SD fp16 with expandable segments) to 12000 px (FLUX.2 under `cudaMallocAsync`), and later at larger+# tiles; past the measured sides it is what keeps an extrapolated line from falling below what the operation holds.+## Caveat for AMD users: `MIOPEN_FIND_MODE=2` (FAST) selects convolution algorithms heuristically instead of by# benchmark, and measured a uniform 1.28x more memory at every resolution when the MIOpen values were first fitted.# Invoke has since made FAST its default (`run_app.py`); the RX 9060 XT points were taken under it. If you see decodes# exceed their reservation on another card, raise `device_working_mem_gb`._PLATFORM_KEYS = ("conv_backend", "allocator")_DTYPE_NAMES: dict[torch.dtype, str] = {torch.float16: "fp16", torch.bfloat16: "bf16", torch.float32: "fp32"}-_ELEMENT_SIZES = {"fp16": 2, "bf16": 2, "fp32": 4}+_ELEMENT_SIZES: dict[str, int] = {name: dtype.itemsize for dtype, name in _DTYPE_NAMES.items()}+TILE_OVERLAP_FACTOR = 0.25+"""The overlap every tiled AutoencoderKL operation priced here runs at: the one `AutoencoderKL` and+`AutoencoderKLFlux2` set when built, the one the SD nodes patch (`SD_VAE_TILE_OVERLAP_FACTOR`), and the one every+tiled point was measured at. A tiled operation's buffers are counted on the tile grid at this overlap from the recorded+features alone, so the estimators refuse a VAE that would tile at another (`_check_tile_overlap`) rather than price its+grid wrong."""++# What every tiled decode keeps live while it assembles the image, and an encode takes as input: RGB.+_IMAGE_CHANNELS = 3++# What a tiled encode assembles per latent channel: the moments, mean and logvar, before `DiagonalGaussianDistribution`+# splits them.+_VAE_MOMENT_CHANNELS_PER_LATENT = 2-def _convolution_coefficients(*dtypes: str) -> frozenset[str]:- """The coefficients of the convolution lines for both operations in these dtypes."""- return frozenset(- f"{part}_{operation}_{dtype}" for part in ("k", "b") for operation in ("decode", "encode") for dtype in dtypes- )++class _TiledVae(NamedTuple):+ """What a tiled estimator's floor counts of the VAE it prices and the nodes that run it."""++ latent_channels: int+ """The VAE's latent width: what a decode's input latents and an encode's moments (twice it) are counted in."""+ encode_latent_copies: int+ """The latent-wide tensors a tiled encode's node adds once the moments are assembled: `DiagonalGaussianDistribution`+ makes the clamped logvar, the std and the var; a node that samples it adds the noise, the scaled noise and the+ sample (6), one that takes its mode, a view of the mean, nothing more (3). The allocator keeps the encoded tiles'+ blocks then -- at a 512 px tile each is below a MiB, from the native allocators' small pool, which serves no larger+ request -- so they come on top of the buffers; on allocators that could reuse them this is conservative."""+ decode_output_copies: int+ """The images a tiled decode's node adds inside its window beside the buffers its assembly held: one (1) for a+ node that post-processes there, none (0) for one that post-processes after its window. Not what is live at once:+ `l2i` and `z_image_l2i` hold the decoded image and two more at their post-processing's peak, but the assembly's+ tiles and rows are freed by then, and what the allocator does with their blocks decides how much of that is new.+ One image is what the measured allocators took: under `cudaMallocAsync` `z_image_l2i`'s FLUX.1 decodes at 16384 to+ 24576 px took the buffers, the latents, the base and one image to within 0.2%, and with expandable segments on+ Windows ROCm less than that. On the native allocators the fitted lines decide every such decode measured, to+ 12288 px at a 512 px tile and to 20480 px at a 1024 px tile; past them, one that keeps the freed blocks and+ allocates the post-processing's images anew could take up to two images more than this counts."""+++# The SD1/SDXL VAE (and the tiny autoencoder): `i2l` samples; `l2i` denormalizes and clamps inside its window. The+# FLUX.1 VAE that Z-Image shares: the FLUX.1 and Z-Image encode nodes sample, the Kontext extension takes the mode;+# `z_image_l2i` clamps and scales inside its window, `flux_vae_decode` after it. The FLUX.2 VAE: every encode takes the+# mode, and `flux2_vae_decode` post-processes after its window.+_SD_TILED_VAE = _TiledVae(latent_channels=4, encode_latent_copies=6, decode_output_copies=1)+_FLUX_TILED_VAE = _TiledVae(latent_channels=16, encode_latent_copies=6, decode_output_copies=1)+_FLUX2_TILED_VAE = _TiledVae(latent_channels=32, encode_latent_copies=3, decode_output_copies=0)+++def _convolution_coefficients(*dtypes: str, tiled: bool = False) -> frozenset[str]:+ """The coefficients of the convolution lines for both operations in these dtypes, and with `tiled` those of the+ tiled lines and of the tiled decode's assembly line (`_tiled_convolutions`) too."""+ operations = ("decode", "encode")+ lines = [f"{operation}_{dtype}" for operation in operations for dtype in dtypes]+ if tiled:+ lines += [f"tiled_{operation}_{dtype}" for operation in operations for dtype in dtypes]+ lines += [f"assembled_decode_{dtype}" for dtype in dtypes]+ return frozenset(f"{part}_{line}" for part in ("k", "b") for line in lines)def dtype_name(dtype: torch.dtype) -> str:@@ -199,8 +260,9 @@ def _convolutions() -> tuple[WorkingMemoryTerm, ...]:"""The convolution line of this operation and dtype over `pixels` output pixels, for `samples` samples.- The base scales with the samples too. That is an upper bound rather than a fit -- the base is paid once per process- -- and it keeps a batch at exactly that many single-sample estimates.+ The base scales with the samples too. A process pays it once, so with a base of at least zero, as an untiled or a+ tiled line's always is, that is an upper bound rather than a fit, and it keeps a batch at exactly that many+ single-sample estimates. An assembly line's base may be negative, and is taken once then (`_tiled_convolutions`)."""line = f"{features['operation']}_{features['dtype']}"return (@@ -209,6 +271,200 @@ def _convolutions()+def _tiled_convolutions(+ features: Mapping[str, FeatureValue], values: Mapping[str, float], vae: "_TiledVae", samples: int = 1+) -> tuple[WorkingMemoryTerm, ...]:+ """A tiled operation's convolutions, for `samples` samples: the untiled line at its largest tile, and the tiled+ line `tiled_<operation>_<dtype>` over the image's pixels for what tiling adds on top. A decode reserves the larger+ of that and its assembly line `assembled_decode_<dtype>` over the image's pixels (`fit.Line.assembly`). Its base is+ per sample like the others where it is at least zero, and taken once where it is negative, ``k * P + max(b, n *+ b)`` for ``n`` samples: ``n`` of a negative base would price a batch's assembly below one sample's line over the+ same pixels.++ The tile is clamped to the image per axis, as every tiled path here slices it, and the sizes are the ones+ `fit.convolution_line` places the operation at, so the estimate prices what the fit fitted. Measured fresh-process+ (`scripts/calibrate_vae_tiling_working_memory.py`, the points in `data/vae.json`) at image sides 1024 to 12288 px+ with 512 and 1024 px tiles, 2048 to 12288 px with a 1536 px tile on the RTX 4090, and 2048 to 8192 px with 256 and+ 768 px tiles, the 256 px ones bounding their estimates from below only (`fit.SMALLEST_APP_SIDE`); FLUX.1 and FLUX.2+ in bf16 at a 512 px tile also at 16384 to 24576 px on the RTX 4090 under `cudaMallocAsync` and the RX 9060 XT with+ expandable segments, and FLUX.2 at 26624 and 28672 px on the RTX 4090 with the native allocator; FLUX.1 and+ FLUX.2 at a 1024 px tile at 16384 and 20480 px on the RTX 4090 with the native allocator and the RX 9060 XT with+ expandable segments; SD at a 1536 px tile at 14336 px and FLUX.1 at 16384 px under `cudaMallocAsync`; and SD at a+ 768 px tile at 12288 px on MIOpen's native allocator, its fp32 encode also at 16384 px:++ - A tiled decode demands about what the untiled decode of one tile does, flat in the image, but for a jump some+ allocators take once the image spans several tiles (~0.25 GiB under `cudaMallocAsync` and ~0.36 GiB under+ MIOpen's native allocator on Windows, at a 512 px tile). Up to about 4096 px the decoded tiles diffusers keeps fit+ in the allocator's slack around the tile's own peak. Above it the assembly takes over: every decoded tile, the+ blended rows and the concatenated image, about 3.8 copies of the image, and the node's post-processing, on which+ the native allocators fragment. At 8192 px a 512 px tile measured up to 3x its untiled demand and a 1024 px tile+ up to 1.4x; at 12288 px up to 7x and 2.4x (SD fp16 on MIOpen's native allocator, 7.25 against 2.99 GiB).+ - A tiled encode needs more than its tile does, for the input image it slices and the moments it assembles: by up+ to ~42 bytes per image pixel over the tile's own demand at 4096 px, ~29 at 8192 px and ~20 at 12288 px. Its+ tiled line prices that.++ The tiled line and the assembly line are fitted together on what the points measured, the tiled line above the+ untiled demand measured at their tile (`fit.two_phase_envelope`, `fit.FitPoint.reference`): what tiling adds to that+ demand, which carries to a tile no point measured whose growth is no larger than the measured tiles'.++ Both reserve at least their floor, a phase of its own beside the fitted ones: what the operation holds at once once+ its tiles are done, and the base the process pays whatever the size (the untiled line's `b_<operation>_<dtype>`),+ plus the shipped lines' margin on all of it (`_with_margin`).+ For a decode, the buffers of its assembly (`_assembly_buffer_bytes`), the latents it decodes, and the image its node+ post-processes inside its window (`_TiledVae.decode_output_copies`); for an encode, its input image and the moments+ it assembles (`_encode_buffer_bytes`) and the distribution its node makes of them+ (`_TiledVae.encode_latent_copies`).+ The floor is counted from the features, so it holds past the measured sides, where the fitted lines are+ extrapolated; within them the fit leaves the points the counted floor covers to it, and they rate no line that+ prices them below it (`fit.FitPoint.floor`).+ """+ line = convolution_line(features)+ assert line is not None and line.sits_on is not None, "a tiled operation's features place it on its tiled line"+ _, tile_area = line.sits_on+ tile_phase = (+ *_convolutions(features, values, tile_area, samples),+ WorkingMemoryTerm.fitted("tiled", f"k_{line.suffix}", line.size, values),+ WorkingMemoryTerm.fitted("tiled_base", f"b_{line.suffix}", samples, values),+ )+ # The floor: the buffers the operation holds at once, the input the node keeps on the device beside them, and the+ # base the process pays whatever the size, on the untiled line.+ untiled, _ = line.sits_on+ base = WorkingMemoryTerm.fitted("floor_base", f"b_{untiled}", samples, values)+ latents = _latent_bytes(features, vae.latent_channels, samples)+ if line.assembly is None:+ counted = (+ WorkingMemoryTerm("encode_buffers", _encode_buffer_bytes(features, vae.latent_channels, samples), True),+ WorkingMemoryTerm("latent_distribution", vae.encode_latent_copies * latents, True),+ )+ return _larger_phase(tile_phase, _with_margin(counted, base))+ base_samples = samples if values[f"b_{line.assembly}"] >= 0 else 1+ assembly_phase = (+ WorkingMemoryTerm.fitted("assembled", f"k_{line.assembly}", line.size, values),+ WorkingMemoryTerm.fitted("assembled_base", f"b_{line.assembly}", base_samples, values),+ )+ counted = (+ WorkingMemoryTerm("assembly_buffers", _assembly_buffer_bytes(features, samples), True),+ WorkingMemoryTerm("input_latents", latents, True),+ WorkingMemoryTerm("post_processing", vae.decode_output_copies * _image_bytes(features, samples), True),+ )+ return _larger_phase(_larger_phase(tile_phase, assembly_phase), _with_margin(counted, base))+++def _with_margin(counted: tuple[WorkingMemoryTerm, ...], base: WorkingMemoryTerm) -> tuple[WorkingMemoryTerm, ...]:+ """The floor: its counted terms, the untiled line's base, and `fit.SHIPPED_MARGIN` of their sum as a term of its+ own, so the breakdown shows what was counted. What is counted varies across runs and cards as a fitted line's+ points do, so the floor carries the headroom a shipped line does. The margin is taken on the base too, though the+ shipped base carries its own: 5% of a base of 0.1 to 1 GiB, which keeps the floor of a point whose counted floor+ and base cover it to the byte (`z_image_l2i`'s FLUX.1 decodes under `cudaMallocAsync`) at the margin it is left to+ the floor with. The fit leaves a point to the floor only where the floor covers it with that margin+ (`fit.FitPoint.floor`)."""+ total: float = 0+ for term in (*counted, base):+ total += term.bytes+ return (*counted, base, WorkingMemoryTerm("floor_margin", float(SHIPPED_MARGIN) * total, True))+++def _image_bytes(features: Mapping[str, FeatureValue], samples: int) -> int:+ """One RGB image of the operation's size in the dtype it runs in, for `samples` samples."""+ pixels = cast(int, features["height"]) * cast(int, features["width"])+ return _IMAGE_CHANNELS * pixels * _ELEMENT_SIZES[cast(str, features["dtype"])] * samples+++def _latent_bytes(features: Mapping[str, FeatureValue], latent_channels: int, samples: int) -> int:+ """One latent of the image, `latent_channels` wide at an eighth of each side, in the dtype the operation runs in,+ for `samples` samples. A slice of ``s`` pixels encodes to ``s // 8`` latents; a decode's sides are multiples of+ 8."""+ height, width = cast(int, features["height"]), cast(int, features["width"])+ latents = (height // LATENT_SCALE_FACTOR) * (width // LATENT_SCALE_FACTOR)+ return latent_channels * latents * _ELEMENT_SIZES[cast(str, features["dtype"])] * samples+++def _assembly_buffer_bytes(features: Mapping[str, FeatureValue], samples: int) -> int:+ """What a tiled decode holds at once while it assembles the image, for `samples` samples: every decoded tile, the+ rows blended from them, and the image concatenated from those.++ `AutoencoderKL` and `AutoencoderKLFlux2` run the same `tiled_decode`: it steps the latents by+ ``int(latent_tile * (1 - overlap))``, decodes each slice -- clipped at the far edges, so an edge tile is smaller --+ and keeps every decoded tile in `rows` until the end. The blends write into those tiles and the crops are views, so+ the rows concatenated from them come to one image, and the final `torch.cat` adds another. Counted on that grid at+ `TILE_OVERLAP_FACTOR`, in the dtype the decode runs in: 3 channels of the element size per pixel of every tile and+ twice the image's. The input latents and the node's post-processing are terms of their own (`_tiled_convolutions`).++ The tiny autoencoder, which the SD estimator prices on the same lines, assembles into one fp32 output buffer+ instead, 12 bytes per image pixel beside the tile in flight; this counts at least 18 for it.+ """+ height, width, tile = (cast(int, features[name]) for name in ("height", "width", "tile"))+ latent_tile = tile // LATENT_SCALE_FACTOR+ stride = int(latent_tile * (1 - TILE_OVERLAP_FACTOR))++ def decoded_pixels(side: int) -> int:+ latents = side // LATENT_SCALE_FACTOR+ return LATENT_SCALE_FACTOR * sum(min(latent_tile, latents - start) for start in range(0, latents, stride))++ tiles = decoded_pixels(height) * decoded_pixels(width)+ element_size = _ELEMENT_SIZES[cast(str, features["dtype"])]+ return _IMAGE_CHANNELS * element_size * samples * (tiles + 2 * height * width)+++def _encode_buffer_bytes(features: Mapping[str, FeatureValue], latent_channels: int, samples: int) -> int:+ """What a tiled encode holds at once while it assembles the moments, for `samples` samples: the input image, every+ encoded tile, the rows blended from them, and the moments concatenated from those.++ `AutoencoderKL` and `AutoencoderKLFlux2` run the same `_tiled_encode`: it steps the image by+ ``int(tile * (1 - overlap))`` pixels, encodes each slice -- clipped at the far edges; a slice of ``s`` pixels+ encodes to ``s // 8`` latents -- and keeps every encoded tile, twice `latent_channels` wide, in `rows` until the+ end. The blends write into those tiles and the crops to ``latent_tile - int(latent_tile * overlap)`` latents are+ views, so the rows concatenated from them take what the crops keep, and the final `torch.cat` as much again. The+ input image, which the node moved to the device in the dtype the VAE runs in, stays live throughout. Counted on that+ grid at `TILE_OVERLAP_FACTOR`, in the element size of that dtype. The distribution the node makes of the moments is+ a term of its own (`_TiledVae.encode_latent_copies`).++ The tiny autoencoder, which the SD estimator prices on the same lines, keeps no tiles: it holds its input and one+ fp32 latent of 4 channels, below what this counts for it.+ """+ height, width, tile = (cast(int, features[name]) for name in ("height", "width", "tile"))+ stride = int(tile * (1 - TILE_OVERLAP_FACTOR))+ latent_tile = tile // LATENT_SCALE_FACTOR+ kept = latent_tile - int(latent_tile * TILE_OVERLAP_FACTOR)++ def encoded_latents(side: int) -> tuple[int, int]:+ """Along one axis: the latents of every encoded tile, and of the crops the rows keep."""+ encoded = [min(tile, side - start) // LATENT_SCALE_FACTOR for start in range(0, side, stride)]+ return sum(encoded), sum(min(kept, latents) for latents in encoded)++ (tiles_h, kept_h), (tiles_w, kept_w) = encoded_latents(height), encoded_latents(width)+ moments = _VAE_MOMENT_CHANNELS_PER_LATENT * latent_channels * (tiles_h * tiles_w + 2 * kept_h * kept_w)+ element_size = _ELEMENT_SIZES[cast(str, features["dtype"])]+ return element_size * samples * (_IMAGE_CHANNELS * height * width + moments)+++def _check_tile_overlap(vae: torch.nn.Module, overlap_factor: float) -> None:+ """Refuse to price a tiled operation at an overlap its tile grid is not counted at (`TILE_OVERLAP_FACTOR`)."""+ if overlap_factor != TILE_OVERLAP_FACTOR:+ raise ValueError(+ f"{type(vae).__name__} tiles at an overlap of {overlap_factor}: a tiled operation's working memory is "+ f"measured and priced at {TILE_OVERLAP_FACTOR} only."+ )+++def _larger_phase(+ first: tuple[WorkingMemoryTerm, ...], second: tuple[WorkingMemoryTerm, ...]+) -> tuple[WorkingMemoryTerm, ...]:+ """Two phases of one operation that peak apart, of which only the larger is reserved: the terms of both, the+ smaller phase's not included. A phase reserves the bytes of its included terms, so it can itself be the larger of+ two. On a tie the first is reserved."""+ reserved: list[float] = [0, 0]+ for index, phase in enumerate((first, second)):+ for term in phase:+ if term.included:+ reserved[index] += term.bytes+ second_wins = reserved[1] > reserved[0]+ return (+ *(replace(term, included=term.included and not second_wins) for term in first),+ *(replace(term, included=term.included and second_wins) for term in second),+ )++def _peak_of_two_phases(convolution_phase: tuple[WorkingMemoryTerm, ...], score_matrix_bytes: int) -> tuple[WorkingMemoryTerm, ...]:@@ -231,27 +487,22 @@ def _peak_of_two_phases(the MIOpen coefficient keeps the linear term above the score term across the measured range, so the crossover doesnot arise there at all.- On a tie the convolutions are the ones reserved.+ On a tie the convolutions are the ones reserved. A tiled decode's convolution phase is itself the largest of its+ tile, its assembly and its assembly's buffers (`_tiled_convolutions`); the score matrix is the tile's, so the+ reservation is the largest of the four."""- convolution_bytes: float = 0- for term in convolution_phase:- convolution_bytes += term.bytes- scores_win = score_matrix_bytes > convolution_bytes- return (- *(replace(term, included=not scores_win) for term in convolution_phase),- WorkingMemoryTerm("mid_block_scores", score_matrix_bytes, included=scores_win),- )+ return _larger_phase(convolution_phase, (WorkingMemoryTerm("mid_block_scores", score_matrix_bytes, True),))def _sd_terms(features: Mapping[str, FeatureValue], values: Mapping[str, float]) -> tuple[WorkingMemoryTerm, ...]:- tile = cast(int | None, features["tile"])- if tile is not None:- # We add 25% to the working memory estimate when tiling is enabled to account for factors like tile overlap- # and number of tiles. We could make this more precise in the future, but this should be good enough for- # most use cases.- terms = _convolutions(features, values, tile * tile * 1.25)+ # Recorded points that predate the batch carry none: a single sample.+ batch_size = cast(int, features.get("batch_size", 1))+ if features["tile"] is not None:+ terms = _tiled_convolutions(features, values, _SD_TILED_VAE, samples=batch_size)else:- terms = _convolutions(features, values, cast(int, features["height"]) * cast(int, features["width"]))+ terms = _convolutions(+ features, values, cast(int, features["height"]) * cast(int, features["width"]), samples=batch_size+ )# The tiny autoencoder has no mid-block attention, so it is priced without a score matrix.if features["vae_class"] == "AutoencoderKL":@@ -265,8 +516,8 @@ def _sd_terms(features: Mapping[str, FeatureValue], values: Mapping[str, float])VAE_SD_SPEC = register(EstimatorSpec(id="vae.sd",- version=2,- coefficients=_convolution_coefficients("fp16", "fp32"),+ version=3,+ coefficients=_convolution_coefficients("fp16", "fp32", tiled=True),platform_keys=_PLATFORM_KEYS,terms=_sd_terms,line=convolution_line,@@ -275,6 +526,12 @@ VAE_SD_SPEC = register()+SD_VAE_TILE_OVERLAP_FACTOR = 0.25+"""The overlap the SD1/SDXL nodes patch into the shared VAE for a tile field above 0: `l2i` and `i2l` patch with it+(`patch_vae_tiling_params`), and `estimate_vae_working_memory_sd15_sdxl` prices the tile it gives, so the two cannot+drift."""++def sd_vae_run_dtype(operation: Literal["encode", "decode"], fp32: bool, device: torch.device) -> torch.dtype:"""The dtype the SD1/SDXL nodes cast the shared VAE to before they run it: `l2i` and `i2l` cast with this, and`estimate_vae_working_memory_sd15_sdxl` prices it, so the two cannot drift.@@ -315,29 +572,60 @@ def estimate_vae_working_memory_sd15_sdxl(estimate is accurate for both SD1 and SDXL. It prices the dtype the node will cast the VAE to (`sd_vae_run_dtype`),not the one the cached VAE holds. `device` is where the VAE will run; it picks the platform's coefficients anddefaults to the session device.++ `tile_size` is the node's field in output pixels, None for a single pass, and 0 or below for the VAE's own tile,+ which the node leaves in place then. A field above 0 is priced at the tile `patch_vae_tiling_params` gives the VAE+ for it at `SD_VAE_TILE_OVERLAP_FACTOR` (`diffusers_tile`), not at the field: a 24 px field runs a 32 px tile, a+ 200 px one 192 px. A tiled operation is priced on its largest tile, clamped to the image per axis as the VAE slices+ it, plus the tiled line, and a tiled decode on the larger of that and its assembly line, neither below its floor,+ what the operation holds at once (`_tiled_convolutions`); a tile covering the image on both axes is priced as the+ single pass the VAE runs then (`AutoencoderKL` tiles only when a side is strictly larger than the tile; for the tiny+ autoencoder, which tiles anyway, see below). A tiled `AutoencoderKL` operation at an overlap other than+ `TILE_OVERLAP_FACTOR` is refused.++ The batch the tensor carries multiplies through, as for `estimate_vae_working_memory_flux2`: the convolution terms+ per sample (`_tiled_convolutions` for the tiled floors) and the score matrix over batch times heads.+ `vae.decode` takes the whole batch, so a node that keeps one sample passes only that one."""device = device if device is not None else TorchDevice.choose_torch_device()run_dtype = sd_vae_run_dtype(operation, fp32, device)+ batch_size = image_tensor.shape[0] if image_tensor.dim() >= 4 else 1latent_scale_factor_for_operation = LATENT_SCALE_FACTOR if operation == "decode" else 1height = latent_scale_factor_for_operation * image_tensor.shape[-2]width = latent_scale_factor_for_operation * image_tensor.shape[-1]- if tile_size == 0:+ # The nodes patch the VAE's tile and overlap for a field above 0 only, and leave its own in place otherwise.+ overlap_factor = SD_VAE_TILE_OVERLAP_FACTOR+ if tile_size is not None and tile_size <= 0:tile_size = vae.tile_sample_min_size+ overlap_factor = vae.tile_overlap_factorassert isinstance(tile_size, int)+ elif tile_size is not None:+ tile_size, _ = diffusers_tile(vae, tile_size, SD_VAE_TILE_OVERLAP_FACTOR)+ # The tiny autoencoder runs `_tiled_decode` even for a covering tile: one tile over the whole image, with an output+ # buffer and blend masks, a few bytes per pixel. The single pass this prices instead is on the AutoencoderKL lines,+ # which cost many times what its convolutions do (64 channels wide against 512), so it stays an upper bound.+ if tile_size is not None and tile_size >= height and tile_size >= width:+ tile_size = None+ # The tiny autoencoder's own overlap (0.125) does not matter: the buffers counted for it are an upper bound at any.+ if tile_size is not None and isinstance(vae, AutoencoderKL):+ _check_tile_overlap(vae, overlap_factor)features: dict[str, FeatureValue] = {"operation": operation,"height": height,"width": width,"tile": tile_size,+ "batch_size": batch_size,"dtype": dtype_name(run_dtype),"vae_class": "AutoencoderKL" if isinstance(vae, AutoencoderKL) else "AutoencoderTiny","upcast_weight_bytes": _upcast_weight_bytes(vae, run_dtype),}if isinstance(vae, AutoencoderKL):- score_h, score_w = (tile_size, tile_size) if tile_size is not None else (height, width)- features["score_matrix_bytes"] = _vae_mid_block_score_matrix_bytes(score_h, score_w, run_dtype, device=device)+ score_h, score_w = (min(tile_size, height), min(tile_size, width)) if tile_size is not None else (height, width)+ features["score_matrix_bytes"] = _vae_mid_block_score_matrix_bytes(+ score_h, score_w, run_dtype, batch_size=batch_size, device=device+ )return _estimate(VAE_SD_SPEC, features, device)@@ -408,86 +696,16 @@ def estimate_vae_working_memory_cogview4(return _estimate(VAE_COGVIEW4_SPEC, features, device)-# What a tiled decode does *not* bound: the assembled image, several times over, per output pixel.-#-# `AutoencoderKL.tiled_decode` assembles entirely on the device: every decoded tile stays live in-# `rows` while the cropped rows and then the concatenated result are built. On top of that, a decode-# node runs `clamp(-1, 1)`, `+ 1.0` and `* 127.5` over the result and then `.byte()` it: more-# element-size RGB buffers plus the 8-bit one.-#-# The measurement below was taken when this estimator also served InvokeAI's own port of the BFL-# autoencoder, which merged on the *host* and therefore had a far smaller slope. That class is gone;-# the constant is kept at the value that covers the diffusers slope, which is the one that remains.-#-# Measured on this repo's fixtures (RTX 4090, fp32), device peak over baseline against one full-# image, at 1024px and 2048px:-#-# InvokeAI AutoEncoder 196.0 -> 200.0 MiB image 12 -> 48 MiB marginal slope 0.11-# diffusers AutoencoderKL 178.7 -> 235.1 MiB image 12 -> 48 MiB marginal slope 1.57-#-# The BFL class merges on the *host*, so almost nothing image-sized is on the device until the-# final `stack(...).to(device)`, by which point the tile activations have been freed; the diffusers-# class assembles on-device and grows at ~1.6 copies. Both peaks are dominated by the tile term-# above, which is why the earlier value of 7 -- derived rather than measured -- over-reserved by-# roughly 7x on the node it was named for. Four covers the measured slope plus the node's in-window-# post-processing, and one constant still covers both classes.-_FLUX_VAE_TILED_IMAGE_COPIES = 4-_IMAGE_CHANNELS = 3--# An encoder emits mean and logvar before `DiagonalGaussianDistribution` splits them, so the tensor-# a tiled encode assembles is twice the latent width.-_VAE_MOMENT_CHANNELS_PER_LATENT = 2--def _flux_terms(features: Mapping[str, FeatureValue], values: Mapping[str, float]) -> tuple[WorkingMemoryTerm, ...]:- operation = features["operation"]- out_h = cast(int, features["height"])- out_w = cast(int, features["width"])- element_size = _ELEMENT_SIZES[cast(str, features["dtype"])]- tile = cast(int | None, features["tile"])-- if tile is None:- convolution_phase = _convolutions(features, values, out_h * out_w)- return _peak_of_two_phases(convolution_phase, cast(int, features["score_matrix_bytes"]))-- # `calc_tiles_min_overlap` clamps the tile to the image *per axis*, so the largest tile the- # decode builds is this, not `tile` squared. Without the clamp an 8192px tile on a- # 1024x8200 image -- tiled, because one axis exceeds it -- prices 8192x8192.- # A 25% margin for tile overlap and the number of tiles, mirroring the SD1/SDXL estimator.- convolutions = _convolutions(features, values, min(tile, out_h) * min(tile, out_w) * 1.25)- if operation == "decode":- convolution_phase = (- *convolutions,- WorkingMemoryTerm(- "assembled_image",- out_h * out_w * _IMAGE_CHANNELS * (_FLUX_VAE_TILED_IMAGE_COPIES * element_size + 1),- True,- ),- )+ # Recorded points that predate the batch carry none: a single sample.+ batch_size = cast(int, features.get("batch_size", 1))+ if features["tile"] is not None:+ convolutions = _tiled_convolutions(features, values, _FLUX_TILED_VAE, samples=batch_size)else:- # A tiled encode leaves two things un-bounded: the full-resolution image it slices tiles- # from, and the moments it assembles.- #- # The moments are *not* one copy. `AutoencoderKL._tiled_encode` appends every encoded- # tile to `rows`, then builds `result_rows` from them -- blending against `rows[i-1][j]`,- # so `rows` stays live throughout -- and finally concatenates `enc` on top of both. The- # tiles overlap, so their total area is `1 / (1 - overlap_factor)**2` times the output;- # `result_rows` and `enc` are one output each. Hence the factor below, which is 3.78 at- # the 0.25 every `AutoencoderKL` ships.- live_moment_copies = 1.0 / (1.0 - cast(float, features["tile_overlap_factor"])) ** 2 + 2.0- moments = (- (out_h // LATENT_SCALE_FACTOR)- * (out_w // LATENT_SCALE_FACTOR)- * _VAE_MOMENT_CHANNELS_PER_LATENT- * cast(int, features["latent_channels"])- * element_size+ convolutions = _convolutions(+ features, values, cast(int, features["height"]) * cast(int, features["width"]), samples=batch_size)- convolution_phase = (- *convolutions,- WorkingMemoryTerm("input_image", out_h * out_w * _IMAGE_CHANNELS * element_size, True),- WorkingMemoryTerm("assembled_moments", moments * live_moment_copies, True),- )- return _peak_of_two_phases(convolution_phase, cast(int, features["score_matrix_bytes"]))+ return _peak_of_two_phases(convolutions, cast(int, features["score_matrix_bytes"]))# The FLUX.1 loaders avoid fp16, which this autoencoder is broken in, except one: an SDNQ VAE folder loads through the@@ -495,8 +713,8 @@ def _flux_terms(features: Mapping[str, FeatureValue], values: Mapping[str, floatVAE_FLUX_SPEC = register(EstimatorSpec(id="vae.flux",- version=2,- coefficients=_convolution_coefficients("fp16", "bf16", "fp32"),+ version=3,+ coefficients=_convolution_coefficients("fp16", "bf16", "fp32", tiled=True),platform_keys=_PLATFORM_KEYS,terms=_flux_terms,line=convolution_line,@@ -514,15 +732,19 @@ def estimate_vae_working_memory_flux() -> WorkingMemoryEstimate:"""Estimate the working memory required by the invocation in bytes.- `tile_size` is in output pixels and defaults to None, i.e. a single-pass decode -- the existing- call sites that pass no tile depend on that signature. When set, the decode term is bounded by- one tile instead of the whole image, and the full-resolution assembly and post-processing that- tiling does *not* bound are added on top. `tile_size <= 0` is the nodes' "use the default"- sentinel; see `resolve_tile_size`.+ `tile_size` is in output pixels and defaults to None, i.e. a single pass -- the existing call+ sites that pass no tile depend on that signature. When set, the operation is priced on its+ largest tile, clamped to the image per axis, plus the tiled line for what tiling adds: the+ allocator's jump, and the encode's input image and moments. A decode reserves the larger of+ that and its assembly line, for the assembled output and the node's post-processing. Neither+ reserves less than its floor, what it holds at once, counted on its tile grid+ (`_tiled_convolutions`); one at an overlap other than `TILE_OVERLAP_FACTOR` is refused.+ `tile_size <= 0` is the nodes' "use the default" sentinel; see `resolve_tile_size`. The tile+ priced is the one `scoped_vae_tiling` runs for the field (`scoped_vae_tile`), which can be+ smaller than the field. Both operations tile, each with its own tiled line.- Both operations tile. The tile-bounded term is the same for either; what tiling does *not*- bound differs, so the residual is chosen by `operation` -- see `_FLUX_VAE_TILED_IMAGE_COPIES`- for the decode side.+ The batch the tensor carries multiplies through, as for `estimate_vae_working_memory_flux2`: the convolution+ terms per sample and the score matrix over batch times heads. A node that keeps one sample passes only that one.`device` is where the VAE will run (a `cpu_only` VAE runs on the CPU); it picks the convolutionbackend's coefficients. Defaults to the session device.@@ -530,6 +752,7 @@ def estimate_vae_working_memory_flux(latent_scale_factor_for_operation = LATENT_SCALE_FACTOR if operation == "decode" else 1dtype = _compute_dtype(vae)device = device if device is not None else TorchDevice.choose_torch_device()+ batch_size = image_tensor.shape[0] if image_tensor.dim() >= 4 else 1out_h = latent_scale_factor_for_operation * image_tensor.shape[-2]out_w = latent_scale_factor_for_operation * image_tensor.shape[-1]@@ -537,7 +760,7 @@ def estimate_vae_working_memory_flux(# Resolved against a module-level constant, never by reading `vae.tile_sample_min_size`: the VAE# belongs to the model cache, so that attribute reflects whatever the previous invocation set# rather than the default this node is asking for.- tile = resolve_tile_size(tile_size) if tile_size is not None else None+ tile = scoped_vae_tile(vae, tile_size)[0] if tile_size is not None else None# `_tiled_decode` short-circuits to a single pass once the tile covers the image on both axes,# so a tile that large has to be priced as the untiled decode it will actually run. The node@@ -545,6 +768,7 @@ def estimate_vae_working_memory_flux(# for a decode that needs ~4.6GB, evicting the transformer from the cache for nothing.if tile is not None and (tile < out_h or tile < out_w):score_h, score_w = min(tile, out_h), min(tile, out_w)+ _check_tile_overlap(vae, vae.tile_overlap_factor)else:tile = Nonescore_h, score_w = out_h, out_w@@ -555,15 +779,11 @@ def estimate_vae_working_memory_flux("width": out_w,"dtype": dtype_name(dtype),"tile": tile,- "score_matrix_bytes": _vae_mid_block_score_matrix_bytes(score_h, score_w, dtype, device=device),+ "batch_size": batch_size,+ "score_matrix_bytes": _vae_mid_block_score_matrix_bytes(+ score_h, score_w, dtype, batch_size=batch_size, device=device+ ),}- if tile is not None and operation != "decode":- # Read from the VAE rather than hard-coded: an overlap factor of 0.5 would make the tiles- # alone four times the output, and a fixed 3.78 would then under-reserve. An estimate- # consumed as `free >= estimate` has to err upwards.- features["latent_channels"] = getattr(getattr(vae, "config", None), "latent_channels", 16)- features["tile_overlap_factor"] = getattr(vae, "tile_overlap_factor", 0.25)-return _estimate(VAE_FLUX_SPEC, features, device)@@ -579,13 +799,11 @@ _FLUX2_VAE_SPATIAL_COMPRESSION = 8def _flux2_terms(features: Mapping[str, FeatureValue], values: Mapping[str, float]) -> tuple[WorkingMemoryTerm, ...]:batch_size = cast(int, features["batch_size"])- tile = cast(int | None, features["tile"])- height, width = cast(int, features["height"]), cast(int, features["width"])- if tile is not None:- # The largest slice `AutoencoderKLFlux2` takes: the tile, clamped to the image per axis. Add 25% for tile- # overlap and the blending buffers, mirroring the SD1/SDXL estimate.- convolutions = _convolutions(features, values, min(tile, height) * min(tile, width) * 1.25, samples=batch_size)+ if features["tile"] is not None:+ # The largest slice `AutoencoderKLFlux2` takes is the tile, clamped to the image per axis.+ convolutions = _tiled_convolutions(features, values, _FLUX2_TILED_VAE, samples=batch_size)else:+ height, width = cast(int, features["height"]), cast(int, features["width"])convolutions = _convolutions(features, values, height * width, samples=batch_size)# Both terms are per sample; the larger is reserved (see `_peak_of_two_phases` for why, and the measurements).return _peak_of_two_phases(convolutions, cast(int, features["score_matrix_bytes"]))@@ -595,8 +813,8 @@ def _flux2_terms(features: Mapping[str, FeatureValue], values: Mapping[str, floaVAE_FLUX2_SPEC = register(EstimatorSpec(id="vae.flux2",- version=2,- coefficients=_convolution_coefficients("bf16", "fp32"),+ version=3,+ coefficients=_convolution_coefficients("bf16", "fp32", tiled=True),platform_keys=_PLATFORM_KEYS,terms=_flux2_terms,line=convolution_line,@@ -663,12 +881,15 @@ def estimate_vae_working_memory_flux2(``F.scaled_dot_product_attention`` itself -- so torch's own answer is the whole answer here.)`tile_size` is in output pixels; None prices a single pass, and `tile_size <= 0` is the nodes'- "use the default" sentinel (see `resolve_tile_size`). A tiled peak is bounded by the largest tile- instead of the full image (measured ~0.55GB flat at a 512px tile, from 1024px up to the 2024px- reference-image cap), and so is the score matrix, if one is materialized at all. That tile is- clamped to the image per axis, as the slices `AutoencoderKLFlux2` takes are, and a tile covering- the image on both axes is priced as the single pass it runs: the VAE tiles only when a side is- strictly larger than the tile.+ "use the default" sentinel (see `resolve_tile_size`). The tile priced is the one+ `scoped_vae_tiling` runs for the field (`scoped_vae_tile`), which can be smaller than the field.+ A tiled operation is priced on the largest tile instead of the full image, plus the tiled line+ for what tiling adds on top, a decode at the larger of that and its assembly line, neither below+ its floor, what the operation holds for the whole batch (`_tiled_convolutions`; one at an overlap+ other than `TILE_OVERLAP_FACTOR` is refused), and the score matrix is priced on the tile too,+ if one is materialized at all. That tile is clamped to the image per axis, as the slices+ `AutoencoderKLFlux2` takes are, and a tile covering the image on both axes is priced as the+ single pass it runs: the VAE tiles only when a side is strictly larger than the tile.Both terms are per sample. `vae.decode` takes whatever batch the latents carry, and a``LatentsField`` is not pinned to one, so the batch has to multiply through: measured at 1024px@@ -687,9 +908,10 @@ def estimate_vae_working_memory_flux2(# Resolved against the module-level default, never read back from the cached VAE, whose tile# attributes are whatever the previous invocation left there. A tile covering the image on both# axes runs the single pass, so it is priced as one (`tile` None).- tile = resolve_tile_size(tile_size) if tile_size is not None else None+ tile = scoped_vae_tile(vae, tile_size)[0] if tile_size is not None else Noneif tile is not None and (tile < out_h or tile < out_w):tile_h, tile_w = min(tile, out_h), min(tile, out_w)+ _check_tile_overlap(vae, vae.tile_overlap_factor)else:tile = Nonetile_h, tile_w = out_h, out_w@@ -1257,10 +1479,10 @@ def estimate_untiled_vae_decode(if estimator == VAE_SD3_SPEC.id:return _estimate(VAE_SD3_SPEC, features, device)if estimator == VAE_FLUX_SPEC.id:- return _estimate(VAE_FLUX_SPEC, features | {"tile": None}, device)+ return _estimate(VAE_FLUX_SPEC, features | {"tile": None, "batch_size": 1}, device)if estimator == VAE_FLUX2_SPEC.id:return _estimate(VAE_FLUX2_SPEC, features | {"tile": None, "batch_size": 1}, device)if estimator == VAE_SD_SPEC.id:- sd_features = features | {"tile": None, "vae_class": "AutoencoderKL", "upcast_weight_bytes": 0}+ sd_features = features | {"tile": None, "batch_size": 1, "vae_class": "AutoencoderKL", "upcast_weight_bytes": 0}return _estimate(VAE_SD_SPEC, sd_features, device)raise ValueError(f"No untiled decode is priced by working-memory estimator '{estimator}'.")diff --git a/invokeai/backend/working_memory/bounds.py b/invokeai/backend/working_memory/bounds.pyindex e1811dec5f..33658e2dd2 100644--- a/invokeai/backend/working_memory/bounds.py+++ b/invokeai/backend/working_memory/bounds.py@@ -5,10 +5,11 @@ data to it, and by `scripts/working_memory/build_shipped.py`, which refuses to w- Lower bound. The model cache consumes an estimate as ``free >= estimate``, so the estimate must be at least the point.Where only analytic terms decide it (a materialized score matrix), the cache's `device_working_mem_gb` floor counts.-- Upper bound, for points that hold one (`MeasuredPoint.holds_upper_bound`): where a fitted term decides an in-fit- point, the estimate is at most `MAX_OVER_RESERVATION` times the point, its listed `UPPER_BOUND_EXCEPTIONS` ratio, or- its tighter `max_ratio`, which applies whichever term decides. A reservation the operation never uses is model- weights evicted for nothing.+- Upper bound, for points that hold one (`MeasuredPoint.holds_upper_bound`) of features that cap their line+ (`fit.Line.caps`; a VAE operation on a tile or an image below `fit.SMALLEST_APP_SIDE` does not): where a fitted term+ decides an in-fit point, the estimate is at most `MAX_OVER_RESERVATION` times the point, its listed+ `UPPER_BOUND_EXCEPTIONS` ratio, or its tighter `max_ratio`, which applies whichever term decides. A reservation the+ operation never uses is model weights evicted for nothing.The fit keeps the upper bounds while it raises a line for points above it: `line_bounds` states them as constraints onthe line, which `fit.raised_pair` satisfies.@@ -39,30 +40,194 @@ environment variable could move."""UPPER_BOUND_EXCEPTIONS: Final[Mapping[str, float]] = MappingProxyType({- "vae.sd-miopen,native,windows-decode-fp16-1280x1280-scores-RX9060XT-demand_peak": 1.33,- "vae.sd-miopen,native,windows-encode-fp16-1024x1024-scores-RX9060XT-demand_peak": 1.57,- "vae.sd-miopen,native,windows-encode-fp16-1280x1280-scores-RX9060XT-demand_peak": 1.78,- "vae.flux-miopen,native,windows-decode-bf16-512x512-scores-RX9060XT-demand_peak": 1.33,- "vae.flux2-miopen,native,windows-decode-bf16-512x512-scores-RX9060XT-demand_peak": 1.33,+ # Untiled demand, concave under MIOpen's native allocator on Windows.+ "vae.flux-miopen,native,windows-decode-bf16-512x512-scores-RX9060XT-demand_peak": 1.45,+ "vae.flux2-miopen,native,windows-decode-bf16-512x512-scores-RX9060XT-demand_peak": 1.45,+ "vae.sd-miopen,native,windows-encode-fp16-1024x1024-scores-RX9060XT-demand_peak": 1.49,+ "vae.sd-miopen,native,windows-encode-fp16-1280x1280-scores-RX9060XT-demand_peak": 1.65,+ # The untiled line's headroom at the tile, under MIOpen's native allocator on Windows.+ "vae.flux-miopen,native,windows-decode-bf16-1024x1024-tile512-scores-RX9060XT-demand_peak": 1.42,+ "vae.flux-miopen,native,windows-decode-bf16-1536x1536-tile512-scores-RX9060XT-demand_peak": 1.44,+ "vae.flux-miopen,native,windows-decode-bf16-2048x2048-tile512-scores-RX9060XT-demand_peak": 1.45,+ "vae.flux-miopen,native,windows-decode-bf16-3072x3072-tile512-scores-RX9060XT-demand_peak": 1.48,+ "vae.flux-miopen,native,windows-decode-bf16-4096x4096-tile512-scores-RX9060XT-demand_peak": 1.55,+ "vae.flux-miopen,native,windows-decode-bf16-4096x4096-tile768-scores-RX9060XT-demand_peak": 1.32,+ "vae.flux-miopen,native,windows-decode-bf16-6144x6144-tile512-scores-RX9060XT-demand_peak": 1.56,+ "vae.flux-miopen,native,windows-encode-bf16-8192x8192-tile768-scores-RX9060XT-demand_peak": 1.32,+ "vae.flux2-miopen,native,windows-decode-bf16-1024x1024-tile512-scores-RX9060XT-demand_peak": 1.43,+ "vae.flux2-miopen,native,windows-decode-bf16-12288x12288-tile512-scores-RX9060XT-demand_peak": 1.42,+ "vae.flux2-miopen,native,windows-decode-bf16-1536x1536-tile512-scores-RX9060XT-demand_peak": 1.43,+ "vae.flux2-miopen,native,windows-decode-bf16-2048x2048-tile512-scores-RX9060XT-demand_peak": 1.44,+ "vae.flux2-miopen,native,windows-decode-bf16-3072x3072-tile512-scores-RX9060XT-demand_peak": 1.49,+ "vae.flux2-miopen,native,windows-decode-bf16-4096x4096-tile512-scores-RX9060XT-demand_peak": 1.55,+ "vae.flux2-miopen,native,windows-decode-bf16-4096x4096-tile768-scores-RX9060XT-demand_peak": 1.32,+ "vae.flux2-miopen,native,windows-decode-bf16-6144x6144-tile512-scores-RX9060XT-demand_peak": 1.55,+ "vae.flux2-miopen,native,windows-decode-bf16-8192x8192-tile512-scores-RX9060XT-demand_peak": 1.38,+ "vae.flux2-miopen,native,windows-encode-bf16-8192x8192-tile768-scores-RX9060XT-demand_peak": 1.41,+ "vae.sd-miopen,native,windows-decode-fp16-1536x1536-tile1024-scores-RX9060XT-demand_peak": 1.55,+ "vae.sd-miopen,native,windows-decode-fp16-2048x2048-tile1024-scores-RX9060XT-demand_peak": 1.48,+ "vae.sd-miopen,native,windows-decode-fp16-3072x3072-tile1024-scores-RX9060XT-demand_peak": 1.48,+ "vae.sd-miopen,native,windows-decode-fp16-4096x4096-tile1024-scores-RX9060XT-demand_peak": 1.43,+ "vae.sd-miopen,native,windows-decode-fp16-6144x6144-tile1024-scores-RX9060XT-demand_peak": 1.48,+ "vae.sd-miopen,native,windows-encode-fp16-12288x12288-tile1024-scores-RX9060XT-demand_peak": 1.47,+ "vae.sd-miopen,native,windows-encode-fp16-1536x1536-tile1024-scores-RX9060XT-demand_peak": 1.62,+ "vae.sd-miopen,native,windows-encode-fp16-1536x1536-tile512-scores-RX9060XT-demand_peak": 1.38,+ "vae.sd-miopen,native,windows-encode-fp16-2048x2048-tile1024-scores-RX9060XT-demand_peak": 1.72,+ "vae.sd-miopen,native,windows-encode-fp16-2048x2048-tile512-scores-RX9060XT-demand_peak": 1.34,+ "vae.sd-miopen,native,windows-encode-fp16-3072x3072-tile1024-scores-RX9060XT-demand_peak": 1.66,+ "vae.sd-miopen,native,windows-encode-fp16-3072x3072-tile512-scores-RX9060XT-demand_peak": 1.37,+ "vae.sd-miopen,native,windows-encode-fp16-4096x4096-tile1024-scores-RX9060XT-demand_peak": 1.66,+ "vae.sd-miopen,native,windows-encode-fp16-6144x6144-tile1024-scores-RX9060XT-demand_peak": 1.62,+ "vae.sd-miopen,native,windows-encode-fp16-6144x6144-tile512-scores-RX9060XT-demand_peak": 1.33,+ "vae.sd-miopen,native,windows-encode-fp16-8192x8192-tile1024-scores-RX9060XT-demand_peak": 1.63,+ # One tiled line serves every tile.+ "vae.flux-miopen,native,windows-decode-bf16-12288x12288-tile1024-scores-RX9060XT-demand_peak": 1.39,+ "vae.flux2-cudnn,cudaMallocAsync-decode-bf16-1024x1024-tile512-RTX4090-demand_peak": 2.39,+ "vae.flux2-cudnn,cudaMallocAsync-decode-bf16-1536x1536-tile1024-RTX4090-demand_peak": 1.33,+ "vae.flux2-cudnn,cudaMallocAsync-decode-bf16-1536x1536-tile512-RTX4090-demand_peak": 1.83,+ "vae.flux2-cudnn,cudaMallocAsync-decode-bf16-2048x2048-tile1024-RTX4090-demand_peak": 1.34,+ "vae.flux2-cudnn,cudaMallocAsync-decode-bf16-2048x2048-tile512-RTX4090-demand_peak": 1.85,+ "vae.flux2-cudnn,cudaMallocAsync-decode-bf16-2048x2048-tile768-RTX4090-demand_peak": 1.39,+ "vae.flux2-cudnn,cudaMallocAsync-decode-bf16-3072x3072-tile512-RTX4090-demand_peak": 1.91,+ "vae.flux2-cudnn,cudaMallocAsync-decode-bf16-4096x4096-tile512-RTX4090-demand_peak": 1.99,+ "vae.flux2-cudnn,cudaMallocAsync-decode-bf16-4096x4096-tile768-RTX4090-demand_peak": 1.47,+ "vae.flux2-cudnn,cudaMallocAsync-decode-bf16-6144x6144-tile512-RTX4090-demand_peak": 1.74,+ "vae.flux2-cudnn,cudaMallocAsync-decode-bf16-8192x8192-tile512-RTX4090-demand_peak": 1.64,+ "vae.flux2-cudnn,cudaMallocAsync-decode-bf16-8192x8192-tile768-RTX4090-demand_peak": 1.35,+ "vae.flux2-cudnn,native-encode-bf16-12288x12288-tile1024-RTX4090-demand_peak": 1.56,+ "vae.flux2-cudnn,native-encode-bf16-12288x12288-tile1536-RTX4090-demand_peak": 1.34,+ "vae.flux2-cudnn,native-encode-bf16-2024x2024-tile512-RTX4090-reserved_peak": 1.34,+ "vae.flux2-cudnn,native-encode-bf16-6144x6144-tile512-RTX4090-demand_peak": 1.35,+ "vae.flux2-cudnn,native-encode-bf16-8192x8192-tile512-RTX4090-demand_peak": 1.44,+ "vae.flux2-cudnn,native-encode-bf16-8192x8192-tile768-RTX4090-demand_peak": 1.46,+ "vae.flux2-cudnn,native-encode-bf16-8192x8192-tile1024-RTX4090-demand_peak": 1.32,+ "vae.flux2-cudnn,native-encode-bf16-16384x16384-tile1024-RTX4090-demand_peak": 1.57,+ "vae.flux2-cudnn,native-encode-bf16-20480x20480-tile1024-RTX4090-demand_peak": 1.41,+ "vae.flux2-cudnn,native-decode-bf16-8192x8192-tile768-RTX4090-demand_peak": 1.41,+ "vae.flux2-miopen,native,windows-decode-bf16-12288x12288-tile1024-scores-RX9060XT-demand_peak": 1.38,+ "vae.flux2-miopen,native,windows-encode-bf16-12288x12288-tile1024-scores-RX9060XT-demand_peak": 1.32,+ "vae.sd-cudnn,cudaMallocAsync-decode-fp16-1024x1024-tile512-RTX4090-demand_peak": 1.71,+ "vae.sd-cudnn,cudaMallocAsync-decode-fp16-1536x1536-tile512-RTX4090-demand_peak": 1.33,+ "vae.sd-cudnn,cudaMallocAsync-decode-fp16-2048x2048-tile512-RTX4090-demand_peak": 1.36,+ "vae.sd-cudnn,cudaMallocAsync-decode-fp16-3072x3072-tile512-RTX4090-demand_peak": 1.43,+ "vae.sd-cudnn,cudaMallocAsync-decode-fp16-4096x4096-tile512-RTX4090-demand_peak": 1.52,+ "vae.sd-cudnn,cudaMallocAsync-decode-fp16-4096x4096-tile768-RTX4090-demand_peak": 1.38,+ "vae.sd-cudnn,cudaMallocAsync-decode-fp16-6144x6144-tile1024-RTX4090-demand_peak": 1.31,+ "vae.sd-cudnn,cudaMallocAsync-decode-fp16-6144x6144-tile512-RTX4090-demand_peak": 1.46,+ "vae.sd-cudnn,cudaMallocAsync-decode-fp16-8192x8192-tile768-RTX4090-demand_peak": 1.34,+ "vae.sd-cudnn,cudaMallocAsync-encode-fp32-12288x12288-tile1024-RTX4090-demand_peak": 1.41,+ "vae.sd-cudnn,cudaMallocAsync-encode-fp32-12288x12288-tile512-RTX4090-demand_peak": 1.91,+ "vae.sd-cudnn,cudaMallocAsync-encode-fp32-4096x4096-tile512-RTX4090-demand_peak": 1.37,+ "vae.sd-cudnn,cudaMallocAsync-encode-fp32-6144x6144-tile512-RTX4090-demand_peak": 1.45,+ "vae.sd-cudnn,cudaMallocAsync-encode-fp32-8192x8192-tile512-RTX4090-demand_peak": 1.63,+ "vae.sd-cudnn,cudaMallocAsync-encode-fp32-8192x8192-tile768-RTX4090-demand_peak": 1.43,+ "vae.sd-miopen,native,windows-decode-fp16-1024x1024-tile512-scores-RX9060XT-demand_peak": 1.72,+ "vae.sd-miopen,native,windows-decode-fp16-1536x1536-tile512-scores-RX9060XT-demand_peak": 1.60,+ "vae.sd-miopen,native,windows-decode-fp16-2048x2048-tile512-scores-RX9060XT-demand_peak": 1.69,+ "vae.sd-miopen,native,windows-decode-fp16-3072x3072-tile512-scores-RX9060XT-demand_peak": 1.66,+ "vae.sd-miopen,native,windows-decode-fp16-4096x4096-tile512-scores-RX9060XT-demand_peak": 1.56,+ "vae.sd-miopen,native,windows-decode-fp32-1024x1024-tile512-scores-RX9060XT-demand_peak": 1.53,+ "vae.sd-miopen,native,windows-decode-fp32-1536x1536-tile512-scores-RX9060XT-demand_peak": 1.53,+ "vae.sd-miopen,native,windows-decode-fp32-2048x2048-tile512-scores-RX9060XT-demand_peak": 1.52,+ "vae.sd-miopen,native,windows-decode-fp32-4096x4096-tile512-scores-RX9060XT-demand_peak": 1.53,+ "vae.sd-miopen,native,windows-encode-fp32-2048x2048-tile768-scores-RX9060XT-demand_peak": 1.31,+ # The assembly lines of the largest decodes.+ "vae.flux-cudnn,cudaMallocAsync-decode-bf16-1024x1024-tile512-RTX4090-demand_peak": 1.35,+ "vae.sd-cudnn,native-decode-fp32-12288x12288-tile512-RTX4090-demand_peak": 1.37,+ "vae.sd-cudnn,native-decode-fp32-4096x4096-tile512-RTX4090-demand_peak": 1.43,+ "vae.sd-cudnn,native-decode-fp32-8192x8192-tile512-RTX4090-demand_peak": 1.35,+ "vae.sd-miopen,expandable,windows-decode-fp32-12288x12288-tile512-scores-RX9060XT-demand_peak": 1.33,+ "vae.sd-miopen,expandable,windows-decode-fp32-6144x6144-tile512-scores-RX9060XT-demand_peak": 1.49,+ "vae.sd-miopen,expandable,windows-decode-fp32-8192x8192-tile512-scores-RX9060XT-demand_peak": 1.56,+ "vae.sd-miopen,native,windows-decode-fp16-12288x12288-tile1024-scores-RX9060XT-demand_peak": 1.31,+ "vae.sd-miopen,native,windows-decode-fp16-12288x12288-tile512-scores-RX9060XT-demand_peak": 1.63,+ "vae.sd-miopen,native,windows-decode-fp16-6144x6144-tile512-scores-RX9060XT-demand_peak": 1.44,+ "vae.sd-miopen,native,windows-decode-fp16-8192x8192-tile512-scores-RX9060XT-demand_peak": 1.52,+ "vae.sd-miopen,native,windows-decode-fp32-8192x8192-tile512-scores-RX9060XT-demand_peak": 1.42,+ "vae.sd-miopen,native,windows-decode-fp16-12288x12288-tile768-scores-RX9060XT-demand_peak": 1.35,+ # The floor's conservative counts, with the margin on them.+ "vae.flux-cudnn,cudaMallocAsync-encode-bf16-16384x16384-tile512-RTX4090-demand_peak": 1.32,+ "vae.flux-cudnn,cudaMallocAsync-encode-bf16-20480x20480-tile512-RTX4090-demand_peak": 1.32,+ "vae.flux-miopen,expandable,windows-decode-bf16-12288x12288-tile512-scores-RX9060XT-demand_peak": 1.34,+ "vae.flux-miopen,expandable,windows-decode-bf16-16384x16384-tile512-scores-RX9060XT-demand_peak": 1.33,+ "vae.flux-miopen,expandable,windows-decode-bf16-20480x20480-tile512-scores-RX9060XT-demand_peak": 1.33,+ "vae.flux-miopen,expandable,windows-decode-bf16-24576x24576-tile512-scores-RX9060XT-demand_peak": 1.33,+ "vae.sd-miopen,expandable,windows-decode-fp16-12288x12288-tile1024-scores-RX9060XT-demand_peak": 1.32,+ "vae.sd-miopen,expandable,windows-decode-fp16-12288x12288-tile512-scores-RX9060XT-demand_peak": 1.33,+ "vae.sd-miopen,expandable,windows-decode-fp16-6144x6144-tile512-scores-RX9060XT-demand_peak": 1.32,+ "vae.sd-miopen,expandable,windows-decode-fp16-8192x8192-tile512-scores-RX9060XT-demand_peak": 1.33,+ # The FLUX.2 denoise's short caption."denoise.flux2-cudnn,native-denoise-bf16-h3072-8100+77tok-RTX4090-demand_peak": 1.42,"denoise.flux2-miopen,native,windows-denoise-bf16-h3072-8100+77tok-RX9060XT-demand_peak": 1.40,+ # The FLUX.3 denoise's forwards without reference images."denoise.flux3-cudnn,native-denoise-bf16-h3072-8100+80tok-RTX4090-demand_peak": 1.31,"denoise.flux3-cudnn,native-denoise-fp16-h3072-8100+80tok-RTX4090-demand_peak": 1.31,"denoise.flux3-cudnn,cudaMallocAsync-denoise-bf16-h3072-4096+560tok-b2-RTX4090-demand_peak": 1.31,"denoise.flux3-cudnn,cudaMallocAsync-denoise-fp32-h3072-8100+80tok-RTX4090-demand_peak": 1.31,"denoise.flux3-cudnn,cudaMallocAsync-denoise-fp32-h3072-1024+560tok-RTX4090-demand_peak": 1.32,+ # The Krea-2 denoise's short caption."denoise.krea2-cudnn,native-denoise-bf16-4096+77tok-NVIDIAGeForceRTX4090-demand_peak": 1.35,"denoise.krea2-cudnn,native-denoise-fp16-4096+77tok-NVIDIAGeForceRTX4090-demand_peak": 1.35,"denoise.krea2-cudnn,cudaMallocAsync-denoise-bf16-9216+77tok-NVIDIAGeForceRTX4090-demand_peak": 1.33,"denoise.krea2-cudnn,cudaMallocAsync-denoise-fp16-9216+77tok-NVIDIAGeForceRTX4090-demand_peak": 1.33,})-"""In-fit points, by `point_id`, whose envelope sits more than 1.3x above them, with the ratio they are held to-instead. All but the FLUX.3 and Krea-2 `cudaMallocAsync` points are the native allocator, none expandable segments:+"""In-fit points, by `point_id`, whose envelope sits more than 1.3x above them, with the ratio they are held to: their+own, rounded up to two decimals, so a refit that moves one shows in the data test. Grouped by cause; with the default+`device_working_mem_gb` the cache reserves 3 GiB anyway for the 46 of them that estimate less.-- The VAE points are MIOpen on Windows, where the demand is concave in the size: first-run driver spikes at small sizes- and a second run reserving up to 1.6x the first at large ones, so a line that covers every point cannot stay within- 1.3x of all of them. Windows ROCm defaults to expandable segments; this is the override's price.+- Untiled demand, concave under MIOpen's native allocator on Windows: first-run driver spikes at small sizes and a+ second run reserving up to 1.6x the first at large ones, so a line that covers every point cannot stay within 1.3x+ of all of them. Windows ROCm defaults to expandable segments; this is the override's price: the SD fp16 encodes at+ 1024 and 1280 px are held at 1.48x and 1.64x. The 256 px references the tiling runs measure cap nothing+ (`fit.SMALLEST_APP_SIDE`) but are covered, and the bf16 decode's lies on the hull: the line that covers it, 10684+ bytes per pixel from 327 MiB, holds the 512 px decode at 1.44x.+- The untiled line's headroom at the tile there. A tiled line covers what its points measured above the untiled demand+ at their tile (`fit.py`), and the estimate prices the tile on the shipped untiled line, whose headroom over that+ demand comes on top: 1.44x over the bf16 decode at 512 px and 1.29x at 768 px, 1.26x over the bf16 encode at 768 px,+ 1.27x over the SD fp16 decode at 1024 px, and 1.48x and 1.23x over the SD fp16 encode at 1024 and 512 px. The+ tiled points on those tiles are held at 1.32-1.72x.+- One tiled line serves every tile, so the largest jump any tile takes above its untiled demand sets its base for all,+ and the fastest growth per pixel its slope:+ - Under `cudaMallocAsync` FLUX.2's 1536 px tile decoded 4096 px in 8.59 GiB against 7.58 untiled: the tiled line, 12+ bytes per pixel from 906 MiB, holds the 512 px tile at 1.64-2.39x, the 768 px one at 1.35-1.47x and the 1024 px one+ at 1.33-1.34x; its 512 px decodes from 12288 px on are the floor's. SD fp16's 1024 px tile took 3.95 GiB at 3072 px+ against 3.46 (the 0 sentinel's cold run) and its 512 px tile 1.08 GiB from 1536 px against 0.83: the line, 15 bytes+ per pixel from 408 MiB, holds the 512 px tile at 1.33-1.71x, the 768 px one at 1.33-1.37x and the 1024 px one at+ 6144 px at 1.31x. FLUX.1's line, 18 bytes per pixel, with its 512 px decodes from 12288 px left to the floor, holds+ every tile within 1.3x.+ - On MIOpen with the native allocator SD fp16's 768 px tile decoded 2048 px in 2.95 GiB against 2.18 untiled, and+ SD fp32's 512 px tile 3072 px in 3.44 GiB against 2.50 at every other side to 4096 px: bases of 819 and 1013 MiB+ hold the 512 px tiles at 1.52-1.72x. FLUX.1's and FLUX.2's 512 px tiles at 12288 px (5.35 and 4.58 GiB against+ 2.03 untiled) set their decode lines' 22 bytes per pixel, which hold the 1024 px tile there at 1.38x. FLUX.2's+ 512 px tile encoded 12288 px 2.19 GiB above its untiled demand, 16 bytes per pixel, which hold the 1024 px tile+ there at 1.32x; SD fp32's 512 px tile encoded 1024 px 0.48 GiB above its own, which holds the 768 px tile at+ 2048 px at 1.31x.+ - Under `cudaMallocAsync` SD fp32's 1536 px tile encoded 8192 px 1.80 GiB above its untiled demand, 29 bytes per+ pixel, its 512 px tile 12288 px 1.88 GiB above, 13: the line through the former holds the 512 px tile at+ 4096-12288 px at 1.37-1.91x, the 768 px one at 8192 px at 1.43x and the 1024 px one at 12288 px at 1.40x. On+ cuDNN with the native allocator FLUX.2's 512 px tile encoded 12288 px 2.04 GiB above its untiled demand, its 1024+ px tile 0.84 GiB, and at 26624 and 28672 px its encodes lie 0.6-0.7% above the floor, so the line covers them: 17+ bytes per pixel from 15 MiB, it holds the 1024 px tile at 12288 and 16384 px at 1.56x, at 20480 px at 1.41x+ and at 8192 px at 1.32x, the 1536 px tile at 12288 px at 1.34x, the 512 px tile at 6144-8192 px and the 768 px+ one at 8192 px at 1.35-1.46x, and an earlier `reserved_peak` point at 2024 px at 1.34x. Its 1024 px tile decoded+ 16384 px 3.76 GiB above its untiled demand, 15 bytes per pixel: the decode line, 16 from 0, holds the 768 px+ tile at 8192 px at 1.41x. That leaves the decode lines there no headroom. A FLUX.1 or FLUX.2 bf16 decode probe+ that raises the untiled line they share, any above about 4.63 GB at 1024 px, prices that point's tile higher+ and lifts it past its ratio, and no pair of tiled and assembly lines then holds every point within its bound:+ the builder refuses the raise until these exceptions are adjusted.+- The assembly lines of the largest decodes, at 12288 px up to 7x the tile's own demand: SD fp32's at a 512 px tile on+ cuDNN with the native allocator (92 bytes per pixel from 903 MiB) holds 4096-12288 px at 1.34-1.43x; on MIOpen with+ expandable segments SD fp32's (51 from 1607 MiB) holds the 512 px tile at 6144-12288 px at 1.33-1.55x; on MIOpen+ with the native allocator SD fp16's (60 from 1042 MiB) holds the 512 px tile at 6144-12288 px at 1.44-1.62x and the+ 768 and 1024 px ones at 12288 px at 1.35x and 1.30x, SD fp32's (80 from 1402 MiB) the 512 px tile at 8192 px at+ 1.42x. Under `cudaMallocAsync` FLUX.1's (16 from 1125 MiB) covers its 512 px tile's jump and holds 1024 px at 1.35x.+- The floor's conservative counts, with the shipped margin on them (`vae_working_memory._tiled_convolutions`): an+ image a decode node post-processes inside its window, and the distribution an encode node samples, counted as if+ the allocator kept every block the assembly freed. On MIOpen with expandable segments it reuses them: the floor+ decides FLUX.1's decodes at a 512 px tile from 12288 to 24576 px at 1.32-1.34x and SD fp16's at 6144-12288 px at+ 1.32-1.33x, where the counted floor alone lies 1.25-1.27x above them. Under `cudaMallocAsync` FLUX.1's encodes at+ 16384 and 20480 px, its six latent-wide tensors on top, at 1.32x.- The FLUX.2 denoise points are the Klein 4B width at 1440px with a 77-token caption, 8177 tokens, on both cards: thenative allocator served them from 1676 MiB (RTX 4090) and 1879 MiB (RX 9060 XT), while the 512-token caption at8612 tokens took 2382 and 2577 MiB. The line has to cover the latter. Under `cudaMallocAsync` and expandable@@ -122,18 +287,23 @@ def evaluate_point(def fitted_decides(estimate: WorkingMemoryEstimate) -> bool:+ """Whether a fitted term is among those the estimate reserves. A tiled VAE operation's floor carries the untiled+ line's base (`floor_base`, a fitted value), so a point its floor decides is held to the upper bound below as the+ fitted lines' points are; were the base analytic, those points would drop out of it unseen."""return any(term.included and term.coefficient is not None for term in estimate.terms)def upper_bound_ratio(point: MeasuredPoint, spec: "EstimatorSpec", fitted: bool) -> Optional[float]:"""How many times the point its estimate may reserve at most, as a fitted term decides it or not (`fitted`); None- where the point sets it no upper bound. An out-of-fit point checks another term, and a lower-bound-only point is no- cold first run: neither caps a fitted term."""+ where the point sets it no upper bound. An out-of-fit point checks another term, a lower-bound-only point is no+ cold first run, and features the app does not run on their own cap no line (`fit.Line.caps`): none of them caps a+ fitted term, but by a tighter `max_ratio`."""if not point.holds_upper_bound:return Noneif point.max_ratio is not None:return point.max_ratio- if fitted and point.in_fit:+ line = spec.line(point.features)+ if fitted and point.in_fit and (line is None or line.caps):return UPPER_BOUND_EXCEPTIONS.get(point_id(point, spec), MAX_OVER_RESERVATION)return None@@ -166,15 +336,24 @@ def line_bounds(A point bounds the line its estimator's `EstimatorSpec.line` places its features on, on the entry that carries itsvalues (`fit.carrier_of`), where it holds an upper bound with a fitted term deciding (`upper_bound_ratio`). That- includes a point the line does not admit to its fit (`fit.Line.fits`): a tiled, batched or upcast VAE operation, a- denoise forward with an analytic term. Its terms are read where the line's decide (`_DECIDING`), the other included- terms at the bytes `data` prices them at, so the bound reads ``k * size + b * bases + others <= ratio * measured``,- `size` in the units the terms price at the slope (pixels, tokens, a batch's samples). Where another term decides at- the raised line, this holds the line to more than `bound_violation` asks: the line still lies within the point's- ratio.+ includes a point the line does not admit to its fit (`fit.Line.fits`): a batched or upcast VAE operation, a denoise+ forward with an analytic term. Its terms are read where the line's decide (`_DECIDING`), the other included terms at+ the bytes `data` prices them at, so the bound reads ``k * size + b * bases + others <= ratio * measured``, `size` in+ the units the terms price at the slope (pixels, tokens, a batch's samples). Where another term decides at the raised+ line, this holds the line to more than `bound_violation` asks: the line still lies within the point's ratio.++ A point on a line that sits on another (`fit.Line.sits_on`, a tiled VAE operation) bounds neither line. That line is+ not raised (`fit.sitting_pair`); it is fitted after the line beneath, on what that one prices the point's tile at+ (`fit.base_values`). A point with an untiled reference measured at its tile is covered above that reference+ (`fit.point_reading`), so a raise beneath adds to its estimate byte for byte; only a point without one, covered+ above the line beneath, can hand the tile's cost from the line above to it. The result is checked against the+ point's bound (`bound_violation`, in the data test and the builder). That is a known limitation: `fit.raised_pair`+ picks the least raise without the tiled bounds, so the builder can refuse a probe on the untiled line (exit 1) for+ which a steeper raise would keep every tiled bound. A joint fit of the untiled and tiled lines would remove it.The other terms keep the bytes of the values `data` carries, before any refit: a term on a second line that the- same refit moves would be priced at its old value here. No shipped estimator prices one point on two lines."""+ same refit moves would be priced at its old value here. No shipped estimator prices a point that bounds a line on a+ second line that is refitted with it."""files = list(data)entries = [entry for file in files for entry in file.coefficients]bounds: dict[LineKey, list[LineBound]] = {}@@ -182,9 +361,9 @@ def line_bounds(spec = specs[point.estimator]found = spec.line(point.features)ratio = upper_bound_ratio(point, spec, fitted=True)- if found is None or ratio is None:+ if found is None or found.sits_on is not None or ratio is None:continue- carrier = carrier_of(entries, point)+ carrier = carrier_of(entries, point, found.suffix)if found.suffix not in carried_lines(carrier):continuek_name, b_name = f"k_{found.suffix}", f"b_{found.suffix}"diff --git a/invokeai/backend/working_memory/coefficients.py b/invokeai/backend/working_memory/coefficients.pyindex 4e480e9c4c..a78c74258b 100644--- a/invokeai/backend/working_memory/coefficients.py+++ b/invokeai/backend/working_memory/coefficients.py@@ -1,8 +1,9 @@"""The coefficients estimators are evaluated with, and the measured points that bound them.Both ship as JSON under `data/`, read through `importlib.resources` so a wheel install finds them. A coefficient entry-belongs to one estimator version on one measured platform, and either carries its values or borrows another entry's-(`values_from`); a point records the features of an operation that was measured and its measured peak. A carried value+belongs to one estimator version on one measured platform, and carries its values, borrows another entry's+(`values_from`), or carries some and borrows the rest; a point records the features of an operation that was measured+and its measured peak. A carried valueis the fit of the points it is resolved for (`fit.py`), a declared stand-in (`stand_ins`), or a hand-set constant of anentry marked `legacy`. `tests/backend/working_memory/test_shipped_coefficients.py` resolves every entry against its`EstimatorSpec`, holds every point to the estimate the shipped coefficients give it, and every fitted value to the fit@@ -32,23 +33,26 @@ class _DataModel(BaseModel):class ValuesFrom(_DataModel):"""The entry whose values another entry takes: same platform, this estimator id and version. It may carry more- values than the borrower reads -- a family member that runs fewer dtypes reads fewer of them -- never fewer."""+ values than the borrower reads -- a family member that runs fewer dtypes reads fewer of them -- never fewer than the+ borrower reads and does not carry itself."""estimator: strversion: intclass CoefficientEntry(_DataModel):- """The coefficient values of one estimator version on one platform: its own, or another entry's."""+ """The coefficient values of one estimator version on one platform: its own, another entry's, or both."""estimator: strversion: intplatform: dict[str, str]values: dict[str, float] | None = Nonevalues_from: ValuesFrom | None = None- """Borrow the values of another estimator's entry on the same platform, so that its measured points bound this- estimator too, and this estimator's points join the fit of those values. One hop: the entry borrowed from carries- its own values."""+ """Borrow the values this entry does not carry from another estimator's entry on the same platform, so that its+ measured points bound this estimator too, and this estimator's points join the fit of those values. One hop: the+ entry borrowed from carries its own values. An entry may carry lines of its own beside the borrowed ones, never a+ value it also borrows: the family's VAE estimators borrow the untiled convolution lines and carry their own tiled+ lines, which differ per family."""stand_ins: list[str] = []"""Carried values that are declared conservative stand-ins rather than fits: what this platform prices a line noin-fit point measures at. `provenance` says what they stand for; every other carried value is a fit, unless the@@ -56,7 +60,9 @@ class CoefficientEntry(_DataModel):unmeasured_floor: dict[str, float] = {}"""Declared lower bounds, not fits: what carried values are raised to where this entry prices a platform nothingis measured on (see `priced_as`). A fit describes the platform its points were measured on, not the one it stands- in for. `provenance` says where the floors come from."""+ in for. `provenance` says where the floors come from. Each value is raised on its own, so a line whose slope and+ intercept are floored at the largest each takes over several platforms lies on or above every one of their lines+ at every size, whatever their signs: a negative intercept, as an assembly line may have, included."""legacy: bool = False"""True for an entry whose carried values are hand-set constants, not a fit of measured points: no point decidesthem and `fit.py` does not reproduce them, though the points of its estimator still bound its estimates. The data@@ -67,8 +73,8 @@ class CoefficientEntry(_DataModel):@model_validator(mode="after")def _values_or_values_from(self) -> Self:- if (self.values is None) == (self.values_from is None):- raise ValueError("a coefficient entry carries exactly one of `values` and `values_from`")+ if self.values is None and self.values_from is None:+ raise ValueError("a coefficient entry carries `values`, `values_from` or both")for field, names in (("stand-ins", self.stand_ins), ("unmeasured floors", self.unmeasured_floor)):unknown = sorted(set(names) - set(self.values or {}))if unknown:@@ -218,8 +224,8 @@ def resolve_coefficients("""The values `spec` takes on `platform`, and a `source` that says how they were found.A platform nothing is measured on is priced as the measured platform `priced_as` names. The entry for the spec's- id and version that applies there (`find_entry`) either carries the values or borrows them, one hop, from the- entry of another estimator that applies on the same platform. No other fallback: an estimate priced with+ id and version that applies there (`find_entry`) carries the values, or borrows those it does not carry, one hop,+ from the entry of another estimator that applies on the same platform. No other fallback: an estimate priced withcoefficients fitted for something else is the shortfall this data exists to prevent, so a missing, ambiguous,chained or mismatched entry raises, naming what is wrong. `origin` prefixes the `source`.@@ -243,14 +249,21 @@ def resolve_coefficients(f"Working-memory coefficients for estimator '{spec.id}' on {where} borrow from '{lender}', whose ""entry borrows in turn; borrow from the entry that carries the values.")- values = carrier.values- assert values is not None, "a validated entry carries values or values_from"+ own, lent = entry.values or {}, carrier.values if lender else {}+ assert lent is not None, "a lender's entry carries values, checked above"+ shadowed = sorted(set(own) & set(lent))+ if shadowed:+ raise LookupError(+ f"Working-memory coefficients for estimator '{spec.id}' on {where} carry {shadowed}, which they also "+ f"borrow from '{lender}'; carry or borrow each value."+ )+ values = {**lent, **own}# An entry's own values are exactly what its spec reads; a lender's may be more (see `ValuesFrom`).- matches = set(values) == spec.coefficients if lender is None else spec.coefficients <= set(values)+ matches = set(values) == spec.coefficients if lender is None else set(own) <= spec.coefficients <= set(values)if not matches:raise LookupError(f"Working-memory coefficients for estimator '{spec.id}' on {where} provide {sorted(values)}"- f"{f' (from {lender})' if lender else ''}; the estimator reads {sorted(spec.coefficients)}."+ f"{f' (with {lender})' if lender else ''}; the estimator reads {sorted(spec.coefficients)}.")# The source names the spec's keys, and a refining key (the OS) where an entry it read names one.@@ -259,7 +272,8 @@ def resolve_coefficients(read = {name: values[name] for name in sorted(spec.coefficients)}notes = [f"values of {lender}"] if lender else []if spec.platform_keys and measured != platform:- floors = {name: floor for name, floor in carrier.unmeasured_floor.items() if name in read}+ declared = {**(carrier.unmeasured_floor if lender else {}), **entry.unmeasured_floor}+ floors = {name: floor for name, floor in declared.items() if name in read}read |= {name: max(read[name], floor) for name, floor in floors.items()}notes.insert(0, f"priced as {_where({key: full[key] for key in shown})}{', floored' if floors else ''}")note = f" ({', '.join(notes)})" if notes else ""diff --git a/invokeai/backend/working_memory/data/vae.json b/invokeai/backend/working_memory/data/vae.jsonindex 5321cdbec1..074fe3cb3d 100644--- a/invokeai/backend/working_memory/data/vae.json+++ b/invokeai/backend/working_memory/data/vae.json@@ -3,16 +3,44 @@"coefficients": [{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"},+ "values": {+ "k_tiled_decode_fp16": 14,+ "b_tiled_decode_fp16": 0,+ "k_tiled_decode_fp32": 2,+ "b_tiled_decode_fp32": 8388608,+ "k_tiled_encode_fp16": 7,+ "b_tiled_encode_fp16": 26214400,+ "k_tiled_encode_fp32": 15,+ "b_tiled_encode_fp32": 7340032,+ "k_assembled_decode_fp16": 43,+ "b_assembled_decode_fp16": 287309824,+ "k_assembled_decode_fp32": 92,+ "b_assembled_decode_fp32": 946864128+ },"values_from": {"estimator": "vae.sd3","version": 2},- "provenance": "Borrows the lines of its dtypes from vae.sd3, so its points bound them and join their fit: the SD1/SDXL VAE runs the same diffusers AutoencoderKL convolution stack. On Windows with MIOpen's native allocator it borrows vae.sd3's Windows entry."+ "unmeasured_floor": {+ "k_tiled_decode_fp16": 15,+ "b_tiled_decode_fp16": 858783744,+ "k_tiled_decode_fp32": 30,+ "b_tiled_decode_fp32": 1062207488,+ "k_tiled_encode_fp16": 8,+ "b_tiled_encode_fp16": 532676608,+ "k_tiled_encode_fp32": 29,+ "b_tiled_encode_fp32": 529530880,+ "k_assembled_decode_fp16": 60,+ "b_assembled_decode_fp16": 1092616192,+ "k_assembled_decode_fp32": 92,+ "b_assembled_decode_fp32": 1685061632+ },+ "provenance": "Borrows the untiled lines of its dtypes from vae.sd3, so its untiled points bound them and join their fit: the SD1/SDXL VAE runs the same diffusers AutoencoderKL convolution stack. Carries its own tiled lines, `tiled_<operation>_<dtype>`: what a tiled SD1/SDXL operation needs above the untiled line at its tile, per image pixel and a base; and its decode's assembly lines, `assembled_decode_<dtype>`: what a tiled decode needs once it assembles the image from its tiles, per image pixel and a base that may be negative, reserved where that phase is the larger. Fitted lines are working_memory/fit.py's: fp16 and fp32 on the RTX 4090 (torch 2.13+cu130, Windows) tiled points of scripts/calibrate_vae_tiling_working_memory.py (2026-10-19: image sides 1024 to 12288 px with 512 and 1024 px tiles, 2048 to 12288 px with a 1536 px tile, and 2048 to 8192 px with 256 and 768 px tiles, the 256 px ones as lower bounds only), the tiled lines fitted on what they measured above the untiled demand these runs measured at their tile, and rated with the shipped untiled line there, the decode's together with its assembly line (`fit.two_phase_envelope`), each plus 5%. Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each tiled and assembly value is floored at its largest over the measured platforms."},{"estimator": "vae.sd3",@@ -22,18 +50,18 @@"allocator": "native"},"values": {- "k_decode_fp16": 4597,- "b_decode_fp16": 83886080,- "k_decode_bf16": 4500,- "b_decode_bf16": 68157440,- "k_decode_fp32": 7702,- "b_decode_fp32": 0,- "k_encode_fp16": 2226,- "b_encode_fp16": 22020096,- "k_encode_bf16": 2249,- "b_encode_bf16": 18874368,- "k_encode_fp32": 3236,- "b_encode_fp32": 41943040+ "k_decode_fp16": 4528,+ "b_decode_fp16": 124780544,+ "k_decode_bf16": 4499,+ "b_decode_bf16": 141557760,+ "k_decode_fp32": 7506,+ "b_decode_fp32": 116391936,+ "k_encode_fp16": 2243,+ "b_encode_fp16": 102760448,+ "k_encode_bf16": 2240,+ "b_encode_bf16": 106954752,+ "k_encode_fp32": 3242,+ "b_encode_fp32": 128974848},"unmeasured_floor": {"k_decode_fp16": 4400,@@ -43,33 +71,123 @@"k_encode_bf16": 2200,"k_encode_fp32": 4400},- "provenance": "The AutoencoderKL family's convolution lines (bytes per output pixel, and a base in bytes) per operation and dtype, carried by vae.sd3 as the one member that runs all three dtypes; vae.sd, vae.flux and vae.flux2 borrow the lines of theirs. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%; tiled points only bound their estimates. Fitted on the RTX 4090 points (torch 2.13 and, for the older FLUX.2 rows, 2.7.1) of the SDXL VAE (fp16, fp32), the FLUX.1 VAE (bf16, fp32) and the FLUX.2 VAE (bf16, fp32). Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each slope is floored at the figure these estimators priced every dtype at before lines per dtype: 2200 bytes per pixel per element byte for a decode, 1100 for an encode."+ "provenance": "The AutoencoderKL family's convolution lines (bytes per output pixel, and a base in bytes) per operation and dtype, carried by vae.sd3 as the one member that runs all three dtypes; vae.sd, vae.flux and vae.flux2 borrow the lines of theirs. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%; the tiled points fit the tiled lines vae.sd, vae.flux and vae.flux2 carry themselves. Fitted on the RTX 4090 points (torch 2.13 and, for the older FLUX.2 rows, 2.7.1) of the SDXL VAE (fp16, fp32), the FLUX.1 VAE (bf16, fp32) and the FLUX.2 VAE (bf16, fp32). Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each slope is floored at the figure these estimators priced every dtype at before lines per dtype: 2200 bytes per pixel per element byte for a decode, 1100 for an encode. Refitted on its points by scripts/working_memory/build_shipped.py."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"},+ "values": {+ "k_tiled_decode_fp16": 14,+ "b_tiled_decode_fp16": 46137344,+ "k_tiled_decode_bf16": 1,+ "b_tiled_decode_bf16": 46137344,+ "k_tiled_decode_fp32": 2,+ "b_tiled_decode_fp32": 92274688,+ "k_tiled_encode_fp16": 11,+ "b_tiled_encode_fp16": 26214400,+ "k_tiled_encode_bf16": 11,+ "b_tiled_encode_bf16": 19922944,+ "k_tiled_encode_fp32": 22,+ "b_tiled_encode_fp32": 39845888,+ "k_assembled_decode_fp16": 45,+ "b_assembled_decode_fp16": 287309824,+ "k_assembled_decode_bf16": 45,+ "b_assembled_decode_bf16": 256901120,+ "k_assembled_decode_fp32": 92,+ "b_assembled_decode_fp32": 946864128+ },"values_from": {"estimator": "vae.sd3","version": 2},- "provenance": "Borrows the lines of its dtypes from vae.sd3, so its points bound them and join their fit: the FLUX.1 VAE runs the same diffusers AutoencoderKL convolution stack. On Windows with MIOpen's native allocator it borrows vae.sd3's Windows entry."+ "stand_ins": [+ "k_tiled_decode_fp16",+ "b_tiled_decode_fp16",+ "k_tiled_decode_fp32",+ "b_tiled_decode_fp32",+ "k_tiled_encode_fp16",+ "b_tiled_encode_fp16",+ "k_tiled_encode_fp32",+ "b_tiled_encode_fp32",+ "k_assembled_decode_fp16",+ "b_assembled_decode_fp16",+ "k_assembled_decode_fp32",+ "b_assembled_decode_fp32"+ ],+ "unmeasured_floor": {+ "k_tiled_decode_fp16": 22,+ "b_tiled_decode_fp16": 858783744,+ "k_tiled_decode_bf16": 22,+ "b_tiled_decode_bf16": 475004928,+ "k_tiled_decode_fp32": 44,+ "b_tiled_decode_fp32": 1062207488,+ "k_tiled_encode_fp16": 12,+ "b_tiled_encode_fp16": 532676608,+ "k_tiled_encode_bf16": 12,+ "b_tiled_encode_bf16": 274726912,+ "k_tiled_encode_fp32": 29,+ "b_tiled_encode_fp32": 549453824,+ "k_assembled_decode_fp16": 60,+ "b_assembled_decode_fp16": 2457862144,+ "k_assembled_decode_bf16": 45,+ "b_assembled_decode_bf16": 2457862144,+ "k_assembled_decode_fp32": 92,+ "b_assembled_decode_fp32": 4915724288+ },+ "provenance": "Borrows the untiled lines of its dtypes from vae.sd3, so its untiled points bound them and join their fit: the FLUX.1 VAE runs the same diffusers AutoencoderKL convolution stack. Carries its own tiled lines, `tiled_<operation>_<dtype>`: what a tiled FLUX.1 operation needs above the untiled line at its tile, per image pixel and a base; and its decode's assembly lines, `assembled_decode_<dtype>`: what a tiled decode needs once it assembles the image from its tiles, per image pixel and a base that may be negative, reserved where that phase is the larger. Fitted lines are working_memory/fit.py's: bf16 on the RTX 4090 (torch 2.13+cu130, Windows) tiled points of scripts/calibrate_vae_tiling_working_memory.py (2026-10-19: image sides 1024 to 12288 px with 512 and 1024 px tiles, 2048 to 12288 px with a 1536 px tile, and 2048 to 8192 px with 256 and 768 px tiles, the 256 px ones as lower bounds only), the tiled lines fitted on what they measured above the untiled demand these runs measured at their tile, and rated with the shipped untiled line there, the decode's together with its assembly line (`fit.two_phase_envelope`), each plus 5%. Stand-ins, no tiled point measures them: fp16 and fp32 at, value by value, the larger of the SDXL VAE's tiled and assembly lines of the same operation and dtype on this platform and this family's own bf16 lines scaled by the element size (twice for fp32): the FLUX encoders emit 4 to 8 times the SDXL VAE's moment channels, and a FLUX decode's node and allocator show in its own lines. Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each tiled and assembly value is floored at its largest over the measured platforms. Refitted on its points by scripts/working_memory/build_shipped.py."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"},+ "values": {+ "k_tiled_decode_bf16": 16,+ "b_tiled_decode_bf16": 0,+ "k_tiled_decode_fp32": 32,+ "b_tiled_decode_fp32": 8388608,+ "k_tiled_encode_bf16": 17,+ "b_tiled_encode_bf16": 15728640,+ "k_tiled_encode_fp32": 34,+ "b_tiled_encode_fp32": 31457280,+ "k_assembled_decode_bf16": 25,+ "b_assembled_decode_bf16": 745537536,+ "k_assembled_decode_fp32": 92,+ "b_assembled_decode_fp32": 1491075072+ },"values_from": {"estimator": "vae.sd3","version": 2},- "provenance": "Borrows the lines of its dtypes from vae.sd3, so its points bound them and join their fit: the FLUX.2 VAE runs the same diffusers AutoencoderKL convolution stack. On Windows with MIOpen's native allocator it borrows vae.sd3's Windows entry."+ "stand_ins": [+ "k_tiled_decode_fp32",+ "b_tiled_decode_fp32",+ "k_tiled_encode_fp32",+ "b_tiled_encode_fp32",+ "k_assembled_decode_fp32",+ "b_assembled_decode_fp32"+ ],+ "unmeasured_floor": {+ "k_tiled_decode_bf16": 22,+ "b_tiled_decode_bf16": 950009856,+ "k_tiled_decode_fp32": 44,+ "b_tiled_decode_fp32": 1900019712,+ "k_tiled_encode_bf16": 17,+ "b_tiled_encode_bf16": 150994944,+ "k_tiled_encode_fp32": 34,+ "b_tiled_encode_fp32": 529530880,+ "k_assembled_decode_bf16": 25,+ "b_assembled_decode_bf16": 870318080,+ "k_assembled_decode_fp32": 92,+ "b_assembled_decode_fp32": 1740636160+ },+ "provenance": "Borrows the untiled lines of its dtypes from vae.sd3, so its untiled points bound them and join their fit: the FLUX.2 VAE runs the same diffusers AutoencoderKL convolution stack. Carries its own tiled lines, `tiled_<operation>_<dtype>`: what a tiled FLUX.2 operation needs above the untiled line at its tile, per image pixel and a base; and its decode's assembly lines, `assembled_decode_<dtype>`: what a tiled decode needs once it assembles the image from its tiles, per image pixel and a base that may be negative, reserved where that phase is the larger. Fitted lines are working_memory/fit.py's: bf16 on the RTX 4090 (torch 2.13+cu130, Windows) tiled points of scripts/calibrate_vae_tiling_working_memory.py (2026-10-19: image sides 1024 to 12288 px with 512 and 1024 px tiles, 2048 to 12288 px with a 1536 px tile, and 2048 to 8192 px with 256 and 768 px tiles, the 256 px ones as lower bounds only) and the #9519 reference-image encode at 2024 px, the tiled lines fitted on what they measured above the untiled demand these runs measured at their tile, and rated with the shipped untiled line there, the decode's together with its assembly line (`fit.two_phase_envelope`), each plus 5%. Stand-ins, no tiled point measures them: fp32 at, value by value, the larger of the SDXL VAE's tiled and assembly lines of the same operation and dtype on this platform and this family's own bf16 lines scaled by the element size (twice for fp32): the FLUX encoders emit 4 to 8 times the SDXL VAE's moment channels, and a FLUX decode's node and allocator show in its own lines. Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each tiled and assembly value is floored at its largest over the measured platforms. Refitted on its points by scripts/working_memory/build_shipped.py."},{"estimator": "vae.cogview4",@@ -88,20 +206,34 @@"k_decode_bf16": 4400,"k_encode_bf16": 2200},- "provenance": "The CogView4 VAE's own lines: an AutoencoderKL, but not the family's stack (block widths 128/512/1024/1024, three layers per block, no mid-block attention), and a decode costs ~1.9x the family's. bf16 only: its loader forces it. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%; tiled points only bound their estimates. Fitted on its RTX 4090 points (torch 2.13, native allocator). Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each slope is floored at the figure these estimators priced every dtype at before lines per dtype: 2200 bytes per pixel per element byte for a decode, 1100 for an encode."+ "provenance": "The CogView4 VAE's own lines: an AutoencoderKL, but not the family's stack (block widths 128/512/1024/1024, three layers per block, no mid-block attention), and a decode costs ~1.9x the family's. bf16 only: its loader forces it. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%. Fitted on its RTX 4090 points (torch 2.13, native allocator). Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each slope is floored at the figure these estimators priced every dtype at before lines per dtype: 2200 bytes per pixel per element byte for a decode, 1100 for an encode."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"},+ "values": {+ "k_tiled_decode_fp16": 15,+ "b_tiled_decode_fp16": 427819008,+ "k_tiled_decode_fp32": 30,+ "b_tiled_decode_fp32": 0,+ "k_tiled_encode_fp16": 8,+ "b_tiled_encode_fp16": 7340032,+ "k_tiled_encode_fp32": 29,+ "b_tiled_encode_fp32": 130023424,+ "k_assembled_decode_fp16": 38,+ "b_assembled_decode_fp16": 53477376,+ "k_assembled_decode_fp32": 72,+ "b_assembled_decode_fp32": 147849216+ },"values_from": {"estimator": "vae.sd3","version": 2},- "provenance": "Borrows the lines of its dtypes from vae.sd3, so its points bound them and join their fit: the SD1/SDXL VAE runs the same diffusers AutoencoderKL convolution stack. On Windows with MIOpen's native allocator it borrows vae.sd3's Windows entry."+ "provenance": "Borrows the untiled lines of its dtypes from vae.sd3, so its untiled points bound them and join their fit: the SD1/SDXL VAE runs the same diffusers AutoencoderKL convolution stack. Carries its own tiled lines, `tiled_<operation>_<dtype>`: what a tiled SD1/SDXL operation needs above the untiled line at its tile, per image pixel and a base; and its decode's assembly lines, `assembled_decode_<dtype>`: what a tiled decode needs once it assembles the image from its tiles, per image pixel and a base that may be negative, reserved where that phase is the larger. Fitted lines are working_memory/fit.py's: fp16 and fp32 on the RTX 4090 (torch 2.13+cu130, Windows, backend:cudaMallocAsync) tiled points of scripts/calibrate_vae_tiling_working_memory.py (2026-10-19: image sides 1024 to 12288 px with 512 and 1024 px tiles, 2048 to 12288 px with a 1536 px tile, and 2048 to 8192 px with 256 and 768 px tiles, the 256 px ones as lower bounds only), the tiled lines fitted on what they measured above the untiled demand these runs measured at their tile, and rated with the shipped untiled line there, the decode's together with its assembly line (`fit.two_phase_envelope`), each plus 5%."},{"estimator": "vae.sd3",@@ -111,46 +243,102 @@"allocator": "cudaMallocAsync"},"values": {- "k_decode_fp16": 3797,- "b_decode_fp16": 0,- "k_decode_bf16": 3614,- "b_decode_bf16": 0,- "k_decode_fp32": 5914,- "b_decode_fp32": 13631488,+ "k_decode_fp16": 3587,+ "b_decode_fp16": 135266304,+ "k_decode_bf16": 3584,+ "b_decode_bf16": 135266304,+ "k_decode_fp32": 5760,+ "b_decode_fp32": 126877696,"k_encode_fp16": 1882,- "b_encode_fp16": 17825792,+ "b_encode_fp16": 123731968,"k_encode_bf16": 1882,- "b_encode_bf16": 17825792,- "k_encode_fp32": 2722,- "b_encode_fp32": 3145728+ "b_encode_bf16": 123731968,+ "k_encode_fp32": 2704,+ "b_encode_fp32": 116391936},- "provenance": "The AutoencoderKL family's convolution lines (bytes per output pixel, and a base in bytes) per operation and dtype, carried by vae.sd3 as the one member that runs all three dtypes; vae.sd, vae.flux and vae.flux2 borrow the lines of theirs. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%; tiled points only bound their estimates. Fitted on the RTX 4090 points (torch 2.13, backend:cudaMallocAsync) of the SDXL VAE (fp16, fp32), the FLUX.1 VAE (bf16, fp32) and the FLUX.2 VAE (bf16, fp32)."+ "provenance": "The AutoencoderKL family's convolution lines (bytes per output pixel, and a base in bytes) per operation and dtype, carried by vae.sd3 as the one member that runs all three dtypes; vae.sd, vae.flux and vae.flux2 borrow the lines of theirs. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%; the tiled points fit the tiled lines vae.sd, vae.flux and vae.flux2 carry themselves. Fitted on the RTX 4090 points (torch 2.13, backend:cudaMallocAsync) of the SDXL VAE (fp16, fp32), the FLUX.1 VAE (bf16, fp32) and the FLUX.2 VAE (bf16, fp32). Refitted on its points by scripts/working_memory/build_shipped.py."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"},+ "values": {+ "k_tiled_decode_fp16": 18,+ "b_tiled_decode_fp16": 427819008,+ "k_tiled_decode_bf16": 18,+ "b_tiled_decode_bf16": 0,+ "k_tiled_decode_fp32": 36,+ "b_tiled_decode_fp32": 0,+ "k_tiled_encode_fp16": 10,+ "b_tiled_encode_fp16": 7340032,+ "k_tiled_encode_bf16": 10,+ "b_tiled_encode_bf16": 0,+ "k_tiled_encode_fp32": 29,+ "b_tiled_encode_fp32": 130023424,+ "k_assembled_decode_fp16": 38,+ "b_assembled_decode_fp16": 1179648000,+ "k_assembled_decode_bf16": 16,+ "b_assembled_decode_bf16": 1179648000,+ "k_assembled_decode_fp32": 72,+ "b_assembled_decode_fp32": 2359296000+ },"values_from": {"estimator": "vae.sd3","version": 2},- "provenance": "Borrows the lines of its dtypes from vae.sd3, so its points bound them and join their fit: the FLUX.1 VAE runs the same diffusers AutoencoderKL convolution stack. On Windows with MIOpen's native allocator it borrows vae.sd3's Windows entry."+ "stand_ins": [+ "k_tiled_decode_fp16",+ "b_tiled_decode_fp16",+ "k_tiled_decode_fp32",+ "b_tiled_decode_fp32",+ "k_tiled_encode_fp16",+ "b_tiled_encode_fp16",+ "k_tiled_encode_fp32",+ "b_tiled_encode_fp32",+ "k_assembled_decode_fp16",+ "b_assembled_decode_fp16",+ "k_assembled_decode_fp32",+ "b_assembled_decode_fp32"+ ],+ "provenance": "Borrows the untiled lines of its dtypes from vae.sd3, so its untiled points bound them and join their fit: the FLUX.1 VAE runs the same diffusers AutoencoderKL convolution stack. Carries its own tiled lines, `tiled_<operation>_<dtype>`: what a tiled FLUX.1 operation needs above the untiled line at its tile, per image pixel and a base; and its decode's assembly lines, `assembled_decode_<dtype>`: what a tiled decode needs once it assembles the image from its tiles, per image pixel and a base that may be negative, reserved where that phase is the larger. Fitted lines are working_memory/fit.py's: bf16 on the RTX 4090 (torch 2.13+cu130, Windows, backend:cudaMallocAsync) tiled points of scripts/calibrate_vae_tiling_working_memory.py (2026-10-19: image sides 1024 to 12288 px with 512 and 1024 px tiles, 2048 to 12288 px with a 1536 px tile, and 2048 to 8192 px with 256 and 768 px tiles, the 256 px ones as lower bounds only), the tiled lines fitted on what they measured above the untiled demand these runs measured at their tile, and rated with the shipped untiled line there, the decode's together with its assembly line (`fit.two_phase_envelope`), each plus 5%. Stand-ins, no tiled point measures them: fp16 and fp32 at, value by value, the larger of the SDXL VAE's tiled and assembly lines of the same operation and dtype on this platform and this family's own bf16 lines scaled by the element size (twice for fp32): the FLUX encoders emit 4 to 8 times the SDXL VAE's moment channels, and a FLUX decode's node and allocator show in its own lines. Refitted on its points by scripts/working_memory/build_shipped.py."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"},+ "values": {+ "k_tiled_decode_bf16": 12,+ "b_tiled_decode_bf16": 950009856,+ "k_tiled_decode_fp32": 30,+ "b_tiled_decode_fp32": 1900019712,+ "k_tiled_encode_bf16": 11,+ "b_tiled_encode_bf16": 26214400,+ "k_tiled_encode_fp32": 29,+ "b_tiled_encode_fp32": 130023424,+ "k_assembled_decode_bf16": 0,+ "b_assembled_decode_bf16": 0,+ "k_assembled_decode_fp32": 72,+ "b_assembled_decode_fp32": 147849216+ },"values_from": {"estimator": "vae.sd3","version": 2},- "provenance": "Borrows the lines of its dtypes from vae.sd3, so its points bound them and join their fit: the FLUX.2 VAE runs the same diffusers AutoencoderKL convolution stack. On Windows with MIOpen's native allocator it borrows vae.sd3's Windows entry."+ "stand_ins": [+ "k_tiled_decode_fp32",+ "b_tiled_decode_fp32",+ "k_tiled_encode_fp32",+ "b_tiled_encode_fp32",+ "k_assembled_decode_fp32",+ "b_assembled_decode_fp32"+ ],+ "provenance": "Borrows the untiled lines of its dtypes from vae.sd3, so its untiled points bound them and join their fit: the FLUX.2 VAE runs the same diffusers AutoencoderKL convolution stack. Carries its own tiled lines, `tiled_<operation>_<dtype>`: what a tiled FLUX.2 operation needs above the untiled line at its tile, per image pixel and a base; and its decode's assembly lines, `assembled_decode_<dtype>`: what a tiled decode needs once it assembles the image from its tiles, per image pixel and a base that may be negative, reserved where that phase is the larger. Fitted lines are working_memory/fit.py's: bf16 on the RTX 4090 (torch 2.13+cu130, Windows, backend:cudaMallocAsync) tiled points of scripts/calibrate_vae_tiling_working_memory.py (2026-10-19: image sides 1024 to 12288 px with 512 and 1024 px tiles, 2048 to 12288 px with a 1536 px tile, and 2048 to 8192 px with 256 and 768 px tiles, the 256 px ones as lower bounds only), the tiled lines fitted on what they measured above the untiled demand these runs measured at their tile, and rated with the shipped untiled line there, the decode's together with its assembly line (`fit.two_phase_envelope`), each plus 5%. The bf16 assembly line is zero: the tile's own phase covers every point. Stand-ins, no tiled point measures them: fp32 at, value by value, the larger of the SDXL VAE's tiled and assembly lines of the same operation and dtype on this platform and this family's own bf16 lines scaled by the element size (twice for fp32): the FLUX encoders emit 4 to 8 times the SDXL VAE's moment channels, and a FLUX decode's node and allocator show in its own lines. Refitted on its points by scripts/working_memory/build_shipped.py."},{"estimator": "vae.cogview4",@@ -165,20 +353,62 @@"k_encode_bf16": 1882,"b_encode_bf16": 9437184},- "provenance": "The CogView4 VAE's own lines: an AutoencoderKL, but not the family's stack (block widths 128/512/1024/1024, three layers per block, no mid-block attention), and a decode costs ~1.9x the family's. bf16 only: its loader forces it. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%; tiled points only bound their estimates. Fitted on its RTX 4090 points (torch 2.13, backend:cudaMallocAsync)."+ "provenance": "The CogView4 VAE's own lines: an AutoencoderKL, but not the family's stack (block widths 128/512/1024/1024, three layers per block, no mid-block attention), and a decode costs ~1.9x the family's. bf16 only: its loader forces it. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%. Fitted on its RTX 4090 points (torch 2.13, backend:cudaMallocAsync)."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native"},+ "values": {+ "k_tiled_decode_fp16": 15,+ "b_tiled_decode_fp16": 858783744,+ "k_tiled_decode_fp32": 30,+ "b_tiled_decode_fp32": 1062207488,+ "k_tiled_encode_fp16": 8,+ "b_tiled_encode_fp16": 532676608,+ "k_tiled_encode_fp32": 29,+ "b_tiled_encode_fp32": 529530880,+ "k_assembled_decode_fp16": 60,+ "b_assembled_decode_fp16": 1092616192,+ "k_assembled_decode_fp32": 92,+ "b_assembled_decode_fp32": 1685061632+ },"values_from": {"estimator": "vae.sd3","version": 2},- "provenance": "Borrows the lines of its dtypes from vae.sd3, so its points bound them and join their fit: the SD1/SDXL VAE runs the same diffusers AutoencoderKL convolution stack. On Windows with MIOpen's native allocator it borrows vae.sd3's Windows entry."+ "stand_ins": [+ "k_tiled_decode_fp16",+ "b_tiled_decode_fp16",+ "k_tiled_decode_fp32",+ "b_tiled_decode_fp32",+ "k_tiled_encode_fp16",+ "b_tiled_encode_fp16",+ "k_tiled_encode_fp32",+ "b_tiled_encode_fp32",+ "k_assembled_decode_fp16",+ "b_assembled_decode_fp16",+ "k_assembled_decode_fp32",+ "b_assembled_decode_fp32"+ ],+ "unmeasured_floor": {+ "k_tiled_decode_fp16": 15,+ "b_tiled_decode_fp16": 858783744,+ "k_tiled_decode_fp32": 30,+ "b_tiled_decode_fp32": 1062207488,+ "k_tiled_encode_fp16": 8,+ "b_tiled_encode_fp16": 532676608,+ "k_tiled_encode_fp32": 29,+ "b_tiled_encode_fp32": 529530880,+ "k_assembled_decode_fp16": 60,+ "b_assembled_decode_fp16": 1092616192,+ "k_assembled_decode_fp32": 92,+ "b_assembled_decode_fp32": 1685061632+ },+ "provenance": "Borrows the untiled lines of its dtypes from vae.sd3, so its untiled points bound them and join their fit: the SD1/SDXL VAE runs the same diffusers AutoencoderKL convolution stack. Carries its own tiled lines, `tiled_<operation>_<dtype>`: what a tiled SD1/SDXL operation needs above the untiled line at its tile, per image pixel and a base; and its decode's assembly lines, `assembled_decode_<dtype>`: what a tiled decode needs once it assembles the image from its tiles, per image pixel and a base that may be negative, reserved where that phase is the larger. Every OS but Windows, which has its own entry. No tiled point measures this platform: every tiled and assembly line is a stand-in at its unmeasured floor, the largest of each value over the measured platforms (RTX 4090 native and cudaMallocAsync, RX 9060 XT native and expandable segments on Windows), as the untiled stand-ins here take the conservative figure. The same floors apply where this entry prices a platform nothing is measured on."},{"estimator": "vae.sd3",@@ -219,33 +449,135 @@"k_encode_bf16": 5500,"k_encode_fp32": 11000},- "provenance": "The AutoencoderKL family's convolution lines (bytes per output pixel, and a base in bytes) per operation and dtype, carried by vae.sd3 as the one member that runs all three dtypes; vae.sd, vae.flux and vae.flux2 borrow the lines of theirs. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%; tiled points only bound their estimates. Every OS but Windows, which has its own entry. Fitted: bf16 on the FLUX.2 VAE points of Linux with the native allocator (RX 9070 XT gfx1201 and PRO W7900 gfx1100, torch 2.10). Stand-ins, no measurement here: fp16 and fp32 at 3600 decode / 2750 encode bytes per pixel per element byte, no base, the pre-dtype figure. Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each slope is floored at the figure these estimators priced every dtype at before lines per dtype: 3600 bytes per pixel per element byte for a decode, 2750 for an encode."+ "provenance": "The AutoencoderKL family's convolution lines (bytes per output pixel, and a base in bytes) per operation and dtype, carried by vae.sd3 as the one member that runs all three dtypes; vae.sd, vae.flux and vae.flux2 borrow the lines of theirs. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%; the tiled points fit the tiled lines vae.sd, vae.flux and vae.flux2 carry themselves. Every OS but Windows, which has its own entry. Fitted: bf16 on the FLUX.2 VAE points of Linux with the native allocator (RX 9070 XT gfx1201 and PRO W7900 gfx1100, torch 2.10). Stand-ins, no measurement here: fp16 and fp32 at 3600 decode / 2750 encode bytes per pixel per element byte, no base, the pre-dtype figure. Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each slope is floored at the figure these estimators priced every dtype at before lines per dtype: 3600 bytes per pixel per element byte for a decode, 2750 for an encode."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native"},+ "values": {+ "k_tiled_decode_fp16": 22,+ "b_tiled_decode_fp16": 858783744,+ "k_tiled_decode_bf16": 22,+ "b_tiled_decode_bf16": 475004928,+ "k_tiled_decode_fp32": 44,+ "b_tiled_decode_fp32": 1062207488,+ "k_tiled_encode_fp16": 12,+ "b_tiled_encode_fp16": 532676608,+ "k_tiled_encode_bf16": 12,+ "b_tiled_encode_bf16": 274726912,+ "k_tiled_encode_fp32": 29,+ "b_tiled_encode_fp32": 549453824,+ "k_assembled_decode_fp16": 60,+ "b_assembled_decode_fp16": 2457862144,+ "k_assembled_decode_bf16": 45,+ "b_assembled_decode_bf16": 2457862144,+ "k_assembled_decode_fp32": 92,+ "b_assembled_decode_fp32": 4915724288+ },"values_from": {"estimator": "vae.sd3","version": 2},- "provenance": "Borrows the lines of its dtypes from vae.sd3, so its points bound them and join their fit: the FLUX.1 VAE runs the same diffusers AutoencoderKL convolution stack. On Windows with MIOpen's native allocator it borrows vae.sd3's Windows entry."+ "stand_ins": [+ "k_tiled_decode_fp16",+ "b_tiled_decode_fp16",+ "k_tiled_decode_bf16",+ "b_tiled_decode_bf16",+ "k_tiled_decode_fp32",+ "b_tiled_decode_fp32",+ "k_tiled_encode_fp16",+ "b_tiled_encode_fp16",+ "k_tiled_encode_bf16",+ "b_tiled_encode_bf16",+ "k_tiled_encode_fp32",+ "b_tiled_encode_fp32",+ "k_assembled_decode_fp16",+ "b_assembled_decode_fp16",+ "k_assembled_decode_bf16",+ "b_assembled_decode_bf16",+ "k_assembled_decode_fp32",+ "b_assembled_decode_fp32"+ ],+ "unmeasured_floor": {+ "k_tiled_decode_fp16": 22,+ "b_tiled_decode_fp16": 858783744,+ "k_tiled_decode_bf16": 22,+ "b_tiled_decode_bf16": 475004928,+ "k_tiled_decode_fp32": 44,+ "b_tiled_decode_fp32": 1062207488,+ "k_tiled_encode_fp16": 12,+ "b_tiled_encode_fp16": 532676608,+ "k_tiled_encode_bf16": 12,+ "b_tiled_encode_bf16": 274726912,+ "k_tiled_encode_fp32": 29,+ "b_tiled_encode_fp32": 549453824,+ "k_assembled_decode_fp16": 60,+ "b_assembled_decode_fp16": 2457862144,+ "k_assembled_decode_bf16": 45,+ "b_assembled_decode_bf16": 2457862144,+ "k_assembled_decode_fp32": 92,+ "b_assembled_decode_fp32": 4915724288+ },+ "provenance": "Borrows the untiled lines of its dtypes from vae.sd3, so its untiled points bound them and join their fit: the FLUX.1 VAE runs the same diffusers AutoencoderKL convolution stack. Carries its own tiled lines, `tiled_<operation>_<dtype>`: what a tiled FLUX.1 operation needs above the untiled line at its tile, per image pixel and a base; and its decode's assembly lines, `assembled_decode_<dtype>`: what a tiled decode needs once it assembles the image from its tiles, per image pixel and a base that may be negative, reserved where that phase is the larger. Every OS but Windows, which has its own entry. No tiled point measures this platform: every tiled and assembly line is a stand-in at its unmeasured floor, the largest of each value over the measured platforms (RTX 4090 native and cudaMallocAsync, RX 9060 XT native and expandable segments on Windows), as the untiled stand-ins here take the conservative figure. The same floors apply where this entry prices a platform nothing is measured on."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native"},+ "values": {+ "k_tiled_decode_bf16": 22,+ "b_tiled_decode_bf16": 950009856,+ "k_tiled_decode_fp32": 44,+ "b_tiled_decode_fp32": 1900019712,+ "k_tiled_encode_bf16": 17,+ "b_tiled_encode_bf16": 150994944,+ "k_tiled_encode_fp32": 34,+ "b_tiled_encode_fp32": 529530880,+ "k_assembled_decode_bf16": 25,+ "b_assembled_decode_bf16": 870318080,+ "k_assembled_decode_fp32": 92,+ "b_assembled_decode_fp32": 1740636160+ },"values_from": {"estimator": "vae.sd3","version": 2},- "provenance": "Borrows the lines of its dtypes from vae.sd3, so its points bound them and join their fit: the FLUX.2 VAE runs the same diffusers AutoencoderKL convolution stack. On Windows with MIOpen's native allocator it borrows vae.sd3's Windows entry."+ "stand_ins": [+ "k_tiled_decode_bf16",+ "b_tiled_decode_bf16",+ "k_tiled_decode_fp32",+ "b_tiled_decode_fp32",+ "k_tiled_encode_bf16",+ "b_tiled_encode_bf16",+ "k_tiled_encode_fp32",+ "b_tiled_encode_fp32",+ "k_assembled_decode_bf16",+ "b_assembled_decode_bf16",+ "k_assembled_decode_fp32",+ "b_assembled_decode_fp32"+ ],+ "unmeasured_floor": {+ "k_tiled_decode_bf16": 22,+ "b_tiled_decode_bf16": 950009856,+ "k_tiled_decode_fp32": 44,+ "b_tiled_decode_fp32": 1900019712,+ "k_tiled_encode_bf16": 17,+ "b_tiled_encode_bf16": 150994944,+ "k_tiled_encode_fp32": 34,+ "b_tiled_encode_fp32": 529530880,+ "k_assembled_decode_bf16": 25,+ "b_assembled_decode_bf16": 870318080,+ "k_assembled_decode_fp32": 92,+ "b_assembled_decode_fp32": 1740636160+ },+ "provenance": "Borrows the untiled lines of its dtypes from vae.sd3, so its untiled points bound them and join their fit: the FLUX.2 VAE runs the same diffusers AutoencoderKL convolution stack. Carries its own tiled lines, `tiled_<operation>_<dtype>`: what a tiled FLUX.2 operation needs above the untiled line at its tile, per image pixel and a base; and its decode's assembly lines, `assembled_decode_<dtype>`: what a tiled decode needs once it assembles the image from its tiles, per image pixel and a base that may be negative, reserved where that phase is the larger. Every OS but Windows, which has its own entry. No tiled point measures this platform: every tiled and assembly line is a stand-in at its unmeasured floor, the largest of each value over the measured platforms (RTX 4090 native and cudaMallocAsync, RX 9060 XT native and expandable segments on Windows), as the untiled stand-ins here take the conservative figure. The same floors apply where this entry prices a platform nothing is measured on."},{"estimator": "vae.cogview4",@@ -270,7 +602,7 @@"k_decode_bf16": 7200,"k_encode_bf16": 5500},- "provenance": "The CogView4 VAE's own lines: an AutoencoderKL, but not the family's stack (block widths 128/512/1024/1024, three layers per block, no mid-block attention), and a decode costs ~1.9x the family's. bf16 only: its loader forces it. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%; tiled points only bound their estimates. Every OS but Windows, which has its own entry. Not measured here: both lines are stand-ins at its fitted MIOpen expandable-segments lines, as the family's bf16 lines measure the same under the native allocator on Linux and under expandable segments on Windows (7208 vs 7117 MiB decode at 1024px), with each slope raised to the pre-dtype figure where that is larger (the encode). Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each slope is floored at the figure these estimators priced every dtype at before lines per dtype: 3600 bytes per pixel per element byte for a decode, 2750 for an encode."+ "provenance": "The CogView4 VAE's own lines: an AutoencoderKL, but not the family's stack (block widths 128/512/1024/1024, three layers per block, no mid-block attention), and a decode costs ~1.9x the family's. bf16 only: its loader forces it. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%. Every OS but Windows, which has its own entry. Not measured here: both lines are stand-ins at its fitted MIOpen expandable-segments lines, as the family's bf16 lines measure the same under the native allocator on Linux and under expandable segments on Windows (7208 vs 7117 MiB decode at 1024px), with each slope raised to the pre-dtype figure where that is larger (the encode). Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each slope is floored at the figure these estimators priced every dtype at before lines per dtype: 3600 bytes per pixel per element byte for a decode, 2750 for an encode."},{"estimator": "vae.sd3",@@ -281,18 +613,18 @@"os": "windows"},"values": {- "k_decode_fp16": 3710,- "b_decode_fp16": 274726912,- "k_decode_bf16": 11009,- "b_decode_bf16": 0,- "k_decode_fp32": 10975,- "b_decode_fp32": 0,- "k_encode_fp16": 3703,- "b_encode_fp16": 77594624,+ "k_decode_fp16": 3554,+ "b_decode_fp16": 365953024,+ "k_decode_bf16": 10684,+ "b_decode_bf16": 342884352,+ "k_decode_fp32": 10777,+ "b_decode_fp32": 208666624,+ "k_encode_fp16": 3239,+ "b_encode_fp16": 374341632,"k_encode_bf16": 4974,- "b_encode_bf16": 1104150528,+ "b_encode_bf16": 1105199104,"k_encode_fp32": 4114,- "b_encode_fp32": 531628032+ "b_encode_fp32": 532676608},"unmeasured_floor": {"k_decode_fp16": 7200,@@ -302,7 +634,167 @@"k_encode_bf16": 5500,"k_encode_fp32": 11000},- "provenance": "The AutoencoderKL family's convolution lines (bytes per output pixel, and a base in bytes) per operation and dtype, carried by vae.sd3 as the one member that runs all three dtypes; vae.sd, vae.flux and vae.flux2 borrow the lines of theirs. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%; tiled points only bound their estimates. Windows: fitted on the RX 9060 XT (gfx1200, torch 2.13+rocm10) points of the SDXL VAE (fp16, fp32), the FLUX.1 VAE (bf16, fp32) and the FLUX.2 VAE (bf16, fp32) with expandable segments switched off. The demand is concave in the size, so the envelope over-reserves some points by more than 1.3x; the data test lists them. Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each slope is floored at the figure these estimators priced every dtype at before lines per dtype: 3600 bytes per pixel per element byte for a decode, 2750 for an encode."+ "provenance": "The AutoencoderKL family's convolution lines (bytes per output pixel, and a base in bytes) per operation and dtype, carried by vae.sd3 as the one member that runs all three dtypes; vae.sd, vae.flux and vae.flux2 borrow the lines of theirs. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%; the tiled points fit the tiled lines vae.sd, vae.flux and vae.flux2 carry themselves. Windows: fitted on the RX 9060 XT (gfx1200, torch 2.13+rocm10) points of the SDXL VAE (fp16, fp32), the FLUX.1 VAE (bf16, fp32) and the FLUX.2 VAE (bf16, fp32) with expandable segments switched off. The demand is concave in the size, so the envelope over-reserves some points by more than 1.3x; the data test lists them. Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each slope is floored at the figure these estimators priced every dtype at before lines per dtype: 3600 bytes per pixel per element byte for a decode, 2750 for an encode. Refitted on its points by scripts/working_memory/build_shipped.py."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "values": {+ "k_tiled_decode_fp16": 0,+ "b_tiled_decode_fp16": 858783744,+ "k_tiled_decode_fp32": 0,+ "b_tiled_decode_fp32": 1062207488,+ "k_tiled_encode_fp16": 6,+ "b_tiled_encode_fp16": 532676608,+ "k_tiled_encode_fp32": 14,+ "b_tiled_encode_fp32": 529530880,+ "k_assembled_decode_fp16": 60,+ "b_assembled_decode_fp16": 1092616192,+ "k_assembled_decode_fp32": 80,+ "b_assembled_decode_fp32": 1470103552+ },+ "values_from": {+ "estimator": "vae.sd3",+ "version": 2+ },+ "unmeasured_floor": {+ "k_tiled_decode_fp16": 15,+ "b_tiled_decode_fp16": 858783744,+ "k_tiled_decode_fp32": 30,+ "b_tiled_decode_fp32": 1062207488,+ "k_tiled_encode_fp16": 8,+ "b_tiled_encode_fp16": 532676608,+ "k_tiled_encode_fp32": 29,+ "b_tiled_encode_fp32": 529530880,+ "k_assembled_decode_fp16": 60,+ "b_assembled_decode_fp16": 1092616192,+ "k_assembled_decode_fp32": 92,+ "b_assembled_decode_fp32": 1685061632+ },+ "provenance": "Borrows the untiled lines of its dtypes from vae.sd3's Windows entry, so its untiled points bound them and join their fit: the SD1/SDXL VAE runs the same diffusers AutoencoderKL convolution stack. Carries its own tiled lines, `tiled_<operation>_<dtype>`: what a tiled SD1/SDXL operation needs above the untiled line at its tile, per image pixel and a base; and its decode's assembly lines, `assembled_decode_<dtype>`: what a tiled decode needs once it assembles the image from its tiles, per image pixel and a base that may be negative, reserved where that phase is the larger. Fitted lines are working_memory/fit.py's: fp16 and fp32 on the RX 9060 XT (gfx1200, torch 2.13+rocm10, Windows, expandable segments off) tiled points of scripts/calibrate_vae_tiling_working_memory.py (2026-10-19: image sides 1024 to 12288 px with 512 and 1024 px tiles, and 2048 to 8192 px with 256 and 768 px tiles, the 256 px ones as lower bounds only), the tiled lines fitted on what they measured above the untiled demand these runs measured at their tile, and rated with the shipped untiled line there, the decode's together with its assembly line (`fit.two_phase_envelope`), each plus 5%. Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each tiled and assembly value is floored at its largest over the measured platforms."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "values": {+ "k_tiled_decode_fp16": 22,+ "b_tiled_decode_fp16": 858783744,+ "k_tiled_decode_bf16": 22,+ "b_tiled_decode_bf16": 475004928,+ "k_tiled_decode_fp32": 44,+ "b_tiled_decode_fp32": 1062207488,+ "k_tiled_encode_fp16": 12,+ "b_tiled_encode_fp16": 532676608,+ "k_tiled_encode_bf16": 12,+ "b_tiled_encode_bf16": 274726912,+ "k_tiled_encode_fp32": 24,+ "b_tiled_encode_fp32": 549453824,+ "k_assembled_decode_fp16": 60,+ "b_assembled_decode_fp16": 2457862144,+ "k_assembled_decode_bf16": 28,+ "b_assembled_decode_bf16": 2457862144,+ "k_assembled_decode_fp32": 80,+ "b_assembled_decode_fp32": 4915724288+ },+ "values_from": {+ "estimator": "vae.sd3",+ "version": 2+ },+ "stand_ins": [+ "k_tiled_decode_fp16",+ "b_tiled_decode_fp16",+ "k_tiled_decode_fp32",+ "b_tiled_decode_fp32",+ "k_tiled_encode_fp16",+ "b_tiled_encode_fp16",+ "k_tiled_encode_fp32",+ "b_tiled_encode_fp32",+ "k_assembled_decode_fp16",+ "b_assembled_decode_fp16",+ "k_assembled_decode_fp32",+ "b_assembled_decode_fp32"+ ],+ "unmeasured_floor": {+ "k_tiled_decode_fp16": 22,+ "b_tiled_decode_fp16": 858783744,+ "k_tiled_decode_bf16": 22,+ "b_tiled_decode_bf16": 475004928,+ "k_tiled_decode_fp32": 44,+ "b_tiled_decode_fp32": 1062207488,+ "k_tiled_encode_fp16": 12,+ "b_tiled_encode_fp16": 532676608,+ "k_tiled_encode_bf16": 12,+ "b_tiled_encode_bf16": 274726912,+ "k_tiled_encode_fp32": 29,+ "b_tiled_encode_fp32": 549453824,+ "k_assembled_decode_fp16": 60,+ "b_assembled_decode_fp16": 2457862144,+ "k_assembled_decode_bf16": 45,+ "b_assembled_decode_bf16": 2457862144,+ "k_assembled_decode_fp32": 92,+ "b_assembled_decode_fp32": 4915724288+ },+ "provenance": "Borrows the untiled lines of its dtypes from vae.sd3's Windows entry, so its untiled points bound them and join their fit: the FLUX.1 VAE runs the same diffusers AutoencoderKL convolution stack. Carries its own tiled lines, `tiled_<operation>_<dtype>`: what a tiled FLUX.1 operation needs above the untiled line at its tile, per image pixel and a base; and its decode's assembly lines, `assembled_decode_<dtype>`: what a tiled decode needs once it assembles the image from its tiles, per image pixel and a base that may be negative, reserved where that phase is the larger. Fitted lines are working_memory/fit.py's: bf16 on the RX 9060 XT (gfx1200, torch 2.13+rocm10, Windows, expandable segments off) tiled points of scripts/calibrate_vae_tiling_working_memory.py (2026-10-19: image sides 1024 to 12288 px with 512 and 1024 px tiles, and 2048 to 8192 px with 256 and 768 px tiles, the 256 px ones as lower bounds only), the tiled lines fitted on what they measured above the untiled demand these runs measured at their tile, and rated with the shipped untiled line there, the decode's together with its assembly line (`fit.two_phase_envelope`), each plus 5%. Stand-ins, no tiled point measures them: fp16 and fp32 at, value by value, the larger of the SDXL VAE's tiled and assembly lines of the same operation and dtype on this platform and this family's own bf16 lines scaled by the element size (twice for fp32): the FLUX encoders emit 4 to 8 times the SDXL VAE's moment channels, and a FLUX decode's node and allocator show in its own lines. Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each tiled and assembly value is floored at its largest over the measured platforms."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "values": {+ "k_tiled_decode_bf16": 22,+ "b_tiled_decode_bf16": 487587840,+ "k_tiled_decode_fp32": 44,+ "b_tiled_decode_fp32": 1062207488,+ "k_tiled_encode_bf16": 16,+ "b_tiled_encode_bf16": 150994944,+ "k_tiled_encode_fp32": 32,+ "b_tiled_encode_fp32": 529530880,+ "k_assembled_decode_bf16": 0,+ "b_assembled_decode_bf16": 0,+ "k_assembled_decode_fp32": 80,+ "b_assembled_decode_fp32": 1470103552+ },+ "values_from": {+ "estimator": "vae.sd3",+ "version": 2+ },+ "stand_ins": [+ "k_tiled_decode_fp32",+ "b_tiled_decode_fp32",+ "k_tiled_encode_fp32",+ "b_tiled_encode_fp32",+ "k_assembled_decode_fp32",+ "b_assembled_decode_fp32"+ ],+ "unmeasured_floor": {+ "k_tiled_decode_bf16": 22,+ "b_tiled_decode_bf16": 950009856,+ "k_tiled_decode_fp32": 44,+ "b_tiled_decode_fp32": 1900019712,+ "k_tiled_encode_bf16": 17,+ "b_tiled_encode_bf16": 150994944,+ "k_tiled_encode_fp32": 34,+ "b_tiled_encode_fp32": 529530880,+ "k_assembled_decode_bf16": 25,+ "b_assembled_decode_bf16": 870318080,+ "k_assembled_decode_fp32": 92,+ "b_assembled_decode_fp32": 1740636160+ },+ "provenance": "Borrows the untiled lines of its dtypes from vae.sd3's Windows entry, so its untiled points bound them and join their fit: the FLUX.2 VAE runs the same diffusers AutoencoderKL convolution stack. Carries its own tiled lines, `tiled_<operation>_<dtype>`: what a tiled FLUX.2 operation needs above the untiled line at its tile, per image pixel and a base; and its decode's assembly lines, `assembled_decode_<dtype>`: what a tiled decode needs once it assembles the image from its tiles, per image pixel and a base that may be negative, reserved where that phase is the larger. Fitted lines are working_memory/fit.py's: bf16 on the RX 9060 XT (gfx1200, torch 2.13+rocm10, Windows, expandable segments off) tiled points of scripts/calibrate_vae_tiling_working_memory.py (2026-10-19: image sides 1024 to 12288 px with 512 and 1024 px tiles, and 2048 to 8192 px with 256 and 768 px tiles, the 256 px ones as lower bounds only), the tiled lines fitted on what they measured above the untiled demand these runs measured at their tile, and rated with the shipped untiled line there, the decode's together with its assembly line (`fit.two_phase_envelope`), each plus 5%. The bf16 assembly line is zero: the tile's own phase covers every point. Stand-ins, no tiled point measures them: fp32 at, value by value, the larger of the SDXL VAE's tiled and assembly lines of the same operation and dtype on this platform and this family's own bf16 lines scaled by the element size (twice for fp32): the FLUX encoders emit 4 to 8 times the SDXL VAE's moment channels, and a FLUX decode's node and allocator show in its own lines. Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each tiled and assembly value is floored at its largest over the measured platforms."},{"estimator": "vae.cogview4",@@ -322,21 +814,35 @@"k_decode_bf16": 7200,"k_encode_bf16": 5500},- "provenance": "The CogView4 VAE's own lines: an AutoencoderKL, but not the family's stack (block widths 128/512/1024/1024, three layers per block, no mid-block attention), and a decode costs ~1.9x the family's. bf16 only: its loader forces it. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%; tiled points only bound their estimates. Windows: fitted on its RX 9060 XT (gfx1200, torch 2.13+rocm10) points with expandable segments switched off. Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each slope is floored at the figure these estimators priced every dtype at before lines per dtype: 3600 bytes per pixel per element byte for a decode, 2750 for an encode."+ "provenance": "The CogView4 VAE's own lines: an AutoencoderKL, but not the family's stack (block widths 128/512/1024/1024, three layers per block, no mid-block attention), and a decode costs ~1.9x the family's. bf16 only: its loader forces it. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%. Windows: fitted on its RX 9060 XT (gfx1200, torch 2.13+rocm10) points with expandable segments switched off. Where this entry prices a platform nothing is measured on (MPS, XPU, CPU, or another allocator on this backend), each slope is floored at the figure these estimators priced every dtype at before lines per dtype: 3600 bytes per pixel per element byte for a decode, 2750 for an encode."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable","os": "windows"},+ "values": {+ "k_tiled_decode_fp16": 10,+ "b_tiled_decode_fp16": 0,+ "k_tiled_decode_fp32": 20,+ "b_tiled_decode_fp32": 112197632,+ "k_tiled_encode_fp16": 8,+ "b_tiled_encode_fp16": 115343360,+ "k_tiled_encode_fp32": 15,+ "b_tiled_encode_fp32": 100663296,+ "k_assembled_decode_fp16": 0,+ "b_assembled_decode_fp16": 0,+ "k_assembled_decode_fp32": 51,+ "b_assembled_decode_fp32": 1685061632+ },"values_from": {"estimator": "vae.sd3","version": 2},- "provenance": "Borrows the lines of its dtypes from vae.sd3, so its points bound them and join their fit: the SD1/SDXL VAE runs the same diffusers AutoencoderKL convolution stack. On Windows with MIOpen's native allocator it borrows vae.sd3's Windows entry."+ "provenance": "Borrows the untiled lines of its dtypes from vae.sd3's Windows entry, so its untiled points bound them and join their fit: the SD1/SDXL VAE runs the same diffusers AutoencoderKL convolution stack. Carries its own tiled lines, `tiled_<operation>_<dtype>`: what a tiled SD1/SDXL operation needs above the untiled line at its tile, per image pixel and a base; and its decode's assembly lines, `assembled_decode_<dtype>`: what a tiled decode needs once it assembles the image from its tiles, per image pixel and a base that may be negative, reserved where that phase is the larger. Fitted lines are working_memory/fit.py's: fp16 and fp32 on the RX 9060 XT (gfx1200, torch 2.13+rocm10, Windows, expandable segments) tiled points of scripts/calibrate_vae_tiling_working_memory.py (2026-10-19: image sides 1024 to 12288 px with 512 and 1024 px tiles, and 2048 to 8192 px with 256 and 768 px tiles, the 256 px ones as lower bounds only), the tiled lines fitted on what they measured above the untiled demand these runs measured at their tile, and rated with the shipped untiled line there, the decode's together with its assembly line (`fit.two_phase_envelope`), each plus 5%. Refitted on its points by scripts/working_memory/build_shipped.py."},{"estimator": "vae.sd3",@@ -351,34 +857,68 @@"b_decode_fp16": 506462208,"k_decode_bf16": 6612,"b_decode_bf16": 529530880,- "k_decode_fp32": 5988,- "b_decode_fp32": 80740352,- "k_encode_fp16": 1960,- "b_encode_fp16": 353370112,+ "k_decode_fp32": 5925,+ "b_decode_fp32": 182452224,+ "k_encode_fp16": 1949,+ "b_encode_fp16": 364904448,"k_encode_bf16": 3255,"b_encode_bf16": 483393536,"k_encode_fp32": 3898,- "b_encode_fp32": 128974848+ "b_encode_fp32": 130023424},- "provenance": "The AutoencoderKL family's convolution lines (bytes per output pixel, and a base in bytes) per operation and dtype, carried by vae.sd3 as the one member that runs all three dtypes; vae.sd, vae.flux and vae.flux2 borrow the lines of theirs. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%; tiled points only bound their estimates. Windows only, where expandable segments are Invoke's ROCm default: measured on gfx1200 alone. Elsewhere they are a user override nothing is measured for, priced as MIOpen with the native allocator on that OS. Fitted on the RX 9060 XT (gfx1200, torch 2.13+rocm10) points of the SDXL VAE (fp16, fp32) and the FLUX.1 VAE (bf16, fp32). vae.flux2 carries its own lines here: its fp32 decode differs from the family's by more than the margin."+ "provenance": "The AutoencoderKL family's convolution lines (bytes per output pixel, and a base in bytes) per operation and dtype, carried by vae.sd3 as the one member that runs all three dtypes; vae.sd, vae.flux and vae.flux2 borrow the lines of theirs. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%; the tiled points fit the tiled lines vae.sd, vae.flux and vae.flux2 carry themselves. Windows only, where expandable segments are Invoke's ROCm default: measured on gfx1200 alone. Elsewhere they are a user override nothing is measured for, priced as MIOpen with the native allocator on that OS. Fitted on the RX 9060 XT (gfx1200, torch 2.13+rocm10) points of the SDXL VAE (fp16, fp32) and the FLUX.1 VAE (bf16, fp32). vae.flux2 carries its own lines here: its fp32 decode differs from the family's by more than the margin. Refitted on its points by scripts/working_memory/build_shipped.py."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable","os": "windows"},+ "values": {+ "k_tiled_decode_fp16": 12,+ "b_tiled_decode_fp16": 0,+ "k_tiled_decode_bf16": 12,+ "b_tiled_decode_bf16": 0,+ "k_tiled_decode_fp32": 24,+ "b_tiled_decode_fp32": 112197632,+ "k_tiled_encode_fp16": 8,+ "b_tiled_encode_fp16": 207618048,+ "k_tiled_encode_bf16": 8,+ "b_tiled_encode_bf16": 207618048,+ "k_tiled_encode_fp32": 16,+ "b_tiled_encode_fp32": 415236096,+ "k_assembled_decode_fp16": 13,+ "b_assembled_decode_fp16": 2089811968,+ "k_assembled_decode_bf16": 13,+ "b_assembled_decode_bf16": 2089811968,+ "k_assembled_decode_fp32": 51,+ "b_assembled_decode_fp32": 4179623936+ },"values_from": {"estimator": "vae.sd3","version": 2},- "provenance": "Borrows the lines of its dtypes from vae.sd3, so its points bound them and join their fit: the FLUX.1 VAE runs the same diffusers AutoencoderKL convolution stack. On Windows with MIOpen's native allocator it borrows vae.sd3's Windows entry."+ "stand_ins": [+ "k_tiled_decode_fp16",+ "b_tiled_decode_fp16",+ "k_tiled_decode_fp32",+ "b_tiled_decode_fp32",+ "k_tiled_encode_fp16",+ "b_tiled_encode_fp16",+ "k_tiled_encode_fp32",+ "b_tiled_encode_fp32",+ "k_assembled_decode_fp16",+ "b_assembled_decode_fp16",+ "k_assembled_decode_fp32",+ "b_assembled_decode_fp32"+ ],+ "provenance": "Borrows the untiled lines of its dtypes from vae.sd3's Windows entry, so its untiled points bound them and join their fit: the FLUX.1 VAE runs the same diffusers AutoencoderKL convolution stack. Carries its own tiled lines, `tiled_<operation>_<dtype>`: what a tiled FLUX.1 operation needs above the untiled line at its tile, per image pixel and a base; and its decode's assembly lines, `assembled_decode_<dtype>`: what a tiled decode needs once it assembles the image from its tiles, per image pixel and a base that may be negative, reserved where that phase is the larger. Fitted lines are working_memory/fit.py's: bf16 on the RX 9060 XT (gfx1200, torch 2.13+rocm10, Windows, expandable segments) tiled points of scripts/calibrate_vae_tiling_working_memory.py (2026-10-19: image sides 1024 to 12288 px with 512 and 1024 px tiles, and 2048 to 8192 px with 256 and 768 px tiles, the 256 px ones as lower bounds only), the tiled lines fitted on what they measured above the untiled demand these runs measured at their tile, and rated with the shipped untiled line there, the decode's together with its assembly line (`fit.two_phase_envelope`), each plus 5%. Stand-ins, no tiled point measures them: fp16 and fp32 at, value by value, the larger of the SDXL VAE's tiled and assembly lines of the same operation and dtype on this platform and this family's own bf16 lines scaled by the element size (twice for fp32): the FLUX encoders emit 4 to 8 times the SDXL VAE's moment channels, and a FLUX decode's node and allocator show in its own lines. Refitted on its points by scripts/working_memory/build_shipped.py."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -392,9 +932,29 @@"k_encode_bf16": 3255,"b_encode_bf16": 483393536,"k_encode_fp32": 3898,- "b_encode_fp32": 128974848+ "b_encode_fp32": 128974848,+ "k_tiled_decode_bf16": 12,+ "b_tiled_decode_bf16": 0,+ "k_tiled_decode_fp32": 24,+ "b_tiled_decode_fp32": 112197632,+ "k_tiled_encode_bf16": 10,+ "b_tiled_encode_bf16": 114294784,+ "k_tiled_encode_fp32": 20,+ "b_tiled_encode_fp32": 228589568,+ "k_assembled_decode_bf16": 13,+ "b_assembled_decode_bf16": 870318080,+ "k_assembled_decode_fp32": 51,+ "b_assembled_decode_fp32": 1740636160},- "provenance": "The FLUX.2 VAE's own convolution lines under MIOpen with expandable segments. Windows only, where expandable segments are Invoke's ROCm default: measured on gfx1200 alone. Elsewhere they are a user override nothing is measured for, priced as MIOpen with the native allocator on that OS. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%; tiled points only bound their estimates. Fitted on its RX 9060 XT (gfx1200, torch 2.13+rocm10) points. Not borrowed from vae.sd3: its fp32 decode needs ~140 MiB more at 512px than the SDXL and FLUX.1 VAEs, which would lift the family's fp32 decode line 9% above theirs, past the 5% margin. Its bf16 lines and fp32 encode equal the family's."+ "stand_ins": [+ "k_tiled_decode_fp32",+ "b_tiled_decode_fp32",+ "k_tiled_encode_fp32",+ "b_tiled_encode_fp32",+ "k_assembled_decode_fp32",+ "b_assembled_decode_fp32"+ ],+ "provenance": "The FLUX.2 VAE's own convolution lines under MIOpen with expandable segments. Windows only, where expandable segments are Invoke's ROCm default: measured on gfx1200 alone. Elsewhere they are a user override nothing is measured for, priced as MIOpen with the native allocator on that OS. Fitted lines are working_memory/fit.py's: the upper envelope of the in-fit points of every estimator resolving to this entry, plus 5%. Untiled lines fitted on its RX 9060 XT (gfx1200, torch 2.13+rocm10) points. Not borrowed from vae.sd3: its fp32 decode needs ~140 MiB more at 512px than the SDXL and FLUX.1 VAEs, which would lift the family's fp32 decode line 9% above theirs, past the 5% margin. Its bf16 lines and fp32 encode equal the family's. Carries its own tiled lines, `tiled_<operation>_<dtype>`: what a tiled FLUX.2 operation needs above the untiled line at its tile, per image pixel and a base; and its decode's assembly lines, `assembled_decode_<dtype>`: what a tiled decode needs once it assembles the image from its tiles, per image pixel and a base that may be negative, reserved where that phase is the larger. Fitted lines are working_memory/fit.py's: bf16 on the RX 9060 XT (gfx1200, torch 2.13+rocm10, Windows, expandable segments) tiled points of scripts/calibrate_vae_tiling_working_memory.py (2026-10-19: image sides 1024 to 12288 px with 512 and 1024 px tiles, and 2048 to 8192 px with 256 and 768 px tiles, the 256 px ones as lower bounds only), the tiled lines fitted on what they measured above the untiled demand these runs measured at their tile, and rated with the shipped untiled line there, the decode's together with its assembly line (`fit.two_phase_envelope`), each plus 5%. Stand-ins, no tiled point measures them: fp32 at, value by value, the larger of the SDXL VAE's tiled and assembly lines of the same operation and dtype on this platform and this family's own bf16 lines scaled by the element size (twice for fp32): the FLUX encoders emit 4 to 8 times the SDXL VAE's moment channels, and a FLUX decode's node and allocator show in its own lines. Refitted on its points by scripts/working_memory/build_shipped.py."},{"estimator": "vae.cogview4",@@ -410,13 +970,13 @@"k_encode_bf16": 3764,"b_encode_bf16": 161480704},- "provenance": "The CogView4 VAE's own lines: an AutoencoderKL, but not the family's stack (block widths 128/512/1024/1024, three layers per block, no mid-block attention), and a decode costs ~1.9x the family's. bf16 only: its loader forces it. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%; tiled points only bound their estimates. Windows only, where expandable segments are Invoke's ROCm default: measured on gfx1200 alone. Elsewhere they are a user override nothing is measured for, priced as MIOpen with the native allocator on that OS. Fitted on its RX 9060 XT (gfx1200, torch 2.13+rocm10) points."+ "provenance": "The CogView4 VAE's own lines: an AutoencoderKL, but not the family's stack (block widths 128/512/1024/1024, three layers per block, no mid-block attention), and a decode costs ~1.9x the family's. bf16 only: its loader forces it. Fitted lines are working_memory/fit.py's: the upper envelope of the untiled single-sample in-fit points of every estimator resolving to this entry, plus 5%. Windows only, where expandable segments are Invoke's ROCm default: measured on gfx1200 alone. Elsewhere they are a user override nothing is measured for, priced as MIOpen with the native allocator on that OS. Fitted on its RX 9060 XT (gfx1200, torch 2.13+rocm10) points."}],"points": [{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -437,7 +997,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -458,7 +1018,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -479,7 +1039,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -500,7 +1060,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -521,7 +1081,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -542,7 +1102,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -563,7 +1123,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -584,7 +1144,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -605,7 +1165,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -626,7 +1186,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -647,7 +1207,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -668,7 +1228,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -689,7 +1249,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -711,7 +1271,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -733,7 +1293,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -755,7 +1315,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -777,7 +1337,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -799,7 +1359,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -821,7 +1381,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native"@@ -842,7 +1402,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native"@@ -863,7 +1423,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native"@@ -884,7 +1444,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native"@@ -906,7 +1466,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native"@@ -928,7 +1488,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native"@@ -950,7 +1510,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native"@@ -971,7 +1531,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native"@@ -992,7 +1552,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native"@@ -1013,7 +1573,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1034,7 +1594,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1055,7 +1615,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1076,7 +1636,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1096,7 +1656,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -1118,7 +1678,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -1140,7 +1700,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -1162,7 +1722,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -1184,7 +1744,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1206,7 +1766,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1228,7 +1788,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1250,7 +1810,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1272,7 +1832,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -1294,7 +1854,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -1316,7 +1876,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -1338,7 +1898,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -1360,7 +1920,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1382,7 +1942,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1404,7 +1964,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1426,7 +1986,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1448,7 +2008,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1468,7 +2028,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1488,7 +2048,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1508,7 +2068,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1528,7 +2088,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1548,7 +2108,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1568,7 +2128,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1588,7 +2148,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1608,7 +2168,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -1628,7 +2188,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -1651,7 +2211,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -1674,7 +2234,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -1697,7 +2257,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -1720,7 +2280,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -1743,7 +2303,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -1766,7 +2326,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -1789,7 +2349,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -1812,7 +2372,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -1822,20 +2382,20 @@"operation": "decode","height": 512,"width": 512,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 285212672},- "measured_bytes": 1570766848,+ "measured_bytes": 1571094528,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native backend), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -1858,7 +2418,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -1881,7 +2441,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -1904,7 +2464,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -1914,20 +2474,20 @@"operation": "encode","height": 512,"width": 512,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 285212672},- "measured_bytes": 1095761920,+ "measured_bytes": 1096155136,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native backend), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -1937,20 +2497,20 @@"operation": "encode","height": 768,"width": 768,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 1073741824},- "measured_bytes": 2312110080,+ "measured_bytes": 2312503296,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native backend), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -1973,7 +2533,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -1996,7 +2556,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2017,7 +2577,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2038,7 +2598,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2059,7 +2619,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2080,7 +2640,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2094,14 +2654,14 @@"tile": null,"score_matrix_bytes": 285212672},- "measured_bytes": 1197473792,+ "measured_bytes": 1197539328,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native backend), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2115,14 +2675,14 @@"tile": null,"score_matrix_bytes": 1073741824},- "measured_bytes": 2287992832,+ "measured_bytes": 2288058368,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native backend), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2136,14 +2696,14 @@"tile": null,"score_matrix_bytes": 1073741824},- "measured_bytes": 3546284032,+ "measured_bytes": 3548381184,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native backend), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2164,7 +2724,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2185,7 +2745,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2206,7 +2766,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2227,7 +2787,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2248,7 +2808,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2269,7 +2829,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2290,7 +2850,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2311,7 +2871,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2332,7 +2892,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2354,7 +2914,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2364,19 +2924,19 @@"operation": "decode","height": 768,"width": 768,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 1073741824},- "measured_bytes": 3984588800,+ "measured_bytes": 3986685952,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native backend), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode untiled, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2386,19 +2946,19 @@"operation": "decode","height": 1024,"width": 1024,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 1073741824},- "measured_bytes": 6983516160,+ "measured_bytes": 6985613312,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native backend), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode untiled, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2420,7 +2980,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2430,19 +2990,19 @@"operation": "encode","height": 512,"width": 512,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 285212672},- "measured_bytes": 1197473792,+ "measured_bytes": 1197539328,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native backend), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode untiled, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2452,19 +3012,19 @@"operation": "encode","height": 768,"width": 768,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 1073741824},- "measured_bytes": 2287992832,+ "measured_bytes": 2288058368,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native backend), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode untiled, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2486,7 +3046,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2508,7 +3068,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2530,7 +3090,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2552,7 +3112,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2574,7 +3134,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2596,7 +3156,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2618,7 +3178,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2640,7 +3200,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2662,7 +3222,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "expandable",@@ -2684,7 +3244,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -2707,7 +3267,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -2730,7 +3290,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -2753,7 +3313,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -2776,7 +3336,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -2799,7 +3359,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -2809,20 +3369,20 @@"operation": "encode","height": 768,"width": 768,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 1073741824},- "measured_bytes": 2153775104,+ "measured_bytes": 2174681088,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Windows-only: the native allocator's demand there is concave (first-run driver spikes at small sizes, a second run reserving up to 1.6x the first at large ones) and up to 1.6x Linux's. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -2832,20 +3392,20 @@"operation": "encode","height": 1024,"width": 1024,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 1073741824},- "measured_bytes": 2526019584,+ "measured_bytes": 2546925568,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Windows-only: the native allocator's demand there is concave (first-run driver spikes at small sizes, a second run reserving up to 1.6x the first at large ones) and up to 1.6x Linux's. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -2868,7 +3428,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -2891,7 +3451,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -2914,7 +3474,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -2937,7 +3497,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -2960,7 +3520,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -2970,20 +3530,20 @@"operation": "encode","height": 512,"width": 512,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 285212672},- "measured_bytes": 1533018112,+ "measured_bytes": 1533411328,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Windows-only: the native allocator's demand there is concave (first-run driver spikes at small sizes, a second run reserving up to 1.6x the first at large ones) and up to 1.6x Linux's. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -2993,20 +3553,20 @@"operation": "encode","height": 768,"width": 768,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 1073741824},- "measured_bytes": 2495610880,+ "measured_bytes": 2514485248,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Windows-only: the native allocator's demand there is concave (first-run driver spikes at small sizes, a second run reserving up to 1.6x the first at large ones) and up to 1.6x Linux's. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3016,20 +3576,20 @@"operation": "encode","height": 1024,"width": 1024,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 1073741824},- "measured_bytes": 4433379328,+ "measured_bytes": 4443865088,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Windows-only: the native allocator's demand there is concave (first-run driver spikes at small sizes, a second run reserving up to 1.6x the first at large ones) and up to 1.6x Linux's. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3052,7 +3612,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3066,14 +3626,14 @@"tile": null,"score_matrix_bytes": 285212672},- "measured_bytes": 2176843776,+ "measured_bytes": 2178940928,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Windows-only: the native allocator's demand there is concave (first-run driver spikes at small sizes, a second run reserving up to 1.6x the first at large ones) and up to 1.6x Linux's. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode untiled, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3094,7 +3654,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3115,7 +3675,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3136,7 +3696,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3150,14 +3710,14 @@"tile": null,"score_matrix_bytes": 285212672},- "measured_bytes": 2293235712,+ "measured_bytes": 2293301248,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Windows-only: the native allocator's demand there is concave (first-run driver spikes at small sizes, a second run reserving up to 1.6x the first at large ones) and up to 1.6x Linux's. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3178,7 +3738,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3192,14 +3752,14 @@"tile": null,"score_matrix_bytes": 1073741824},- "measured_bytes": 5639241728,+ "measured_bytes": 5658116096,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Windows-only: the native allocator's demand there is concave (first-run driver spikes at small sizes, a second run reserving up to 1.6x the first at large ones) and up to 1.6x Linux's. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3220,7 +3780,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3241,7 +3801,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3262,7 +3822,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3283,7 +3843,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3304,7 +3864,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3325,7 +3885,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3346,7 +3906,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3367,7 +3927,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3388,7 +3948,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3410,7 +3970,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3420,19 +3980,19 @@"operation": "decode","height": 768,"width": 768,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 1073741824},- "measured_bytes": 5135925248,+ "measured_bytes": 5138022400,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Windows-only: the native allocator's demand there is concave (first-run driver spikes at small sizes, a second run reserving up to 1.6x the first at large ones) and up to 1.6x Linux's. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode untiled, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3442,19 +4002,19 @@"operation": "decode","height": 1024,"width": 1024,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 1073741824},- "measured_bytes": 10993270784,+ "measured_bytes": 10995367936,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Windows-only: the native allocator's demand there is concave (first-run driver spikes at small sizes, a second run reserving up to 1.6x the first at large ones) and up to 1.6x Linux's. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode untiled, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3476,7 +4036,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3486,19 +4046,19 @@"operation": "encode","height": 512,"width": 512,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 285212672},- "measured_bytes": 2293235712,+ "measured_bytes": 2293301248,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Windows-only: the native allocator's demand there is concave (first-run driver spikes at small sizes, a second run reserving up to 1.6x the first at large ones) and up to 1.6x Linux's. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode untiled, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3520,7 +4080,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3530,19 +4090,19 @@"operation": "encode","height": 1024,"width": 1024,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 1073741824},- "measured_bytes": 5641338880,+ "measured_bytes": 5658116096,"method": "demand_peak","device": "RX 9060 XT (gfx1200)",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Windows-only: the native allocator's demand there is concave (first-run driver spikes at small sizes, a second run reserving up to 1.6x the first at large ones) and up to 1.6x Linux's. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode untiled, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3564,7 +4124,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3586,7 +4146,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3608,7 +4168,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3630,7 +4190,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3652,7 +4212,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3674,7 +4234,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3696,7 +4256,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3718,7 +4278,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "miopen","allocator": "native",@@ -3740,7 +4300,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -3749,20 +4309,20 @@"operation": "decode","height": 512,"width": 512,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 1157627904,+ "measured_bytes": 1224736768,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -3771,20 +4331,20 @@"operation": "decode","height": 768,"width": 768,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 2592079872,+ "measured_bytes": 2659188736,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -3793,20 +4353,20 @@"operation": "decode","height": 1024,"width": 1024,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 4552916992,+ "measured_bytes": 4620025856,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -3815,20 +4375,20 @@"operation": "decode","height": 1536,"width": 1536,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 10173284352,+ "measured_bytes": 10240393216,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -3837,20 +4397,20 @@"operation": "encode","height": 512,"width": 512,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 576716800,+ "measured_bytes": 643825664,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -3859,20 +4419,20 @@"operation": "encode","height": 768,"width": 768,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 1268776960,+ "measured_bytes": 1356857344,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -3881,20 +4441,20 @@"operation": "encode","height": 1024,"width": 1024,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 2241855488,+ "measured_bytes": 2325741568,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -3903,20 +4463,20 @@"operation": "encode","height": 1536,"width": 1536,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 5022679040,+ "measured_bytes": 5104467968,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -3925,20 +4485,20 @@"operation": "decode","height": 512,"width": 512,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 1675624448,+ "measured_bytes": 1742733312,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -3947,20 +4507,20 @@"operation": "decode","height": 768,"width": 768,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 4257218560,+ "measured_bytes": 4324327424,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -3969,20 +4529,20 @@"operation": "decode","height": 1024,"width": 1024,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 7503609856,+ "measured_bytes": 7570718720,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -3991,20 +4551,20 @@"operation": "decode","height": 1536,"width": 1536,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 16770924544,+ "measured_bytes": 16840130560,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4013,20 +4573,20 @@"operation": "encode","height": 512,"width": 512,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 847249408,+ "measured_bytes": 914358272,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4035,20 +4595,20 @@"operation": "encode","height": 768,"width": 768,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 1843396608,+ "measured_bytes": 1923088384,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4057,20 +4617,20 @@"operation": "encode","height": 1024,"width": 1024,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 3261071360,+ "measured_bytes": 3340763136,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4079,20 +4639,20 @@"operation": "encode","height": 1536,"width": 1536,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 7308574720,+ "measured_bytes": 7407140864,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4105,14 +4665,14 @@"tile": null,"score_matrix_bytes": 0},- "measured_bytes": 1157627904,+ "measured_bytes": 1226833920,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode untiled, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4125,14 +4685,14 @@"tile": null,"score_matrix_bytes": 0},- "measured_bytes": 2592079872,+ "measured_bytes": 2659188736,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode untiled, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4145,14 +4705,14 @@"tile": null,"score_matrix_bytes": 0},- "measured_bytes": 4555014144,+ "measured_bytes": 4624220160,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode untiled, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4165,14 +4725,14 @@"tile": null,"score_matrix_bytes": 0},- "measured_bytes": 10175381504,+ "measured_bytes": 10242490368,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode untiled, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4185,14 +4745,14 @@"tile": null,"score_matrix_bytes": 0},- "measured_bytes": 576716800,+ "measured_bytes": 645922816,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4205,14 +4765,14 @@"tile": null,"score_matrix_bytes": 0},- "measured_bytes": 1270874112,+ "measured_bytes": 1358954496,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4225,14 +4785,14 @@"tile": null,"score_matrix_bytes": 0},- "measured_bytes": 2239758336,+ "measured_bytes": 2329935872,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4245,14 +4805,14 @@"tile": null,"score_matrix_bytes": 0},- "measured_bytes": 5005901824,+ "measured_bytes": 5087690752,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4272,7 +4832,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4292,7 +4852,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4312,7 +4872,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4332,7 +4892,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4352,7 +4912,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4372,7 +4932,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4392,7 +4952,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4412,7 +4972,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4421,19 +4981,19 @@"operation": "decode","height": 512,"width": 512,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 0},- "measured_bytes": 1159725056,+ "measured_bytes": 1226833920,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode untiled, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4442,19 +5002,19 @@"operation": "decode","height": 768,"width": 768,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 0},- "measured_bytes": 2592079872,+ "measured_bytes": 2661285888,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode untiled, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4463,19 +5023,19 @@"operation": "decode","height": 1024,"width": 1024,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 0},- "measured_bytes": 4555014144,+ "measured_bytes": 4624220160,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode untiled, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4484,19 +5044,19 @@"operation": "decode","height": 1536,"width": 1536,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 0},- "measured_bytes": 10057940992,+ "measured_bytes": 10146021376,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode untiled, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4505,19 +5065,19 @@"operation": "encode","height": 512,"width": 512,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 0},- "measured_bytes": 578813952,+ "measured_bytes": 645922816,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode untiled, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4526,19 +5086,19 @@"operation": "encode","height": 768,"width": 768,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 0},- "measured_bytes": 1270874112,+ "measured_bytes": 1358954496,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode untiled, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4547,19 +5107,19 @@"operation": "encode","height": 1024,"width": 1024,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 0},- "measured_bytes": 2241855488,+ "measured_bytes": 2329935872,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode untiled, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4568,19 +5128,19 @@"operation": "encode","height": 1536,"width": 1536,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 0},- "measured_bytes": 5005901824,+ "measured_bytes": 5087690752,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, native allocator, fused SDPA. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode untiled, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4601,7 +5161,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4622,7 +5182,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4643,7 +5203,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4664,7 +5224,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4685,7 +5245,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4706,7 +5266,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4727,7 +5287,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "native"@@ -4748,7 +5308,7 @@},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -4757,20 +5317,20 @@"operation": "decode","height": 512,"width": 512,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 822083584,+ "measured_bytes": 889192448,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -4779,20 +5339,20 @@"operation": "decode","height": 768,"width": 768,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 2063597568,+ "measured_bytes": 2130706432,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -4801,20 +5361,20 @@"operation": "decode","height": 1024,"width": 1024,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 3640655872,+ "measured_bytes": 3707764736,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -4823,20 +5383,20 @@"operation": "decode","height": 1536,"width": 1536,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 8069840896,+ "measured_bytes": 8136949760,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -4845,20 +5405,20 @@"operation": "encode","height": 512,"width": 512,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 486539264,+ "measured_bytes": 587202560,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -4867,20 +5427,20 @@"operation": "encode","height": 768,"width": 768,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 1056964608,+ "measured_bytes": 1157627904,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -4889,20 +5449,20 @@"operation": "encode","height": 1024,"width": 1024,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 1895825408,+ "measured_bytes": 1996488704,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -4911,20 +5471,20 @@"operation": "encode","height": 1536,"width": 1536,- "dtype": "fp16","tile": null,+ "dtype": "fp16","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 4244635648,+ "measured_bytes": 4345298944,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -4933,20 +5493,20 @@"operation": "decode","height": 512,"width": 512,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 1442840576,+ "measured_bytes": 1486880768,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -4955,20 +5515,20 @@"operation": "decode","height": 768,"width": 768,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 3265265664,+ "measured_bytes": 3332374528,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -4977,20 +5537,20 @@"operation": "decode","height": 1024,"width": 1024,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 5748293632,+ "measured_bytes": 5815402496,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -4999,20 +5559,20 @@"operation": "decode","height": 1536,"width": 1536,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 12996050944,+ "measured_bytes": 13063159808,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5021,20 +5581,20 @@"operation": "encode","height": 512,"width": 512,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 681574400,+ "measured_bytes": 782237696,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5043,20 +5603,20 @@"operation": "encode","height": 768,"width": 768,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 1522532352,+ "measured_bytes": 1623195648,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5065,20 +5625,20 @@"operation": "encode","height": 1024,"width": 1024,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 2694840320,+ "measured_bytes": 2795503616,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.sd",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5087,20 +5647,20 @@"operation": "encode","height": 1536,"width": 1536,- "dtype": "fp32","tile": null,+ "dtype": "fp32","vae_class": "AutoencoderKL","upcast_weight_bytes": 0,"score_matrix_bytes": 0},- "measured_bytes": 6083837952,+ "measured_bytes": 6184501248,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init SDXL VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5113,14 +5673,14 @@"tile": null,"score_matrix_bytes": 0},- "measured_bytes": 788529152,+ "measured_bytes": 889192448,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode untiled, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5133,14 +5693,14 @@"tile": null,"score_matrix_bytes": 0},- "measured_bytes": 2030043136,+ "measured_bytes": 2130706432,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode untiled, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5153,14 +5713,14 @@"tile": null,"score_matrix_bytes": 0},- "measured_bytes": 3607101440,+ "measured_bytes": 3707764736,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode untiled, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5173,14 +5733,14 @@"tile": null,"score_matrix_bytes": 0},- "measured_bytes": 8036286464,+ "measured_bytes": 8136949760,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode untiled, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5193,14 +5753,14 @@"tile": null,"score_matrix_bytes": 0},- "measured_bytes": 486539264,+ "measured_bytes": 587202560,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5213,14 +5773,14 @@"tile": null,"score_matrix_bytes": 0},- "measured_bytes": 1056964608,+ "measured_bytes": 1157627904,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5233,14 +5793,14 @@"tile": null,"score_matrix_bytes": 0},- "measured_bytes": 1895825408,+ "measured_bytes": 1996488704,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5253,14 +5813,14 @@"tile": null,"score_matrix_bytes": 0},- "measured_bytes": 4244635648,+ "measured_bytes": 4345298944,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init FLUX.1 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5280,7 +5840,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5300,7 +5860,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5320,7 +5880,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5340,7 +5900,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5360,7 +5920,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5380,7 +5940,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5400,7 +5960,7 @@},{"estimator": "vae.flux",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5420,7 +5980,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5429,19 +5989,19 @@"operation": "decode","height": 512,"width": 512,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 0},- "measured_bytes": 788529152,+ "measured_bytes": 855638016,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode untiled, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5450,19 +6010,19 @@"operation": "decode","height": 768,"width": 768,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 0},- "measured_bytes": 2030043136,+ "measured_bytes": 2097152000,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode untiled, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5471,19 +6031,19 @@"operation": "decode","height": 1024,"width": 1024,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 0},- "measured_bytes": 3607101440,+ "measured_bytes": 3674210304,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode untiled, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5492,19 +6052,19 @@"operation": "decode","height": 1536,"width": 1536,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 0},- "measured_bytes": 8069840896,+ "measured_bytes": 8136949760,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode untiled, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5513,19 +6073,19 @@"operation": "encode","height": 512,"width": 512,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 0},- "measured_bytes": 486539264,+ "measured_bytes": 553648128,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode untiled, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5534,19 +6094,19 @@"operation": "encode","height": 768,"width": 768,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 0},- "measured_bytes": 1073741824,+ "measured_bytes": 1124073472,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode untiled, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5555,19 +6115,19 @@"operation": "encode","height": 1024,"width": 1024,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 0},- "measured_bytes": 1895825408,+ "measured_bytes": 1962934272,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode untiled, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5576,19 +6136,19 @@"operation": "encode","height": 1536,"width": 1536,- "dtype": "bf16","tile": null,"batch_size": 1,+ "dtype": "bf16","score_matrix_bytes": 0},- "measured_bytes": 4244635648,+ "measured_bytes": 4311744512,"method": "demand_peak","device": "RTX 4090",- "provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RTX 4090, torch 2.13.0+cu130, Windows, driver 32.0.16.1047, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync, fused SDPA. Random-init FLUX.2 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB."+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode untiled, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5609,7 +6169,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5630,7 +6190,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5651,7 +6211,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5672,7 +6232,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5693,7 +6253,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5714,7 +6274,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -5735,7 +6295,7 @@},{"estimator": "vae.flux2",- "version": 2,+ "version": 3,"platform": {"conv_backend": "cudnn","allocator": "cudaMallocAsync"@@ -6307,6 +6867,17845 @@"method": "demand_peak","device": "RX 9060 XT (gfx1200)","provenance": "Scratch probe vae_dtype_probe.py (2026-10-17): RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0, Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, Invoke's ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Windows-only: the native allocator's demand there is concave (first-run driver spikes at small sizes, a second run reserving up to 1.6x the first at large ones) and up to 1.6x Linux's. Random-init CogView4 VAE from the released config (memory does not depend on weight values), untiled, one fresh process per point, two runs, no allocator retries. Recorded in MiB. The 1280px decode is not shipped: it needs ~20 GB on this 16 GB card, which Windows pages into system memory instead of failing, so it read low (16650 MiB)."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 1024,+ "width": 1024,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1237319680,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1226833920,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1237319680,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1243611136,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1268776960,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4622123008,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4622123008,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4586471424,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4594860032,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 1024,+ "width": 1024,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 675282944,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 664797184,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 683671552,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 717225984,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 782237696,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2344615936,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2359296000,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2399141888,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2464153600,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1239416832,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1226833920,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1251999744,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1247805440,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1270874112,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4628414464,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4628414464,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4588568576,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4647288832,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 677380096,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 668991488,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 692060160,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 734003200,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 811597824,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2340421632,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2357198848,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2382364672,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2441084928,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1237319680,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1226833920,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1237319680,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1224736768,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1254096896,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4620025856,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4622123008,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4620025856,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4628414464,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 675282944,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 662700032,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 681574400,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 708837376,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 761266176,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2342518784,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2355101696,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2388656128,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2443182080,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1746927616,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1744830464,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1759510528,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1742733312,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1746927616,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 7572815872,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 7572815872,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 7572815872,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 7593787392,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 929038336,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 947912704,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 973078528,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1042284544,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1140850688,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3374317568,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3397386240,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3464495104,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3558866944,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 1024,+ "width": 1024,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 889192448,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1157627904,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1157627904,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1157627904,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1157627904,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3707764736,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3707764736,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3707764736,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3707764736,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 1024,+ "width": 1024,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 587202560,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 587202560,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 587202560,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 620756992,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 687865856,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1996488704,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1996488704,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2030043136,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2097152000,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 855638016,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1124073472,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1124073472,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1124073472,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1124073472,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3674210304,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3674210304,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4093640704,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4127195136,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 553648128,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 553648128,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 553648128,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 587202560,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 654311424,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1962934272,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1962934272,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1996488704,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2063597568,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 889192448,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1157627904,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1157627904,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1157627904,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1157627904,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3707764736,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3707764736,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4244635648,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 0, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3707764736,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 589299712,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 589299712,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 589299712,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 622854144,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 689963008,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1996488704,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2030043136,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2063597568,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2099249152,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1488977920,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1486880768,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1488977920,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1755316224,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1790967808,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5817499648,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5884608512,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5884608512,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5884608512,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 851443712,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 884998144,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 884998144,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 952107008,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1052770304,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2831155200,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3032481792,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3066036224,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3166699520,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1024,+ "width": 1024,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2154823680,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2154823680,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2154823680,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2154823680,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2238709760,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6983516160,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6983516160,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6983516160,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 7153385472,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1024,+ "width": 1024,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1302396928,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1302396928,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1302396928,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1344339968,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1386283008,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3590324224,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3776970752,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3787456512,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3781165056,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2154823680,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2154823680,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2154823680,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2175795200,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2238709760,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6985613312,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6985613312,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 7027556352,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 7006584832,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1302396928,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1302396928,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1302396928,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1344339968,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1453391872,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3588227072,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3674210304,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3714056192,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3758096384,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 985530368,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 985530368,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 985530368,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 985530368,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1048444928,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2495479808,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2495479808,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2495479808,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2495479808,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 930021376,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 950992896,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 950992896,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 992935936,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1034878976,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2314141696,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2418999296,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2460942336,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2502885376,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1696923648,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1717895168,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1759838208,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1843724288,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2011496448,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 5999951872,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6043992064,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6123683840,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6314524672,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1201012736,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1221984256,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1242955776,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1305870336,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1389756416,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3925868544,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4053794816,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4116709376,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4208984064,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1024,+ "width": 1024,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2564816896,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2564816896,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2564816896,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2585788416,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2585788416,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 10993270784,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 10995367936,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 11026825216,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 11033116672,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1024,+ "width": 1024,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2320564224,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2507210752,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2431713280,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2549153792,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2408644608,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 5697961984,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 5966397440,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 5999951872,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6046089216,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2564816896,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2585788416,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2585788416,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2585788416,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2581594112,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 11026825216,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 11028922368,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 11026825216,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 11033116672,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2299592704,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2471559168,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2345730048,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2534473728,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2467364864,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 5695864832,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 5819596800,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 5846859776,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 5892997120,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1253965824,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1350434816,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1279131648,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1304297472,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1388183552,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3212836864,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3351248896,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3351248896,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3472883712,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1510932480,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1283391488,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1337917440,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1325334528,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1520369664,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2670657536,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2517565440,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2641297408,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2655977472,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2686451712,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2686451712,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2699034624,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 3697606656,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2686451712,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 10961813504,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 10963910656,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 10959716352,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 10961813504,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1024,+ "width": 1024,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2051407872,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1816526848,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2024144896,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1900412928,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2240151552,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 1536,+ "width": 1536,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4460642304,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4789895168,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 3072,+ "width": 3072,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4854906880,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4949278720,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1740636160,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3045064704,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4643094528,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4655677440,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 937426944,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1172307968,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2619342848,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2843738112,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1535115264,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2262827008,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4661968896,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4691329024,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1004535808,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1291845632,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2552233984,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2751463424,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1736441856,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3013607424,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4584374272,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4640997376,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 899678208,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1098907648,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2569011200,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2757754880,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3646947328,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5307891712,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 7549747200,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 7606370304,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1400897536,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1782579200,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3827302400,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4204789760,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1426063360,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2113929216,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3741319168,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4815060992,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 922746880,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1124073472,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2197815296,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2399141888,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1426063360,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1728053248,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4127195136,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4815060992,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 889192448,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1224736768,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2164260864,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2365587456,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1426063360,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2063597568,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3741319168,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4781506560,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 790626304,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 991952896,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2231369728,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2399141888,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2325741568,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4005560320,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 6643777536,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 6991904768,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1421869056,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1790967808,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3804233728,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4060086272,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2448424960,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2804940800,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 7153385472,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 7491026944,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1579220992,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1814102016,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3999268864,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4181721088,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2469396480,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2867855360,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 7174356992,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 7511998464,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1646329856,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1881210880,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3923771392,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4206886912,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1258160128,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1929248768,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2621308928,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3124625408,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1160708096,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1395589120,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2628714496,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2796486656,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2430926848,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 3294953472,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6647971840,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 7321157632,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1708523520,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2065039360,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4475322368,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4861198336,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2865758208,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 4088397824,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 11091836928,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 11028922368,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2861629440,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 3186688000,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6186598400,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6379536384,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2884632576,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 3719299072,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 11108614144,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 11062476800,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2859532288,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 3029401600,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6073352192,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6262095872,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2331901952,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 3367895040,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3361603584,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4590534656,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1495203840,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1824456704,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2811166720,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2895052800,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 3718578176,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 4817485824,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 10959716352,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 10974396416,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2328231936,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2913337344,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 6144,+ "width": 6144,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 5217714176,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 5597298688,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 256,+ "width": 256,+ "dtype": "bf16",+ "tile": null,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 400556032,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode untiled, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 444596224,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 256, a 256px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 864026624,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 256, a 256px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2554331136,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 256, a 256px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2661285888,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 768, a 768px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2669674496,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 768, a 768px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3107979264,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 768, a 768px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 256,+ "width": 256,+ "dtype": "bf16",+ "tile": null,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 236978176,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 270532608,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 256, a 256px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 381681664,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 256, a 256px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 958398464,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 256, a 256px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1390411776,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 768, a 768px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1499463680,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 768, a 768px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1902116864,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 768, a 768px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 256,+ "width": 256,+ "tile": null,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 400556032,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode untiled, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 434110464,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 256, a 256px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 702545920,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 256, a 256px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1793064960,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 256, a 256px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2657091584,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 768, a 768px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2688548864,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 768, a 768px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2751463424,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 768, a 768px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 256,+ "width": 256,+ "tile": null,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 239075328,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode untiled, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 278921216,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 256, a 256px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 396361728,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 256, a 256px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1231028224,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 256, a 256px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1386217472,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 768, a 768px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1482686464,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 768, a 768px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1774190592,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 768, a 768px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 256,+ "width": 256,+ "tile": null,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 400556032,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 444596224,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 887095296,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2537553920,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2661285888,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2673868800,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3107979264,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 256,+ "width": 256,+ "tile": null,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 236978176,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 266338304,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 346030080,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 681574400,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1388314624,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1474297856,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1795162112,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 256,+ "width": 256,+ "tile": null,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 578813952,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 692060160,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1652555776,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5282725888,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4328521728,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4362076160,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 6780092416,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 256,+ "width": 256,+ "tile": null,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 325058560,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 387973120,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 549453824,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1233125376,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1977614336,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2141192192,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2789212160,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 256,+ "width": 256,+ "dtype": "bf16",+ "tile": null,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 352321536,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode untiled, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 419430400,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 256, a 256px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 553648128,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 256, a 256px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2063597568,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 256, a 256px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2130706432,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 768, a 768px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2166358016,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 768, a 768px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2734686208,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 768, a 768px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 256,+ "width": 256,+ "dtype": "bf16",+ "tile": null,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 218103808,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 251658240,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 256, a 256px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 352321536,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 256, a 256px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 788529152,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 256, a 256px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1191182336,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 768, a 768px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1260388352,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 768, a 768px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1560281088,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 768, a 768px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 256,+ "width": 256,+ "tile": null,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 318767104,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode untiled, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 385875968,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 256, a 256px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 553648128,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 256, a 256px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1660944384,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 256, a 256px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2348810240,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 768, a 768px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2315255808,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 768, a 768px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2986344448,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 768, a 768px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 256,+ "width": 256,+ "tile": null,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 184549376,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode untiled, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 251658240,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 256, a 256px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 352321536,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 256, a 256px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 989855744,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 256, a 256px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1157627904,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 768, a 768px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1226833920,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 768, a 768px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1830813696,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 768, a 768px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 256,+ "width": 256,+ "tile": null,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 352321536,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 419430400,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 654311424,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2466250752,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2130706432,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2132803584,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2768240640,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 256,+ "width": 256,+ "tile": null,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 218103808,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 253755392,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 320864256,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 656408576,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1193279488,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1260388352,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1562378240,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 256,+ "width": 256,+ "tile": null,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 480247808,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 549453824,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1287651328,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3972005888,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3368026112,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3401580544,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4575985664,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 256,+ "width": 256,+ "tile": null,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 278921216,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 381681664,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 549453824,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1186988032,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1824522240,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2046820352,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2650800128,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 256,+ "width": 256,+ "dtype": "bf16",+ "tile": null,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 812646400,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode untiled, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 879755264,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 256, a 256px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1013972992,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 256, a 256px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 2368733184,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 256, a 256px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3963617280,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 768, a 768px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4097835008,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 768, a 768px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4538236928,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 768, a 768px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 256,+ "width": 256,+ "dtype": "bf16",+ "tile": null,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 526450688,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 631308288,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 256, a 256px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 782303232,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 256, a 256px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1226899456,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 256, a 256px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2434859008,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 768, a 768px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2518745088,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 768, a 768px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2946564096,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 768, a 768px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 256,+ "width": 256,+ "tile": null,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 812646400,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode untiled, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 879755264,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 256, a 256px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1034944512,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 256, a 256px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1991245824,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 256, a 256px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3965714432,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 768, a 768px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4076863488,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 768, a 768px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4582277120,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 768, a 768px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 256,+ "width": 256,+ "tile": null,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 526450688,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode untiled, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 631308288,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 256, a 256px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 782303232,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 256, a 256px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1335951360,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 256, a 256px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2434859008,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 768, a 768px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2518745088,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 768, a 768px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2980118528,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 768, a 768px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 256,+ "width": 256,+ "tile": null,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 524156928,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 591265792,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 914227200,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 2373844992,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 1614675968,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 1614675968,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2138963968,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 256,+ "width": 256,+ "tile": null,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 468647936,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 573505536,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 636420096,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1018101760,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 1559166976,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 1643053056,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 1936654336,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 256,+ "width": 256,+ "tile": null,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 543490048,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 631570432,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1340407808,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 4846845952,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3462397952,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3779067904,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4697620480,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 256,+ "width": 256,+ "tile": null,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 362151936,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 508952576,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 655753216,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1331036160,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2375417856,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2543190016,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3197501440,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 256,+ "width": 256,+ "dtype": "bf16",+ "tile": null,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 993001472,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode untiled, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1393557504,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 256, a 256px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1546649600,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 256, a 256px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 3662675968,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 256, a 256px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 5672796160,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 768, a 768px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 5687476224,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 768, a 768px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6954156032,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 768, a 768px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 256,+ "width": 256,+ "dtype": "bf16",+ "tile": null,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 786497536,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode untiled, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1019281408,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 256, a 256px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1161887744,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 256, a 256px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 256,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1753284608,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 256, a 256px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3500146688,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 768, a 768px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3577741312,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 768, a 768px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 768,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3886022656,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 768, a 768px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 256,+ "width": 256,+ "tile": null,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 993001472,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode untiled, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1343225856,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 256, a 256px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1481637888,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 256, a 256px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 2861563904,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 256, a 256px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 5689573376,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 768, a 768px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 5691670528,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 768, a 768px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6994001920,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 768, a 768px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 256,+ "width": 256,+ "tile": null,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 786497536,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode untiled, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 981532672,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 256, a 256px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1157693440,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 256, a 256px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1799421952,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 256, a 256px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3349151744,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 768, a 768px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3437232128,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 768, a 768px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3747610624,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 768, a 768px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 256,+ "width": 256,+ "tile": null,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 570294272,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 696123392,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1128136704,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 2893938688,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3162374144,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2908618752,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4869455872,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 256,+ "width": 256,+ "tile": null,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 557776896,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 660537344,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 733937664,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1126105088,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2596208640,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2612985856,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3019833344,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 256,+ "width": 256,+ "tile": null,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 870645760,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode untiled, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1717895168,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 2024079360,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 6497304576,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 256, a 256px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6157238272,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6350176256,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6979649536,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 256,+ "width": 256,+ "tile": null,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 518389760,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode untiled, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 709230592,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 755367936,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 256,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 17825792+ },+ "measured_bytes": 1615200256,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 256, a 256px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2717908992,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 2879389696,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3523215360,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5463080960,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 6645874688,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2195718144,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3500146688,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3724541952,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5851054080,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2839543808,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3231711232,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5400166400,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 6622806016,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1621098496,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3298820096,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10844372992,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 14128513024,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2860515328,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5286920192,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4479516672,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5435817984,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1761607680,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2902458368,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3640655872,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5335154688,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2130706432,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3405774848,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5351931904,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5234491392,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 1629487104,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2902458368,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10468982784,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 8959033344,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2797600768,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5314183168,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10244587520,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1536, a 1536px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10143924224,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1536, a 1536px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10200547328,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1536, a 1536px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10320084992,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1536, a 1536px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5114953728,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1536, a 1536px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5194645504,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1536, a 1536px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5500829696,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1536, a 1536px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5995757568,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1536, a 1536px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1536,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10148118528,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1536, a 1536px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1536,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10164895744,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1536, a 1536px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1536,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10221518848,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1536, a 1536px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1536,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10299113472,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1536, a 1536px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1536,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5112856576,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1536, a 1536px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1536,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5190451200,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1536, a 1536px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1536,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5502926848,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1536, a 1536px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1536,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5993660416,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1536, a 1536px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10242490368,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10240393216,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10271850496,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10158604288,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5133828096,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5213519872,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5544869888,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 6081740800,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 16842227712,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 16863199232,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 16877879296,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 16917725184,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 7461666816,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 7610564608,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 8229224448,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 9233760256,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (the native allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 8136949760,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1536, a 1536px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 8170504192,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1536, a 1536px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 8172601344,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1536, a 1536px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10653532160,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1536, a 1536px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4378853376,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1536, a 1536px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4445962240,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1536, a 1536px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4750049280,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1536, a 1536px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5251268608,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1536, a 1536px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1536,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 8136949760,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1536, a 1536px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1536,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 9227468800,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1536, a 1536px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1536,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 9294577664,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1536, a 1536px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1536,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10720641024,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1536, a 1536px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1536,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4345298944,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1536, a 1536px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1536,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4412407808,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1536, a 1536px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1536,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4716494848,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1536, a 1536px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1536,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5217714176,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1536, a 1536px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 8136949760,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 8136949760,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 8139046912,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10586423296,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4380950528,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4448059392,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4750049280,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5253365760,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 2048,+ "width": 2048,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 13063159808,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 4096,+ "width": 4096,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 13065256960,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 8192,+ "width": 8192,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 13098811392,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 15548284928,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 2048,+ "width": 2048,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 6253707264,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 4096,+ "width": 4096,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 6723469312,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 8192,+ "width": 8192,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 8120172544,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 9126805504,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (the cudaMallocAsync allocator), fused SDPA; AOTriton and the ROCm SDPA guard are ROCm's and do not apply. Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 3874488320,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 8348762112,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2451636224,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4861198336,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 3979345920,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 8432648192,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2762014720,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4972347392,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 3837657088,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3837657088,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 1898905600,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3366912000,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 7065632768,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 8975810560,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 3138781184,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 5932843008,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (expandable segments), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 5749342208,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 11079254016,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 4245749760,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 7059013632,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 4918870016,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 11144265728,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 4646305792,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6752829440,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 6261964800,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 7786594304,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 2317287424,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3557752832,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 11746148352,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 512, a 512px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 12813598720,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, decode tile field 1024, a 1024px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 512,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 3808821248,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 512, a 512px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 1024,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6673137664,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py, 2026-10-19: RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed, so score_matrix_bytes is its chunked math term. Random-init SDXL AutoencoderKL from the released config, encode tile field 1024, a 1024px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. demand_peak: the largest of the driver, reserved and allocated peak over the baseline, the larger of a cold and a warm run, one fresh process per point with the server's runtime; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 26624,+ "width": 26624,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 17081303040,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (torch reports the native allocator). Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 28672,+ "width": 28672,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 19734200320,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (torch reports the native allocator). Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 26624,+ "width": 26624,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 11907629056,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (torch reports the native allocator). Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 28672,+ "width": 28672,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 13805551616,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (torch reports the native allocator). Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 16384,+ "width": 16384,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 7935623168,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 20480,+ "width": 20480,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 12331253760,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 24576,+ "width": 24576,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 17699962880,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 16384,+ "width": 16384,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 2835349504,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 20480,+ "width": 20480,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4378853376,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 24576,+ "width": 24576,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 7415529472,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 16384,+ "width": 16384,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 6425673728,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 20480,+ "width": 20480,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10015997952,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 24576,+ "width": 24576,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 14344519680,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 16384,+ "width": 16384,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 3707764736,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 20480,+ "width": 20480,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5754585088,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 24576,+ "width": 24576,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 8237613056,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 16384,+ "width": 16384,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 6584008704,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 20480,+ "width": 20480,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 10128195584,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 24576,+ "width": 24576,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 14360248320,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 512, a 512px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 16384,+ "width": 16384,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 3680567296,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 20480,+ "width": 20480,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 5542838272,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 24576,+ "width": 24576,+ "dtype": "bf16",+ "tile": 512,+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 7828733952,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 512, a 512px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 16384,+ "width": 16384,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 6730809344,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 20480,+ "width": 20480,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 10337910784,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 24576,+ "width": 24576,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 14674821120,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 512, a 512px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 16384,+ "width": 16384,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 4569759744,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 20480,+ "width": 20480,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 6910181376,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 24576,+ "width": 24576,+ "tile": 512,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 285212672+ },+ "measured_bytes": 9196077056,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 512, a 512px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 16384,+ "width": 16384,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 11700011008,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (torch reports the native allocator). Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 20480,+ "width": 20480,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 15535702016,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (torch reports the native allocator). Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 16384,+ "width": 16384,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4418699264,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (torch reports the native allocator). Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 20480,+ "width": 20480,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5578424320,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (torch reports the native allocator). Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 16384,+ "width": 16384,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 8661237760,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (torch reports the native allocator). Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "decode",+ "height": 20480,+ "width": 20480,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10787749888,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (torch reports the native allocator). Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 16384,+ "width": 16384,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 4506779648,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (torch reports the native allocator). Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "native"+ },+ "features": {+ "operation": "encode",+ "height": 20480,+ "width": 20480,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 0+ },+ "measured_bytes": 6815744000,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, no allocator configuration (torch reports the native allocator). Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 16384,+ "width": 16384,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 11844714496,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1536, a 1536px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 16384,+ "width": 16384,+ "dtype": "bf16",+ "tile": 1536,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5955911680,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1536, a 1536px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 14336,+ "width": 14336,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 10619977728,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 14336,+ "width": 14336,+ "tile": 1536,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 5588910080,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "decode",+ "height": 14336,+ "width": 14336,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 17347641344,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init SDXL AutoencoderKL from the released config, decode tile field 1536, a 1536px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "cudnn",+ "allocator": "cudaMallocAsync"+ },+ "features": {+ "operation": "encode",+ "height": 14336,+ "width": 14336,+ "tile": 1536,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0+ },+ "measured_bytes": 9797894144,+ "method": "demand_peak",+ "device": "RTX 4090",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): NVIDIA GeForce RTX 4090, torch 2.13.0+cu130, Windows, PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync (torch reports the cudaMallocAsync allocator). Random-init SDXL AutoencoderKL from the released config, encode tile field 1536, a 1536px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 7541227520,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 768,+ "dtype": "fp16",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 3386834944,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 12288,+ "width": 12288,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 10724835328,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init SDXL AutoencoderKL from the released config, decode tile field 768, a 768px tile, run as `l2i` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 12288,+ "width": 12288,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 4609540096,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.sd",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "native",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 16384,+ "width": 16384,+ "tile": 768,+ "dtype": "fp32",+ "vae_class": "AutoencoderKL",+ "upcast_weight_bytes": 0,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6123683840,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init SDXL AutoencoderKL from the released config, encode tile field 768, a 768px tile, run as `i2l` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 16384,+ "width": 16384,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 9900654592,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 20480,+ "width": 20480,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 11349786624,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.1 AutoencoderKL with its loader's geometry, decode tile field 1024, a 1024px tile, run as `z_image_l2i` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 16384,+ "width": 16384,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 5731516416,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 20480,+ "width": 20480,+ "dtype": "bf16",+ "tile": 1024,+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6912212992,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.1 AutoencoderKL with its loader's geometry, encode tile field 1024, a 1024px tile, run as `flux_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 16384,+ "width": 16384,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 9858711552,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "decode",+ "height": 20480,+ "width": 20480,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 11559501824,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), decode tile field 1024, a 1024px tile, run as `flux2_vae_decode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 16384,+ "width": 16384,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 6136266752,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ },+ {+ "estimator": "vae.flux2",+ "version": 3,+ "platform": {+ "conv_backend": "miopen",+ "allocator": "expandable",+ "os": "windows"+ },+ "features": {+ "operation": "encode",+ "height": 20480,+ "width": 20480,+ "tile": 1024,+ "batch_size": 1,+ "dtype": "bf16",+ "score_matrix_bytes": 1073741824+ },+ "measured_bytes": 7537164288,+ "method": "demand_peak",+ "device": "RX 9060 XT (gfx1200)",+ "provenance": "scripts/calibrate_vae_tiling_working_memory.py (2026-10-29): AMD Radeon RX 9060 XT (gfx1200), torch 2.13.0+rocm10.0.0 (HIP 7.15.26333), Windows, PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True (torch reports the native allocator), MIOPEN_FIND_MODE=FAST, TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1, ROCm SDPA guard installed. Random-init FLUX.2 AutoencoderKLFlux2 with block widths (128, 256, 512, 512), encode tile field 1024, a 1024px tile, run as `flux2_vae_encode` runs it inside its model_on_device window; memory does not depend on weight values. A fresh process with the server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."}]}diff --git a/invokeai/backend/working_memory/fit.py b/invokeai/backend/working_memory/fit.pyindex 691517a84f..07e51c989a 100644--- a/invokeai/backend/working_memory/fit.py+++ b/invokeai/backend/working_memory/fit.py@@ -3,26 +3,72 @@An estimator's fitted terms price a line per operation and dtype: `k_<suffix>` bytes per unit of the line's size plus`b_<suffix>` bytes, the base a process pays whatever the size. Its `EstimatorSpec.line` says which line an operation'sfeatures price on, their size on it, and whether a measurement of them can join its fit (`Line`). The AutoencoderKL-estimators price their convolutions on a line in the output's pixels (`convolution_line`); the Z-Image and FLUX.2 denoise-price their forwards on ones in attended tokens. Each carried pair is the upper envelope of the fresh-process points it-is resolved for (see `upper_envelope`), plus `SHIPPED_MARGIN`, raised where the line's other points need it-(`raised_pair`). A point joins the fit of the entry its estimator resolves to on its platform -- the lender's, where the-estimator borrows -- when it is `in_fit` (not measured out of regime) and its line admits it.--A line is fitted on its points' demand as measured; no term is subtracted from it. So a line admits only measurements-whose demand is the line's alone. Where an estimate adds a term of its own on top of the line, a measurement of it fits-nothing: a tiled VAE operation (the tile term reuses the untiled pair), a VAE an in-place cast grew-(`upcast_weight_bytes`), and every denoise forward with an analytic term. Such a measurement still bounds the line from-above where it holds an upper bound (`bounds.line_bounds`). The VAE mid-block score matrix is not such a term: an-estimate reserves the larger of it and the convolutions, which peak apart, and on the builds that materialize it the-convolutions stay the larger over the measured sizes (`vae_working_memory._peak_of_two_phases`); the CUDA points that-force a math kernel are out of fit. A point that bounds its estimate from below only (`MeasuredPoint.holds_upper_bound`,-a `probe_demand` window) takes no part in the envelope: the fresh-process points cap a line. It is covered by the line-all the same. Where the envelope covers it by the margin, the pair stays as it is; where not, `raised_pair` raises it by-the least that keeps the upper bounds of every point priced on the line (`bounds.line_bounds`), found exactly among all-lines, and refuses, naming the points that conflict, only where no line keeps them (`LineConflict`). A line is fitted-only once its fresh-process points alone span two sizes `MIN_AREA_RATIO` apart (`fitted_pair`); until then it stays a-stand-in, which the other points bound from below and raise the same way.+estimators price their convolutions on a line in the output's pixels (`convolution_line`); the Z-Image and FLUX.2+denoise price their forwards on ones in attended tokens. Each carried pair is the upper envelope of the fresh-process+points it is resolved for (see `upper_envelope`), plus `SHIPPED_MARGIN`, raised where the line's other points need it+(`raised_pair`; for a line that sits on another, `sitting_pair`). A point joins the fit of the entry that carries its+line on its platform -- its estimator's own entry where that carries the line, the lender's where it borrows the line --+when it is `in_fit` (not measured out of regime) and its line admits it.++A line is fitted on its points' demand above what the estimate's other fitted lines price them at. Most lines sit on+none, so their points' demand is fitted as measured. A line that sits on another (`Line.sits_on`) is a tiled VAE+operation's: the estimate prices its tile on the untiled convolution line at the tile area, and its tiled line+(`tiled_<operation>_<dtype>`, in the image's pixels) what tiling adds on top. The tiled line covers each point above+the untiled demand the point's own estimator measured at that area, on the same platform, operation and dtype: the+highest of its in-fit, fresh-process points of the untiled line there (`FitPoint.reference`, the untiled references a+tiling run measures at each tile's side). Only where no such point exists does the untiled line's fitted price there+stand in. The reason is the tiles nobody measured: the shipped untiled line lies above the measured demand by a margin+that differs per tile size, and covered above the line, a tiled line would take that margin in at the measured tiles+and miss it at the others. Covered above the measured demand, it prices what tiling adds to the untiled demand at the+tile, which carries to any tile whose growth is no larger than the measured tiles'. Each point is rated on its whole+estimate, the untiled line's fitted price at its tile included, so the 1.3x bound of `bounds.py` holds for what is+reserved. Both need the untiled line's fit first, which is the dependency order: the lines that sit on none, then the+lines that sit on one of them, never a chain (`base_values`, `fitted_values`). The data test and+`scripts/working_memory/build_shipped.py` fit in this order too, both through `fitted_values`.++A line may have a second phase, which peaks apart from it (`Line.assembly`): a tiled decode assembles the image from+its decoded tiles after the last one, priced on ``assembled_decode_<dtype>`` in the same size, the image's pixels. The+estimate reserves the larger, ``max(untiled + T, A)`` for the tiled line ``T`` on the untiled line at the tile and the+assembly line ``A``, so neither line alone is an envelope of the points. Both are fitted together, from the tiled+line's points with the same offsets, by the deterministic search of `two_phase_envelope`: each candidate ``A`` is the+zero line or a line through two of the points' readings, ``T`` is the `upper_envelope` of the points above it, and the+candidate whose estimates, both lines as they ship with `SHIPPED_MARGIN`, over-reserve the capping points least wins,+the zero ``A`` on a tie (`shipped_two_phase`). Where no point needs the second phase, ``A`` is the zero line and the+estimate the line alone.++A tiled VAE operation's estimate also has a floor, a phase no line of its own prices: the buffers it holds at once, what+its node keeps or adds beside them, and the base of the untiled line beneath (`vae_working_memory._tiled_convolutions`).+The floor carries the shipped margin, as the lines do. A point the floor reserves with that margin is covered whatever+the lines above, so it takes no part in their hull and no assembly line passes through it (`FitPoint.floor`,+`point_reading`); the lines cover the others, with their own margin. It rates a candidate where the candidate prices it+above its floor, so a line that would over-reserve it loses as it would at any point; below its floor it reserves the+floor whichever candidate wins, and rates none. So a point the floor decides neither lifts a line nor escapes its upper+bound, which `bounds.py` checks against the reservation.++A measurement whose demand includes an analytic term of its estimate fits no line: a VAE an in-place cast grew+(`upcast_weight_bytes`), a batch, and every denoise forward with an analytic term. Such a measurement still bounds the+line from above where it holds an upper bound (`bounds.line_bounds`). The VAE mid-block score matrix is not such a+term: an estimate reserves the larger of it and the convolutions, which peak apart, and on the builds that materialize+it the convolutions stay the larger over the measured sizes (`vae_working_memory._peak_of_two_phases`); the CUDA points+that force a math kernel are out of fit. Nor is a tiled VAE operation's floor, which the estimate reserves where it is+the larger phase (above).++A point that bounds its estimate from below only (`MeasuredPoint.holds_upper_bound`, a `probe_demand` window) takes no+part in the envelope: the fresh-process points cap a line. A fresh-process point that caps nothing (a VAE operation on a+tile or an untiled image below `SMALLEST_APP_SIDE`, `Line.caps`) is a cold measurement: it shapes the envelope but rates+none of its edges. Every point is covered all the same. On a line that sits on none, where the envelope covers it by the+margin, the pair stays as it is; where not, `raised_pair` raises it by the least that keeps the upper bounds of every+point priced on the line (`bounds.line_bounds`), found exactly among all lines, and refuses, naming the points that+conflict, only where no line keeps them (`LineConflict`). A line that sits on another reads its points above offsets+the line beneath sets, so it is not raised that way: each coefficient ships at the larger of the fit on all its points+and the fit on its fresh-process points alone, both rated on the capping ones (`sitting_pair`), for a line with an+assembly phase both lines of each two-phase fit (`fitted_two_phase`). Either way a probe window lowers neither half of+the fresh-process fit. A line is fitted only once its capping points alone span two sizes `MIN_AREA_RATIO` apart+(`capping_spans`); until then it stays a stand-in, which the other points bound from below and raise the same way. A+line that sits on another reads its points above their offsets in both fits (`point_reading`), on the line beneath as+it ships. So a probe window on the line beneath, which raises that line,+raises the offsets and ratings the line above is read on, and the line above can come out lower in a coefficient:+part of what the tile costs moves to the line beneath, and each point stays covered and within its bound.`tests/backend/working_memory/test_shipped_coefficients.py` holds every carried value that is not a declared stand-into `fitted_values` of the shipped points, so a new point that moves a fit fails there with the value to ship. A@@ -32,14 +78,17 @@ too, which `hand_set_values` allows only for an estimator keyed by no platform tthere.A user's own calibration fits the same lines from its windows (`user_pair`, read by `user_fit.py`), with-`USER_MARGIN`, the same margin, for the estimators that opt in (`EstimatorSpec.user_calibrated`). No fresh-process-point caps a user line and no floor holds it, so its envelope always covers its points and is never raised.+`USER_MARGIN`, the same margin, for the estimators that opt in (`EstimatorSpec.user_calibrated`): the lines whose+demand is their own (`Line.own_demand`). A line that sits on another, and its assembly line, are the shipped fit's+alone. No fresh-process point caps a user line and no floor holds it, so its envelope always covers its points and is+never raised."""+import functools+import itertoolsimport mathfrom collections.abc import Callable, Iterable, Iterator, Mapping, Sequencefrom fractions import Fraction-from itertools import combinationsfrom typing import TYPE_CHECKING, Final, NamedTuple, Optionalfrom invokeai.backend.working_memory.coefficients import CoefficientEntry, MeasuredPoint, WorkingMemoryData, find_entry@@ -77,10 +126,29 @@ class Line(NamedTuple):size: int"""The operation's size on the line, in the unit its slope is per: output pixels, attended tokens."""fits: bool- """Whether a measurement of these features can join the line's fit: its demand is the line's alone."""+ """Whether a measurement of these features can join the line's fit: its demand is the line's alone, or the line's+ above the line it sits on."""label: str"""How a point of these features reads in its id (`bounds.point_id`), e.g. ``decode-bf16-1024x1024-tile512``, with``-scores`` where a VAE operation's build materializes the mid-block score matrix."""+ sits_on: Optional[tuple[str, int]] = None+ """The line the estimate prices this operation on beneath this one, as its suffix and the operation's size on it,+ or None. A tiled VAE operation sits on the untiled line at its tile area. The line named sits on none."""+ assembly: Optional[str] = None+ """The suffix of the line that prices this operation's second phase, in the same size, or None. A tiled decode+ assembles the image from its decoded tiles once the last tile ran (``assembled_decode_<dtype>``). The estimate+ reserves the larger phase: this line on the one it sits on, or the assembly line. The two are fitted together on+ this line's points (`two_phase_envelope`)."""+ caps: bool = True+ """Whether a fresh-process measurement of these features caps the line: rates its fit and holds its estimate to+ the upper bound of `bounds.py`. False for a VAE operation below `SMALLEST_APP_SIDE`, on a smaller tile or a smaller+ image, whose measurement bounds its estimate from below only."""++ @property+ def own_demand(self) -> bool:+ """Whether a measurement of these features measures this line's demand alone: it fits, and sits on no other+ line. The lines a user calibration fits."""+ return self.fits and self.sits_on is NoneLineFunction = Callable[[Mapping[str, FeatureValue]], Optional[Line]]@@ -107,13 +175,36 @@ def off_line_reasons(]-def convolution_line(features: Mapping[str, FeatureValue]) -> Optional[Line]:- """The AutoencoderKL convolution line ``<operation>_<dtype>``, in output pixels: every VAE estimator's.+SMALLEST_APP_SIDE: Final = 512+"""The side, in output pixels, below which a VAE operation's measurement bounds its estimate from below only: it is+covered, but it neither rates nor caps a line (`Line.caps`), since a line held to it would over-reserve the sizes the+app runs, whose demand grows less per pixel.++- A tile: the upscale tab's smallest, `UPSCALE_TILE_SIZE_MIN` in+ `invokeai/frontend/webv2/src/features/upscale/core/settings.ts`, and the size the nodes' default resolves to for+ FLUX.1 and FLUX.2 (1024 px for SD). A smaller one is set by hand in the workflow editor only.+- An untiled image of fewer pixels than a square of this side: the model cache reserves at least the 3 GiB default+ `device_working_mem_gb`, and every shipped estimate stays below that up to 384 px a side (at 256 px, the smallest+ measured, below 1.4 GiB), so over-reserving such an image costs nothing by default. CogView4's decode on MIOpen+ passes it from about 448 px."""- An untiled single-sample operation of an AutoencoderKL whose VAE no in-place cast grew fits it. Tiled operations- reuse the untiled line, the cast's growth is a term of its own, and the lines are the AutoencoderKL convolutions':- the SD estimator also prices the tiny autoencoder (`vae_class` AutoencoderTiny) on them, a different network whose- windows say nothing about those lines. Estimators that name no `vae_class` price an AutoencoderKL only.++def convolution_line(features: Mapping[str, FeatureValue]) -> Optional[Line]:+ """The AutoencoderKL convolution line of an operation: every VAE estimator's.++ An untiled operation prices on ``<operation>_<dtype>`` in output pixels. A tiled one prices on+ ``tiled_<operation>_<dtype>`` in the image's pixels, all samples' together, and sits on the untiled line at the+ area of its tile clamped to the image per axis: an estimator records a covering tile as no tile, since the VAE+ runs the single pass then. A tiled decode has a second phase, after its last tile: the decoded tiles, the rows+ blended from them and the image concatenated from those, all live at once, and the node's post-processing. It+ prices on the assembly line ``assembled_decode_<dtype>`` in the same size (`Line.assembly`). A tiled encode+ assembles only the moments, at an eighth of each side, which its tiled line covers. A tile below+ `SMALLEST_APP_SIDE`, or an untiled image of fewer pixels than its square, caps nothing (`Line.caps`).++ A single-sample operation of an AutoencoderKL whose VAE no in-place cast grew fits its line. The cast's growth is a+ term of its own, a batch prices its base once per sample, and the lines are the AutoencoderKL convolutions': the SD+ estimator also prices the tiny autoencoder (`vae_class` AutoencoderTiny) on them, a different network whose windows+ say nothing about those lines. Estimators that name no `vae_class` price an AutoencoderKL only."""operation, dtype = features.get("operation"), features.get("dtype")height, width = features.get("height"), features.get("width")@@ -123,16 +214,27 @@ def convolution_line(features: Mapping[str, FeatureValue]) -> Optional[Line]:return Nonetile, batch = features.get("tile"), features.get("batch_size", 1)fits = (- tile is None- and batch == 1+ batch == 1and not features.get("upcast_weight_bytes", 0)and features.get("vae_class", "AutoencoderKL") == "AutoencoderKL")- tiled = f"-tile{tile}" if tile is not None else ""batched = f"-b{batch}" if batch != 1 else ""scored = "-scores" if features.get("score_matrix_bytes") else ""- label = f"{operation}-{dtype}-{height}x{width}{tiled}{batched}{scored}"- return Line(f"{operation}_{dtype}", height * width, fits, label)+ label = f"{operation}-{dtype}-{height}x{width}"+ if not isinstance(tile, int):+ caps = height * width >= SMALLEST_APP_SIDE * SMALLEST_APP_SIDE+ return Line(f"{operation}_{dtype}", height * width, fits, f"{label}{batched}{scored}", caps=caps)+ samples = batch if isinstance(batch, int) else 1+ tile_area = min(tile, height) * min(tile, width)+ return Line(+ f"tiled_{operation}_{dtype}",+ height * width * samples,+ fits,+ f"{label}-tile{tile}{batched}{scored}",+ sits_on=(f"{operation}_{dtype}", tile_area),+ assembly=f"assembled_decode_{dtype}" if operation == "decode" else None,+ caps=tile >= SMALLEST_APP_SIDE,+ )def entry_key(entry: CoefficientEntry | MeasuredPoint) -> EntryKey:@@ -143,13 +245,32 @@ class FitPoint(NamedTuple):size: intbytes: intcaps: bool- """Whether the point takes part in choosing the line (`MeasuredPoint.holds_upper_bound`); every point is covered."""+ """Whether the point takes part in choosing the line (`MeasuredPoint.holds_upper_bound` and `Line.caps`); every+ point is covered."""+ base: Optional[tuple[EntryKey, str, int]] = None+ """For a point of a line that sits on another (`Line.sits_on`): the entry that carries that line for the point,+ its suffix, and the point's size on it."""+ assembly: Optional[str] = None+ """For a point of a line with an assembly phase (`Line.assembly`): the assembly line's suffix."""+ reference: Optional[int] = None+ """For a point of a line that sits on another: the highest untiled demand its own estimator measured on its+ platform at its size on the line beneath, of its in-fit points that hold the upper bound; None where none did."""+ fresh: bool = False+ """Whether the point is a fresh-process measurement (`MeasuredPoint.holds_upper_bound`), not a warm `probe_demand`+ window. A fresh point below `SMALLEST_APP_SIDE` caps nothing but still shapes the fit a line is held to at least+ (`fitted_pair`)."""+ floor: Optional[Callable[[Mapping[str, float]], float]] = None+ """For a point of a line that sits on another: what its estimate reserves whatever the lines price its tile and+ what tiling adds, given the values the line beneath ships (`point_reading`): the estimate with this line, its+ assembly line and the slope of the line beneath at zero. The slope prices the tile, which is the tile phase's and+ no floor; the base beneath stays, which a tiled VAE operation's floor holds beside the buffers it counts+ (`vae_working_memory._tiled_convolutions`). A point its floor covers needs no line to cover it."""class LineBound(NamedTuple):"""An upper bound a point sets on a line it is priced on (`bounds.line_bounds`): its estimate's terms on the line,``k * size + b * bases``, at most `ceiling` bytes. `size` is in the line's unit and counts every unit the estimate- prices at the slope: a batch's samples, a tile with its overlap."""+ prices at the slope: a batch's samples, a tile."""size: Fractionbases: Fraction@@ -170,26 +291,94 @@ def spans(sizes: Iterable[int]) -> bool:return len(distinct) >= 2 and distinct[-1] >= MIN_AREA_RATIO * distinct[0]-def upper_envelope(points: Sequence[tuple[int, int]]) -> tuple[Fraction, Fraction]:- """The line ``y = k * x + b`` on or above every ``(x, y)`` point, with ``b >= 0``, that over-reserves least.+class Reading(NamedTuple):+ """A point as the envelopes read it."""- The candidates are the edges of the upper convex hull of the points and the origin: each such line lies on or- above every point, and the origin keeps its intercept non-negative. Of those, the one whose largest ratio to the- highest reading of a size is smallest wins, the steeper one on a tie, since it is the more conservative past the- largest point. Only the highest reading counts: a lower one at a measured size is covered whatever the line, and- rating against it would tilt the line though no point lies above it. Raises unless the points span two sizes at- least `MIN_AREA_RATIO` apart.+ size: int+ bytes: int+ """What it measured."""+ offset: Fraction+ """For a line that sits on another, the demand above which the line covers it; 0 without."""+ priced: Fraction+ """For a line that sits on another, what its estimate prices it at beneath the line, which its rating counts; the+ offset without."""+ floor: Fraction+ """What its estimate reserves whatever the line (`FitPoint.floor`); 0 without."""+++PointReading = (+ Reading+ | tuple[int, int]+ | tuple[int, int, Fraction]+ | tuple[int, int, Fraction, Fraction]+ | tuple[int, int, Fraction, Fraction, Fraction]+)+"""What the envelopes take for a point: a `Reading`, or its leading fields as a plain tuple, the others at their+defaults (a point that sits on nothing and has no floor reads ``(size, bytes)``)."""+++def _readings(points: Sequence[PointReading]) -> list[Reading]:+ readings = []+ for x, y, *rest in points:+ offset = Fraction(rest[0]) if rest else Fraction(0)+ priced = Fraction(rest[1]) if len(rest) > 1 else offset+ readings.append(Reading(x, y, offset, priced, Fraction(rest[2]) if len(rest) > 2 else Fraction(0)))+ return readings+++def _floor_covers(reading: Reading) -> bool:+ """Whether a point's floor covers it with the shipped margin: the floor an estimate reserves carries the margin a+ line ships with (`vae_working_memory._with_margin`), so the floor covers a point where it reserves the reading plus+ that margin whatever the lines above, as a shipped line covers its points."""+ return reading.bytes * (1 + SHIPPED_MARGIN) <= reading.floor+++def _ratio(shipped: Fraction, reading: int, floor: Fraction, rated: Optional[Fraction] = None) -> Optional[Fraction]:+ """What a candidate over-reserves a point by, its estimate `rated` (by default what it `shipped`) over the+ `reading`; or None where the point's floor covers it and the candidate, as it ships, prices it no higher: the+ estimate is the floor then, whichever candidate wins."""+ if reading <= floor and shipped <= floor:+ return None+ return (shipped if rated is None else rated) / reading+++def _rated(readings: Sequence[Reading]) -> dict[tuple[int, Fraction, Fraction, Fraction], int]:+ """The highest reading of each size, offset, price beneath and floor: the readings that rate a line."""+ rated: dict[tuple[int, Fraction, Fraction, Fraction], int] = {}+ for x, y, o, r, f in readings:+ rated[(x, o, r, f)] = max(y, rated.get((x, o, r, f), y))+ return rated+++def upper_envelope(+ points: Sequence[PointReading], capping: Optional[Sequence[PointReading]] = None+) -> tuple[Fraction, Fraction]:+ """The line ``y = k * x + b`` with ``k, b >= 0`` on or above every point's demand above its offset, ``y - offset``,+ that over-reserves least.++ The candidates are the rising edges of the upper convex hull of those demands and the origin, and the flat line+ through its highest vertex: each such line lies on or above every point, and the origin keeps its intercept+ non-negative. A falling edge would price larger images below smaller ones. Of those, the one whose largest ratio of+ a point's estimate, what it is priced at beneath the line plus ``k * x + b``, to its reading is smallest wins, the+ steeper one on a tie, since it is the more conservative past the largest point. Only the highest reading of a size+ and offset counts: a lower one of the same measurement is covered whatever the line, and rating against it would+ tilt the line though no point lies above it. Points that share a size but not an offset are different operations, a+ tiled one at two tiles, and each rates the edges. With `capping`, a subset of the points, only its readings rate+ the edges: the others are covered but cap nothing. Without any, all points rate them. Where no point's demand lies+ above its offset, the line is zero: the estimate beneath it covers every point.++ A point its floor covers takes no part in the hull. A point rates an edge only where the edge, as it would ship with+ `SHIPPED_MARGIN`, prices it above its floor, which carries that margin too: below, its estimate is the floor+ whatever the edge, the same for every candidate, and rating it would let a ratio no line can change decide between+ them (`_ratio`). Raises unless the points span two sizes at least `MIN_AREA_RATIO` apart."""- if not points or any(x <= 0 or y <= 0 for x, y in points):- raise ValueError(f"an envelope needs points with positive sizes and bytes, got {list(points)}")- sizes = sorted({x for x, _ in points})- if not spans(sizes):- raise ValueError(- f"an envelope needs two sizes at least {MIN_AREA_RATIO}x apart, got {sizes}; measure more sizes"- )+ readings = _readings(points)+ _check_sizes(points, readings)+ above_floor = [reading for reading in readings if not _floor_covers(reading)]+ sizes = sorted({x for x, *_ in above_floor})- highest = {x: max(y for px, y in points if px == x) for x in sizes}- hull: list[tuple[int, int]] = [(0, 0)]+ highest = {x: max(y - o for px, y, o, _, _ in above_floor if px == x) for x in sizes}+ hull: list[tuple[int, Fraction]] = [(0, Fraction(0))]for point in highest.items():# Drop the last vertex while it is not above the chord from the one before it to this point.while len(hull) >= 2:@@ -199,25 +388,129 @@ def upper_envelope(points: Sequence[tuple[int, int]]) -> tuple[Fraction, Fractiohull.pop()hull.append(point)+ rated = _rated(_readings(capping) if capping else readings)+ edges = [((y1 - y0) / (x1 - x0), x0, y0) for (x0, y0), (x1, y1) in zip(hull, hull[1:], strict=False)]+ candidates = [(k, y0 - k * x0) for k, x0, y0 in edges if k >= 0]+ # Past the hull's highest vertex its edges fall; the flattest line `k >= 0` allows through that vertex stands in+ # for them. It is the last rising edge's equal or worse wherever the hull only rises, so it changes nothing there,+ # and where no edge rises (every demand below its offset) it is the zero line.+ candidates.append((Fraction(0), max(y for _, y in hull)))best: tuple[Fraction, Fraction, Fraction] | None = None- for (x0, y0), (x1, y1) in zip(hull, hull[1:], strict=False):- k = Fraction(y1 - y0, x1 - x0)- b = y0 - k * x0- if k < 0:- continue- worst = max((k * x + b) / y for x, y in highest.items())+ for k, b in candidates:+ ratios = [+ _ratio(r + (1 + SHIPPED_MARGIN) * (k * x + b), y, f, rated=r + k * x + b)+ for (x, _, r, f), y in rated.items()+ ]+ worst = max((ratio for ratio in ratios if ratio is not None), default=Fraction(0))if best is None or (worst, -k) < (best[0], -best[1]):best = (worst, k, b)- assert best is not None, "the edge from the origin always rises"+ assert best is not None, "the flat line is always a candidate"return best[1], best[2]-def shipped_pair(points: Sequence[tuple[int, int]]) -> tuple[int, int]:+LinePair = tuple[Fraction, Fraction]+"""A line's slope and intercept."""+++def two_phase_envelope(+ points: Sequence[PointReading], capping: Optional[Sequence[PointReading]] = None+) -> tuple[LinePair, LinePair]:+ """A line that sits on another and its assembly line (`Line.assembly`), chosen together: ``T`` above each point's+ offset, ``A`` on its own, such that ``max(offset + T(x), A(x))`` lies on or above every point and, as the lines+ ship, over-reserves least. A deterministic search:++ 1. The candidates for ``A``: the zero line, and every line ``k >= 0`` through the readings ``(x_i, y_i)`` and+ ``(x_j, y_j)`` of two points with ``x_i < x_j``. ``A``'s intercept may be negative: it only counts where ``A``+ is the larger phase.+ 2. Each point above a candidate's ``A`` is left to ``T``: the `upper_envelope` of those points, rated on those of+ them that cap (on all of them where none does), or the zero line if no point is left. A candidate whose points+ left span no two sizes `MIN_AREA_RATIO` apart cannot fit ``T`` and is skipped.+ 3. Each candidate is rated as it ships: both lines plus `SHIPPED_MARGIN` and rounded (`_with_margin`), ``T'`` and+ ``A'``, on the capping points (without `capping`, on all), by the ratio of a point's estimate+ ``max(priced + T'(x), A'(x))`` to its reading, ``priced`` what it is priced at beneath ``T``, the highest+ reading of a size and offset only, as `upper_envelope` rates. The smallest largest ratio wins, then the+ smallest sum of ratios. A tie goes to the zero ``A``, so that no assembly line ships that no point needs;+ between two other candidates, to the steeper ``A``, the more conservative past the largest point, then to the+ higher intercept. ``A`` decides ``T``, so that orders every candidate.++ Rated before the margin, the search would favour the assembly line where it should not: the margin scales the+ whole phase a line prices, for ``A`` a point's whole demand and for ``T`` only what tiling adds above the tile, so a+ point ``A`` prices would ship 5% above the ratio it was rated at. The margin plays no part in which points ``A``+ covers: that is step 2, before it.++ With the zero ``A`` every point is left to ``T``: the line alone, as `upper_envelope` fits it. Returns the chosen+ lines before the margin, which `shipped_two_phase` adds. Raises unless the points span two sizes at least+ `MIN_AREA_RATIO` apart.++ A point at or below its floor (`FitPoint.floor`) is covered whatever the lines: no candidate ``A`` passes through+ it, ``T`` need not cover it (`upper_envelope`), and it rates a candidate, and ``T`` within it, only where the+ candidate prices it above its floor, as `upper_envelope` rates.+ """+ readings = _readings(points)+ _check_sizes(points, readings)+ rated = _rated(_readings(capping) if capping else readings)+ capping_readings = _readings(capping) if capping else []++ measured = sorted({(reading.size, reading.bytes) for reading in readings if not _floor_covers(reading)})+ assemblies = {(Fraction(0), Fraction(0))}+ for (x0, y0), (x1, y1) in itertools.combinations(measured, 2):+ if x0 < x1 and y1 >= y0:+ k = Fraction(y1 - y0, x1 - x0)+ assemblies.add((k, y0 - k * x0))++ best: Optional[tuple[tuple[Fraction, Fraction, tuple[Fraction, ...]], LinePair, LinePair]] = None+ for k_a, b_a in assemblies:+ left = [reading for reading in readings if reading.bytes > k_a * reading.size + b_a]+ if left:+ left_capping = [reading for reading in capping_readings if reading.bytes > k_a * reading.size + b_a]+ try:+ line = upper_envelope(left, left_capping)+ except ValueError:+ continue+ else:+ line = (Fraction(0), Fraction(0))+ (k_t, b_t), (k_s, b_s) = _with_margin(*line, SHIPPED_MARGIN), _with_margin(k_a, b_a, SHIPPED_MARGIN)+ priced = [(max(r + k_t * x + b_t, Fraction(k_s * x + b_s)), y, f) for (x, _, r, f), y in rated.items()]+ ratios = [ratio for ratio in (_ratio(*point) for point in priced) if ratio is not None]+ tie_break = (Fraction(0),) if k_a == b_a == 0 else (Fraction(1), -k_a, -b_a)+ rating = (max(ratios, default=Fraction(0)), sum(ratios, Fraction(0)), tie_break)+ if best is None or rating < best[0]:+ best = (rating, line, (k_a, b_a))+ assert best is not None, "the zero assembly line leaves every point to the line, which fits them"+ return best[1], best[2]+++def _check_sizes(points: Sequence[PointReading], readings: Sequence[Reading]) -> None:+ if not readings or any(x <= 0 or y <= 0 for x, y, *_ in readings):+ raise ValueError(f"an envelope needs points with positive sizes and bytes, got {list(points)}")+ sizes = sorted({x for x, *_ in readings})+ if not spans(sizes):+ raise ValueError(+ f"an envelope needs two sizes at least {MIN_AREA_RATIO}x apart, got {sizes}; measure more sizes"+ )+++def _with_margin(k: Fraction, b: Fraction, margin: Fraction) -> tuple[int, int]:+ """A line scaled by ``1 + margin``, slope and intercept alike, so that it grows wherever it is positive, a+ negative intercept included; the slope rounded up to a whole byte per unit of size and the intercept to a whole+ MiB, a negative one towards zero."""+ scale = 1 + margin+ return math.ceil(k * scale), math.ceil(b * scale / _MIB) * _MIB+++def shipped_pair(points: Sequence[PointReading], capping: Optional[Sequence[PointReading]] = None) -> tuple[int, int]:"""The slope and intercept to ship for these points: the envelope plus `SHIPPED_MARGIN`, the slope rounded up toa whole byte per unit of size and the intercept to a whole MiB."""- k, b = upper_envelope(points)- margin = 1 + SHIPPED_MARGIN- return math.ceil(k * margin), math.ceil(b * margin / _MIB) * _MIB+ return _with_margin(*upper_envelope(points, capping), SHIPPED_MARGIN)+++def shipped_two_phase(+ points: Sequence[PointReading], capping: Optional[Sequence[PointReading]] = None+) -> tuple[tuple[int, int], tuple[int, int]]:+ """The slope and intercept to ship for a line with an assembly phase and for its assembly line: the pair+ `two_phase_envelope` chooses, each plus `SHIPPED_MARGIN` and rounded up as `shipped_pair` rounds."""+ line, assembly = two_phase_envelope(points, capping)+ return _with_margin(*line, SHIPPED_MARGIN), _with_margin(*assembly, SHIPPED_MARGIN)def user_pair(points: Sequence[tuple[int, int]]) -> tuple[int, int]:@@ -227,9 +520,7 @@ def user_pair(points: Sequence[tuple[int, int]]) -> tuple[int, int]:Every user point is a `probe_demand` window, so all of them rate the envelope's edges, and none caps the line orfloors it: the envelope covers them all, with no raise (`raised_pair`) to search for. Raises like`upper_envelope` unless the points span two sizes `MIN_AREA_RATIO` apart."""- k, b = upper_envelope(points)- margin = 1 + USER_MARGIN- return math.ceil(k * margin), math.ceil(b * margin / _MIB) * _MIB+ return _with_margin(*upper_envelope(points), USER_MARGIN)def carried_lines(entry: CoefficientEntry) -> set[str]:@@ -255,44 +546,118 @@ def fit_points() -> Mapping[LineKey, list[FitPoint]]:"""Per carried entry and line, the points that line is fitted on.- A point belongs to the entry its own estimator's entry resolves to on its platform, one `values_from` hop, and to- the line its estimator's `EstimatorSpec.line` places its features on, where that admits them. `specs` holds the- spec of every estimator a point names. Lines no point measures are absent.+ A point belongs to the line its estimator's `EstimatorSpec.line` places its features on, where that admits them,+ of the entry that carries that line on its platform (`carrier_of`). A point of a line that sits on another names+ the entry that carries that one (`FitPoint.base`) and the untiled demand its own estimator measured there+ (`FitPoint.reference`). A point of a line with an assembly phase measures the assembly line too, which the same+ entry carries, and is listed under both (`FitPoint.assembly`). `specs` holds the spec of every estimator a point+ names. Lines no point measures are absent. Raises where a line sits on one no entry+ carries, or on one that sits on another, and where its entry does not carry its assembly line."""files = list(data)entries = [entry for file in files for entry in file.coefficients]+ placed = [+ (point, line)+ for point in (point for file in files for point in file.points)+ if point.in_fit and (line := specs[point.estimator].line(point.features)) is not None and line.fits+ ]+ references: dict[tuple[str, int, tuple[tuple[str, str], ...], str, int], int] = {}+ for point, line in placed:+ if line.sits_on is None and point.holds_upper_bound:+ key = (point.estimator, point.version, tuple(sorted(point.platform.items())), line.suffix, line.size)+ references[key] = max(point.measured_bytes, references.get(key, 0))groups: dict[LineKey, list[FitPoint]] = {}- for point in (point for file in files for point in file.points):- if not point.in_fit:- continue- line = specs[point.estimator].line(point.features)- if line is None or not line.fits:+ for point, line in placed:+ owner = carrier_of(entries, point, line.suffix)+ if line.suffix not in carried_lines(owner):continue- owner = carrier_of(entries, point)- if line.suffix in carried_lines(owner):- fitted_on = groups.setdefault((entry_key(owner), line.suffix), [])- fitted_on.append(FitPoint(line.size, point.measured_bytes, point.holds_upper_bound))+ base, reference = None, None+ if line.sits_on is not None:+ suffix, size = line.sits_on+ carrier = carrier_of(entries, point, suffix)+ if suffix not in carried_lines(carrier):+ raise ValueError(f"{point.estimator} on {point.platform}: {line.suffix} sits on {suffix}, not carried")+ base = (entry_key(carrier), suffix, size)+ platform = tuple(sorted(point.platform.items()))+ reference = references.get((point.estimator, point.version, platform, suffix, size))+ fresh = point.holds_upper_bound+ caps = fresh and line.caps+ floor = None+ if line.sits_on is not None:+ lines = frozenset(f"{part}_{name}" for name in (line.suffix, line.assembly) if name for part in "kb")+ zeroed = lines | {f"k_{line.sits_on[0]}"}+ floor = functools.partial(_floor, specs[point.estimator].terms, point.features, zeroed)+ fit_point = FitPoint(line.size, point.measured_bytes, caps, base, line.assembly, reference, fresh, floor)+ groups.setdefault((entry_key(owner), line.suffix), []).append(fit_point)+ if line.assembly is not None:+ if line.assembly not in carried_lines(owner):+ raise ValueError(+ f"{point.estimator} on {point.platform}: {line.suffix} pairs with {line.assembly}, not carried"+ )+ groups.setdefault((entry_key(owner), line.assembly), []).append(fit_point)+ sitting = {key for key, points in groups.items() if any(point.base for point in points)}+ for (owner_key, suffix), points in groups.items():+ chained = sorted({point.base[1] for point in points if point.base and point.base[:2] in sitting})+ if chained:+ raise ValueError(f"{owner_key[0]} on {dict(owner_key[2])}: {suffix} sits on {chained}, which sit on others")return groups-def carrier_of(entries: Sequence[CoefficientEntry], point: MeasuredPoint) -> CoefficientEntry:- """The entry that carries the values `point` is evaluated with: its estimator's entry on its platform, or the one- that entry borrows from. A point names the OS only where it measured an OS-specific entry's platform."""+def _floor(+ terms: Callable[[Mapping[str, FeatureValue], Mapping[str, float]], Iterable[WorkingMemoryTerm]],+ features: Mapping[str, FeatureValue],+ zeroed: frozenset[str],+ values: Mapping[str, float],+) -> float:+ """What an estimate reserves for `features` with the `zeroed` coefficients at zero and the others at `values`: the+ included terms' bytes, summed in term order as `WorkingMemoryEstimate` sums them."""+ total: float = 0+ for term in terms(features, {**values, **dict.fromkeys(zeroed, 0.0)}):+ if term.included:+ total += term.bytes+ return total+++def carrier_of(entries: Sequence[CoefficientEntry], point: MeasuredPoint, suffix: str) -> CoefficientEntry:+ """The entry that carries line `suffix` for `point`: its estimator's entry on its platform where that carries the+ line itself, the one that entry borrows from otherwise. A point names the OS only where it measured an OS-specific+ entry's platform."""where = f"{point.estimator} point on {point.platform}"entry = find_entry(entries, point.estimator, point.version, point.platform, where)- if entry.values_from is None:+ if entry.values_from is None or suffix in carried_lines(entry):return entryreturn find_entry(entries, entry.values_from.estimator, entry.values_from.version, point.platform, where)+def point_reading(point: FitPoint, bases: Mapping[EntryKey, Mapping[str, float]]) -> Reading:+ """A point as the envelopes read it: covered above the untiled demand its estimator measured at its tile, where it+ did, and above the line beneath otherwise; rated on what that line prices it at, plus the line's own, and never+ below its floor (`FitPoint.floor`), which the line beneath decides too. Public for+ `scripts/working_memory/build_shipped.py`, which raises a stand-in on its points as the fit reads them."""+ if point.base is None:+ return Reading(point.size, point.bytes, Fraction(0), Fraction(0), Fraction(0))+ key, suffix, size = point.base+ values = bases[key]+ priced = Fraction(values[f"k_{suffix}"]) * size + Fraction(values[f"b_{suffix}"])+ offset = priced if point.reference is None else Fraction(point.reference)+ floor = Fraction(point.floor(values)) if point.floor is not None else Fraction(0)+ return Reading(point.size, point.bytes, offset, priced, floor)++def entry_fit(entry: CoefficientEntry,groups: Mapping[LineKey, Sequence[FitPoint]],+ bases: Optional[Mapping[EntryKey, Mapping[str, float]]],bounds: Mapping[LineKey, Sequence[LineBound]],) -> tuple[dict[str, float], dict[str, str], dict[str, str]]:"""What `fitted_pair` gives each line `entry` carries and does not declare a stand-in, from `groups`(`fit_points`) within `bounds` (`bounds.line_bounds` of the same data); per such line its points cannot fit, why;- and per such line whose points conflict with the bounds (`LineConflict`), why."""+ and per such line whose points conflict with the bounds (`LineConflict`), why.++ A line that sits on another is rated on what the line beneath prices its points at, with `bases`+ (`base_values`), and fitted by `sitting_pair`. Given None, as `base_values` fits the lines that sit on none first,+ such a line is a problem: it cannot be fitted yet. A line with an assembly phase is fitted together with its+ assembly line (`fitted_two_phase`), which gets its values there."""key = entry_key(entry)values: dict[str, float] = {}problems: dict[str, str] = {}@@ -304,36 +669,74 @@ def entry_fit(if not line:problems[suffix] = "no in-fit point measures it"continue+ if any(point.assembly == suffix for point in line):+ continue+ sits = any(point.base for point in line)+ if bases is None and sits:+ problems[suffix] = "it sits on another line, whose fit it needs first (fit.base_values)"+ continue+ readings = [point_reading(point, bases or {}) for point in line]+ capping = [reading for reading, point in zip(readings, line, strict=True) if point.caps]+ fresh = [reading for reading, point in zip(readings, line, strict=True) if point.fresh]+ assembly = line[0].assemblytry:- k, b = fitted_pair(line, bounds.get((key, suffix), ()))+ if not sits:+ pair = fitted_pair(line, bounds.get((key, suffix), ()))+ values |= dict(zip((f"k_{suffix}", f"b_{suffix}"), pair, strict=True))+ elif assembly is None:+ pair = sitting_pair(readings, fresh, capping)+ values |= dict(zip((f"k_{suffix}", f"b_{suffix}"), pair, strict=True))+ else:+ pair, assembled = fitted_two_phase(readings, fresh, capping)+ values |= dict(zip((f"k_{suffix}", f"b_{suffix}"), pair, strict=True))+ values |= dict(zip((f"k_{assembly}", f"b_{assembly}"), assembled, strict=True))except LineConflict as e:conflicts[suffix] = str(e)- continueexcept ValueError as e:problems[suffix] = str(e)- continue- values |= {f"k_{suffix}": k, f"b_{suffix}": b}return values, problems, conflicts+def base_values(+ entries: Iterable[CoefficientEntry],+ groups: Mapping[LineKey, Sequence[FitPoint]],+ bounds: Mapping[LineKey, Sequence[LineBound]],+) -> dict[EntryKey, dict[str, float]]:+ """Per entry that carries values, what a line that sits on one of its lines prices that line with: its carried+ values, with the fit of each line that sits on none in their place where the entry is fitted (not `legacy`, not a+ stand-in), within `bounds` (`bounds.line_bounds` of the same data). The first step of the fit's order: the lines+ that sit on one are the problems of this step, and are fitted on its result (`fitted_values`)."""+ bases: dict[EntryKey, dict[str, float]] = {}+ for entry in entries:+ if entry.values is None:+ continue+ fitted = {} if entry.legacy else entry_fit(entry, groups, None, bounds)[0]+ bases[entry_key(entry)] = dict(entry.values) | fitted+ return bases++def fitted_values(data: Iterable[WorkingMemoryData],specs: Mapping[str, "EstimatorSpec"],bounds: Mapping[LineKey, Sequence[LineBound]],) -> Mapping[EntryKey, Mapping[str, float]]:"""Per entry that carries values and is not `legacy`, what `fitted_pair` gives each line it does not declare a- stand-in (`entry_fit`), within the upper bounds `bounds` holds for it (`bounds.line_bounds` of the same data).+ stand-in within the upper bounds `bounds` holds for it (`bounds.line_bounds` of the same data), `sitting_pair` each+ line that sits on another, and `fitted_two_phase` each line with an assembly phase together with its assembly line+ (`entry_fit`): the lines that sit on none first, then those that sit on one, rated with that fit (`base_values`).Raises, naming the entry and line, where the points cannot fit that line: `ValueError` where they do not measureit well enough, `LineConflict` where they conflict with the upper bounds."""files = list(data)groups = fit_points(files, specs)+ entries = [entry for file in files for entry in file.coefficients]+ bases = base_values(entries, groups, bounds)fitted: dict[EntryKey, dict[str, float]] = {}- for entry in (entry for file in files for entry in file.coefficients):+ for entry in entries:if entry.values is None or entry.legacy:continue- values, problems, conflicts = entry_fit(entry, groups, bounds)+ values, problems, conflicts = entry_fit(entry, groups, bases, bounds)if problems:suffix, problem = next(iter(problems.items()))raise ValueError(f"{entry.estimator} on {entry.platform}, {suffix}: {problem}")@@ -346,24 +749,69 @@ def fitted_values(def capping_spans(line: Sequence[FitPoint]) -> bool:- """Whether a line's fresh-process points alone span the sizes a fit needs, as only then is it fitted. Warm- windows, or one fresh size with warm windows at others, could pin it below what a cold first run needs."""+ """Whether a line's capping points (`FitPoint.caps`) alone span the sizes a fit needs, as only then is it fitted.+ Warm windows, or one fresh size with warm windows or points below `SMALLEST_APP_SIDE` at others, could pin it below+ what a cold first run at a size the app sets needs."""return spans(point.size for point in line if point.caps)-def fitted_pair(line: Sequence[FitPoint], bounds: Sequence[LineBound]) -> tuple[float, float]:- """The pair to ship for a line: the fit on its fresh-process points alone (`shipped_pair`), raised by- `raised_pair` to cover its other points within `bounds`. A `probe_demand` point thus never lowers either half of- the fresh-process fit, and one that fit already covers leaves it as it is.-- Raises unless the fresh-process points span (`capping_spans`), and where no raise keeps every bound."""- capping = [(p.size, p.bytes) for p in line if p.caps]- if not capping_spans(line):+def _check_capping(capping: Sequence[PointReading]) -> None:+ sizes = sorted({x for x, *_ in capping})+ if not spans(sizes):raise ValueError(- f"its fresh-process points measure sizes {sorted({x for x, _ in capping})}, not two at least "- f"{MIN_AREA_RATIO}x apart; keep it a stand-in until they do"+ f"its capping points measure sizes {sizes}, not two at least {MIN_AREA_RATIO}x apart; keep it a "+ "stand-in until they do")- return raised_pair(shipped_pair(capping), line, bounds)+++def _larger(first: tuple[int, int], second: tuple[int, int]) -> tuple[int, int]:+ return max(first[0], second[0]), max(first[1], second[1])+++def fitted_pair(line: Sequence[FitPoint], bounds: Sequence[LineBound]) -> tuple[float, float]:+ """The pair to ship for a line that sits on none: the fit on its fresh-process points (`shipped_pair`), rated on+ its capping ones, raised by `raised_pair` to cover its other points within `bounds`. A `probe_demand` point thus+ never lowers either half of the fresh-process fit, and one that fit already covers leaves it as it is. A fresh point+ that caps nothing (below `SMALLEST_APP_SIDE`) is a cold measurement: it shapes the fit, and rates none of it.++ Raises unless the capping points span (`capping_spans`), and where no raise keeps every bound."""+ capping = [(point.size, point.bytes) for point in line if point.caps]+ _check_capping(capping)+ fresh = [(point.size, point.bytes) for point in line if point.fresh]+ return raised_pair(shipped_pair(fresh, capping), line, bounds)+++def sitting_pair(+ readings: Sequence[PointReading], fresh: Sequence[PointReading], capping: Sequence[PointReading]+) -> tuple[int, int]:+ """The pair to ship for a line that sits on another (`shipped_pair`), from its readings (`point_reading`), `fresh`+ those of its fresh-process points and `capping` those of its capping points: the coefficient-wise larger of its fit+ on all of them and its fit on the fresh ones alone, both rated on the capping ones. A probe window above the hull+ can drop a fresh vertex and so lower one half of the line; the larger of the two keeps both at the fresh fit at+ least. A fresh point that caps nothing (below `SMALLEST_APP_SIDE`) is a cold measurement: it shapes both fits, and+ rates neither. Its readings sit above offsets the line beneath sets, so `raised_pair`, whose constraints are+ half-planes in this line's own slope and base, does not raise it.++ Raises unless the capping readings span (`capping_spans`)."""+ _check_capping(capping)+ return _larger(shipped_pair(readings, capping), shipped_pair(fresh, capping))+++def fitted_two_phase(+ readings: Sequence[PointReading], fresh: Sequence[PointReading], capping: Sequence[PointReading]+) -> tuple[tuple[int, int], tuple[int, int]]:+ """The pairs to ship for a line with an assembly phase and for its assembly line (`shipped_two_phase`): per line+ and coefficient, the larger of the two-phase fit on all the readings and the two-phase fit on the fresh ones+ alone, both rated on the capping ones. Each estimate ``max(priced + T(x), A(x))`` grows with every coefficient, so+ the result lies on or above both fits' estimates at every size: a probe window on this line can raise either line+ but lower neither. Both fits read the readings on the line beneath as it ships, which a probe window there can+ raise (`point_reading`).++ Raises unless the capping readings span (`capping_spans`)."""+ _check_capping(capping)+ line, assembly = shipped_two_phase(readings, capping)+ fresh_line, fresh_assembly = shipped_two_phase(fresh, capping)+ return _larger(line, fresh_line), _larger(assembly, fresh_assembly)class _HalfPlane(NamedTuple):@@ -383,7 +831,7 @@ class _HalfPlane(NamedTuple):def _corners(constraints: Sequence[_HalfPlane]) -> Iterator[tuple[Fraction, Fraction]]:"""Every line where the boundaries of two constraints meet and all of them hold: the corners of the region oflines that satisfy them, exactly. With both floors among them the region has a corner unless it is empty."""- for p, q in combinations(constraints, 2):+ for p, q in itertools.combinations(constraints, 2):det = p.size * q.bases - p.bases * q.sizeif det:k = (p.limit * q.bases - p.bases * q.limit) / det@@ -460,14 +908,14 @@ def raised_pair(slope per unit of size and a whole MiB of base. Each constraint is a half-plane in ``(k, b)``, so the lines thatsatisfy them all form a convex region; `_lowest_rounded` finds the lowest rounded line in it exactly, checkingeach candidate against the constraints as they are, with no allowance. The lowest line is the one with the smallest- reservation averaged over the sizes the line's fresh-process points span (``k`` times the middle of that range,- plus ``b``), or all its points' sizes where none caps it; the steeper on a tie, as `upper_envelope` breaks them.+ reservation averaged over the sizes the line's capping points span (``k`` times the middle of that range, plus+ ``b``), or all its points' sizes where none caps it; the steeper on a tie, as `upper_envelope` breaks them.Probe sizes do not move that measure, so a line raised for some probes stays where it is when another probe itcovers arrives.Raises `LineConflict`, naming the points that cannot be satisfied together, where no rounded line at or above`floor` covers the points within `bounds`, also where only a line between whole bytes or MiB would. Raises- `ValueError` where a raise is needed and `line` has fresh-process points but `bounds` states none: those points+ `ValueError` where a raise is needed and `line` has capping points but `bounds` states none: those pointsalways bound the line (`bounds.line_bounds`), so empty `bounds` there means the caller left them out, and a raisewithout them could break every one."""k_floor, b_floor = Fraction(floor[0]), Fraction(floor[1])diff --git a/invokeai/backend/working_memory/user_fit.py b/invokeai/backend/working_memory/user_fit.pyindex e109e0b2eb..3ea4cb292b 100644--- a/invokeai/backend/working_memory/user_fit.py+++ b/invokeai/backend/working_memory/user_fit.py@@ -5,7 +5,10 @@ rule that turns them into lines and the rule by which an estimate uses them. Linjoins the line its estimator resolves to on the platform it ran on -- the lender's, where the estimator borrows itsvalues -- so a calibration of one model's decode moves every estimator that prices with the same line. Only theestimators that opt in (`EstimatorSpec.user_calibrated`) take part: the others' windows fit no user line, and no user-line moves their estimates.+line moves their estimates. Only the lines whose demand is their own take part (`fit.Line.own_demand`): a line that+sits on another, a tiled VAE operation's, is fitted on what its points measured above their untiled demand at the+tile, a tiled decode's together with its assembly line: its windows fit no user line. Its estimate prices its tile on+the larger of the user and the shipped untiled line (`resolve`), and what tiling adds stays shipped.An estimate reads a user line through the provider seam: the app registers one (`set_user_fit_provider`) that answersfrom memory, and `EstimatorSpec.estimate` asks it per estimate. Without a provider, or when it has no fit for the@@ -83,8 +86,9 @@ class UserFit:@functools.cachedef carrier_key(estimator: str, version: int, platform: Platform) -> Optional[EntryKey]:- """The shipped entry whose values `estimator` `version` prices with on `platform`: its own, or the one it borrows- from. None where the shipped data has no entry for it."""+ """The shipped entry that carries the lines a user calibration of `estimator` `version` fits on `platform`: its own,+ or the one it borrows from. An entry's own values beside borrowed ones are lines that sit on another and their+ assembly lines, which no user calibration fits. None where the shipped data has no entry for it."""full = {key: str(value) for key, value in asdict(priced_as(platform)).items()}entries = [entry for file in shipped_data().values() for entry in file.coefficients]where = f"{estimator} on {full}"@@ -111,9 +115,9 @@ def fit_user_lines("""The user lines `points`, measured on `platform`, fit; and, per line they measure but cannot fit, why.A point joins a line where its estimator, as `specs` registers it, is `user_calibrated` and its `line` admits the- point's features, its estimator version has shipped values on the platform, the entry carrying them has the line,- and it demanded more than nothing. Each line is `fit.user_pair` of its points: two sizes at least- `fit.MIN_AREA_RATIO` apart, or no line.+ point's features as its own demand (`fit.Line.own_demand`), its estimator version has shipped values on the+ platform, the entry carrying them has the line, and it demanded more than nothing. Each line is `fit.user_pair` of+ its points: two sizes at least `fit.MIN_AREA_RATIO` apart, or no line."""groups: dict[LineKey, list[tuple[int, int]]] = {}for point in points:@@ -121,7 +125,7 @@ def fit_user_lines(if spec is None or not spec.user_calibrated or point.demand_bytes <= 0:continuefound = spec.line(point.features)- if found is None or not found.fits:+ if found is None or not found.own_demand:continuecarrier = carrier_key(point.estimator, point.version, platform)if carrier is None or found.suffix not in _carried_lines(carrier):@@ -151,18 +155,29 @@ def resolve(is `user_calibrated`.The line and its size are read as `fit.py` reads a point's (`EstimatorSpec.line`): for the convolution lines the- output's pixels, also for a tiled operation, whose image is at least its tile, so a tiled operation past the- measured sizes takes the larger estimate. At or below `UserLine.x_max` the user line decides; above, the larger- estimate wins, the shipped one on a tie. `source` names the user fit and the line wherever the user line decides.+ output's pixels. At or below `UserLine.x_max` the user line decides; above, the larger estimate wins, the shipped+ one on a tie.++ A tiled operation prices its tile on the untiled line beneath its tiled line (`fit.Line.sits_on`), and takes the+ larger estimate at every size, the rule above `x_max`: its tiled and assembly lines, which no user line measures+ (`fit_user_lines`), are fitted over the untiled demand measured where the shipped line was, which a lower user line+ beneath them could undercut, while a card whose untiled decode needs more than the shipped line needs it for each+ tile too. `source` names the user fit and the line wherever the user line decides."""found = spec.line(features) if spec.user_calibrated else None- line = fit.lines_for(spec).get(found.suffix) if found is not None else None- if found is None or line is None:+ if found is None:+ return spec.evaluate(features, shipped)+ tiled = found.sits_on is not None+ suffix, size = found.sits_on if found.sits_on is not None else (found.suffix, found.size)+ line = fit.lines_for(spec).get(suffix)+ if line is None:return spec.evaluate(features, shipped)- suffix = found.suffixvalues = MappingProxyType({**shipped.values, f"k_{suffix}": line.k, f"b_{suffix}": line.b})- within = found.size <= line.x_max- where = "within its measured sizes" if within else "above its measured sizes, over shipped"+ within = not tiled and size <= line.x_max+ if tiled:+ where = "at the tile, over shipped"+ else:+ where = "within its measured sizes" if within else "above its measured sizes, over shipped"user = spec.evaluate(features, ResolvedCoefficients(values=values, source=f"{fit.label} ({suffix} {where}) + {shipped.source}"))@@ -171,7 +186,8 @@ def resolve(shipped_estimate = spec.evaluate(features, shipped)if user.reservation_bytes > shipped_estimate.reservation_bytes:return user- return replace(shipped_estimate, source=f"{shipped.source} (over {fit.label} {suffix}, above its measured sizes)")+ over = " at the tile" if tiled else ", above its measured sizes"+ return replace(shipped_estimate, source=f"{shipped.source} (over {fit.label} {suffix}{over})")UserFitProvider = Callable[["EstimatorSpec", Platform, torch.device], Optional[UserFit]]diff --git a/scripts/calibrate_flux_vae_working_memory.py b/scripts/calibrate_flux_vae_working_memory.pyindex 9c62db1c2e..7700f19db4 100644--- a/scripts/calibrate_flux_vae_working_memory.py+++ b/scripts/calibrate_flux_vae_working_memory.py@@ -15,11 +15,12 @@ subprocess isolation, same reserved-delta method, same output shape, so the numbWhat it measures that its ancestors did not--------------------------------------------The **tiled** rows. FLUX.1 gained a tiled encode when its VAE became a diffusers ``AutoencoderKL``,-and the estimator's tiled branch adds a residual term for what tiling does not bound -- the input-image and the assembled moments for an encode, several copies of the assembled image for a decode.-Those residuals are derived from shapes rather than fitted, so the thing worth checking is not a-constant but the estimator's own answer, which is what this compares against.+The **tiled** rows. FLUX.1 gained a tiled encode when its VAE became a diffusers ``AutoencoderKL``.+The estimator prices a tiled operation on its tile, on the untiled line, plus a fitted tiled line in+the image's pixels, and a tiled decode on the larger of that and a fitted assembly line+(`vae_working_memory._tiled_convolutions`); `scripts/calibrate_vae_tiling_working_memory.py` measures+the points they are fitted on. What this checks is the estimator's own answer on this machine, which+is what it compares against.Runs on CUDA and on ROCm/HIP unchanged (``torch.cuda.*`` covers both). Two cautions on ROCm/Windows,both measured on an RX 9060 XT: ``max_memory_reserved`` counts host memory the driver silently pagesdiff --git a/scripts/calibrate_vae_tiling_working_memory.py b/scripts/calibrate_vae_tiling_working_memory.pynew file mode 100644index 0000000000..bf42e2e5f2--- /dev/null+++ b/scripts/calibrate_vae_tiling_working_memory.py@@ -0,0 +1,719 @@+"""Measure the working memory of tiled VAE decodes and encodes, as shipped-data points for `vae.flux`, `vae.flux2` and+`vae.sd`.++What a point measures+---------------------+The demand of one VAE operation, decode or encode, run as its node runs it inside its `model_on_device` window, and+measured as a fresh window (`invokeai/backend/working_memory/measurement.py`, whose definitions the in-server probe's+windows share). With the VAE resident and the node's input on the host, where the node has it: synchronize, release+the allocator's cached blocks, read the baseline and reset the peaks; run the node's in-window work; the demand is then+the largest growth of three counters over the baseline: the driver's figure for this process, torch's reserved peak+and its allocated peak. An operation whose allocations failed, or only succeeded after the allocator released its+cache and retried (a squeezed peak), or after which Windows keeps more than `measurement.SPILL_TOLERANCE_BYTES` of the+process in shared memory, is invalid: it is recorded as such, not as a point.++Every point runs in a fresh process (`scripts/working_memory/fresh_points.py`, which the calibration scripts share),+which first applies the server's runtime (`apply_server_runtime` in `invokeai/app/run_app.py`): the `MIOPEN_FIND_MODE`+default, the integrated-GPU check, the allocator, the AOTriton decision and the monkeypatches, the ROCm SDPA guard among+them, in the server's order. Its settings are those of a server without a config file, except the allocator+configuration: `--alloc-conf`, or without one the platform default the server uses (expandable segments for ROCm on+Windows, torch's native allocator elsewhere). This script's own process runs the integrated-GPU check once before the+first point: the measuring processes inherit the `HIP_VISIBLE_DEVICES` it sets, which their own check keeps, as the+server keeps an exported one.++The operation then runs twice, cold and warm, and the point takes the larger demand (`measure_cold_and_warm` and+`measured_bytes_and_method` in `measurement.py`): a `demand_peak` where both runs read the driver's figure, else a+`reserved_peak` of torch's counters alone.++The window+----------+What each node does between entering `model_on_device` and leaving it, which is what its reservation has to cover and+what a point runs (`_OPERATIONS`). The tiling state is set with the node's own helper, so the tiled loop that runs is+the node's.++- `vae.flux`, decode: `z_image_l2i` (`invocations/vae/z_image_latents_to_image.py`), the larger of the two decodes this+ estimator prices: the latents moved to the device in the VAE's dtype, `TorchDevice.empty_cache()`, the scaling and+ shift, `vae.decode` under `scoped_vae_tiling`, then the clamp, the `127.5 * (x + 1)` and the `byte()` that make the+ image, and its copy to the host. `flux_vae_decode` does the post-processing after its window.+- `vae.flux`, encode: `flux_vae_encode`: the image moved to the device in the VAE's dtype, `vae.encode` under+ `scoped_vae_tiling`, a sample of the latent distribution with the node's seeded generator, the shift and the scaling.+ The image is made into a tensor on the host before the window (`image_resized_to_grid_as_tensor`), as the node does.+- `vae.flux2`, decode: `flux2_vae_decode`: the latents moved to the device, `vae.decode` under `scoped_vae_tiling`.+ The node's post-processing runs after its window.+- `vae.flux2`, encode: `flux2_vae_encode`: the image moved to the device, `vae.encode` under `scoped_vae_tiling`, the+ distribution's mode.+- `vae.sd`, decode: `l2i`: the latents moved to the device and cast to `sd_vae_run_dtype`, the tiling switched on or+ off, `patch_vae_tiling_params` for a tile field above 0, `TorchDevice.empty_cache()`, the scaling, `vae.decode`, the+ denormalization and clamp, the copy to the host and the PIL image.+- `vae.sd`, encode: `i2l`: the tiling switch and patch, the image moved to the device in the VAE's dtype,+ `ImageToLatentsInvocation._encode_to_tensor` (the node's own: encode and sample), the scaling.++The VAE is built in the dtype `sd_vae_run_dtype` gives, so the SD nodes' casts of the VAE (to that dtype, and an fp32+encode's decoder parts back) would change nothing and are left out: a point measures the operation, not an in-place cast+of the weights, and its `upcast_weight_bytes` is 0, as on every shipped point.++The VAEs+--------+Random weights in the measured dtype at the real geometry, because memory depends on shapes, not on weight values:++- FLUX.1 (and Z-Image, which shares it): `AutoencoderKL(**get_flux_vae_diffusers_config())`, as its loader builds it.+- FLUX.2: `AutoencoderKLFlux2(block_out_channels=(128, 256, 512, 512))`, as `model_loaders/flux.py` builds the stock+ VAE.+- SDXL: `SDXL_VAE_CONFIG`, the released SDXL VAE's config (`stabilityai/sdxl-vae`, the `vae/config.json` of the SDXL+ base and refiner repos: block widths 128-512, 2 layers per block, 4 latent channels, `sample_size` 1024); the SD1 VAE+ differs only in `sample_size` 512 and its scaling factor.++Each point carries the features of the node's own estimator call (`estimate_vae_working_memory_flux`, `_flux2`,+`_sd15_sdxl` with the node's arguments: the host tensor, the VAE, the tile field or None, the fp32 switch), taken in+the measuring process after the runtime setup, so a score matrix is priced for the attention kernel this build runs.+Each point is priced before it runs, the estimate plus the weights; it is skipped when that exceeds free device memory,+unless `--force`. An oversized allocation does not always fail: where the driver backs it with system RAM (NVIDIA's+sysmem fallback, AMD on Windows) it pages, which can stall the whole machine.++The grid+--------+Per family in its dtypes (FLUX.1 and FLUX.2 in bf16, which their loaders run; SD in fp16 and fp32, the two+`sd_vae_run_dtype` runs on a GPU), per operation:++- an untiled reference at each tile's side, so a run compares tiled and untiled demand on its own;+- each `--tiles` field (512, 1024 and the node default 0) at each `--sizes` side (1024 to 8192 px) above the tile the+ VAE then runs. A side at or below it runs the single pass, which the reference measures. The 0 sentinel resolves to+ 512 px for FLUX.1 and FLUX.2 (`resolve_tile_size`) but to the VAE's own `tile_sample_min_size` for SD, 1024 px for+ SDXL, so it re-measures the 512 px tile there and the 1024 px one here: its points should equal those.++The sides run to 8192 px because a tiled decode has two phases, and the second only shows above 4096 px: up to there+the decoded tiles diffusers keeps fit in the allocator's slack around the tile's own peak, and above it assembling+them into the image takes over (`fit.Line.assembly`). Sides that stop at 4096 px measure the tile phase alone and fit+no assembly line; the shipped one would be extrapolated.++Every point is a fit point (`"fit": true`, `in_fit` true): an untiled reference of its family's untiled line, a tiled+point of its estimator's tiled line, which sits on the untiled one at the tile and is fitted above the reference's+demand there, and of a decode's assembly line (`fit.convolution_line`). A tile, or an untiled reference's image,+below `fit.SMALLEST_APP_SIDE` (512 px) is covered but caps nothing. A 0 sentinel point shares its features with the+explicit tile's, so the builder merges the two as one measurement and keeps the larger reading: a second cold run of+the same operation, which ships no point of its own. In the shipped runs 3 of the 208 pairs differed, by up to++512 MiB (the RTX 4090 under `cudaMallocAsync`, the SD fp16 decode at 3072 px with a 1024 px tile).++Output+------+Every measured point is appended to `--out` as one JSON object per line, the point file+`scripts/working_memory/build_shipped.py --points` reads. It carries the fields of a `MeasuredPoint`+(`invokeai/backend/working_memory/coefficients.py`): `estimator`, `version` and `features`, the estimate's own;+`platform`, as `platform_for` gives it; `measured_bytes`, `method`, `device` and `in_fit`; and `provenance`. The other+keys are the script's, which the builder ignores: `fit`, `point` (the grid entry) and `raw` (each run's counter deltas,+the prediction, the tile the VAE ran and the runtime facts). An invalid, skipped or failed operation is no point: it+shows in the table on stdout, with its reasons, and stays out of the file.++After the table, a summary per family, operation, dtype and tile: per side the measured demand against the estimate+it was priced at, against the untiled demand at the tile's side, and the growth per output pixel above that; the growth+per pixel across the sides; and for the 0 sentinel its difference to the tile it resolves to.++Usage+-----+One run per platform measures the default grid. The shipped points (`data/vae.json`, 2026-10-19) came from these runs+per platform, which the builder merges into one set: the default grid in two runs, the sides 1024 to 4096 px first and+`--sizes 6144,8192` after; `--sizes 12288 --tiles 512,1024`; `--sizes 2048,4096,8192 --tiles 256,768`, for tiles the+grid does not have (the 256 px ones bound their estimates from below only); and on the RTX 4090+`--sizes 2048,4096,8192,12288 --tiles 1536`, the largest tile the upscale tab sets.++RTX 4090 (CUDA): the native allocator, then `cudaMallocAsync`.++ python scripts/calibrate_vae_tiling_working_memory.py --out 4090-native-tiled.jsonl+ python scripts/calibrate_vae_tiling_working_memory.py --out 4090-async-tiled.jsonl \+ --alloc-conf backend:cudaMallocAsync++RX 9060 XT (ROCm on Windows): the server's default expandable segments, then the native allocator.++ python scripts/calibrate_vae_tiling_working_memory.py --out 9060xt-expandable-tiled.jsonl+ python scripts/calibrate_vae_tiling_working_memory.py --out 9060xt-native-tiled.jsonl \+ --alloc-conf expandable_segments:False++`--families`, `--tiles` and `--sizes` narrow a run. `--dry-run` prints the planned points without touching a device,+each priced as a CPU prices it: with the shipped values a CPU borrows, and an SD decode in fp32, which is what a CPU+runs (the dtype column says which line priced it).+"""++import argparse+import dataclasses+import datetime+import sys+from collections.abc import Callable, Mapping, Sequence+from contextlib import nullcontext+from dataclasses import dataclass+from pathlib import Path+from typing import TYPE_CHECKING, Any, Literal, get_args++# None of these imports torch: a measuring process has to configure the allocator before torch is imported.+sys.path.insert(0, str(Path(__file__).resolve().parents[1]))+from invokeai.app.invocations.constants import LATENT_SCALE_FACTOR # noqa: E402+from invokeai.backend.util.vae_tiling_scope import diffusers_latent_tile, resolve_tile_size # noqa: E402+from scripts.working_memory import fresh_points # noqa: E402++if TYPE_CHECKING:+ import torch++ from invokeai.backend.working_memory.estimate import WorkingMemoryEstimate++GIB = 2**30+MIB = 2**20++Family = Literal["flux", "flux2", "sd"]+Operation = Literal["decode", "encode"]+FAMILIES: tuple[Family, ...] = get_args(Family)+OPERATIONS: tuple[Operation, ...] = get_args(Operation)++DTYPES: Mapping[Family, tuple[str, ...]] = {+ "flux": ("bfloat16",),+ "flux2": ("bfloat16",),+ "sd": ("float16", "float32"),+}+"""The dtypes each family runs in on a GPU: the FLUX.1 and FLUX.2 loaders' bf16, and SD's `sd_vae_run_dtype`, fp16+unless the node asks for fp32."""++FLUX2_BLOCK_OUT_CHANNELS = (128, 256, 512, 512)+"""The stock FLUX.2 VAE's encoder and decoder widths, as `model_loaders/flux.py` reads them from the checkpoint."""++SDXL_VAE_CONFIG: Mapping[str, Any] = {+ "in_channels": 3,+ "out_channels": 3,+ "down_block_types": ("DownEncoderBlock2D",) * 4,+ "up_block_types": ("UpDecoderBlock2D",) * 4,+ "block_out_channels": (128, 256, 512, 512),+ "layers_per_block": 2,+ "act_fn": "silu",+ "latent_channels": 4,+ "norm_num_groups": 32,+ "sample_size": 1024,+ "scaling_factor": 0.13025,+ "force_upcast": True,+}+"""The released SDXL VAE's config (`stabilityai/sdxl-vae`, the SDXL base and refiner repos' `vae/config.json`), as+`AutoencoderKL` keyword arguments; diffusers' defaults supply the quant convs it has."""++TILE_OVERLAP_FACTOR = 0.25+"""The overlap every one of these VAEs ships and the SD nodes patch in."""++LOGGER_NAME = "calibrate_vae_tiling_working_memory"++_NODES: Mapping[tuple[Family, Operation], str] = {+ ("flux", "decode"): "z_image_l2i",+ ("flux", "encode"): "flux_vae_encode",+ ("flux2", "decode"): "flux2_vae_decode",+ ("flux2", "encode"): "flux2_vae_encode",+ ("sd", "decode"): "l2i",+ ("sd", "encode"): "i2l",+}+++@dataclass(frozen=True)+class Point:+ """One VAE operation to measure, in a process of its own."""++ family: Family+ operation: Operation+ dtype: str+ """A torch dtype name, one of the family's `DTYPES`."""+ side: int+ """The square image's side in output pixels."""+ tile: int | None+ """The node's `tile_size` field with tiling on, 0 its "default" sentinel; None for an untiled operation."""++ @property+ def fit(self) -> bool:+ """Every point fits a line: an untiled reference the untiled one, a tiled point its estimator's tiled line."""+ return True+++def applied_tile(family: Family, tile: int) -> int:+ """The tile, in output pixels, the VAE runs for a node's tile field.++ FLUX.1 and FLUX.2 go through `scoped_vae_tiling`, which resolves the field (`resolve_tile_size`: 0 is the shipped+ 512 px) and snaps it to a latent tile the diffusers loop assembles. SD goes through `patch_vae_tiling_params`,+ which snaps the same way, for a field above 0 only: the 0 sentinel leaves the VAE's own `tile_sample_min_size`,+ its `sample_size`.+ """+ if family == "sd":+ if tile <= 0:+ return int(SDXL_VAE_CONFIG["sample_size"])+ requested = tile+ else:+ requested = resolve_tile_size(tile)+ return diffusers_latent_tile(requested, LATENT_SCALE_FACTOR, TILE_OVERLAP_FACTOR) * LATENT_SCALE_FACTOR+++def plan(*, families: Sequence[Family], sizes: Sequence[int], tiles: Sequence[int]) -> list[Point]:+ """The operations a run measures, in order: per family, dtype and operation, the untiled reference at each tile's+ side, then each tile at the sides above the tile it runs."""+ points: list[Point] = []+ for family in families:+ references = sorted({applied_tile(family, tile) for tile in tiles})+ for dtype in DTYPES[family]:+ for operation in OPERATIONS:+ points += [Point(family, operation, dtype, side, None) for side in references]+ points += [+ Point(family, operation, dtype, side, tile)+ for tile in tiles+ for side in sizes+ if side > applied_tile(family, tile)+ ]+ return points+++def provenance(point: Point, facts: Mapping[str, Any], date: str) -> str:+ """A measured point's `provenance`: where and how it was measured."""+ vae = {+ "flux": "FLUX.1 AutoencoderKL with its loader's geometry",+ "flux2": f"FLUX.2 AutoencoderKLFlux2 with block widths {FLUX2_BLOCK_OUT_CHANNELS}",+ "sd": "SDXL AutoencoderKL from the released config",+ }[point.family]+ tiling = (+ "untiled"+ if point.tile is None+ else f"tile field {point.tile}, a {applied_tile(point.family, point.tile)}px tile"+ )+ return (+ f"scripts/calibrate_vae_tiling_working_memory.py ({date}): {fresh_points.runtime_provenance(facts)}. "+ f"Random-init {vae}, {point.operation} {tiling}, run as `{_NODES[(point.family, point.operation)]}` runs it "+ "inside its model_on_device window; memory does not depend on weight values. A fresh process with the "+ "server's runtime, the larger demand of a cold and a warm run; no failed allocation, allocator retry or spill."+ )+++# Everything below imports torch. In a measuring process it runs only after `fresh_points.apply_server_runtime`.+++def build_vae(family: Family) -> "torch.nn.Module":+ """The family's VAE at its real geometry on the meta device."""+ import torch+ from diffusers.models.autoencoders.autoencoder_kl import AutoencoderKL+ from diffusers.models.autoencoders.autoencoder_kl_flux2 import AutoencoderKLFlux2++ from invokeai.backend.flux.util import get_flux_vae_diffusers_config++ with torch.device("meta"):+ if family == "flux":+ return AutoencoderKL(**get_flux_vae_diffusers_config())+ if family == "flux2":+ return AutoencoderKLFlux2(block_out_channels=FLUX2_BLOCK_OUT_CHANNELS)+ return AutoencoderKL(**SDXL_VAE_CONFIG)+++def _materialize(module: "torch.nn.Module", device: "torch.device", dtype: "torch.dtype") -> "torch.nn.Module":+ """A meta-device module allocated directly in `dtype` on `device`, randomly initialized."""+ import torch++ module = module.to(dtype).to_empty(device=device)+ for param in module.parameters():+ torch.nn.init.normal_(param, std=0.02)+ return module.eval()+++def latent_channels(vae: "torch.nn.Module") -> int:+ return int(vae.config.latent_channels)+++def host_input(point: Point, vae: "torch.nn.Module") -> "torch.Tensor":+ """What the node holds on the host when it enters its window: the latents a decode loads, or the image tensor an+ encode makes of its image with `image_resized_to_grid_as_tensor`, batch 1."""+ import numpy as np+ import torch+ from PIL import Image++ from invokeai.backend.stable_diffusion.diffusers_pipeline import image_resized_to_grid_as_tensor++ generator = torch.Generator().manual_seed(0)+ if point.operation == "decode":+ latent = point.side // LATENT_SCALE_FACTOR+ return torch.randn(1, latent_channels(vae), latent, latent, generator=generator)+ pixels = np.random.default_rng(0).integers(0, 256, (point.side, point.side, 3), dtype=np.uint8)+ return image_resized_to_grid_as_tensor(Image.fromarray(pixels))[None]+++def estimate(+ point: Point, vae: "torch.nn.Module", tensor: "torch.Tensor", device: "torch.device"+) -> "WorkingMemoryEstimate":+ """The node's own estimate for the point: its estimator with the arguments it passes, the host tensor, the VAE and+ the tile field (None untiled)."""+ from invokeai.backend.util.vae_working_memory import (+ estimate_vae_working_memory_flux,+ estimate_vae_working_memory_flux2,+ estimate_vae_working_memory_sd15_sdxl,+ )++ if point.family == "flux":+ return estimate_vae_working_memory_flux(point.operation, tensor, vae, tile_size=point.tile, device=device)+ if point.family == "flux2":+ return estimate_vae_working_memory_flux2(point.operation, tensor, vae, tile_size=point.tile, device=device)+ return estimate_vae_working_memory_sd15_sdxl(+ point.operation, tensor, vae, tile_size=point.tile, fp32=point.dtype == "float32", device=device+ )+++def _flux_decode(point: Point, vae: Any, latents: "torch.Tensor", device: "torch.device") -> Callable[[], object]:+ """`z_image_l2i` inside its window: post-processing included, unlike `flux_vae_decode`."""+ import torch+ from einops import rearrange+ from PIL import Image++ from invokeai.backend.util.devices import TorchDevice+ from invokeai.backend.util.vae_tiling_scope import scoped_vae_tiling++ def run() -> object:+ vae_dtype = next(iter(vae.parameters())).dtype+ z = latents.to(device=device, dtype=vae_dtype)+ TorchDevice.empty_cache()+ z = z / vae.config.scaling_factor+ shift_factor = getattr(vae.config, "shift_factor", None)+ if shift_factor is not None:+ z = z + shift_factor+ with torch.inference_mode():+ with scoped_vae_tiling(vae, point.tile):+ img = vae.decode(z, return_dict=False)[0]+ img = img.clamp(-1, 1)+ img = rearrange(img[0], "c h w -> h w c")+ return Image.fromarray((127.5 * (img + 1.0)).byte().cpu().numpy())++ return run+++def _flux_encode(point: Point, vae: Any, image: "torch.Tensor", device: "torch.device") -> Callable[[], object]:+ """`flux_vae_encode` inside its window. Its generator is made before the window, as the node makes it."""+ import torch++ from invokeai.backend.util.vae_tiling_scope import scoped_vae_tiling++ generator = torch.Generator(device=device).manual_seed(0)++ def run() -> object:+ vae_dtype = next(iter(vae.parameters())).dtype+ x = image.to(device=device, dtype=vae_dtype)+ with scoped_vae_tiling(vae, point.tile):+ latents = vae.encode(x).latent_dist.sample(generator)+ shift_factor = getattr(vae.config, "shift_factor", None)+ if shift_factor is not None:+ latents = latents - shift_factor+ return latents * vae.config.scaling_factor++ return run+++def _flux2_decode(point: Point, vae: Any, latents: "torch.Tensor", device: "torch.device") -> Callable[[], object]:+ """`flux2_vae_decode` inside its window; it post-processes after it."""+ from invokeai.backend.util.vae_tiling_scope import scoped_vae_tiling++ def run() -> object:+ z = latents.to(device=device, dtype=next(iter(vae.parameters())).dtype)+ with scoped_vae_tiling(vae, point.tile):+ return vae.decode(z, return_dict=False)[0]++ return run+++def _flux2_encode(point: Point, vae: Any, image: "torch.Tensor", device: "torch.device") -> Callable[[], object]:+ """`flux2_vae_encode` inside its window."""+ from invokeai.backend.util.vae_tiling_scope import scoped_vae_tiling++ def run() -> object:+ x = image.to(device=device, dtype=next(iter(vae.parameters())).dtype)+ with scoped_vae_tiling(vae, point.tile):+ latent_dist = vae.encode(x, return_dict=False)[0]+ return latent_dist.mode()++ return run+++def _sd_tiling(point: Point, vae: Any):+ """The SD nodes' tiling setup: the switch, and `patch_vae_tiling_params` for a tile field above 0."""+ from invokeai.backend.stable_diffusion.vae_tiling import patch_vae_tiling_params++ if point.tile is not None:+ vae.enable_tiling()+ else:+ vae.disable_tiling()+ tile_size = point.tile or 0+ if tile_size > 0:+ return patch_vae_tiling_params(vae, tile_sample_min_size=tile_size, tile_overlap_factor=TILE_OVERLAP_FACTOR)+ return nullcontext()+++def _sd_decode(point: Point, vae: Any, latents: "torch.Tensor", device: "torch.device") -> Callable[[], object]:+ """`l2i` inside its window."""+ import torch+ from diffusers.image_processor import VaeImageProcessor++ from invokeai.backend.util.devices import TorchDevice+ from invokeai.backend.util.vae_working_memory import sd_vae_run_dtype++ def run() -> object:+ z = latents.to(device)+ z = z.to(dtype=sd_vae_run_dtype("decode", point.dtype == "float32", device))+ tiling_context = _sd_tiling(point, vae)+ TorchDevice.empty_cache()+ with torch.inference_mode(), tiling_context:+ z = z / vae.config.scaling_factor+ image = vae.decode(z, return_dict=False)[0]+ image = (image / 2 + 0.5).clamp(0, 1)+ np_image = image.cpu().permute(0, 2, 3, 1).float().numpy()+ return VaeImageProcessor.numpy_to_pil(np_image)[0]++ return run+++def _sd_encode(point: Point, vae: Any, image: "torch.Tensor", device: "torch.device") -> Callable[[], object]:+ """`i2l` inside its window (`ImageToLatentsInvocation.vae_encode`), the node's sampling included."""+ import torch++ from invokeai.app.invocations.vae.image_to_latents import ImageToLatentsInvocation++ def run() -> object:+ tiling_context = _sd_tiling(point, vae)+ x = image.to(device=device, dtype=vae.dtype)+ with torch.inference_mode(), tiling_context:+ latents = ImageToLatentsInvocation._encode_to_tensor(vae, x)+ return vae.config.scaling_factor * latents++ return run+++_OPERATIONS: Mapping[tuple[Family, Operation], Callable[..., Callable[[], object]]] = {+ ("flux", "decode"): _flux_decode,+ ("flux", "encode"): _flux_encode,+ ("flux2", "decode"): _flux2_decode,+ ("flux2", "encode"): _flux2_encode,+ ("sd", "decode"): _sd_decode,+ ("sd", "encode"): _sd_encode,+}+++def operation(point: Point, vae: Any, tensor: "torch.Tensor", device: "torch.device") -> Callable[[], object]:+ """The work the point's node does inside its `model_on_device` window, on the host `tensor` it enters it with, as a+ call a fresh window can measure (see the module docstring for what each node does there)."""+ return _OPERATIONS[(point.family, point.operation)](point, vae, tensor, device)+++def _measure(point: Point, force: bool) -> dict[str, Any]:+ """The output line of `point`, measured in this process after `fresh_points.apply_server_runtime`."""+ import torch++ from invokeai.backend.util import vae_working_memory+ from invokeai.backend.util.devices import TorchDevice+ from invokeai.backend.working_memory.measurement import measure_cold_and_warm+ from invokeai.backend.working_memory.platform import platform_for++ # The device the node itself takes.+ device = TorchDevice.choose_torch_device()+ if device.type != "cuda":+ raise SystemExit(f"Needs a CUDA or ROCm device; this process would run on {device}.")+ dtype = getattr(torch, point.dtype)++ # The nodes' `invoke` runs under `no_grad`; their own `inference_mode` blocks are in the operations.+ with torch.no_grad():+ vae = build_vae(point.family).to(dtype)+ tensor = host_input(point, vae)+ wm = estimate(point, vae, tensor, device)+ platform = platform_for(device)+ facts = fresh_points.runtime_facts(device, platform.os, vae_working_memory.__file__)+ common = {+ "estimator": wm.estimator,+ "version": wm.version,+ "platform": dataclasses.asdict(platform),+ "features": dict(wm.features),+ "device": facts["device"],+ }+ weights = sum(param.numel() for param in vae.parameters()) * dtype.itemsize+ free, _ = TorchDevice.cuda_mem_get_info(device)+ raw = {+ "reservation_bytes": wm.reservation_bytes,+ "weight_bytes": weights,+ "predicted_bytes": wm.reservation_bytes + weights,+ "free_bytes": free,+ "applied_tile": None if point.tile is None else applied_tile(point.family, point.tile),+ "runtime": facts,+ }+ if raw["predicted_bytes"] > free and not force:+ return fresh_points.skipped_line(point, common, raw)++ vae = _materialize(vae, device, dtype)+ windows = measure_cold_and_warm(device, operation(point, vae, tensor, device))+ date = datetime.date.today().isoformat()+ return fresh_points.point_line(+ point, common=common, provenance=provenance(point, facts, date), windows=windows, raw=raw+ )+++_COLUMNS = f"{'family':>6} {'op':>6} {'dtype':>8} {'side':>5} {'tile':>5} {'runs':>5}"+++def _grid(point: Mapping[str, Any]) -> str:+ tile = point["tile"]+ runs = "" if tile is None else applied_tile(point["family"], tile)+ return (+ f"{point['family']:>6} {point['operation']:>6} {point['dtype']:>8} {point['side']:>5} "+ f"{'-' if tile is None else tile:>5} {runs:>5}"+ )+++def _head(line: Mapping[str, Any]) -> str:+ """A line's grid columns in the table."""+ return _grid(line["point"])+++def _summarize(lines: Sequence[Mapping[str, Any]]) -> None:+ """Per family, operation, dtype and tile field: the numbers a refit of the tiled estimate needs."""+ measured = [line for line in lines if line["status"] == "point"]+ groups = dict.fromkeys((p["family"], p["operation"], p["dtype"]) for p in (line["point"] for line in measured))+ for family, op, dtype in groups:+ of_group = [line for line in measured if (line["point"]["family"], line["point"]["operation"]) == (family, op)]+ of_group = [line for line in of_group if line["point"]["dtype"] == dtype]+ untiled = {line["point"]["side"]: line for line in of_group if line["point"]["tile"] is None}+ for side, line in sorted(untiled.items()):+ print(+ f"{family} {op} {dtype}, untiled {side}px: {line['measured_bytes'] / GIB:.3f} GiB, the estimate "+ f"{line['raw']['reservation_bytes'] / line['measured_bytes']:.2f}x"+ )+ tiled: dict[int, list[Mapping[str, Any]]] = {}+ for line in sorted(of_group, key=lambda line: line["point"]["side"]):+ if line["point"]["tile"] is not None:+ tiled.setdefault(line["point"]["tile"], []).append(line)+ for tile, rows in tiled.items():+ runs = applied_tile(family, tile)+ reference = untiled.get(runs)+ print(+ f"{family} {op} {dtype}, tile {tile} ({runs}px), untiled {runs}px "+ + (f"{reference['measured_bytes'] / GIB:.3f} GiB:" if reference else "not measured:")+ )+ for line in rows:+ side, demand = line["point"]["side"], line["measured_bytes"]+ text = (+ f" {side}px: {demand / GIB:.3f} GiB, the estimate {line['raw']['reservation_bytes'] / GIB:.3f} "+ f"GiB ({line['raw']['reservation_bytes'] / demand:.2f}x)"+ )+ if reference:+ above = demand - reference["measured_bytes"]+ text += (+ f"; {demand / reference['measured_bytes']:.2f}x the untiled tile, "+ f"{above / (side * side):+.2f} bytes per output pixel above it"+ )+ print(text)+ if len(rows) >= 2:+ lo, hi = rows[0], rows[-1]+ pixels = hi["point"]["side"] ** 2 - lo["point"]["side"] ** 2+ slope = (hi["measured_bytes"] - lo["measured_bytes"]) / pixels+ print(f" {lo['point']['side']}-{hi['point']['side']}px: {slope:+.3f} bytes per output pixel")+ # The sentinel against the explicit field it resolves to: the same tile, so the same demand.+ explicit = [+ lines_ for t, lines_ in tiled.items() if tile == 0 and t > 0 and applied_tile(family, t) == runs+ ]+ if explicit:+ by_side = {line["point"]["side"]: line["measured_bytes"] for line in explicit[0]}+ differences = [+ f"{(line['measured_bytes'] - by_side[line['point']['side']]) / MIB:+.0f} MiB at "+ f"{line['point']['side']}px"+ for line in rows+ if line["point"]["side"] in by_side+ ]+ print(f" tile {tile} against the {runs}px tile field: {', '.join(differences) or 'no common side'}")+++def _print_plan(points: Sequence[Point]) -> None:+ """The planned points, each priced as a CPU prices it (see the module docstring), plus the weights."""+ import torch++ cpu = torch.device("cpu")+ print(f"{_COLUMNS} {'priced':>6} {'estimate GiB':>12} {'weights GiB':>11} {'total GiB':>9}")+ vaes: dict[tuple[Family, str], Any] = {}+ for point in points:+ key = (point.family, point.dtype)+ if key not in vaes:+ vaes[key] = build_vae(point.family).to(getattr(torch, point.dtype))+ vae = vaes[key]+ if point.operation == "decode":+ latent = point.side // LATENT_SCALE_FACTOR+ shape: tuple[int, ...] = (1, latent_channels(vae), latent, latent)+ else:+ shape = (1, 3, point.side, point.side)+ wm = estimate(point, vae, torch.empty(shape, device="meta"), cpu)+ weights = sum(param.numel() for param in vae.parameters()) * vae.dtype.itemsize+ print(+ f"{_grid(dataclasses.asdict(point))} {wm.features['dtype']:>6} {wm.reservation_bytes / GIB:>12.2f} "+ f"{weights / GIB:>11.2f} {(wm.reservation_bytes + weights) / GIB:>9.2f}"+ )+ print(f"{len(points)} operations, one process each")+++def _ints(text: str) -> list[int]:+ try:+ return [int(part) for part in text.split(",") if part.strip()]+ except ValueError:+ raise argparse.ArgumentTypeError(f"not a comma-separated list of integers: {text!r}")+++def _sizes(text: str) -> list[int]:+ sizes = _ints(text)+ multiple = 2 * LATENT_SCALE_FACTOR+ if not sizes or any(px <= 0 or px % multiple for px in sizes):+ raise argparse.ArgumentTypeError(f"sizes must be positive multiples of {multiple} px, got {text!r}")+ return sizes+++def _tiles(text: str) -> list[int]:+ """Tile fields: 0, the nodes' sentinel, or a multiple of 32 px from 128, which every one of these VAEs assembles+ at exactly that size (`diffusers_latent_tile`)."""+ tiles = _ints(text)+ if not tiles or any(tile != 0 and (tile < 128 or tile % 32) for tile in tiles):+ raise argparse.ArgumentTypeError(f"tiles must be 0 or multiples of 32 px from 128, got {text!r}")+ return list(dict.fromkeys(tiles))+++def _families(text: str) -> list[Family]:+ names = [part.strip() for part in text.split(",") if part.strip()]+ if not names or not set(names) <= set(FAMILIES):+ raise argparse.ArgumentTypeError(f"families must be among {', '.join(FAMILIES)}, got {text!r}")+ return [family for family in FAMILIES if family in names]+++def main() -> None:+ parser = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)+ parser.add_argument("--out", type=Path, help="The JSON-lines file the lines are appended to. Required to measure.")+ parser.add_argument("--families", type=_families, default=",".join(FAMILIES), help="Default: flux,flux2,sd.")+ parser.add_argument(+ "--sizes", type=_sizes, default="1024,1536,2048,3072,4096,6144,8192", help="Tiled image sides, px."+ )+ parser.add_argument("--tiles", type=_tiles, default="512,1024,0", help="Tile fields; 0 is the node default.")+ parser.add_argument(+ "--alloc-conf",+ default="",+ help="The allocator configuration, as the server's pytorch_cuda_alloc_conf. Empty: the platform's default.",+ )+ parser.add_argument("--force", action="store_true", help="Run points predicted not to fit free device memory.")+ parser.add_argument("--dry-run", action="store_true", help="Print the planned points without touching a device.")+ parser.add_argument("--single", help=argparse.SUPPRESS)+ args = parser.parse_args()++ if args.single is not None:+ fresh_points.measure_in_this_process(args.single, point_type=Point, measure=_measure, logger_name=LOGGER_NAME)+ points = plan(families=args.families, sizes=args.sizes, tiles=args.tiles)+ if args.dry_run:+ _print_plan(points)+ return+ if args.out is None:+ parser.error("--out is required to measure")+ fresh_points.check_alloc_conf(parser, args.alloc_conf)+ lines = fresh_points.measure_points(+ points,+ script=Path(__file__).resolve(),+ out=args.out,+ alloc_conf=args.alloc_conf,+ force=args.force,+ logger_name=LOGGER_NAME,+ columns=_COLUMNS,+ head=_head,+ )++ print()+ _summarize(lines)+ fresh_points.print_counts(lines, args.out)+++if __name__ == "__main__":+ main()diff --git a/scripts/working_memory/build_shipped.py b/scripts/working_memory/build_shipped.pyindex 79f7757ad1..faef449ee0 100644--- a/scripts/working_memory/build_shipped.py+++ b/scripts/working_memory/build_shipped.py@@ -20,9 +20,10 @@ of the same measurement (`point_identity`), and says which it kept; the carriedA stand-in stays one until fresh-process points at two sizes far enough apart measure its line: `probe_demand` pointscan raise it, never lower it. A line that already covers its points by the shipped margin stays as it is; one that doesnot is raised by the least that keeps the upper bounds of the points priced on it (`fit.raised_pair`,-`bounds.line_bounds`). A `legacy` entry is replaced by its fit where the points fit every line it carries within those-bounds and each line has a point that holds the upper bound, a fresh-process one: probe windows alone never replace-hand-set values. It keeps them otherwise.+`bounds.line_bounds`); a stand-in line that sits on another, a tiled VAE operation's, to the fit of its points read+above their offsets (`fit.point_reading`), with its assembly line. A `legacy` entry is replaced by its fit where the+points fit every line it carries within those bounds and each line has a point that holds the upper bound, a+fresh-process one: probe windows alone never replace hand-set values. It keeps them otherwise.Without `--write` the changes are printed only. Exit status 2 refuses input the build cannot use: an export or point ofanother estimator version than the registered spec, features the spec's terms cannot evaluate, a platform@@ -67,12 +68,16 @@ from invokeai.backend.working_memory.fit import (LineBound,LineConflict,LineKey,+ base_values,capping_spans,entry_fit,entry_key,fit_points,fitted_values,+ point_reading,raised_pair,+ shipped_pair,+ shipped_two_phase,)from invokeai.backend.working_memory.fragmentation import Measurement, fragmentedfrom invokeai.backend.working_memory.platform import (@@ -453,14 +458,15 @@ carries."""def legacy_fit(entry: CoefficientEntry,groups: Mapping[LineKey, Sequence[FitPoint]],+ bases: Mapping[EntryKey, Mapping[str, float]],bounds: Mapping[LineKey, Sequence[LineBound]],) -> tuple[dict[str, float], dict[str, str]]:- """The fit that would replace a `legacy` entry's hand-set values (`fit.entry_fit` on `groups` within `bounds`), and- per line why its points cannot: they do not fit it, as its fresh-process points do not span (`fit.capping_spans`)- or no raise keeps the bounds (`fit.LineConflict`), or none of them holds the upper bound- (`MeasuredPoint.holds_upper_bound`). A probe window raises a line but never caps one, so probe windows alone never- replace hand-set values."""- values, problems, conflicts = entry_fit(entry, groups, bounds)+ """The fit that would replace a `legacy` entry's hand-set values (`fit.entry_fit` on `groups` within `bounds`, a+ line that sits on another priced with `bases`, `fit.base_values`), and per line why its points cannot: they do not+ fit it, as its capping points do not span (`fit.capping_spans`) or no raise keeps the bounds (`fit.LineConflict`),+ or none of them holds the upper bound (`MeasuredPoint.holds_upper_bound`). A probe window raises a line but never+ caps one, so probe windows alone never replace hand-set values."""+ values, problems, conflicts = entry_fit(entry, groups, bases, bounds)problems |= conflictsfor suffix in problems:line = groups.get((entry_key(entry), suffix), [])@@ -477,28 +483,52 @@ def refit(data: Mapping[str, WorkingMemoryData], specs: Mapping[str, EstimatorSpwith a point that holds the upper bound (`legacy_fit`), is fitted from then on too; one they do not keeps itshand-set values.- Every fit and raise keeps the upper bounds the points set (`bounds.line_bounds`): a stand-in that covers its points- by the shipped margin is kept, and one that does not is raised by the least the bounds allow (`fit.raised_pair`).- Raises `BoundConflict` where no line keeps the bounds, `BuildError` where the points cannot fit a line."""+ Every fit and raise of a line that sits on none keeps the upper bounds the points set (`bounds.line_bounds`): a+ stand-in that covers its points by the shipped margin is kept, and one that does not is raised by the least the+ bounds allow (`fit.raised_pair`). A stand-in that sits on another rises to the fit of its points read above their+ offsets, with its assembly line, and the bounds are checked on the result (`bound_violations`). Raises+ `BoundConflict` where no line keeps the bounds, `BuildError` where the points cannot fit a line."""groups = fit_points(data.values(), specs)ceilings = line_bounds(data.values(), specs)+ bases = base_values([entry for file in data.values() for entry in file.coefficients], groups, ceilings)replaced: set[EntryKey] = set()- def raised_stand_ins(entry: CoefficientEntry) -> dict[str, float]:+ def raised_stand_ins(entry: CoefficientEntry, bases: Mapping[EntryKey, Mapping[str, float]]) -> dict[str, float]:values = entry.values or {}- raised = {}+ raised: dict[str, float] = {}++ def raise_to(suffix: str, pair: tuple[int, int]) -> None:+ raised[f"k_{suffix}"] = max(values[f"k_{suffix}"], pair[0])+ raised[f"b_{suffix}"] = max(values[f"b_{suffix}"], pair[1])+for suffix in sorted({name[2:] for name in entry.stand_ins}):key = (entry_key(entry), suffix)- if key not in groups:+ line = groups.get(key)+ # An assembly line is raised with the line whose second phase it prices.+ if not line or any(point.assembly == suffix for point in line):+ continue+ if not any(point.base for point in line):+ floor = (values[f"k_{suffix}"], values[f"b_{suffix}"])+ try:+ raised[f"k_{suffix}"], raised[f"b_{suffix}"] = raised_pair(floor, line, ceilings.get(key, ()))+ except LineConflict as e:+ raise BoundConflict(+ f"the points cannot raise a stand-in: {entry.estimator} on {entry.platform}, {suffix}: {e}"+ ) from econtinue- floor = (values[f"k_{suffix}"], values[f"b_{suffix}"])+ # Read as the fit reads them: a line that sits on another covers its points above their offsets.+ readings = [point_reading(point, bases) for point in line]+ assembly = line[0].assemblytry:- k, b = raised_pair(floor, groups[key], ceilings.get(key, ()))- except LineConflict as e:- raise BoundConflict(- f"the points cannot raise a stand-in: {entry.estimator} on {entry.platform}, {suffix}: {e}"- ) from e- raised[f"k_{suffix}"], raised[f"b_{suffix}"] = k, b+ if assembly is None:+ raise_to(suffix, shipped_pair(readings))+ else:+ pair, assembled = shipped_two_phase(readings)+ raise_to(suffix, pair)+ raise_to(assembly, assembled)+ except ValueError:+ # Too few sizes for a line; `bound_violations` refuses a stand-in below one of them.+ continuereturn raiseddef staged(entry: CoefficientEntry) -> CoefficientEntry:@@ -508,7 +538,7 @@ def refit(data: Mapping[str, WorkingMemoryData], specs: Mapping[str, EstimatorSpentry = entry.model_copy(update={"stand_ins": stand_ins})if not entry.legacy:return entry- values, problems = legacy_fit(entry, groups, ceilings)+ values, problems = legacy_fit(entry, groups, bases, ceilings)if not values or problems:return entryreplaced.add(entry_key(entry))@@ -524,12 +554,16 @@ def refit(data: Mapping[str, WorkingMemoryData], specs: Mapping[str, EstimatorSpraise BoundConflict(f"the points cannot fit a line: {e}") from eexcept ValueError as e:raise BuildError(f"the points cannot fit a line: {e}") from e+ # What the lines beneath price a raised stand-in's points at: the staged entries', as the fit prices them.+ staged_bases = base_values(+ [entry for file in staged_data.values() for entry in file.coefficients], groups, ceilings+ )def refitted(entry: CoefficientEntry) -> CoefficientEntry:if entry.values is None:return entryline = fitted.get(entry_key(entry), {})- raised = raised_stand_ins(entry)+ raised = raised_stand_ins(entry, staged_bases)values = {name: float(raised.get(name, value)) if name in entry.stand_ins else float(line.get(name, value))for name, value in entry.values.items()@@ -559,6 +593,7 @@ def legacy_notes(measured = {point.estimator for point in new_points}groups = fit_points(data.values(), specs)ceilings = line_bounds(data.values(), specs)+ bases = base_values([entry for file in data.values() for entry in file.coefficients], groups, ceilings)notes = []for entry in (entry for file in data.values() for entry in file.coefficients):if not entry.legacy or entry.estimator not in measured:@@ -566,7 +601,7 @@ def legacy_notes(if not any(key == entry_key(entry) for key, _ in groups):reasons = "no in-fit point measures this platform"else:- _, problems = legacy_fit(entry, groups, ceilings)+ _, problems = legacy_fit(entry, groups, bases, ceilings)reasons = "; ".join(f"{suffix}: {problem}" for suffix, problem in problems.items())notes.append(f"note: {entry.estimator} {entry.platform} stays legacy: {reasons}")return notesdiff --git a/scripts/working_memory/fresh_points.py b/scripts/working_memory/fresh_points.pyindex 09a5aeaf08..a05dc97040 100644--- a/scripts/working_memory/fresh_points.py+++ b/scripts/working_memory/fresh_points.py@@ -14,6 +14,10 @@ point is `in_fit` where it is a fit point and its estimator's line admits its feforward with a term on top of the line, such as the score matrix a build's SDPA kernel materializes, measures that termrather than the line, as a check does.+A measuring process that raises -- the operation's own error, or a synchronization or a peak reset that failed+(`measurement.measure`) -- leaves without a result line. The driving process records that point as `failed`, with the+last line of the process's stderr, keeps it out of the point file and goes on with the next point.+Nothing here imports torch at import time: a measuring process has to configure the allocator first."""diff --git a/tests/app/invocations/test_flux2_working_memory.py b/tests/app/invocations/test_flux2_working_memory.pyindex 095451dca9..8d433f401b 100644--- a/tests/app/invocations/test_flux2_working_memory.py+++ b/tests/app/invocations/test_flux2_working_memory.py@@ -47,12 +47,26 @@ MB = 1024**2GB = 1024**3+def _mock_bf16_vae() -> MagicMock:+ """A bf16 `AutoencoderKLFlux2` stand-in for the estimator: the parameter dtype, and the stock geometry a tiled+ estimate snaps its tile with as `scoped_vae_tiling` does, an 8x downsample and the 0.25 overlap."""+ vae = MagicMock(spec=AutoencoderKLFlux2)+ vae.parameters.return_value = iter([torch.zeros(1, dtype=torch.bfloat16)])+ vae.config.block_out_channels = (128, 256, 512, 512)+ vae.tile_overlap_factor = 0.25+ return vae++def _vae_line(conv_backend, operation, pixels, allocator="native", os="linux"):"""What the shipped FLUX.2 VAE line reserves in bf16 over `pixels` output pixels on one platform."""values = shipped_coefficients(VAE_FLUX2_SPEC, Platform(conv_backend, allocator, os)).valuesreturn int(values[f"k_{operation}_bf16"] * pixels + values[f"b_{operation}_bf16"])+CPU = Platform("cpu", "native", "linux")+"""The platform the `FUSED` device prices on: the CPU, priced as cuDNN with the native allocator, floored."""++# The width the denoise tests price at unless they say otherwise, and the head count that follows from it.KLEIN_9B = 4096KLEIN_9B_HEADS = KLEIN_9B // FLUX2_ATTENTION_HEAD_DIM@@ -143,11 +157,6 @@ class TestTransformerWidthIsBudgeted:class TestFlux2VaeWorkingMemoryEstimate:- def _mock_bf16_vae(self):- vae = MagicMock(spec=AutoencoderKLFlux2)- vae.parameters.return_value = iter([torch.zeros(1, dtype=torch.bfloat16)])- return vae-def _tensor_for(self, operation, px):# decode receives 32-channel latents at pixels/8; encode receives a pixel image.return torch.zeros(1, 32, px // 8, px // 8) if operation == "decode" else torch.zeros(1, 3, px, px)@@ -155,36 +164,30 @@ class TestFlux2VaeWorkingMemoryEstimate:@pytest.mark.parametrize("operation", ["decode", "encode"])def test_the_estimate_is_the_bf16_line_over_the_pixel_area(self, operation):estimate = estimate_vae_working_memory_flux2(- operation=operation, image_tensor=self._tensor_for(operation, 1024), vae=self._mock_bf16_vae(), device=FUSED+ operation=operation, image_tensor=self._tensor_for(operation, 1024), vae=_mock_bf16_vae(), device=FUSED)assert estimate.reservation_bytes == _vae_line("cudnn", operation, 1024 * 1024)- def test_tiled_estimate_is_bounded_by_the_tile_not_the_image(self):- """Reference-image encoding forces 512px tiling precisely so the peak stops following the- reference resolution -- measured flat at ~0.55GB from 1024px up to the 2024px reference cap."""- estimates = [+ def test_a_tiled_reference_image_encode_reserves_a_fraction_of_the_untiled_one(self):+ """Reference-image encoding forces 512px tiling so the peak stops following the reference resolution. The whole+ point of tiling: it must shrink the reservation, not just bound the VAE."""+ tiled, untiled = (estimate_vae_working_memory_flux2(operation="encode",- image_tensor=torch.zeros(1, 3, px, px),- vae=self._mock_bf16_vae(),- tile_size=512,+ image_tensor=torch.zeros(1, 3, 2024, 2024),+ vae=_mock_bf16_vae(),+ tile_size=tile_size,device=FUSED,).reservation_bytes- for px in (1024, 1328, 2024)- ]- assert len(set(estimates)) == 1- assert estimates[0] == _vae_line("cudnn", "encode", 512 * 512 * 1.25)- # The whole point of tiling: it must shrink the reservation, not just bound the VAE.- untiled = estimate_vae_working_memory_flux2(- operation="encode", image_tensor=torch.zeros(1, 3, 2024, 2024), vae=self._mock_bf16_vae(), device=FUSED- ).reservation_bytes- assert estimates[0] < untiled / 4+ for tile_size in (512, None)+ )+ assert tiled < untiled / 4def _decode_estimate(self, height, width, tile_size):return estimate_vae_working_memory_flux2(operation="decode",image_tensor=torch.zeros(1, 32, height // 8, width // 8),- vae=self._mock_bf16_vae(),+ vae=_mock_bf16_vae(),tile_size=tile_size,device=FUSED,)@@ -197,19 +200,13 @@ class TestFlux2VaeWorkingMemoryEstimate:assert estimate.reservation_bytes == _vae_line("cudnn", "decode", 1024 * 1024)assert estimate.features["tile"] is None- def test_an_elongated_image_prices_the_tile_clamped_per_axis(self):- """A 2048px tile on a 1024x4096 image is tiled along the long side only, and every slice it- takes is at most 1024x2048."""- estimate = self._decode_estimate(1024, 4096, 2048)- assert estimate.reservation_bytes == _vae_line("cudnn", "decode", 1024 * 2048 * 1.25)-@pytest.mark.parametrize("tile_size, resolved", [(0, 512), (64, 128)], ids=["default-sentinel", "below-minimum"])def test_the_node_tile_field_is_resolved_before_pricing(self, tile_size, resolved):"""The nodes pass their `tile_size` field through: 0 means the default tile, and anything underthe minimum is raised to it -- pricing the raw value would reserve nothing or too little."""estimate = self._decode_estimate(1024, 1024, tile_size)- assert estimate.reservation_bytes == _vae_line("cudnn", "decode", resolved * resolved * 1.25)assert estimate.features["tile"] == resolved+ assert estimate.reservation_bytes == self._decode_estimate(1024, 1024, resolved).reservation_bytesclass TestVaeConstantsFollowTheConvBackend:@@ -307,12 +304,10 @@ class TestFlux2VaeBatchIsBudgeted:"""def _decode_estimate(self, batch, px=1024, tile_size=None, device=FUSED):- vae = MagicMock(spec=AutoencoderKLFlux2)- vae.parameters.return_value = iter([torch.zeros(1, dtype=torch.bfloat16)])return estimate_vae_working_memory_flux2(operation="decode",image_tensor=torch.zeros(batch, 32, px // 8, px // 8),- vae=vae,+ vae=_mock_bf16_vae(),tile_size=tile_size,device=device,).reservation_bytes@@ -615,17 +610,12 @@ class TestMaterializedScoreMatrixIsBudgeted:different phases and the estimate takes the larger -- see `TestVaeTermsDoNotAdd`."""- def _mock_bf16_vae(self):- vae = MagicMock(spec=AutoencoderKLFlux2)- vae.parameters.return_value = iter([torch.zeros(1, dtype=torch.bfloat16)])- return vae-def _vae_estimate(self, operation, px, device, tile_size=None):tensor = torch.zeros(1, 32, px // 8, px // 8) if operation == "decode" else torch.zeros(1, 3, px, px)return estimate_vae_working_memory_flux2(operation=operation,image_tensor=tensor,- vae=self._mock_bf16_vae(),+ vae=_mock_bf16_vae(),tile_size=tile_size,device=device,).reservation_bytes@@ -671,17 +661,25 @@ class TestMaterializedScoreMatrixIsBudgeted:def test_tiling_makes_the_score_matrix_irrelevant(self):"""Tiling caps the mid-block sequence at (tile/8)^2, which drops the quadratic term far below- the tile's own linear cost -- so a tiled estimate is the linear term whether the build- materializes or not, and is flat across input sizes."""+ the tile's own linear cost -- so a tiled estimate is the convolutions' whether the build+ materializes or not."""with _materializing():estimates = [- self._vae_estimate("encode", px, device=MATERIALIZING, tile_size=512) for px in (1024, 1328, 2024)+ estimate_vae_working_memory_flux2(+ operation="encode",+ image_tensor=torch.zeros(1, 3, px, px),+ vae=_mock_bf16_vae(),+ tile_size=512,+ device=MATERIALIZING,+ )+ for px in (1024, 1328, 2024)]untiled = self._vae_estimate("encode", 2024, device=MATERIALIZING)- assert len(set(estimates)) == 1- assert estimates[0] == self._vae_estimate("encode", 1024, device=FUSED, tile_size=512)+ for estimate in estimates:+ [scores] = [term for term in estimate.terms if term.name == "mid_block_scores"]+ assert scores.bytes > 0 and not scores.included# Tiling turns a 100GB+ reservation at the 2024px reference cap into under 2GB.- assert estimates[0] < untiled / 50+ assert estimates[-1].reservation_bytes < untiled / 50def test_the_score_matrix_of_an_elongated_image_follows_the_clamped_tile(self):"""A 2048px tile on a 1024x4096 image slices at most 1024x2048, so the mid-block attends over@@ -690,13 +688,12 @@ class TestMaterializedScoreMatrixIsBudgeted:estimate = estimate_vae_working_memory_flux2(operation="encode",image_tensor=torch.zeros(1, 3, 1024, 4096),- vae=self._mock_bf16_vae(),+ vae=_mock_bf16_vae(),tile_size=2048,device=MATERIALIZING,).reservation_bytestokens = 128 * 256- linear = _vae_line("cudnn", "encode", 1024 * 2048 * 1.25)- assert estimate == max(linear, tokens * tokens * SDPA_MATH_BYTES_PER_SCORE_ELEMENT)+ assert estimate == tokens * tokens * SDPA_MATH_BYTES_PER_SCORE_ELEMENT, "the scores are the larger phase here"class TestVaeTermsDoNotAdd:diff --git a/tests/app/invocations/test_flux_vae_decode_tiling.py b/tests/app/invocations/test_flux_vae_decode_tiling.pyindex 1fca3e2068..a3b076d7ba 100644--- a/tests/app/invocations/test_flux_vae_decode_tiling.py+++ b/tests/app/invocations/test_flux_vae_decode_tiling.py@@ -17,6 +17,7 @@ import torchfrom invokeai.app.invocations.vae.flux_vae_decode import FluxVaeDecodeInvocationfrom invokeai.backend.util.vae_tiling_scope import DEFAULT_TILE_SAMPLE_MIN_SIZE+from invokeai.backend.util.vae_working_memory import estimate_vae_working_memory_fluxdef _build_decode_mocks(vae, latents: torch.Tensor, decoded: torch.Tensor, force_tiled_decode: bool = False):@@ -84,6 +85,20 @@ class TestAskingForTiling:assert state[0]["use_tiling"] is Trueassert state[0]["tile_sample_min_size"] == 256+ def test_a_batch_of_latents_decodes_and_is_priced_as_its_first_sample(self, flux_shaped_vae):+ """The node returns the first image only, so the VAE and the estimate see one sample, not the whole batch."""+ path = "invokeai.app.invocations.vae.flux_vae_decode.estimate_vae_working_memory_flux"+ vae = flux_shaped_vae()+ batch = torch.cat([torch.zeros(1, 16, 64, 64), torch.ones(1, 16, 64, 64)])+ _, context, _ = _build_decode_mocks(vae, batch, torch.zeros(1, 3, 512, 512))+ with patch(path, wraps=estimate_vae_working_memory_flux) as estimate:+ _build_invocation(tiled=True, tile_size=256).invoke(context)++ assert estimate.call_args.kwargs["image_tensor"].shape[0] == 1+ decoded_input = vae.decode.call_args.args[0]+ assert decoded_input.shape[0] == 1+ assert torch.allclose(decoded_input, (batch[:1] / vae.config.scaling_factor) + (vae.config.shift_factor or 0.0))+def test_the_config_flag_reaches_the_tiled_path(self, flux_shaped_vae):vae = flux_shaped_vae()_, context, state = _build_decode_mocks(diff --git a/tests/app/invocations/test_vae_working_memory_backend.py b/tests/app/invocations/test_vae_working_memory_backend.pyindex 5f391ba4be..57d139c21d 100644--- a/tests/app/invocations/test_vae_working_memory_backend.py+++ b/tests/app/invocations/test_vae_working_memory_backend.py@@ -6,6 +6,7 @@ machine runs the suite -- on the RX 9060 XT an fp16 SDXL decode costs a third ofwhatever dtype the cached VAE holds -- so it is pinned here rather than left to the card."""+import itertoolsimport loggingfrom unittest.mock import MagicMock, patch@@ -13,6 +14,7 @@ import pytestimport torchfrom diffusers.models.autoencoders.autoencoder_kl import AutoencoderKLfrom diffusers.models.autoencoders.autoencoder_kl_flux2 import AutoencoderKLFlux2+from diffusers.models.autoencoders.autoencoder_tiny import AutoencoderTinyfrom invokeai.app.invocations.vae.image_to_latents import ImageToLatentsInvocationfrom invokeai.app.invocations.vae.latents_to_image import LatentsToImageInvocation@@ -20,6 +22,7 @@ from invokeai.backend.model_manager.load.load_base import LoadedModelfrom invokeai.backend.model_manager.load.model_cache.model_cache import ModelCachefrom invokeai.backend.quantization.sdnq.sdnq_tensor import SDNQTensorfrom invokeai.backend.quantization.sdnq.utils import SDNQQuantizationType+from invokeai.backend.util.vae_tiling_scope import scoped_vae_tilingfrom invokeai.backend.util.vae_working_memory import (VAE_COGVIEW4_SPEC,VAE_FLUX2_SPEC,@@ -35,8 +38,18 @@ from invokeai.backend.util.vae_working_memory import (sd_vae_run_dtype,)from invokeai.backend.working_memory import platform as platform_module-from invokeai.backend.working_memory.coefficients import shipped_coefficients, shipped_data+from invokeai.backend.working_memory.bounds import (+ bound_violation,+ evaluate_point,+ fitted_decides,+ line_bounds,+ point_id,+)+from invokeai.backend.working_memory.coefficients import ResolvedCoefficients, shipped_coefficients, shipped_data+from invokeai.backend.working_memory.estimate import WorkingMemoryEstimate, WorkingMemoryTerm+from invokeai.backend.working_memory.fit import base_values, carrier_of, entry_key, fit_points, point_readingfrom invokeai.backend.working_memory.platform import Platform, priced_as+from invokeai.backend.working_memory.spec import import_estimator_modulesPRE_DTYPE_BYTES_PER_PIXEL_PER_ELEMENT_BYTE = {"cudnn": {"decode": 2200, "encode": 1100},@@ -47,6 +60,7 @@ and nothing unmeasured may price a slope below. Written out rather than read frohere. It covers the convolution lines; the one place v2 can reserve less than v1 there is the SD fp32 upcast, whichv1 guessed at 250 MiB and v2 prices as what the cast adds (160 MiB from fp16, nothing from fp32)."""ELEMENT_SIZES = {"fp16": 2, "bf16": 2, "fp32": 4}+MIB = 2**20MEASURED = [Platform("cudnn", "native", "linux"),@@ -61,6 +75,10 @@ def _vae(cls=AutoencoderKL, dtype: torch.dtype = torch.float16, numel: int = 1,vae = MagicMock(spec=cls)vae.parameters.side_effect = lambda: iter(params if params is not None else [torch.zeros(numel, dtype=dtype)])vae.config.latent_channels = 16+ # The stock geometry a tiled estimate snaps its tile with, as the tiling helpers do: an 8x downsample and the+ # overlap the VAE carries.+ vae.config.block_out_channels = (128, 256, 512, 512)+ vae.tile_overlap_factor = 0.25return vae@@ -326,15 +344,789 @@ def test_an_sd_upcast_reserves_what_the_cast_adds_to_the_weights(on, vae_dtype,assert result.reservation_bytes == int(_line(VAE_SD_SPEC, platform, "decode", run_dtype, 1024 * 1024) + growth)[email protected]("fp32, run_dtype, growth", [(False, "fp16", 0), (True, "fp32", 1000 * 2)])-def test_a_tiled_sd_decode_is_one_tile_with_its_margin_the_base_once_and_the_upcast(- on, fp32, run_dtype, growth+def _tiled_line(spec, platform: Platform, operation: str, dtype: str, pixels: int) -> float:+ values = shipped_coefficients(spec, platform).values+ return values[f"k_tiled_{operation}_{dtype}"] * pixels + values[f"b_tiled_{operation}_{dtype}"]+++def _tiled(spec, platform: Platform, operation: str, dtype: str, tile_pixels: int, pixels: int) -> float:+ """A tiled operation as the shipped values price it: the untiled line at the tile plus the tiled line over the+ image, and for a decode the larger of that and the assembly line over the image."""+ tile_phase = _line(spec, platform, operation, dtype, tile_pixels) + _tiled_line(+ spec, platform, operation, dtype, pixels+ )+ if operation == "encode":+ return tile_phase+ values = shipped_coefficients(spec, platform).values+ return max(tile_phase, values[f"k_assembled_decode_{dtype}"] * pixels + values[f"b_assembled_decode_{dtype}"])+++def _image(operation: str, height: int, width: int, channels: int) -> torch.Tensor:+ """What a node hands its estimator, without the memory: latents for a decode, the image for an encode."""+ if operation == "decode":+ return torch.zeros(1, channels, 1, 1).expand(1, channels, height // 8, width // 8)+ return torch.zeros(1, 3, 1, 1).expand(1, 3, height, width)+++TILED = [+ pytest.param(+ VAE_SD_SPEC,+ lambda op, image, vae, tile, device: estimate_vae_working_memory_sd15_sdxl(op, image, vae, tile, True, device),+ AutoencoderKL,+ 4,+ "fp32",+ 1000 * 2,+ id="sd-fp32-upcast",+ ),+ pytest.param(+ VAE_SD_SPEC,+ lambda op, image, vae, tile, device: estimate_vae_working_memory_sd15_sdxl(op, image, vae, tile, False, device),+ AutoencoderKL,+ 4,+ "fp16",+ 0,+ id="sd-fp16",+ ),+ pytest.param(+ VAE_FLUX_SPEC,+ lambda op, image, vae, tile, device: estimate_vae_working_memory_flux(op, image, vae, tile, device),+ AutoencoderKL,+ 16,+ "bf16",+ 0,+ id="flux",+ ),+ pytest.param(+ VAE_FLUX2_SPEC,+ lambda op, image, vae, tile, device: estimate_vae_working_memory_flux2(op, image, vae, tile, device),+ AutoencoderKLFlux2,+ 32,+ "bf16",+ 0,+ id="flux2",+ ),+]++[email protected]("side", [2048, 8192])[email protected]("platform", MEASURED, ids=str)[email protected]("operation", ["decode", "encode"])[email protected]("spec, estimate, cls, channels, dtype, growth", TILED)+def test_a_tiled_operation_is_its_tile_plus_the_tiled_line_and_a_decode_the_larger_of_that_and_its_assembly(+ on, side, platform, operation, spec, estimate, cls, channels, dtype, growth+) -> None:+ """No margin on the tile: what tiling adds over the tile's own demand is the tiled line's, in the image's pixels.+ A decode then assembles the image from its tiles, a phase of its own priced on the assembly line in the image's+ pixels, and reserves the larger phase; an encode has no such phase. Neither reserves less than its floor, and each+ operation counts its own."""+ vae = _vae(cls, torch.float16 if spec is VAE_SD_SPEC else torch.bfloat16, numel=1000)+ result = estimate(operation, _image(operation, side, side, channels), vae, 512, on(platform))++ assert result.features["tile"] == 512+ fitted = _tiled(spec, platform, operation, dtype, 512 * 512, side * side)+ floor = _floor(spec, platform, operation, side, side, 512, dtype)+ assert result.reservation_bytes == int(max(fitted, floor) + growth)+ names = {term.name for term in result.terms}+ assert ("assembled" in names) == (operation == "decode")+ assert {name for name in names if name.endswith("_buffers")} == {BUFFER_TERMS[operation]}+++def test_the_4090_native_sd_fp32_decode_at_a_512px_tile_on_an_8192px_image_reserves_its_assembly(on) -> None:+ """Measured at 4.94 GiB, the larger of a cold and a warm run (`data/vae.json`): the decoded tiles, the rows and the+ image they assemble into, and the node's post-processing, on the native allocator, about three times what the+ tile itself takes. The assembly line prices it; the data test holds it to its upper bound."""+ measured = 5307891712+ device = on(Platform("cudnn", "native", "windows"))+ vae = _vae(dtype=torch.float32)+ result = estimate_vae_working_memory_sd15_sdxl("decode", _image("decode", 8192, 8192, 4), vae, 512, True, device)++ assert result.features["dtype"] == "fp32"+ assert any(term.included and term.name == "assembled" for term in result.terms)+ assert measured <= result.reservation_bytes++[email protected]("spec, estimate, cls, channels, dtype, growth", TILED)+def test_an_elongated_image_prices_the_tile_clamped_per_axis(on, spec, estimate, cls, channels, dtype, growth) -> None:+ """The VAE slices tiles out of the image, so a 512 px tile over a 384 px axis is 384 px on it: an 8192 px tile on a+ 1024x8200 image would otherwise price 8192x8192."""+ platform = Platform("cudnn", "native", "linux")+ device = on(platform)+ vae = _vae(cls, torch.float16 if spec is VAE_SD_SPEC else torch.bfloat16, numel=1000)+ with patch("invokeai.backend.util.vae_working_memory._vae_mid_block_score_matrix_bytes", return_value=0) as score:+ result = estimate("decode", _image("decode", 384, 4096, channels), vae, 512, device)++ expected = _tiled(spec, platform, "decode", dtype, 384 * 512, 384 * 4096)+ assert result.reservation_bytes == int(expected + growth)+ if spec is not VAE_FLUX2_SPEC:+ # The score matrix is the tile's too, clamped the same way (FLUX.2 sizes its own; see its tests).+ assert score.call_args.args[:2] == (384, 512)++[email protected]("tile", [1024, 2048])[email protected]("spec, estimate, cls, channels, dtype, growth", TILED)+def test_a_tile_covering_the_image_is_priced_as_the_single_pass_it_runs(+ on, tile, spec, estimate, cls, channels, dtype, growth+) -> None:+ """`AutoencoderKL` tiles only when a side is strictly larger than the tile."""+ platform = Platform("miopen", "native", "windows")+ vae = _vae(cls, torch.float16 if spec is VAE_SD_SPEC else torch.bfloat16, numel=1000)+ result = estimate("decode", _image("decode", 1024, 1024, channels), vae, tile, on(platform))++ assert result.features["tile"] is None+ assert result.reservation_bytes == int(_line(spec, platform, "decode", dtype, 1024 * 1024) + growth)++[email protected]("field", [0, -8])+def test_an_sd_tile_field_of_0_or_below_takes_the_tile_the_vae_carries(on, field) -> None:+ """The nodes patch the VAE's tile only for a field above 0, and leave its own in place otherwise: the SDXL VAE's+ sample size, 1024 px."""+ vae = _vae()+ vae.tile_sample_min_size = 1024+ result = estimate_vae_working_memory_sd15_sdxl(+ "encode", _image("encode", 2048, 2048, 3), vae, field, False, on(Platform("cudnn", "native", "linux"))+ )+ assert result.features["tile"] == 1024+++def _sd_shaped_vae() -> AutoencoderKL:+ """A real SD-shaped `AutoencoderKL`: four blocks, so the 8x downsample its tile is snapped at, channels cut to+ almost nothing. Its own tile, its `sample_size` of 256 px, is smaller than the images below, so a field of 0 tiles+ too."""+ return AutoencoderKL(+ down_block_types=("DownEncoderBlock2D",) * 4,+ up_block_types=("UpDecoderBlock2D",) * 4,+ block_out_channels=(4, 4, 4, 4),+ layers_per_block=1,+ latent_channels=4,+ norm_num_groups=2,+ sample_size=256,+ )+++def _tiny_autoencoder() -> AutoencoderTiny:+ """A real `AutoencoderTiny`, which names its 8x downsample `spatial_scale_factor` and carries a 512 px tile."""+ return AutoencoderTiny(encoder_block_out_channels=(4, 4, 4, 4), decoder_block_out_channels=(4, 4, 4, 4))+++def _flux2_shaped_vae() -> AutoencoderKLFlux2:+ return AutoencoderKLFlux2(+ block_out_channels=(4, 4, 4, 4), layers_per_block=1, latent_channels=32, norm_num_groups=2, sample_size=64+ )+++def _run_sd_node(+ cached_vae, operation: str, vae: AutoencoderKL | AutoencoderTiny, field: int, image: torch.Tensor+) -> list:+ """Run `l2i` (decode) or `i2l` (encode) tiled at the tile field `field` on the CPU, the VAE loaded through+ `cached_vae`, and return the estimates the node priced, one per `model_on_device`. The VAE's own `decode` and+ `encode` still run; a caller spies on them."""+ estimates: list = []+ vae_info = cached_vae(vae, estimates)+ if operation == "decode":+ context = MagicMock()+ context.tensors.load.return_value = image+ context.config.get.return_value.force_tiled_decode = False+ context.models.load.return_value = vae_info+ context.images.save.return_value = MagicMock(image_name="x.png", width=8, height=8)+ node = LatentsToImageInvocation.model_construct(+ latents=MagicMock(latents_name="x"),+ vae=MagicMock(seamless_axes=[]),+ tiled=True,+ tile_size=field,+ fp32=False,+ )+ node.invoke(context)+ else:+ # Upcast, so the encode runs in fp32 as the CPU decode does: no half-precision kernels on the CPU.+ ImageToLatentsInvocation.vae_encode(vae_info, True, True, image, field)+ return estimates+++ "build, field, runs",+ [+ pytest.param(_sd_shaped_vae, 0, 256, id="kl-own-tile"),+ pytest.param(_sd_shaped_vae, 24, 32, id="kl-24"),+ pytest.param(_sd_shaped_vae, 200, 192, id="kl-200"),+ pytest.param(_sd_shaped_vae, 512, 512, id="kl-512"),+ pytest.param(_tiny_autoencoder, 0, 512, id="tiny-own-tile"),+ pytest.param(_tiny_autoencoder, 24, 32, id="tiny-24"),+ pytest.param(_tiny_autoencoder, 200, 192, id="tiny-200"),+ pytest.param(_tiny_autoencoder, 512, 512, id="tiny-512"),+ # The tiny autoencoder carries a 0.125 overlap, at which 104 px would snap to 64 px; the node patches 0.25.+ pytest.param(_tiny_autoencoder, 104, 96, id="tiny-104"),+ ],+)[email protected]("operation", ["decode", "encode"])+def test_the_sd_nodes_price_the_tile_their_vae_runs(cached_vae, operation, build, field, runs) -> None:+ """`patch_vae_tiling_params` gives the VAE the largest tile at or below the field that it can assemble at the+ overlap the node patches in, 32 px at the least, and the node's estimate prices that tile rather than the field: a+ 24 px field priced at 24 px under-reserves the 32 px tile that runs, a 200 px one priced at 200 px over-reserves a+ 192 px tile. A field of 0 leaves the VAE's own tile, which the estimate reads off it. The geometry is read when the+ node calls the VAE."""+ vae, ran = build(), []+ real = getattr(vae, operation)++ def record(*args, **kwargs):+ ran.append((vae.tile_sample_min_size, vae.tile_latent_min_size))+ return real(*args, **kwargs)++ setattr(vae, operation, MagicMock(side_effect=record))+ (estimate,) = _run_sd_node(cached_vae, operation, vae, field, _image(operation, 32, 544, 4))++ assert ran == [(runs, runs // 8)]+ assert estimate.features["tile"] == runs++[email protected]("field, runs", [(0, 512), (24, 128), (200, 192), (512, 512)])[email protected]("operation", ["decode", "encode"])[email protected]("family", ["flux", "flux2"])+def test_the_flux_estimates_price_the_tile_scoped_vae_tiling_runs(+ flux_shaped_vae, family, operation, field, runs+) -> None:+ """The FLUX.1 and FLUX.2 nodes hand the same field to their estimator and to `scoped_vae_tiling`, which resolves it+ (0 to 512 px, 128 px at the least) and snaps it to a tile the VAE can assemble; the estimate prices that tile."""+ if family == "flux":+ vae, estimate, channels = flux_shaped_vae(), estimate_vae_working_memory_flux, 16+ else:+ vae, estimate, channels = _flux2_shaped_vae(), estimate_vae_working_memory_flux2, 32+ with scoped_vae_tiling(vae, field):+ ran = (vae.tile_sample_min_size, vae.tile_latent_min_size)++ result = estimate(operation, _image(operation, 32, 544, channels), vae, field, torch.device("cpu"))++ assert ran == (runs, runs // 8)+ assert result.features["tile"] == runs++[email protected]("family", ["sd", "flux", "flux2"])+def test_a_field_as_large_as_the_image_that_runs_a_smaller_tile_prices_the_tiled_decode(+ cached_vae, flux_shaped_vae, family) -> None:+ """A 200 px field on a 200 px image reads as a covering tile, which the VAE would decode in a single pass; it runs a+ 192 px tile, smaller than the image, so the VAE tiles and the estimate has to price the tiled decode."""+ latents = torch.zeros(1, {"sd": 4, "flux": 16, "flux2": 32}[family], 25, 25)+ vae = {"sd": _sd_shaped_vae, "flux": flux_shaped_vae, "flux2": _flux2_shaped_vae}[family]()+ vae.tiled_decode = MagicMock(wraps=vae.tiled_decode)++ if family == "sd":+ (result,) = _run_sd_node(cached_vae, "decode", vae, 200, latents)+ else:+ estimate = estimate_vae_working_memory_flux if family == "flux" else estimate_vae_working_memory_flux2+ result = estimate("decode", latents, vae, 200, torch.device("cpu"))+ with torch.no_grad(), scoped_vae_tiling(vae, 200):+ vae.decode(latents, return_dict=False)++ assert vae.tiled_decode.called+ assert result.features["tile"] == 192++[email protected]("side", [2048, 8192])+def test_a_tiled_tiny_autoencoder_is_priced_on_the_lines_without_a_score_matrix(on, side) -> None:+ """The SD estimator prices the tiny autoencoder on the AutoencoderKL lines, which cost many times what its own+ convolutions do (64 channels wide against 512), and with no mid-block attention, so no score matrix."""+ platform = Platform("cudnn", "native", "linux")+ vae = _vae(AutoencoderTiny)+ result = estimate_vae_working_memory_sd15_sdxl(+ "decode", _image("decode", side, side, 4), vae, 512, False, on(platform)+ )++ assert result.features["vae_class"] == "AutoencoderTiny" and "score_matrix_bytes" not in result.features+ assert result.reservation_bytes == int(_tiled(VAE_SD_SPEC, platform, "decode", "fp16", 512 * 512, side * side))+ assert "mid_block_scores" not in {term.name for term in result.terms}+++def _flux2_decode(platform: Platform, side: int, batch: int, on) -> WorkingMemoryEstimate:+ latents = torch.zeros(1, 32, 1, 1).expand(batch, 32, side // 8, side // 8)+ return estimate_vae_working_memory_flux2(+ "decode", latents, _vae(AutoencoderKLFlux2, torch.bfloat16), 512, on(platform)+ )+++def test_a_tiled_batch_whose_tile_phase_decides_is_that_many_single_samples(on) -> None:+ """On cuDNN with the native allocator a 2048 px decode's tile phase is the larger: the tile, the tiled line and its+ base all scale with the samples."""+ platform = Platform("cudnn", "native", "linux")+ single, batch = (_flux2_decode(platform, 2048, n, on) for n in (1, 3))++ assert not any(term.included and term.name.startswith("assembled") for term in single.terms)+ assert batch.reservation_bytes == pytest.approx(3 * single.reservation_bytes, abs=3)+++def test_a_negative_assembly_base_is_taken_once_for_a_batch(on) -> None:+ """``k * P + max(b, n * b)``: the base of an assembly line that falls below zero is not multiplied down by the+ samples, which would price a batch's assembly below one sample's line over the same pixels."""+ platform = Platform("cudnn", "native", "linux")+ features = dict(_flux2_decode(platform, 8192, 2, on).features)+ values = dict(shipped_coefficients(VAE_FLUX2_SPEC, platform).values)+ values |= {"k_assembled_decode_bf16": 100, "b_assembled_decode_bf16": -100 * MIB}++ result = VAE_FLUX2_SPEC.evaluate(features, ResolvedCoefficients(values=values, source="test"))++ assert result.reservation_bytes == 100 * 2 * 8192 * 8192 - 100 * MIB+++def _assembly_buffers(height: int, width: int, tile: int, element_size: int, samples: int = 1) -> int:+ """What diffusers' `tiled_decode` holds when it concatenates the image, walked tile by tile as it slices the+ latents: every decoded tile (its slice clipped at the image's far edges, 8 output pixels per latent), the rows+ blended from them and the image, 3 channels each. Counted here rather than read from the estimator."""+ latent_height, latent_width, latent_tile = height // 8, width // 8, tile // 8+ stride = int(latent_tile * 0.75)+ tile_pixels = 0+ for top in range(0, latent_height, stride):+ for left in range(0, latent_width, stride):+ rows = min(top + latent_tile, latent_height) - top+ columns = min(left + latent_tile, latent_width) - left+ tile_pixels += 64 * rows * columns+ return 3 * element_size * samples * (tile_pixels + 2 * height * width)+++def _encode_buffers(+ height: int, width: int, tile: int, latent_channels: int, element_size: int, samples: int = 1+) -> int:+ """What diffusers' `_tiled_encode` holds when it concatenates the moments, walked tile by tile as it slices the+ image: the input image, every encoded tile (its slice clipped at the image's far edges, 8 pixels per latent,+ rounded down), the rows of the crops the blends keep and the moments concatenated from them, each twice+ `latent_channels` wide. Counted here rather than read from the estimator."""+ stride, latent_tile = int(tile * 0.75), tile // 8+ keep = latent_tile - latent_tile // 4+ tile_latents = kept_latents = 0+ for top in range(0, height, stride):+ for left in range(0, width, stride):+ rows = (min(top + tile, height) - top) // 8+ columns = (min(left + tile, width) - left) // 8+ tile_latents += rows * columns+ kept_latents += min(rows, keep) * min(columns, keep)+ moments = 2 * latent_channels * (tile_latents + 2 * kept_latents)+ return element_size * samples * (3 * height * width + moments)+++LATENT_CHANNELS = {VAE_SD_SPEC.id: 4, VAE_FLUX_SPEC.id: 16, VAE_FLUX2_SPEC.id: 32}++POST_PROCESSED_IMAGES = {VAE_SD_SPEC.id: 1, VAE_FLUX_SPEC.id: 1, VAE_FLUX2_SPEC.id: 0}+"""The images a decode node allocates inside its window beside the decoded one: `l2i` denormalizes it and+`z_image_l2i` clamps it there; `flux2_vae_decode` post-processes after its window."""++DISTRIBUTION_LATENTS = {VAE_SD_SPEC.id: 6, VAE_FLUX_SPEC.id: 6, VAE_FLUX2_SPEC.id: 3}+"""The latent-wide tensors an encode node adds once the moments are assembled: the distribution's clamped logvar, std+and var, and where the node samples (`i2l`, `flux_vae_encode`, `z_image_i2l`) the noise, the scaled noise and the+sample."""+++def _buffers(spec, operation: str, height: int, width: int, tile: int, element_size: int, samples: int = 1) -> int:+ if operation == "decode":+ return _assembly_buffers(height, width, tile, element_size, samples)+ return _encode_buffers(height, width, tile, LATENT_CHANNELS[spec.id], element_size, samples)+++def _latents(spec, height: int, width: int, element_size: int, samples: int = 1) -> int:+ return LATENT_CHANNELS[spec.id] * (height // 8) * (width // 8) * element_size * samples+++def _counted_floor(spec, operation, height, width, tile, dtype, samples=1) -> int:+ """What a tiled operation holds at once, counted here: the buffers, and the input latents and the post-processed+ image of a decode or the distribution of an encode, all per sample."""+ element_size = ELEMENT_SIZES[dtype]+ buffers = _buffers(spec, operation, height, width, tile, element_size, samples)+ if operation == "decode":+ images = POST_PROCESSED_IMAGES[spec.id] * 3 * height * width * element_size * samples+ return buffers + _latents(spec, height, width, element_size, samples) + images+ return buffers + DISTRIBUTION_LATENTS[spec.id] * _latents(spec, height, width, element_size, samples)+++def _floor(spec, platform, operation, height, width, tile, dtype, samples=1) -> float:+ """What a tiled operation reserves at least: what it holds at once and the untiled line's base per sample, and the+ shipped lines' 5% margin on both."""+ base = shipped_coefficients(spec, platform).values[f"b_{operation}_{dtype}"] * samples+ floor = _counted_floor(spec, operation, height, width, tile, dtype, samples) + base+ return floor + 0.05 * floor+++BUFFER_TERMS = {"decode": "assembly_buffers", "encode": "encode_buffers"}+++def _buffer_term(result: WorkingMemoryEstimate, operation: str) -> WorkingMemoryTerm:+ return _term(result, BUFFER_TERMS[operation])+++def _term(result: WorkingMemoryEstimate, name: str) -> WorkingMemoryTerm:+ [term] = [term for term in result.terms if term.name == name]+ return term+++FLOOR_ESTIMATES = [+ pytest.param(+ VAE_SD_SPEC,+ lambda operation, image, vae, device: estimate_vae_working_memory_sd15_sdxl(+ operation, image, vae, 512, False, device+ ),+ id="sd",+ ),+ pytest.param(+ VAE_FLUX_SPEC,+ lambda operation, image, vae, device: estimate_vae_working_memory_flux(operation, image, vae, 512, device),+ id="flux",+ ),+ pytest.param(+ VAE_FLUX2_SPEC,+ lambda operation, image, vae, device: estimate_vae_working_memory_flux2(operation, image, vae, 512, device),+ id="flux2",+ ),+]+++def _tiled_features(spec, operation: str, height: int, width: int, tile: int, dtype: str) -> dict:+ """The features each estimator records for a single-sample tiled operation, the score matrix held at zero."""+ features = {+ "operation": operation,+ "height": height,+ "width": width,+ "tile": tile,+ "dtype": dtype,+ "score_matrix_bytes": 0,+ }+ if spec is VAE_SD_SPEC:+ features |= {"vae_class": "AutoencoderKL", "upcast_weight_bytes": 0}+ if spec is VAE_FLUX2_SPEC:+ features["batch_size"] = 1+ return features++[email protected]("operation", ["decode", "encode"])+def test_a_tiled_operation_reserves_at_least_its_floor_up_to_32768_px(operation) -> None:+ """No node field bounds an operation's size, an image made in the graph reaches the encode nodes without PIL's+ decompression-bomb check, and the fitted lines are extrapolated past the largest side the tiled points measure: on+ several platforms they fall below what the operation cannot do without. Every platform and dtype each estimator+ ships reserves at least that, at the tiles the app sets."""+ sides, tiles = (12288, 16384, 24576, 32768), (512, 768, 1024)+ short = []+ for spec in (VAE_SD_SPEC, VAE_FLUX_SPEC, VAE_FLUX2_SPEC):+ prefix = f"k_{operation}_"+ dtypes = sorted({name.removeprefix(prefix) for name in spec.coefficients if name.startswith(prefix)})+ for platform in MEASURED:+ coefficients = shipped_coefficients(spec, platform)+ for dtype, side, tile in itertools.product(dtypes, sides, tiles):+ features = _tiled_features(spec, operation, side, side, tile, dtype)+ reserved = spec.evaluate(features, coefficients).reservation_bytes+ if reserved < int(_floor(spec, platform, operation, side, side, tile, dtype)):+ short.append(f"{spec.id} {platform} {dtype} {side}px tile {tile}")+ assert not short+++def test_the_reviewed_flux_decode_reserves_its_floor(on) -> None:+ """A 24576 px FLUX.1 bf16 decode at a 512 px tile on Windows ROCm with expandable segments: the decoded tiles, the+ rows and the image alone take 12.70 GiB, more than the fitted phases priced before the floor; `z_image_l2i`'s+ clamp, the latents and the process's base come on top. Measured there at 13.37 GiB: the floor reserves it with the+ shipped margin."""platform = Platform("miopen", "expandable", "windows")+ latents = torch.zeros(1, 16, 1, 1).expand(1, 16, 3072, 3072)+ result = estimate_vae_working_memory_flux("decode", latents, _vae(dtype=torch.bfloat16), 512, on(platform))++ assert result.reservation_bytes == int(_floor(VAE_FLUX_SPEC, platform, "decode", 24576, 24576, 512, "bf16"))+ assert _buffer_term(result, "decode").bytes >= 12.70 * 2**30+ assert result.reservation_bytes >= 1.05 * 14360248320, "the measured 13.37 GiB and the margin"+++def test_a_large_flux_fp32_encode_reserves_its_floor(on) -> None:+ """A 24576 px FLUX.1 fp32 encode at a 512 px tile on Windows ROCm with expandable segments, the size a 16x upscale+ of a 1536 px image hands the encode node: its fitted phase prices less than the input image, the moments it+ assembles and the distribution sampled from them."""+ platform = Platform("miopen", "expandable", "windows")+ image = _image("encode", 24576, 24576, 3)+ result = estimate_vae_working_memory_flux("encode", image, _vae(dtype=torch.float32), 512, on(platform))++ assert result.reservation_bytes == int(_floor(VAE_FLUX_SPEC, platform, "encode", 24576, 24576, 512, "fp32"))+++def test_a_non_square_decode_counts_the_clipped_edge_tiles_it_decodes(on) -> None:+ """At a 512 px tile the latents are stepped 48 at a time: 16392 px is 2049 latents, so the last row of tiles is+ 33 latents tall, and 24584 px is 3073, so the last column is 49 wide. The buffers count those as they are decoded,+ neither as whole tiles nor as the image alone. FLUX.2 bf16 under `cudaMallocAsync`, where they decide."""+ platform = Platform("cudnn", "cudaMallocAsync", "linux")+ latents = torch.zeros(1, 32, 1, 1).expand(1, 32, 16392 // 8, 24584 // 8)+ vae = _vae(AutoencoderKLFlux2, torch.bfloat16)+ result = estimate_vae_working_memory_flux2("decode", latents, vae, 512, on(platform))++ assert _buffer_term(result, "decode").bytes == _assembly_buffers(16392, 24584, 512, 2)+ assert result.reservation_bytes == int(_floor(VAE_FLUX2_SPEC, platform, "decode", 16392, 24584, 512, "bf16"))++[email protected]("operation", ["decode", "encode"])+def test_a_tile_covering_one_axis_counts_the_tiles_it_slices_along_the_other(on, operation) -> None:+ """A 1024 px tile over a 512x32768 image covers its height, so the VAE still tiles, in one row of 512 px tall+ tiles: neither the image alone nor whole tiles."""+ device = on(Platform("cudnn", "native", "linux"))+ vae = _vae(AutoencoderKLFlux2, torch.bfloat16)+ result = estimate_vae_working_memory_flux2(operation, _image(operation, 512, 32768, 32), vae, 1024, device)++ assert _buffer_term(result, operation).bytes == _buffers(VAE_FLUX2_SPEC, operation, 512, 32768, 1024, 2)+++def test_a_tiled_batch_reserves_the_floor_of_every_sample(on) -> None:+ """`tiled_decode` slices the whole batch at once, so every buffer and the latents hold every sample, and the+ process pays the base per sample as the untiled line prices it."""+ platform = Platform("cudnn", "cudaMallocAsync", "linux")+ result = _flux2_decode(platform, 16384, 3, on)++ assert result.reservation_bytes == int(_floor(VAE_FLUX2_SPEC, platform, "decode", 16384, 16384, 512, "bf16", 3))+++def test_a_tiled_batch_encode_counts_the_buffers_of_every_sample(on) -> None:+ """`_tiled_encode` slices the whole batch at once too, input image included, the distribution holds it, and the+ process pays the base per sample as the untiled line prices it. At 24576 px with expandable segments on Windows ROCm+ the floor decides."""+ platform = Platform("miopen", "expandable", "windows")+ image = torch.zeros(1, 3, 1, 1).expand(2, 3, 24576, 24576)+ vae = _vae(AutoencoderKLFlux2, torch.bfloat16)+ result = estimate_vae_working_memory_flux2("encode", image, vae, 512, on(platform))++ assert _buffer_term(result, "encode").bytes == _encode_buffers(24576, 24576, 512, 32, 2, samples=2)+ assert _term(result, "latent_distribution").bytes == 3 * _latents(VAE_FLUX2_SPEC, 24576, 24576, 2, samples=2)+ assert (+ _term(result, "floor_base").bytes == 2 * shipped_coefficients(VAE_FLUX2_SPEC, platform).values["b_encode_bf16"]+ )+ floor = _floor(VAE_FLUX2_SPEC, platform, "encode", 24576, 24576, 512, "bf16", samples=2)+ assert result.reservation_bytes == int(floor)++[email protected]("spec, estimate", FLOOR_ESTIMATES)[email protected]("operation", ["decode", "encode"])+def test_the_floor_counts_the_input_the_node_keeps_and_what_it_adds_beside_the_buffers(on, spec, estimate, operation):+ """A decode keeps its latents on the device and `l2i` and `z_image_l2i` allocate a post-processed image while the+ assembled one is live; an encode's node splits the moments into a distribution, three latent-wide tensors, and+ samples it with three more where it samples. A 2056x3080 image, not a multiple of the tile. The base is the untiled+ line's, whatever the size."""+ platform = Platform("cudnn", "native", "linux")+ dtype = "fp16" if spec is VAE_SD_SPEC else "bf16"+ vae = _vae(AutoencoderKLFlux2 if spec is VAE_FLUX2_SPEC else AutoencoderKL, torch.bfloat16)+ result = estimate(operation, _image(operation, 2056, 3080, LATENT_CHANNELS[spec.id]), vae, on(platform))++ latents = _latents(spec, 2056, 3080, 2)+ if operation == "decode":+ assert _term(result, "input_latents").bytes == latents+ assert _term(result, "post_processing").bytes == POST_PROCESSED_IMAGES[spec.id] * 3 * 2056 * 3080 * 2+ else:+ assert _term(result, "latent_distribution").bytes == DISTRIBUTION_LATENTS[spec.id] * latents+ assert _term(result, "floor_base").bytes == shipped_coefficients(spec, platform).values[f"b_{operation}_{dtype}"]++[email protected]("fp32, element_size", [(True, 4), (False, 2)])[email protected]("field, tile", [(200, 192), (0, 512)])[email protected]("operation", ["decode", "encode"])+def test_the_sd_estimate_counts_the_buffers_of_the_tile_and_dtype_its_node_runs(+ on, operation, field, tile, fp32, element_size+) -> None:+ """A field above 0 runs the tile `diffusers_tile` snaps it to, a field of 0 the VAE's own; the node runs fp32 when+ asked and fp16 otherwise. A 2056x3080 image, so the edge tiles are clipped."""+ vae = _vae()+ vae.tile_sample_min_size = 512+ image = _image(operation, 2056, 3080, 4)result = estimate_vae_working_memory_sd15_sdxl(- "decode", torch.zeros(1, 4, 192, 192), _vae(numel=1000), 512, fp32, on(platform)+ operation, image, vae, field, fp32, on(Platform("cudnn", "native", "linux")))- assert result.reservation_bytes == int(_line(VAE_SD_SPEC, platform, "decode", run_dtype, 512 * 512 * 1.25) + growth)++ assert result.features["tile"] == tile+ assert _buffer_term(result, operation).bytes == _buffers(VAE_SD_SPEC, operation, 2056, 3080, tile, element_size)+++def _recording(module: torch.nn.Module, shapes: list) -> None:+ """Record the shape of every output `module` returns."""+ forward = module.forward++ def record(*args, **kwargs):+ out = forward(*args, **kwargs)+ shapes.append(out.shape)+ return out++ module.forward = record+++def test_the_counted_buffers_are_the_tiles_diffusers_decodes_and_two_images() -> None:+ """The count rests on diffusers' `tiled_decode`: run the real one on an image whose sides are not tile-aligned and+ sum the tiles its decoder returns."""+ vae, shapes = _flux2_shaped_vae(), []+ _recording(vae.decoder, shapes)+ latents = torch.zeros(1, 32, 41, 70)+ result = estimate_vae_working_memory_flux2("decode", latents, vae, 128, torch.device("cpu"))+ with torch.no_grad(), scoped_vae_tiling(vae, 128):+ image = vae.decode(latents, return_dict=False)[0]++ assert len(shapes) == 4 * 6+ decoded = sum(shape[-2] * shape[-1] for shape in shapes)+ assert _buffer_term(result, "decode").bytes == 3 * 4 * (decoded + 2 * image.shape[-2] * image.shape[-1])+++def test_the_counted_buffers_are_the_input_and_the_moment_tiles_diffusers_encodes_twice_over() -> None:+ """The count rests on diffusers' `_tiled_encode`: run the real one on an image whose sides are not multiples of 8+ and sum the moment tiles its encoder returns; the rows blended from them and the concatenated moments come to the+ moments it returns, each."""+ vae, shapes = _flux2_shaped_vae(), []+ _recording(vae.encoder, shapes)+ image = torch.zeros(1, 3, 330, 565)+ result = estimate_vae_working_memory_flux2("encode", image, vae, 128, torch.device("cpu"))+ with torch.no_grad(), scoped_vae_tiling(vae, 128):+ moments = vae.encode(image).latent_dist.parameters++ assert len(shapes) == 4 * 6+ encoded = sum(shape[-3] * shape[-2] * shape[-1] for shape in shapes)+ expected = 4 * (3 * 330 * 565 + encoded + 2 * moments[0].numel())+ assert _buffer_term(result, "encode").bytes == expected+++def test_the_fit_reads_every_shipped_point_its_floor_decides_at_what_it_reserves() -> None:+ """The fit leaves a point its floor covers to the floor and rates it at the larger of the floor and the lines+ (`fit.FitPoint.floor`), so the floor the fit reads, from the values the line beneath ships, has to be what the+ estimate reserves where the floor decides: else a covered point could be one the estimate leaves short, or a line+ be rated on a phase the estimate does not reserve. The shipped points include such points, decodes and encodes."""+ specs = {spec.id: spec for spec in (VAE_SD_SPEC, VAE_FLUX_SPEC, VAE_FLUX2_SPEC)}+ data = list(shipped_data().values())+ entries = [entry for file in data for entry in file.coefficients]+ all_specs = import_estimator_modules()+ groups = fit_points(data, all_specs)+ bases = base_values(entries, groups, line_bounds(data, all_specs))+ decided = set()+ for point in (point for file in data for point in file.points):+ line = specs[point.estimator].line(point.features) if point.estimator in specs else None+ if line is None or line.sits_on is None or not point.in_fit:+ continue+ estimate = evaluate_point(point, specs[point.estimator], data)+ if not _term(estimate, BUFFER_TERMS[str(point.features["operation"])]).included:+ continue+ [read] = [+ point_reading(fit_point, bases)+ for fit_point in groups[(entry_key(carrier_of(entries, point, line.suffix)), line.suffix)]+ if (fit_point.size, fit_point.bytes, fit_point.base[2])+ == (line.size, point.measured_bytes, line.sits_on[1])+ ]+ assert int(read[4]) == estimate.reservation_bytes, point_id(point, specs[point.estimator])+ decided.add(point.features["operation"])+ assert decided == {"decode", "encode"}+++TILE_PHASE = {"convolutions", "convolution_base", "tiled", "tiled_base"}+ASSEMBLY_PHASE = {"assembled", "assembled_base"}+++def test_a_shipped_point_its_floor_decides_keeps_the_shipped_margin() -> None:+ """The floor carries the margin the fitted lines ship with, and the fit leaves a point to it only where the floor+ without it covers the point: so a point the floor decides is reserved with that margin, unless the fitted lines+ cover it on their own, as they cover every point they are left with."""+ specs = {spec.id: spec for spec in (VAE_SD_SPEC, VAE_FLUX_SPEC, VAE_FLUX2_SPEC)}+ data = list(shipped_data().values())+ decided = 0+ for point in (point for file in data for point in file.points):+ if point.estimator not in specs or not point.features.get("tile") or not point.in_fit:+ continue+ estimate = evaluate_point(point, specs[point.estimator], data)+ if not _term(estimate, BUFFER_TERMS[str(point.features["operation"])]).included:+ continue+ decided += 1+ fitted = max(+ sum(term.bytes for term in estimate.terms if term.name in TILE_PHASE),+ sum(term.bytes for term in estimate.terms if term.name in ASSEMBLY_PHASE),+ )+ with_margin = estimate.reservation_bytes >= 1.05 * point.measured_bytes+ assert with_margin or fitted >= point.measured_bytes, point_id(point, specs[point.estimator])+ # The floor carries the untiled line's base, a fitted value, so `bounds.py` holds the point to its upper bound.+ assert fitted_decides(estimate), point_id(point, specs[point.estimator])+ assert decided+++def test_a_point_its_floor_over_reserves_breaks_its_upper_bound() -> None:+ """A shipped point the floor decides, on a tile and an image the app sets, is held to the 1.3x upper bound as the+ fitted lines' points are: read at 1.6x what its estimate reserves, it is one the floor over-reserves."""+ spec, data = VAE_FLUX2_SPEC, list(shipped_data().values())+ [point] = [+ point+ for file in data+ for point in file.points+ if point_id(point, spec)+ == "vae.flux2-cudnn,cudaMallocAsync-decode-bf16-24576x24576-tile512-RTX4090-demand_peak"+ ]+ estimate = evaluate_point(point, spec, data)+ assert _term(estimate, "assembly_buffers").included and spec.line(point.features).caps+ assert bound_violation(point, spec, estimate) is None++ shrunk = point.model_copy(update={"measured_bytes": int(estimate.reservation_bytes / 1.6)})++ assert bound_violation(shrunk, spec, evaluate_point(shrunk, spec, data)) is not None+++ESTIMATES = [+ pytest.param(+ lambda operation, image, vae, tile, device: estimate_vae_working_memory_sd15_sdxl(+ operation, image, vae, tile, False, device+ ),+ 16,+ id="sd",+ ),+ pytest.param(+ lambda operation, image, vae, tile, device: estimate_vae_working_memory_flux(+ operation, image, vae, tile, device+ ),+ 16,+ id="flux",+ ),+ pytest.param(+ lambda operation, image, vae, tile, device: estimate_vae_working_memory_flux2(+ operation, image, vae, tile, device+ ),+ 32,+ id="flux2",+ ),+]+++def _vae_at_half_overlap() -> MagicMock:+ vae = _vae(dtype=torch.bfloat16)+ vae.tile_sample_min_size = 512+ vae.tile_overlap_factor = 0.5+ return vae++[email protected]("operation", ["decode", "encode"])[email protected]("estimate, channels", ESTIMATES)+def test_a_tiled_operation_at_an_overlap_its_buffers_are_not_counted_at_is_refused(+ on, operation, estimate, channels+) -> None:+ """The buffers are counted on the tile grid at the 0.25 overlap every shipped AutoencoderKL tiles at, from the+ recorded features alone; a VAE tiling at another would be priced on the wrong grid. The SD nodes run a field of 0+ at the VAE's own overlap; the FLUX nodes every field."""+ device = on(Platform("cudnn", "native", "linux"))+ with pytest.raises(ValueError, match=r"tiles at an overlap of 0\.5"):+ estimate(operation, _image(operation, 2048, 2048, channels), _vae_at_half_overlap(), 0, device)++[email protected]("operation", ["decode", "encode"])+def test_an_sd_field_above_0_is_priced_at_the_overlap_the_node_patches_not_the_vaes(on, operation) -> None:+ """The SD nodes patch the overlap to 0.25 along with the tile for a field above 0, so the VAE's own does not run."""+ device = on(Platform("cudnn", "native", "linux"))+ image = _image(operation, 2048, 2048, 4)+ result = estimate_vae_working_memory_sd15_sdxl(operation, image, _vae_at_half_overlap(), 512, False, device)++ assert result.features["tile"] == 512++[email protected]("operation", ["decode", "encode"])[email protected]("estimate, channels", ESTIMATES)+def test_a_covering_tile_is_priced_whatever_overlap_the_vae_carries(on, operation, estimate, channels) -> None:+ """A tile covering the image runs the single pass, which has no tile grid to count."""+ device = on(Platform("cudnn", "native", "linux"))+ result = estimate(operation, _image(operation, 512, 512, channels), _vae_at_half_overlap(), 0, device)++ assert result.features["tile"] is None++[email protected]("operation", ["decode", "encode"])+def test_the_tiny_autoencoder_is_priced_whatever_overlap_it_tiles_at(on, operation) -> None:+ """It tiles at its own 0.125 and keeps no tiles: a decode assembles into one fp32 buffer, 12 bytes per pixel,+ below the 18 or more the buffers count for it, and an encode holds its input and one fp32 latent."""+ device = on(Platform("cudnn", "native", "linux"))+ vae = _tiny_autoencoder()+ assert vae.tile_overlap_factor == 0.125+ result = estimate_vae_working_memory_sd15_sdxl(operation, _image(operation, 2048, 2048, 4), vae, 0, False, device)++ assert result.features["tile"] == 512def test_a_dtype_the_estimator_has_no_line_for_is_refused_by_name(on) -> None:@@ -381,6 +1173,10 @@ def test_every_stand_in_slope_is_at_least_the_pre_dtype_figure() -> None:assert stand_ins, "the shipped data declares no stand-ins -- the check is broken"for entry in stand_ins:for name in entry.stand_ins:+ if "_tiled_" in name or "_assembled_" in name:+ # A tiled line sits on the untiled one and pairs with its assembly line; the floor below is the+ # untiled lines'.+ continuepart, operation, dtype = name.split("_")value = entry.values[name]if part == "k":@@ -411,6 +1207,8 @@ def test_an_unmeasured_platform_never_prices_a_slope_below_the_pre_dtype_figure(measured = priced_as(platform)values = shipped_coefficients(spec, platform).valuesfor name, value in values.items():+ if "_tiled_" in name or "_assembled_" in name:+ continue # See `test_an_unmeasured_platform_prices_each_tiled_value_at_its_largest_measured_one`.part, operation, dtype = name.split("_")if part == "k":floor = PRE_DTYPE_BYTES_PER_PIXEL_PER_ELEMENT_BYTE[measured.conv_backend][operation] * ELEMENT_SIZES[dtype]@@ -419,6 +1217,54 @@ def test_an_unmeasured_platform_never_prices_a_slope_below_the_pre_dtype_figure(assert value >= 0[email protected]("spec", [VAE_SD_SPEC, VAE_FLUX_SPEC, VAE_FLUX2_SPEC], ids=lambda spec: spec.id)+ "platform",+ [+ Platform("mps", "native", "other"),+ Platform("xpu", "native", "windows"),+ Platform("cpu", "native", "linux"),+ Platform("cudnn", "expandable", "linux"),+ Platform("miopen", "expandable", "linux"),+ Platform("miopen", "cudaMallocAsync", "windows"),+ # Measured for its untiled lines, never tiled: its tiled lines are stand-ins at the same figures.+ Platform("miopen", "native", "linux"),+ ],+ ids=str,+)+def test_an_unmeasured_platform_prices_each_tiled_value_at_its_largest_measured_one(spec, platform) -> None:+ """The measured tiled lines differ per platform by up to 0.5 GiB of base, the assembly lines by up to 3.4 GiB; a+ platform no tiled point measures takes, value by value, the largest of the four measured ones, a line that lies on+ or above each measured platform's at every size."""+ tiled_platforms = [p for p in MEASURED if p != Platform("miopen", "native", "linux")]+ values = shipped_coefficients(spec, platform).values+ for name in (name for name in spec.coefficients if "_tiled_" in name or "_assembled_" in name):+ largest = max(shipped_coefficients(spec, measured).values[name] for measured in tiled_platforms)+ assert values[name] == largest, f"{name} on {platform}"++[email protected]("platform", [p for p in MEASURED if p != Platform("miopen", "native", "linux")], ids=str)+ "spec, dtype",+ [(VAE_FLUX_SPEC, "fp16"), (VAE_FLUX_SPEC, "fp32"), (VAE_FLUX2_SPEC, "fp32")],+ ids=["flux-fp16", "flux-fp32", "flux2-fp32"],+)+def test_a_dtype_no_tiled_point_measures_takes_the_larger_of_the_sdxl_line_and_its_own_bf16_line(+ platform, spec, dtype+) -> None:+ """No tiled point measures FLUX.1 in fp16 or fp32, or FLUX.2 in fp32. Their tiled and assembly lines stand in at,+ value by value, the larger of the SDXL VAE's line of that dtype and the family's own bf16 line scaled by the+ element size (x2 for fp32): the FLUX encoders emit 4 to 8 times the SDXL VAE's moment channels, and a FLUX decode's+ node and allocator show in its own bf16 lines, not in the SDXL VAE's."""+ values = shipped_coefficients(spec, platform).values+ sdxl = shipped_coefficients(VAE_SD_SPEC, platform).values+ scale = ELEMENT_SIZES[dtype] // ELEMENT_SIZES["bf16"]+ for line in ("tiled_decode", "tiled_encode", "assembled_decode"):+ for part in ("k", "b"):+ expected = max(sdxl[f"{part}_{line}_{dtype}"], values[f"{part}_{line}_bf16"] * scale)+ assert values[f"{part}_{line}_{dtype}"] == expected, f"{part}_{line}_{dtype}"++def test_expandable_segments_off_windows_are_priced_as_the_native_allocator_there(on) -> None:"""Measured on Windows only, where they are Invoke's ROCm default. On Linux they are a user override nobodymeasured: an SDXL fp16 decode there must not take the Windows 2.5 GiB at 1024px, nor go under the pre-dtype 7200 MiB."""@@ -488,3 +1334,95 @@ def test_a_planned_untiled_decode_is_priced_as_its_decode_node_prices_it(spec, eassert dict(planned.features) == dict(node.features)assert planned.reservation_bytes == node.reservation_bytes+++def _batch(operation: str, side: int, channels: int, samples: int) -> torch.Tensor:+ shape = (samples, channels, side // 8, side // 8) if operation == "decode" else (samples, 3, side, side)+ return torch.zeros(1, 1, 1, 1).expand(shape)++[email protected]("tile", [None, 512], ids=["untiled", "tiled"])[email protected]("operation", ["decode", "encode"])[email protected]("spec, estimate, cls, channels, dtype, growth", TILED)+def test_a_batch_reserves_its_samples_on_the_shipped_lines_and_a_single_sample_is_unchanged(+ on, spec, estimate, cls, channels, dtype, growth, operation, tile+) -> None:+ """The convolutions scale with the samples as FLUX.2's do: both phases of a tiled decode per sample, an assembly+ line's base taken once where it is negative (``k * P + max(b, n * b)``), neither below the floor of every sample."""+ platform, side, samples = Platform("cudnn", "native", "linux"), 2048, 2+ vae = _vae(cls, torch.float16 if spec is VAE_SD_SPEC else torch.bfloat16, numel=1000)+ values = shipped_coefficients(spec, platform).values+ pixels = side * side++ def expected(n: int) -> int:+ if tile is None:+ return int(n * _line(spec, platform, operation, dtype, pixels) + growth)+ tile_phase = n * _tiled(spec, platform, operation, dtype, tile * tile, pixels)+ phase = tile_phase+ if operation == "decode":+ base = values[f"b_assembled_decode_{dtype}"]+ assembly = values[f"k_assembled_decode_{dtype}"] * pixels * n + max(base, n * base)+ phase = max(tile_phase, assembly)+ floor = _floor(spec, platform, operation, side, side, tile, dtype, n) if tile else 0+ return int(max(phase, floor) + growth)++ single = estimate(operation, _batch(operation, side, channels, 1), vae, tile, on(platform))+ batch = estimate(operation, _batch(operation, side, channels, samples), vae, tile, on(platform))++ assert single.reservation_bytes == expected(1)+ assert batch.features["batch_size"] == samples+ assert batch.reservation_bytes == pytest.approx(expected(samples), abs=samples)+ assert batch.reservation_bytes > single.reservation_bytes++[email protected]("tile", [None, 512], ids=["untiled", "tiled"])+ "estimate, cls",+ [+ (+ lambda image, vae, tile, device: estimate_vae_working_memory_sd15_sdxl(+ "decode", image, vae, tile, False, device+ ),+ AutoencoderKL,+ ),+ (+ lambda image, vae, tile, device: estimate_vae_working_memory_flux("decode", image, vae, tile, device),+ AutoencoderKL,+ ),+ ],+ ids=["sd", "flux"],+)+def test_the_score_matrix_of_a_batch_is_that_many_single_samples(estimate, cls, tile) -> None:+ """The mid-block score matrix is (batch, heads, S, S): the estimate prices it over batch times heads, on the tile+ where one runs."""+ vae = _vae(cls, torch.float16, numel=1000)+ with patch(+ "invokeai.backend.util.vae_working_memory.sdpa_score_matrix_bytes",+ side_effect=lambda **kwargs: kwargs["num_heads"] * kwargs["seq_len"] ** 2 * 3,+ ):+ device = torch.device("cuda", 0)+ single, batch = (+ estimate(_batch("decode", 2048, 4 if cls is AutoencoderKL else 16, n), vae, tile, device) for n in (1, 2)+ )++ assert batch.features["score_matrix_bytes"] == 2 * single.features["score_matrix_bytes"]+++def test_the_sd_decode_node_decodes_and_prices_only_the_first_sample_of_a_batch(cached_vae) -> None:+ """`l2i` returns the first image only, so the VAE and the estimate see a batch of one."""+ vae, seen = _sd_shaped_vae(), []+ real = vae.decode++ def record(latents, *args, **kwargs):+ seen.append(latents.clone())+ return real(latents, *args, **kwargs)++ vae.decode = MagicMock(side_effect=record)+ batch = torch.stack([torch.zeros(4, 32, 544), torch.ones(4, 32, 544)])++ (batch_estimate,) = _run_sd_node(cached_vae, "decode", vae, 256, batch)+ (single_estimate,) = _run_sd_node(cached_vae, "decode", vae, 256, batch[:1])++ assert [latents.shape[0] for latents in seen] == [1, 1]+ assert torch.equal(seen[0], seen[1])+ assert batch_estimate == single_estimatediff --git a/tests/app/invocations/test_z_image_tiled_decode.py b/tests/app/invocations/test_z_image_tiled_decode.pyindex df6167ae41..111beb3749 100644--- a/tests/app/invocations/test_z_image_tiled_decode.py+++ b/tests/app/invocations/test_z_image_tiled_decode.py@@ -11,6 +11,7 @@ from invokeai.app.invocations.vae.z_image_latents_to_image import ZImageLatentsTfrom invokeai.backend.util.devices import TorchDevicefrom invokeai.backend.util.vae_tiling_scope import DEFAULT_TILE_SAMPLE_MIN_SIZE, MIN_TILE_SAMPLE_SIZEfrom invokeai.backend.util.vae_working_memory import VAE_FLUX_SPEC, estimate_vae_working_memory_flux+from invokeai.backend.working_memory import spec as spec_modulefrom invokeai.backend.working_memory.coefficients import shipped_coefficientsfrom invokeai.backend.working_memory.platform import Platform@@ -30,18 +31,21 @@ def _line(platform: Platform, operation: str, pixels: float, dtype: str = "bf16"def _mock_flux_vae(element_size_bytes: int = 2) -> MagicMock:- """A stand-in for the estimator cells only: they read nothing but the parameter dtype.+ """A stand-in for the estimator cells only: they read the parameter dtype, and the geometry a+ tiled estimate snaps its tile with as `scoped_vae_tiling` does, set here to the stock 8x+ downsample and 0.25 overlap.- The node-wiring cells below use a real `AutoencoderKL`, because they are about tiling state a- mock cannot have -- `tile_overlap_factor` is set in `__init__`, so a spec'd mock lacks it.+ The node-wiring cells below use a real `AutoencoderKL`, because they are about the tiling state+ `scoped_vae_tiling` sets and restores: the class keeps it in attributes `__init__` sets, so a+ spec'd mock has only what is set on it by hand, as the two attributes here are."""vae = MagicMock(spec=AutoencoderKL)dtype = torch.bfloat16 if element_size_bytes == 2 else torch.float32# A fresh iterator per call: the decode path reads `parameters()` after the estimator already# has, and a single stored iterator would be exhausted by then.vae.parameters.side_effect = lambda: iter([torch.zeros(1, dtype=dtype)])- # The tiled *encode* residual prices the assembled moments, so it reads the latent width.- vae.config.latent_channels = 16+ vae.config.block_out_channels = (128, 256, 512, 512)+ vae.tile_overlap_factor = 0.25return vae@@ -100,34 +104,20 @@ class TestFluxWorkingMemoryEstimate:actual = _flux_reservation(operation="decode", image_tensor=latents, vae=_mock_flux_vae())assert actual == expected- def test_the_tiled_estimate_is_a_tile_bounded_decode_plus_the_assembled_image(self):- """The magnitude of both tiled terms, at one resolution, derived independently.-- Everything else about the tiled branch is a comparison against another call of the same- function, which tracks the shape of the estimate but not its size. Dropping the 25% tile- margin or halving the per-pixel image cost would be a several-hundred-megabyte- under-reservation that no other assertion here can see.- """- # 512px tiles, bf16, over a 1536x1536 output.- decode_term = _line(CPU, "decode", 512 * 512 * 1.25)- # 4 RGB buffers at the VAE's element size, plus the 8-bit one the node hands to PIL. Four- # is measured, not assumed: the assembled image grows the device peak by ~1.6 copies on a- # diffusers VAE and ~0.1 on the host-merging BFL one, and the node adds its in-window- # clamp/scale copies on top. See the constant's comment for the measurements.- image_term = 1536 * 1536 * 3 * (4 * 2 + 1)- estimate = _flux_reservation(- operation="decode", image_tensor=torch.zeros(1, 16, 192, 192), vae=_mock_flux_vae(), tile_size=512- )- assert estimate == int(decode_term + image_term)-- def test_both_tiled_terms_follow_the_vaes_dtype(self):- """An fp32 VAE prices its tile at the fp32 line, which is not twice the bf16 one, and its assembled image at- four bytes per value. Only the 8-bit buffer is fixed."""+ def test_every_tiled_term_follows_the_vaes_dtype(self):+ """An fp32 VAE prices its tile, its tiled line and its assembly line at fp32."""latents = torch.zeros(1, 16, 192, 192)- fp32 = _flux_reservation(+ fp32 = estimate_vae_working_memory_flux(operation="decode", image_tensor=latents, vae=_mock_flux_vae(element_size_bytes=4), tile_size=512)- assert fp32 == int(_line(CPU, "decode", 512 * 512 * 1.25, "fp32") + 1536 * 1536 * 3 * (4 * 4 + 1))+ coefficients = {term.coefficient for term in fp32.terms if term.coefficient is not None}+ assert fp32.features["dtype"] == "fp32"+ assert {name.rsplit("_", 1)[1] for name in coefficients} == {"fp32"}+ assert {name.split("_", 1)[1].rsplit("_", 1)[0] for name in coefficients} == {+ "decode",+ "tiled_decode",+ "assembled_decode",+ }@pytest.mark.parametrize("latent_hw", [(128, 128), (192, 192), (256, 256)])def test_a_tiled_estimate_stays_a_fraction_of_the_untiled_one(self, latent_hw):@@ -135,13 +125,15 @@ class TestFluxWorkingMemoryEstimate:Not a flat number -- the assembled image and the node's post-processing are full-resolutionhowever small the tile is, so an O(image) term rides along. That term is small next to the- decode the bound removes, and this pins how small across a 4x span of image area. (It holds- because a 512px tile is well under these images; a tile near the image size is priced at- the clamped tile plus the same image term, which can land above the single-pass estimate.)+ decode the bound removes, and this pins how small across a 4x span of image area, on the+ RTX 4090's measured lines. (A platform nothing is measured on floors each tiled and assembly+ value at its largest over the measured ones, which can lift a small tiled decode above half+ the single pass: a conservative stand-in, not this bound.)"""latents = torch.zeros(1, 16, *latent_hw)- untiled = _flux_reservation(operation="decode", image_tensor=latents, vae=_mock_flux_vae())- tiled = _flux_reservation(operation="decode", image_tensor=latents, vae=_mock_flux_vae(), tile_size=512)+ with patch.object(spec_module, "platform_for", return_value=Platform("cudnn", "native", "linux")):+ untiled = _flux_reservation(operation="decode", image_tensor=latents, vae=_mock_flux_vae())+ tiled = _flux_reservation(operation="decode", image_tensor=latents, vae=_mock_flux_vae(), tile_size=512)assert tiled < untiled / 2def test_a_tile_larger_than_the_image_is_not_estimated_as_tiled(self):@@ -168,23 +160,6 @@ class TestFluxWorkingMemoryEstimate:untiled = _flux_reservation(operation="decode", image_tensor=latents, vae=_mock_flux_vae())assert tiled < untiled- def test_a_tiled_estimate_still_covers_the_assembled_image(self):- """The other half of the bound: tiling caps the decode, not the assembly.-- The assembled output is one full-resolution device tensor, and the node then runs `clamp`,- `+ 1.0`, `* 127.5` and `.byte()` over it. At 8192x8192 in fp16 a single one of those RGB- buffers is 402MB, so a tile-only estimate is short by more than it reserves. This is the- second resolution the image term is checked at, so a term that did not scale with area- would fail here even if it matched at 1536px.- """- estimate = _flux_reservation(- operation="decode", image_tensor=torch.zeros(1, 16, 1024, 1024), vae=_mock_flux_vae(), tile_size=512- )- tile_term = int(_line(CPU, "decode", 512 * 512 * 1.25))- one_full_resolution_buffer = 8192 * 8192 * 3 * 2- # The assembled output plus at least one of the post-processing copies.- assert estimate >= tile_term + 2 * one_full_resolution_buffer-def test_the_sentinel_does_not_read_the_size_off_the_vae(self):"""Upstream #9427 found this exact shape of bug in the Qwen estimator: reading`vae.tile_sample_min_size` returns whatever the *previous* invocation left on the cached@@ -201,8 +176,7 @@ class TestFluxWorkingMemoryEstimate:# The Z-Image nodes also hand a diffusers AutoencoderKL to this estimator; the SD1/SDXL# sibling dereferences `vae.tile_sample_min_size` directly and would raise here.latents = torch.zeros(1, 16, 192, 192)- vae = MagicMock(spec=AutoencoderKL)- vae.parameters.side_effect = lambda: iter([torch.zeros(1, dtype=torch.bfloat16)])+ vae = _mock_flux_vae()del vae.tile_sample_min_sizeestimate = _flux_reservation(operation="decode", image_tensor=latents, vae=vae, tile_size=0)assert estimate == _flux_reservation(@@ -222,16 +196,19 @@ class TestTheEncodeEstimate:an encode at all -- its docstring said as much: "a `tile_size` with `operation="encode"` wouldprice a tiled encode that cannot happen, and no call site passes one".- The tile-bounded term is shared with the decode. What tiling does *not* bound is not: a decode- assembles an image several times over and then converts it to bytes, while an encode consumes- its input once and accumulates latents at 1/64 the area. Inheriting the decode residual would- over-reserve by a wide margin on exactly the resolutions this feature exists for.+ The tile is priced the same way for either operation. What tiling adds on top is not: a decode+ assembles an image and converts it to bytes, while an encode slices its input and assembles+ moments at 1/64 the area. Each operation has its own tiled line."""@pytest.fixture(autouse=True)def _fused_non_rocm_build(self, monkeypatch):+ import invokeai.backend.util.vae_working_memory as vwm+monkeypatch.setattr("invokeai.backend.util.vae_working_memory.sdpa_score_matrix_bytes", lambda *a, **k: 0)monkeypatch.setattr(torch.version, "hip", None, raising=False)+ # Priced on the CPU whatever the machine: a GPU would select its own coefficients.+ monkeypatch.setattr(vwm.TorchDevice, "choose_torch_device", classmethod(lambda cls: torch.device("cpu")))def test_an_untiled_encode_is_the_whole_image_at_the_encode_coefficient(self):"""What the call sites that pass no tile reserve: the full image, priced at the cuDNN encode coefficient."""@@ -250,32 +227,6 @@ class TestTheEncodeEstimate:untiled = [_flux_reservation("encode", torch.zeros(1, 3, edge, edge), vae) for edge in (1024, 3072)]assert untiled == [int(_line(CPU, "encode", edge * edge)) for edge in (1024, 3072)]- def test_the_tiled_estimate_is_one_tile_plus_the_input_and_every_live_copy_of_the_moments(self):- """The moments are not one copy. `AutoencoderKL._tiled_encode` keeps every encoded tile in- `rows` while it builds `result_rows` from them, then concatenates `enc` on top of both; the- tiles overlap, so they alone are `1/(1-0.25)**2` of the output area."""- vae = _mock_flux_vae()- edge, tile = 2048, 512- live_moment_copies = 1.0 / (1.0 - 0.25) ** 2 + 2.0- expected = _line(CPU, "encode", tile * tile * 1.25)- expected += edge * edge * 3 * 2- expected += (edge // 8) * (edge // 8) * 2 * 16 * 2 * live_moment_copies- assert _flux_reservation("encode", torch.zeros(1, 3, edge, edge), vae, tile_size=tile) == int(expected)-- def test_it_does_not_inherit_the_decode_residual(self):- """The decode adds four element-size copies of the assembled image plus a byte buffer, for- the node's `clamp/*127.5/.byte()` tail. An encode has no such tail, and the cost of assuming- it does is a reservation the cache has to evict models to honour."""- vae = _mock_flux_vae()- image = torch.zeros(1, 3, 2048, 2048)- latents = torch.zeros(1, 16, 2048 // 8, 2048 // 8)-- encode = _flux_reservation("encode", image, vae, tile_size=512)- decode = _flux_reservation("decode", latents, vae, tile_size=512)-- # Same tile, same output area, so the whole difference is the residual term.- assert decode - encode > 2048 * 2048 * 3 * 2, "the encode is paying for the decode's image copies"-def test_a_tile_larger_than_the_image_is_priced_as_the_untiled_encode(self):"""`scoped_vae_tiling` hands the VAE a tile it will not use below its own threshold, and anoversized tile would otherwise reserve for a pass that never runs."""@@ -345,6 +296,20 @@ class TestTilingIsWired:assert state[0]["use_tiling"] is Trueassert state[0]["tile_sample_min_size"] == DEFAULT_TILE_SAMPLE_MIN_SIZE+ def test_a_batch_of_latents_decodes_and_is_priced_as_its_first_sample(self, flux_shaped_vae):+ """The node returns the first image only, so the VAE and the estimate see one sample, not the whole batch."""+ path = "invokeai.app.invocations.vae.z_image_latents_to_image.estimate_vae_working_memory_flux"+ vae = flux_shaped_vae()+ batch = torch.cat([torch.zeros(1, 16, 64, 64), torch.ones(1, 16, 64, 64)])+ _, context, _ = _build_decode_mocks(vae, batch, torch.zeros(1, 3, 512, 512))+ with patch(path, wraps=estimate_vae_working_memory_flux) as estimate:+ _build_invocation(tiled=True).invoke(context)++ assert estimate.call_args.kwargs["image_tensor"].shape[0] == 1+ decoded_input = vae.decode.call_args.args[0]+ assert decoded_input.shape[0] == 1+ assert torch.allclose(decoded_input, (batch[:1] / vae.config.scaling_factor) + (vae.config.shift_factor or 0.0))+def test_force_tiled_decode_reaches_the_tiled_path(self, flux_shaped_vae):"""The config switch a small-VRAM user actually has; the node field is not the only way in."""vae = flux_shaped_vae()diff --git a/tests/backend/util/test_rocm_sdpa_head_dim_guard.py b/tests/backend/util/test_rocm_sdpa_head_dim_guard.pyindex 7cc02e9f9c..fdafae815d 100644--- a/tests/backend/util/test_rocm_sdpa_head_dim_guard.py+++ b/tests/backend/util/test_rocm_sdpa_head_dim_guard.py@@ -508,6 +508,9 @@ class TestClassicVaeEstimators:vae = MagicMock(spec=spec)vae.parameters.side_effect = lambda: iter([torch.zeros(1, dtype=torch.bfloat16)])+ # The stock geometry a tiled estimate snaps its tile with: an 8x downsample, the 0.25 overlap.+ vae.config.block_out_channels = (128, 256, 512, 512)+ vae.tile_overlap_factor = 0.25return vae@staticmethoddiff --git a/tests/backend/working_memory/test_fit.py b/tests/backend/working_memory/test_fit.pyindex 301529e38a..6b66bdc465 100644--- a/tests/backend/working_memory/test_fit.py+++ b/tests/backend/working_memory/test_fit.py@@ -1,26 +1,33 @@"""The shipped fit: an upper envelope of the points, with a non-negative base, plus the shipped margin, raised whereother points lie above it by the least the upper bounds allow."""+from dataclasses import replacefrom fractions import Fractionimport pytestfrom invokeai.backend.working_memory.bounds import bound_violation, evaluate_point, line_bounds, point_idfrom invokeai.backend.working_memory.coefficients import CoefficientEntry, MeasuredPoint, ValuesFrom, WorkingMemoryData-from invokeai.backend.working_memory.estimate import WorkingMemoryTerm+from invokeai.backend.working_memory.estimate import WorkingMemoryEstimate, WorkingMemoryTermfrom invokeai.backend.working_memory.fit import (SHIPPED_MARGIN,+ SMALLEST_APP_SIDE,FitPoint,Line,LineBound,LineConflict,+ base_values,convolution_line,+ entry_fit,entry_key,fit_points,fitted_values,hand_set_values,+ point_reading,raised_pair,shipped_pair,+ shipped_two_phase,+ two_phase_envelope,upper_envelope,)from invokeai.backend.working_memory.spec import EstimatorSpec, import_estimator_modules@@ -85,9 +92,120 @@ def test_a_lower_reading_at_a_measured_size_does_not_move_the_line() -> None:assert upper_envelope([(1, 10), (2, 15), (4, 20), (4, 12)]) == upper_envelope([(1, 10), (2, 15), (4, 20)])-def test_a_falling_edge_is_never_the_line() -> None:- """A line that falls with the size would price larger images below smaller ones."""- assert upper_envelope([(1, 10), (4, 5)]) == (10, 0)+def test_a_falling_edge_is_never_the_line_and_the_flat_line_through_the_peak_stands_in() -> None:+ """A line that falls with the size would price larger images below smaller ones. Past the hull's peak the flattest+ line `k >= 0` allows through it over-reserves the 5 at size 4 by 2x; the edge from the origin would by 8x."""+ assert upper_envelope([(1, 10), (4, 5)]) == (0, 10)+++def test_a_line_that_sits_on_another_covers_the_demand_above_it_and_is_rated_on_the_whole_estimate() -> None:+ """Two tiles of one tiled operation: the 1000-byte tile measures 100 and 200 bytes above its untiled price, the+ 4000-byte one 100 below and level. The hull of the highest demands above the offsets runs through 100 at size 1+ and 200 at size 4; of its edges and the flat line, the edge between them over-reserves its worst point least,+ rated on offset plus line against the reading: 1.06x at the larger tile, where the edge from the origin would+ reserve 1.17x of the smaller tile's 1200."""+ points = [+ (1, 1100, Fraction(1000)),+ (4, 1200, Fraction(1000)),+ (2, 3900, Fraction(4000)),+ (4, 4000, Fraction(4000)),+ ]++ k, b = upper_envelope(points)++ assert (k, b) == (Fraction(100, 3), Fraction(200, 3))+ assert all(o + k * x + b >= y for x, y, o in points)+++def test_a_line_that_sits_on_another_is_zero_where_nothing_lies_above_its_offset() -> None:+ assert upper_envelope([(1, 900, Fraction(1000)), (4, 950, Fraction(1000))]) == (0, 0)+++def _floored(x: int, y: int, floor: int) -> tuple[int, int, Fraction, Fraction, Fraction]:+ """A point of a line that sits on none beneath, with what its estimate reserves whatever the line: its floor, the+ shipped margin included, which covers the point where it is at least the reading plus that margin."""+ return (x, y, Fraction(0), Fraction(0), Fraction(floor))+++def test_a_point_its_floor_covers_lifts_no_line() -> None:+ """The 100 at size 8 would pull the line to it; its floor reserves 105 whatever the line, the 100 and the shipped+ margin, so the line stays the one the other points give. A floor of 104 covers the 100 without the margin a line+ would ship, and leaves the point to the line."""+ points = [(1, 10), (2, 15), (4, 20)]++ assert upper_envelope([*points, _floored(8, 100, 104)]) == upper_envelope([*points, (8, 100)])+ assert upper_envelope([*points, (8, 100)]) != upper_envelope(points)+ assert upper_envelope([*points, _floored(8, 100, 105)]) == upper_envelope(points) == (5, 5)+++def test_a_point_its_floor_covers_rates_a_line_that_prices_it_above_the_floor() -> None:+ """Without the point at 16 the edges (5, 5) and (2.5, 10) both over-reserve their worst point 1.25x, and the+ steeper wins. Its floor covers the 50 at 16 with 53, but (5, 5) prices 85 there, 1.7x what it measured, where+ (2.5, 10) prices it under the floor: what the estimate reserves rates."""+ points = [(1, 10), (2, 15), (4, 20)]++ assert upper_envelope([*points, _floored(16, 50, 53)]) == (Fraction(5, 2), 10)+++def test_a_point_its_floor_covers_rates_no_line_that_prices_it_below_the_floor() -> None:+ """The floor reserves 90 for the 50 at 16 whichever edge wins: (5, 5) prices it at 90 and (2.5, 10) at 50, neither+ above it. Rated on what the edges price, 1.8x against 1.0x, the point would hand the line to the flatter edge,+ though it reserves the same under both; rated on nothing, the tie between them goes to the steeper as without it."""+ points = [(1, 10), (2, 15), (4, 20)]++ assert upper_envelope([*points, _floored(16, 50, 90)]) == upper_envelope(points) == (5, 5)+++def test_a_floor_no_line_reaches_does_not_decide_between_the_lines() -> None:+ """The floor reserves 2.5x the 10 at size 1 whatever the line. Counted as each edge's worst ratio, it would tie+ every edge and hand the line to the steepest, (10, 0), which over-reserves the 40 at 8 by 2x; left out, the edge+ (5, 10) wins, the 1.25x it holds the others to."""+ points = [(2, 20), (4, 30), (8, 40)]++ assert upper_envelope([*points, _floored(1, 10, 25)]) == upper_envelope(points) == (5, 10)+++def test_a_line_is_held_against_the_floor_as_it_ships() -> None:+ """The floor, the margin in it, reserves 87 for the 50 at 16. The edge (5, 5) prices that point at 85 before the+ margin, under the floor, and at 89.25 as it ships, above it: it is the shipped line that would reserve more than+ the floor, so the point rates it, 1.7x, and the flatter edge (2.5, 10) wins, as at a floor of 85."""+ points = [(1, 10), (2, 15), (4, 20)]++ assert upper_envelope([*points, _floored(16, 50, 87)]) == (Fraction(5, 2), 10)+++def test_a_point_its_floor_covers_rates_no_assembly_line_that_prices_it_below_the_floor() -> None:+ """The assembly line through the readings at 6 and 8 Mi pixels prices the tile's decodes best (`FLAT_THEN_STEEP`).+ At 16 Mi pixels it prices the 300 MiB measured there at 2.6x, under the 800 MiB its floor reserves anyway; the+ tiled line alone would price it at 1.8x, but over-reserves the flat points 1.89x. The floor decides that point+ whichever line ships, so the assembly line still wins."""+ x, y, offset = 16 * MIB, 300 * MIB, Fraction(100 * MIB)+ covered = (x, y, offset, offset, Fraction(800 * MIB))++ assert two_phase_envelope([*FLAT_THEN_STEEP, covered]) == two_phase_envelope(FLAT_THEN_STEEP)+++def test_a_floor_no_candidate_reaches_does_not_decide_between_the_candidates() -> None:+ """The floor reserves 3x the 60 MiB at 1 Mi pixels whichever lines ship. Counted as every candidate's worst ratio,+ it would tie them all and leave the choice to the sum of ratios, which takes an assembly line, 7.5 bytes per pixel+ from 80 MiB; left out, the tiled line alone, 5 bytes per pixel, wins on the worst of the other points, as it does+ without the covered point."""+ decodes = _decodes((4, 110, 100), (8, 140, 100), (12, 140, 100))+ offset = Fraction(100 * MIB)+ covered = (1 * MIB, 60 * MIB, offset, offset, Fraction(180 * MIB))++ assert two_phase_envelope([*decodes, covered]) == two_phase_envelope(decodes) == ((5, 0), (0, 0))+++def test_no_assembly_line_passes_through_a_point_its_floor_covers() -> None:+ """The floor covers the 150 MiB at 2 Mi pixels, with the margin. An assembly line through it and the 350 MiB at 8,+ 33.3 bytes per pixel from 83 MiB, would rate better than the tiled line alone; but that point needs no line, so no+ candidate is drawn through it, and the tiled line alone, 31.25 bytes per pixel, wins."""+ decodes = _decodes((3, 140, 100), (4, 180, 100), (8, 350, 100))+ offset = Fraction(100 * MIB)+ covered = (2 * MIB, 150 * MIB, offset, offset, Fraction(240 * MIB))++ assert two_phase_envelope([*decodes, covered]) == ((Fraction(125, 4), 0), (0, 0))def test_the_shipped_margin_is_five_percent() -> None:@@ -164,6 +282,474 @@ def test_a_line_is_fitted_on_the_single_sample_untiled_points_of_every_member_th)+TILED_POINTS = [+ _point("borrower", "encode", 2048, 1250, tile=512),+ _point("borrower", "encode", 4096, 1500, tile=512),+ _point("borrower", "encode", 2048, 4500, tile=1024),+]+"""Tiled encodes: a line that sits on the untiled one, with no assembly phase."""++UNTILED = [(512 * 512, 1100 * MIB), (1024 * 1024, 4400 * MIB)]+++def _untiled(operation: str) -> list[MeasuredPoint]:+ """The untiled points of `operation` the tiled lines below sit on (`UNTILED`), one of each estimator."""+ return [_point("lender", operation, 512, 1100), _point("borrower", operation, 1024, 4400)]+++def test_a_tiled_line_covers_what_its_points_measured_above_their_estimators_untiled_demand_at_the_tile() -> None:+ """The borrower carries its tiled line and borrows the untiled one. Each tiled point is covered above the untiled+ demand its own estimator measured at its tile: 4400 MiB at the 1024px tile. At the 512px tile the borrower measured+ nothing untiled (the 512px point is the lender's), so the untiled line's fit stands in, fitted first. Every point+ is rated on what is reserved for it, that fit at its tile plus the tiled line. Covered above the untiled line at+ 1024px instead, the 1024px tile's 4500 MiB would add nothing, and the line would not carry what tiling adds there+ to another tile."""+ data = WorkingMemoryData(+ schema_version=1,+ coefficients=[+ _entry("lender", {"k_encode_bf16": 0.0, "b_encode_bf16": 0.0}),+ _entry("borrower", {"k_tiled_encode_bf16": 0.0, "b_tiled_encode_bf16": 0.0}, lender="lender"),+ ],+ points=[*_untiled("encode"), *TILED_POINTS],+ )++ fitted = fitted_values([data], SPECS, {})++ k, b = shipped_pair(UNTILED)+ assert fitted[("lender", 1, (("conv_backend", "cudnn"),))] == {"k_encode_bf16": k, "b_encode_bf16": b}++ def at(tile: int) -> Fraction:+ return Fraction(k * tile * tile + b)++ readings = [+ (2048 * 2048, 1250 * MIB, at(512), at(512)),+ (4096 * 4096, 1500 * MIB, at(512), at(512)),+ (2048 * 2048, 4500 * MIB, Fraction(4400 * MIB), at(1024)),+ ]+ tiled = shipped_pair(readings)+ assert fitted[("borrower", 1, (("conv_backend", "cudnn"),))] == {+ "k_tiled_encode_bf16": tiled[0],+ "b_tiled_encode_bf16": tiled[1],+ }+ assert tiled != shipped_pair([(x, y, rate) for x, y, _, rate in readings]), "over the untiled line instead"+ assert tiled != shipped_pair([reading[:2] for reading in readings]), "on the raw demand"+++COUNTED_PER_PIXEL = 20+"""What the floor of `_floored_terms` counts per image pixel, as a tiled VAE operation counts its buffers."""+++def _floored_terms(features, values):+ """A tiled operation's two phases as the VAE estimators price them: the tile on the untiled line plus the tiled+ line, or the floor, the counted buffers and the untiled line's base, whichever is larger. An untiled one is its+ line."""+ line = convolution_line(features)+ assert line is not None+ if line.sits_on is None:+ return (+ WorkingMemoryTerm.fitted("convolutions", f"k_{line.suffix}", line.size, values),+ WorkingMemoryTerm.fitted("convolution_base", f"b_{line.suffix}", 1, values),+ )+ untiled, tile_area = line.sits_on+ tile_phase = (+ WorkingMemoryTerm.fitted("convolutions", f"k_{untiled}", tile_area, values),+ WorkingMemoryTerm.fitted("convolution_base", f"b_{untiled}", 1, values),+ WorkingMemoryTerm.fitted("tiled", f"k_{line.suffix}", line.size, values),+ WorkingMemoryTerm.fitted("tiled_base", f"b_{line.suffix}", 1, values),+ )+ floor_phase = (+ WorkingMemoryTerm("buffers", COUNTED_PER_PIXEL * line.size, True),+ WorkingMemoryTerm.fitted("floor_base", f"b_{untiled}", 1, values),+ )+ floor_wins = sum(term.bytes for term in floor_phase) > sum(term.bytes for term in tile_phase)+ return (+ *(replace(term, included=not floor_wins) for term in tile_phase),+ *(replace(term, included=floor_wins) for term in floor_phase),+ )+++def test_a_tiled_point_the_untiled_lines_headroom_covers_is_not_left_to_the_floor() -> None:+ """A tiled point's floor is what its estimate reserves whatever the lines price its tile and what tiling adds: the+ counted buffers and the untiled line's base, without the slope that prices the tile. The untiled line runs from the+ 256 px point to the 1024 px one, above the 1000 MiB measured at the 512 px tile, so the tile phase alone covers a+ 4096 px encode at that tile of up to its price there less the margin, though the encode lies above that 1000 MiB.+ Read with the slope beneath, its floor would be that tile phase and would leave the point to no line; read without,+ it is the 320 MiB of buffers and the base, and the point stays in the tiled line's hull."""+ spec = EstimatorSpec(+ id="tiler",+ version=1,+ coefficients=frozenset(),+ platform_keys=("conv_backend",),+ terms=_floored_terms,+ line=convolution_line,+ )+ values = {"k_encode_bf16": 0.0, "b_encode_bf16": 0.0, "k_tiled_encode_bf16": 0.0, "b_tiled_encode_bf16": 0.0}+ key = ("tiler", 1, (("conv_backend", "cudnn"),))+ untiled = [_point("tiler", "encode", px, mib) for px, mib in ((256, 400), (512, 1000), (1024, 4400))]++ def data(mib: int) -> WorkingMemoryData:+ """The untiled points, a 2048 px encode at a 1024 px tile, and a 4096 px one at a 512 px tile at `mib`."""+ tiled = [_point("tiler", "encode", 2048, 4500, tile=1024), _point("tiler", "encode", 4096, mib, tile=512)]+ return WorkingMemoryData(schema_version=1, coefficients=[_entry("tiler", values)], points=untiled + tiled)++ def fitted(mib: int) -> dict[str, int]:+ return dict(fitted_values([data(mib)], {"tiler": spec}, {})[key])++ shipped = fitted(1150)+ k, b = shipped["k_encode_bf16"], shipped["b_encode_bf16"]++ def at(tile: int) -> Fraction:+ return Fraction(k * tile * tile + b)++ groups = fit_points([data(1150)], {"tiler": spec})+ readings = [+ point_reading(point, base_values(data(1150).coefficients, groups, {}))+ for point in groups[(key, "tiled_encode_bf16")]+ ]+ assert [reading.floor for reading in readings] == [COUNTED_PER_PIXEL * px * px + b for px in (2048, 4096)]+ for mib in (1150, 1200):+ assert 1000 * MIB < mib * MIB and mib * MIB * (1 + SHIPPED_MARGIN) <= at(512), "within the headroom at the tile"+ assert mib * MIB * (1 + SHIPPED_MARGIN) > COUNTED_PER_PIXEL * 4096 * 4096 + b, "above the floor"++ tiled = (shipped["k_tiled_encode_bf16"], shipped["b_tiled_encode_bf16"])+ assert tiled == shipped_pair(+ [+ (2048 * 2048, 4500 * MIB, Fraction(4400 * MIB), at(1024)),+ (4096 * 4096, 1150 * MIB, Fraction(1000 * MIB), at(512)),+ ]+ )+ raised = fitted(1200)+ assert (raised["k_tiled_encode_bf16"], raised["b_tiled_encode_bf16"]) != tiled, "the 4096 px point moves the line"+++def test_a_tile_below_the_smallest_the_app_sets_is_covered_but_caps_nothing() -> None:+ """A 256 px tile is set by hand in the workflow editor only. Its point joins the tiled line's fit: above the line it+ raises it to cover itself, below it moves nothing, as a probe window would not; and its estimate is held from below+ only, however far above it the line lies."""+ encode = {"operation": "encode", "dtype": "bf16", "height": 4096, "width": 4096}+ assert convolution_line(encode | {"tile": SMALLEST_APP_SIDE}).caps+ assert not convolution_line(encode | {"tile": SMALLEST_APP_SIDE // 2}).caps++ def fitted(*extra: MeasuredPoint) -> dict[str, int]:+ data = WorkingMemoryData(+ schema_version=1,+ coefficients=[+ _entry("lender", {"k_encode_bf16": 0.0, "b_encode_bf16": 0.0}),+ _entry("borrower", {"k_tiled_encode_bf16": 0.0, "b_tiled_encode_bf16": 0.0}, lender="lender"),+ ],+ points=[*_untiled("encode"), *TILED_POINTS, *extra],+ )+ return dict(fitted_values([data], SPECS, {})[("borrower", 1, (("conv_backend", "cudnn"),))])++ low, high = (_point("borrower", "encode", 4096, mib, tile=256) for mib in (100, 6000))+ assert fitted(low) == fitted()+ raised = fitted(high)+ k, b = shipped_pair(UNTILED)+ assert k * 256 * 256 + b + raised["k_tiled_encode_bf16"] * 4096 * 4096 + raised["b_tiled_encode_bf16"] >= 6000 * MIB++ def estimate(reserved: int) -> WorkingMemoryEstimate:+ terms = (WorkingMemoryTerm.fitted("tiled", "k", 1, {"k": reserved}),)+ return WorkingMemoryEstimate(estimator="borrower", version=1, features=low.features, terms=terms, source="-")++ assert bound_violation(low, SPECS["borrower"], estimate(100 * low.measured_bytes)) is None+ assert bound_violation(low, SPECS["borrower"], estimate(low.measured_bytes - 1)) is not None+ capping = _point("borrower", "encode", 4096, 100, tile=512)+ assert bound_violation(capping, SPECS["borrower"], estimate(100 * capping.measured_bytes)) is not None+++def test_an_image_below_the_smallest_side_the_app_sets_is_covered_but_rates_nothing() -> None:+ """An untiled image of fewer pixels than a 512 px square bounds its estimate from below only. Its point lies on the+ hull here, below the line the larger images take on their own (3733 bytes per pixel from 667 MiB through 512 and+ 1024 px), which reserves 2x its demand: rated, it would pick the edge through it and 512 px instead (6133 bytes per+ pixel from 67 MiB), 1.4x over the 1024 px point. Covered only, it leaves the larger images' line; a point above+ that line raises it."""+ encode = {"operation": "encode", "dtype": "bf16", "tile": None}+ assert convolution_line(encode | {"height": SMALLEST_APP_SIDE, "width": SMALLEST_APP_SIDE}).caps+ assert not convolution_line(encode | {"height": SMALLEST_APP_SIDE // 2, "width": SMALLEST_APP_SIDE // 2}).caps+ larger = [_point("lender", "encode", 512, 1600), _point("lender", "encode", 1024, 4400)]++ def fitted(*extra: MeasuredPoint) -> dict[str, int]:+ data = WorkingMemoryData(+ schema_version=1,+ coefficients=[_entry("lender", {"k_encode_bf16": 0.0, "b_encode_bf16": 0.0})],+ points=[*larger, *extra],+ )+ return dict(fitted_values([data], SPECS, {})[("lender", 1, (("conv_backend", "cudnn"),))])++ on_hull, above = (_point("lender", "encode", 256, mib) for mib in (450, 2000))+ readings = [(512 * 512, 1600 * MIB), (1024 * 1024, 4400 * MIB)]+ k, b = shipped_pair(readings)+ assert fitted(on_hull) == fitted() == {"k_encode_bf16": k, "b_encode_bf16": b}+ assert (k, b) != shipped_pair([(256 * 256, 450 * MIB), *readings]), "rated, it would move the line"+ raised = fitted(above)+ assert raised["k_encode_bf16"] * 256 * 256 + raised["b_encode_bf16"] >= 2000 * MIB++ def estimate(point: MeasuredPoint, reserved: int) -> WorkingMemoryEstimate:+ terms = (WorkingMemoryTerm.fitted("untiled", "k", 1, {"k": reserved}),)+ return WorkingMemoryEstimate(estimator="lender", version=1, features=point.features, terms=terms, source="-")++ assert bound_violation(on_hull, SPECS["lender"], estimate(on_hull, 100 * on_hull.measured_bytes)) is None+ assert bound_violation(on_hull, SPECS["lender"], estimate(on_hull, on_hull.measured_bytes - 1)) is not None+ capping = _point("lender", "encode", SMALLEST_APP_SIDE, 700)+ assert bound_violation(capping, SPECS["lender"], estimate(capping, 100 * capping.measured_bytes)) is not None+++def test_a_tiled_line_on_an_untiled_line_no_entry_carries_is_refused() -> None:+ data = WorkingMemoryData(+ schema_version=1,+ coefficients=[_entry("borrower", {"k_tiled_encode_bf16": 0.0, "b_tiled_encode_bf16": 0.0})],+ points=TILED_POINTS,+ )+ with pytest.raises(ValueError, match="tiled_encode_bf16 sits on encode_bf16, not carried"):+ fitted_values([data], SPECS, {})+++def _decodes(*readings: tuple[int, int, int]) -> list[tuple[int, int, Fraction]]:+ """Tiled decodes as the search reads them, from (Mi pixels, MiB measured, MiB the tile is priced at): the search+ rates the lines as they ship, slopes in whole bytes per pixel and bases in whole MiB."""+ return [(x * MIB, y * MIB, Fraction(o * MIB)) for x, y, o in readings]+++def _shipped_ratios(points) -> list[Fraction]:+ """Each point's estimate under the lines `shipped_two_phase` ships for `points`, over its reading."""+ (k_t, b_t), (k_a, b_a) = shipped_two_phase(points)+ return [max(o + k_t * x + b_t, Fraction(k_a * x + b_a)) / y for x, y, o in points]+++FLAT_THEN_STEEP = _decodes((1, 110, 100), (2, 110, 100), (4, 110, 100), (6, 200, 100), (8, 300, 100))+"""One tile's decodes: 10 MiB above the tile's price up to 4 Mi pixels, then the assembly, 200 and 300 MiB."""+++def test_an_assembly_line_takes_the_points_the_tile_cannot_price_without_rising_under_the_others() -> None:+ """The tiled line alone has to rise to 300 MiB at 8 Mi pixels and ships 1.89x over 4 Mi pixels (25 bytes per+ pixel, from the origin). The assembly line through the readings at 6 and 8, 50 bytes per pixel from -100 MiB,+ prices both exactly and lies under the tile's price up to 4, where the tiled line is the flat 10 MiB the points+ there measured above it: before the margin every estimate is its reading, as shipped the worst 1.065x."""+ line, assembly = two_phase_envelope(FLAT_THEN_STEEP)++ assert (line, assembly) == ((0, 10 * MIB), (50, -100 * MIB))+ assert upper_envelope(FLAT_THEN_STEEP) == (25, 0), "the tiled line alone"+ assert all(max(o + line[0] * x + line[1], assembly[0] * x + assembly[1]) == y for x, y, o in FLAT_THEN_STEEP)+ assert max(_shipped_ratios(FLAT_THEN_STEEP)) == Fraction(213, 200)+++def test_a_point_its_floor_covers_needs_no_assembly_line() -> None:+ """The tile's decodes measure 10 MiB above its price up to 4 Mi pixels, and 300 MiB at 8, which its floor reserves+ anyway, with the shipped margin: no assembly line is needed for it, and none passes through it."""+ flat = _decodes((1, 110, 100), (2, 110, 100), (4, 110, 100))+ x, y, offset = 8 * MIB, 300 * MIB, Fraction(100 * MIB)++ assert two_phase_envelope([*flat, (x, y, offset, offset, Fraction(0))])[1] != (0, 0)+ assert two_phase_envelope([*flat, (x, y, offset, offset, Fraction(315 * MIB))]) == ((0, 10 * MIB), (0, 0))+++def test_a_linear_set_ships_no_assembly_line() -> None:+ """Two tiles whose decodes lie 10 bytes per pixel above their tile's price: the tiled line alone prices every point+ exactly. So does the assembly line through the small tile's readings, before the margin, with the large tile on the+ tiled line. As they ship it is worse: the margin scales the assembly line over the small tile's whole demand,+ and the tiled line over only the part above the tile."""+ points = _decodes((1, 110, 100), (2, 120, 100), (4, 140, 100), (8, 180, 100),+ (2, 420, 400), (4, 440, 400), (8, 480, 400)) # fmt: skip++ assert two_phase_envelope(points) == ((10, 0), (0, 0))+++def test_the_candidates_are_rated_as_they_ship() -> None:+ """Before the margin the assembly line through the readings at 2 and 8 Mi pixels would win: the tiled line under+ it covers the 4 and 20 MiB measured above the tile at 1 and 4, and its worst estimate is 110/104 against 112.5/104+ for the tiled line alone (6.25 bytes per pixel). As they ship, the assembly line, 9 bytes per pixel from 94 MiB,+ reserves 166 MiB for the 150 at 8 Mi pixels, 1.107x: the margin scales its whole demand, but the tiled line's (7+ bytes per pixel) only the 50 MiB above the tile, 156 MiB there, and its worst estimate is 114/104, 1.096x. So no+ assembly line ships."""+ points = _decodes((1, 104, 100), (2, 104, 100), (4, 120, 100), (8, 150, 100))++ assert two_phase_envelope(points) == ((Fraction(25, 4), 0), (0, 0))+ assert max(_shipped_ratios(points)) == Fraction(114, 104)+++def test_an_assembly_line_no_point_needs_ties_with_none_and_ships_as_none() -> None:+ """The assembly line through the two probe readings, which lie below the tile's price and cap nothing, covers no+ capping point and leaves the tiled line as it is: it ships under the tile phase everywhere, so every estimate is+ the same as without it. A tie, and it goes to the zero assembly line."""+ capping = _decodes((1, 110, 100), (2, 120, 100), (4, 140, 100), (8, 180, 100))+ probes = _decodes((2, 50, 100), (4, 60, 100))++ assert two_phase_envelope(capping + probes, capping) == ((10, 0), (0, 0))+++def test_only_the_small_tiles_large_points_take_the_assembly_line() -> None:+ """The small tile measures 10 MiB above its price up to 4 Mi pixels, then 200 and 300 MiB; the large tile 5 to 10+ MiB above its own, to 410 MiB at 8 Mi pixels. The assembly line through the small tile's readings at 6 and 8 prices+ them, as shipped (53 bytes per pixel from -105 MiB) still under every other point's tile phase, the large tile's+ at 8 Mi pixels too (319 against 411 MiB). The tiled line covers the 10 MiB the rest measured above their tile."""+ small = _decodes((1, 110, 100), (2, 110, 100), (4, 110, 100), (6, 200, 100), (8, 300, 100))+ large = _decodes((2, 405, 400), (4, 405, 400), (8, 410, 400))++ line, assembly = two_phase_envelope(small + large)++ assert (line, assembly) == ((0, 10 * MIB), (50, -100 * MIB))+ (k_t, b_t), (k_a, b_a) = shipped_two_phase(small + large)+ priced_by_assembly = [(x // MIB, o / MIB) for x, _, o in small + large if k_a * x + b_a > o + k_t * x + b_t]+ assert priced_by_assembly == [(6, 100), (8, 100)]+++def test_a_tie_between_two_assembly_lines_goes_to_the_steeper_one() -> None:+ """Two assembly lines through the reading at 8 Mi pixels ship to the same 315 MiB there, 1.05 times its 300: 60+ bytes per pixel through a probe reading at 10, and 80 through one at 6. Each covers the other's probe and leaves the+ flat 10 MiB to the tiled line, and neither reaches the tile phase below 8, so every estimate ties. The steeper+ wins, the more conservative past the largest point."""+ capping = _decodes((1, 110, 100), (2, 110, 100), (4, 110, 100), (8, 300, 100))+ probes = _decodes((6, 140, 100), (10, 420, 100))++ line, assembly = two_phase_envelope(capping + probes, capping)++ assert (line, assembly) == ((0, 10 * MIB), (80, -340 * MIB))+ assert two_phase_envelope(list(reversed(capping + probes)), list(reversed(capping))) == (line, assembly)+++def test_a_tie_between_two_parallel_assembly_lines_goes_to_the_higher_one() -> None:+ """Two parallel assembly lines, 50.5 bytes per pixel, through two probe readings each: from -103.5 MiB through 5+ and 6 Mi pixels, from -103 MiB through 2.5 and 3. Both cover the probe reading of 300 MiB at 8 Mi pixels and ship+ as the same line, 54 bytes per pixel from -108 MiB, which stays under the tile phase at every capping point, so+ every estimate ties; every other assembly line that ties is flatter. The higher one wins, the more conservative+ everywhere."""+ capping = _decodes((1, 110, 100), (2, 110, 100), (4, 110, 100))+ probes = [+ (int(Fraction(x) * MIB), int(Fraction(y) * MIB), Fraction(100 * MIB))+ for x, y in (("2.5", "23.25"), ("3", "48.5"), ("5", "149"), ("6", "199.5"), ("8", "300"))+ ]++ line, assembly = two_phase_envelope(capping + probes, capping)++ assert (line, assembly) == ((0, 10 * MIB), (Fraction(101, 2), -103 * MIB))+++def test_a_probe_reading_above_the_assembly_line_is_covered_but_neither_rates_nor_shapes_the_tiled_line() -> None:+ """The probe reading of 4 MiB at 1 Mi pixels caps nothing. Left to the tiled line, it is covered by the line the+ capping readings choose (2.5 bytes per pixel from 10 MiB, 14 MiB there as shipped), and no assembly line ships.+ Rated, it would hand the decode to the steep assembly line through it (11 bytes per pixel from -7 MiB, 1.25x over+ it against 3.5x); rating the tiled line's edges, to the edge through the origin (7.5 bytes per pixel)."""+ capping = _decodes((2, 15, 0), (4, 20, 0))+ probe = _decodes((1, 4, 0))++ line, assembly = two_phase_envelope(capping + probe, capping)++ assert (line, assembly) == ((Fraction(5, 2), 10 * MIB), (0, 0))+ (k_t, b_t), _ = shipped_two_phase(capping + probe, capping)+ assert k_t * MIB + b_t >= 4 * MIB+++def test_a_line_that_sits_on_a_line_that_sits_on_another_is_refused() -> None:+ """The fit runs in two steps, the lines that sit on none, then those that sit on one of them: a chain has no order+ in it."""++ def chained(features):+ size = features["height"] * features["width"]+ sits_on = {"middle": ("bottom", size), "top": ("middle", size)}.get(features["operation"])+ return Line(features["operation"], size, True, features["operation"], sits_on=sits_on)++ spec = EstimatorSpec(+ id="chain", version=1, coefficients=frozenset(), platform_keys=("conv_backend",), terms=_no_terms, line=chained+ )+ lines = {f"{part}_{line}": 0.0 for line in ("bottom", "middle", "top") for part in ("k", "b")}+ data = WorkingMemoryData(+ schema_version=1,+ coefficients=[_entry("chain", lines)],+ points=[_point("chain", operation, 1024, 4000) for operation in ("bottom", "middle", "top")],+ )++ with pytest.raises(ValueError, match=r"top sits on \['middle'\], which sit on others"):+ fit_points([data], {"chain": spec})+++def test_without_the_fit_beneath_a_line_that_sits_on_another_is_a_problem_not_a_gap() -> None:+ """Fitted without the values of the line beneath, which `base_values` gives, a tiled line is named as a problem:+ leaving it out quietly would read as a fit."""+ data = WorkingMemoryData(+ schema_version=1,+ coefficients=[+ _entry("lender", {"k_encode_bf16": 0.0, "b_encode_bf16": 0.0}),+ _entry("borrower", {"k_tiled_encode_bf16": 0.0, "b_tiled_encode_bf16": 0.0}, lender="lender"),+ ],+ points=[*_untiled("encode"), *TILED_POINTS],+ )+ groups = fit_points([data], SPECS)+ borrower = data.coefficients[1]++ values, problems, conflicts = entry_fit(borrower, groups, None, {})++ assert values == {} and set(problems) == {"tiled_encode_bf16"} and not conflicts+ values, problems, conflicts = entry_fit(borrower, groups, base_values(data.coefficients, groups, {}), {})+ assert set(values) == {"k_tiled_encode_bf16", "b_tiled_encode_bf16"} and not problems and not conflicts+++def test_the_margin_scales_the_whole_assembly_line_a_negative_intercept_included() -> None:+ """The assembly line of the flat-then-steep decodes, 50 bytes per pixel from -100 MiB, ships as 52.5 rounded up+ to 53 and -105 MiB, so it grows by at least 5% wherever it is above zero; the tiled line's 10 MiB as 11."""+ line, assembly = shipped_two_phase(FLAT_THEN_STEEP)++ assert line == (0, 11 * MIB)+ assert assembly == (53, -105 * MIB)+ for x in (3 * MIB, 6 * MIB, 8 * MIB):+ assert assembly[0] * x + assembly[1] >= (1 + SHIPPED_MARGIN) * (50 * x - 100 * MIB) > 0+++def test_a_tiled_decode_line_and_its_assembly_line_are_fitted_together_on_the_tiled_decodes() -> None:+ """The decode counterpart of the encode above: the untiled line first, then the tiled decodes on what they measured+ above it at their tile, the tiled line and its assembly line from them together."""+ tiled = [+ _point("borrower", "decode", 1024, 1200, tile=512),+ _point("borrower", "decode", 2048, 1250, tile=512),+ _point("borrower", "decode", 4096, 1300, tile=512),+ _point("borrower", "decode", 8192, 6000, tile=512),+ _point("borrower", "decode", 2048, 4500, tile=1024),+ ]+ data = WorkingMemoryData(+ schema_version=1,+ coefficients=[+ _entry("lender", {"k_decode_bf16": 0.0, "b_decode_bf16": 0.0}),+ _entry(+ "borrower",+ {f"{part}_{line}_bf16": 0.0 for line in ("tiled_decode", "assembled_decode") for part in ("k", "b")},+ lender="lender",+ ),+ ],+ points=[*_untiled("decode"), *tiled],+ )++ fitted = fitted_values([data], SPECS, {})++ k, b = shipped_pair(UNTILED)+ measured = {1024: Fraction(4400 * MIB)} # The borrower's untiled decode at the 1024px tile; none at 512px.++ def reading(point: MeasuredPoint) -> tuple[int, int, Fraction, Fraction]:+ tile = point.features["tile"]+ priced = Fraction(k * tile * tile + b)+ return (point.features["height"] ** 2, point.measured_bytes, measured.get(tile, priced), priced)++ (k_tiled, b_tiled), (k_assembled, b_assembled) = shipped_two_phase([reading(point) for point in tiled])+ assert k_assembled > 0, "the 8192px decode needs the assembly phase"+ assert fitted[("borrower", 1, (("conv_backend", "cudnn"),))] == {+ "k_tiled_decode_bf16": k_tiled,+ "b_tiled_decode_bf16": b_tiled,+ "k_assembled_decode_bf16": k_assembled,+ "b_assembled_decode_bf16": b_assembled,+ }+++def test_a_tiled_decode_whose_entry_carries_no_assembly_line_is_refused() -> None:+ data = WorkingMemoryData(+ schema_version=1,+ coefficients=[+ _entry("lender", {"k_decode_bf16": 0.0, "b_decode_bf16": 0.0}),+ _entry("borrower", {"k_tiled_decode_bf16": 0.0, "b_tiled_decode_bf16": 0.0}, lender="lender"),+ ],+ points=[*_untiled("decode"), _point("borrower", "decode", 2048, 1250, tile=512)],+ )+ with pytest.raises(ValueError, match="tiled_decode_bf16 pairs with assembled_decode_bf16, not carried"):+ fitted_values([data], SPECS, {})++def test_a_line_without_enough_points_names_its_entry() -> None:data = WorkingMemoryData(schema_version=1,@@ -206,7 +792,7 @@ def test_a_line_its_fresh_process_points_do_not_span_is_not_fitted(points) -> Nodata = WorkingMemoryData(schema_version=1, coefficients=[_entry("lender", {"k_decode_bf16": 0.0, "b_decode_bf16": 0.0})], points=points)- with pytest.raises(ValueError, match=r"decode_bf16: its fresh-process points measure .* keep it a stand-in"):+ with pytest.raises(ValueError, match=r"decode_bf16: its capping points measure .* keep it a stand-in"):fitted_values([data], SPECS, {})@@ -393,7 +979,7 @@ def test_a_token_line_its_fresh_forwards_do_not_span_is_not_fitted() -> None:forwards = [_probe_forward(_forward(1024)), _measured_forward(_forward(4096)), _probe_forward(_forward(16384))]data = WorkingMemoryData(schema_version=1, coefficients=[DENOISE_ENTRY], points=forwards)- with pytest.raises(ValueError, match=r"denoise_bf16: its fresh-process points measure .* keep it a stand-in"):+ with pytest.raises(ValueError, match=r"denoise_bf16: its capping points measure .* keep it a stand-in"):fitted_values([data],{Z_IMAGE_DENOISE_SPEC.id: Z_IMAGE_DENOISE_SPEC},@@ -424,6 +1010,109 @@ def test_a_probe_forward_never_lowers_a_half_of_the_fresh_token_fit() -> None:assert fitted["k_denoise_bf16"] * window.features["tokens"] + fitted["b_denoise_bf16"] >= window.measured_bytes+def _tiled_probe(operation: str, px: int, mib: int) -> MeasuredPoint:+ point = _point("borrower", operation, px, mib, tile=512)+ return point.model_copy(update={"method": "probe_demand"})+++AT_512 = 1155+"""About what the untiled line `UNTILED` fits prices a 512px tile at, in MiB: the offset the tiled points below sit on,+since the borrower measured no untiled 512px point (`_above_the_tile`)."""+++def _tiled_fit(operation: str, *points: MeasuredPoint) -> dict[str, int]:+ """The borrower's fitted tiled `operation` lines (with the assembly line for a decode) on `points`, over the+ lender's untiled line fitted on `UNTILED`."""+ tiled = ["tiled_encode"] if operation == "encode" else ["tiled_decode", "assembled_decode"]+ data = WorkingMemoryData(+ schema_version=1,+ coefficients=[+ _entry("lender", {f"k_{operation}_bf16": 0.0, f"b_{operation}_bf16": 0.0}),+ _entry("borrower", {f"{part}_{line}_bf16": 0.0 for line in tiled for part in ("k", "b")}, lender="lender"),+ ],+ points=[*_untiled(operation), *points],+ )+ return dict(fitted_values([data], SPECS, {})[("borrower", 1, (("conv_backend", "cudnn"),))])+++def _above_the_tile(px: int, mib: int) -> tuple[int, int, Fraction, Fraction]:+ """A tiled point at a 512px tile as the fit reads it: above what the untiled line prices the tile at."""+ k, b = shipped_pair(UNTILED)+ priced = Fraction(k * 512 * 512 + b)+ return (px * px, mib * MIB, priced, priced)+++def test_a_line_that_sits_on_another_its_fresh_points_do_not_span_is_not_fitted() -> None:+ """One fresh tiled encode at 2048px and a warm window at 4096px: together they span 4x, but the one fresh size pins+ nothing at the other, where a cold run can lie above the window."""+ points = [_point("borrower", "encode", 2048, AT_512 + 1000, tile=512), _tiled_probe("encode", 4096, AT_512 + 900)]++ with pytest.raises(ValueError, match=r"tiled_encode_bf16: its capping points measure .* keep it a stand-in"):+ _tiled_fit("encode", *points)+++def test_a_probe_never_lowers_a_half_of_a_line_that_sits_on_another() -> None:+ """Fresh tiled encodes at 2048px and 4096px read 1000 and 1300 MiB above the tile. A warm window at 8192px, 2750 MiB+ above it, drops the 4096px vertex: rated on the fresh points, the edge from 2048px to the window wins, with a base+ below the fresh fit's. The shipped line keeps the larger of each half, read above the tile in both fits."""+ fresh = [(2048, AT_512 + 1000), (4096, AT_512 + 1300)]+ window = (8192, AT_512 + 2750)+ fitted = _tiled_fit(+ "encode",+ *(_point("borrower", "encode", px, mib, tile=512) for px, mib in fresh),+ _tiled_probe("encode", *window),+ )++ fresh_k, fresh_b = shipped_pair([_above_the_tile(*point) for point in fresh])+ all_k, all_b = shipped_pair(+ [_above_the_tile(*point) for point in (*fresh, window)], [_above_the_tile(*p) for p in fresh]+ )+ assert all_b < fresh_b, "the window alone would lower the base"+ assert (fitted["k_tiled_encode_bf16"], fitted["b_tiled_encode_bf16"]) == (max(all_k, fresh_k), fresh_b)+++def test_a_probe_never_lowers_either_line_of_a_two_phase_pair() -> None:+ """Fresh tiled decodes from 1024px to 8192px, the largest needing the assembly phase. A warm window at 6144px reads+ 1000 MiB above the tile: fitted with it, the tiled line's slope and the assembly line's intercept both drop below the+ fresh two-phase fit's. Each ships at the larger of the two fits, per line and coefficient."""+ fresh = [(1024, AT_512 + 45), (2048, AT_512 + 95), (4096, AT_512 + 145), (8192, AT_512 + 4845)]+ window = (6144, AT_512 + 1000)+ fitted = _tiled_fit(+ "decode",+ *(_point("borrower", "decode", px, mib, tile=512) for px, mib in fresh),+ _tiled_probe("decode", *window),+ )++ fresh_readings = [_above_the_tile(*point) for point in fresh]+ fresh_line, fresh_assembly = shipped_two_phase(fresh_readings)+ all_line, all_assembly = shipped_two_phase([*fresh_readings, _above_the_tile(*window)], fresh_readings)+ assert all_line[0] < fresh_line[0] and all_assembly[1] < fresh_assembly[1], "the window alone would lower both"+ assert (fitted["k_tiled_decode_bf16"], fitted["b_tiled_decode_bf16"]) == tuple(map(max, all_line, fresh_line))+ assert (fitted["k_assembled_decode_bf16"], fitted["b_assembled_decode_bf16"]) == tuple(+ map(max, all_assembly, fresh_assembly)+ )+++def test_a_fresh_point_below_the_smallest_app_side_still_shapes_the_line() -> None:+ """A fresh 256px encode above the line the 512px and 1024px encodes take alone is a cold measurement: it caps+ nothing, but the line covers it as the hull through it gives, flatter than the capping points' own fit. Held to+ the capping points' fit instead, as if the small point were a warm window, the line would ship steeper."""+ capping = [(512, 1600), (1024, 4400)]+ small = (256, 1000)+ data = WorkingMemoryData(+ schema_version=1,+ coefficients=[_entry("lender", {"k_encode_bf16": 0.0, "b_encode_bf16": 0.0})],+ points=[_point("lender", "encode", px, mib) for px, mib in (*capping, small)],+ )++ fitted = fitted_values([data], SPECS, {})[("lender", 1, (("conv_backend", "cudnn"),))]++ readings = [(px * px, mib * MIB) for px, mib in capping]+ shaped = shipped_pair([*readings, (small[0] ** 2, small[1] * MIB)], readings)+ assert (fitted["k_encode_bf16"], fitted["b_encode_bf16"]) == shaped+ assert shipped_pair(readings)[0] > shaped[0], "the capping points alone fit a steeper line"++def test_a_token_window_no_line_covers_within_the_fresh_bounds_is_refused() -> None:"""2 GiB above the line at 16384 image tokens, the window (5778 MiB) needs 6066.9 MiB at 16896 attended tokens.With the fresh fit's 105 MiB base that takes 369999 bytes per token, which puts the fresh 4096-token forward at@@ -502,25 +1191,34 @@ def test_a_line_that_covers_every_point_by_the_margin_is_kept_whatever_their_owndef test_a_line_is_bounded_by_every_point_priced_on_it_where_it_decides() -> None:"""SD decodes on the cuDNN fp16 line SD3 lends: an upcast decode is bounded with its upcast's bytes taken off the- ceiling, a tiled one at the tile's 1.25 times its pixels, one whose score matrix decides at the shipped values as- if the line did, and an out-of-fit one only by its own `max_ratio`. A probe and an out-of-fit point without one set- no bound."""+ ceiling, one whose score matrix decides at the shipped values as if the line did, and an out-of-fit one only by its+ own `max_ratio`. A probe and an out-of-fit point without one set no bound, nor does a fresh tiled decode, on the+ untiled line beneath or on its tiled line: the tiled line is fitted after the untiled one and not raised."""+ specs = import_estimator_modules()+ version = specs["vae.sd"].versionplatform = {"conv_backend": "cudnn", "allocator": "native"}names = [f"{part}_{op}_{dtype}" for part in "kb" for op in ("decode", "encode") for dtype in ("fp16", "bf16", "fp32")]+ added = [+ f"{part}_{op}_{dtype}"+ for part in "kb"+ for op in ("tiled_decode", "tiled_encode", "assembled_decode")+ for dtype in ("fp16", "fp32")+ ]lender = CoefficientEntry(estimator="vae.sd3",- version=2,+ version=specs["vae.sd3"].version,platform=platform,values=dict.fromkeys(names, 1000.0),provenance="-",)borrower = CoefficientEntry(estimator="vae.sd",- version=2,+ version=version,platform=platform,- values_from=ValuesFrom(estimator="vae.sd3", version=2),+ values=dict.fromkeys(added, 0.0),+ values_from=ValuesFrom(estimator="vae.sd3", version=specs["vae.sd3"].version),provenance="-",)@@ -531,7 +1229,7 @@ def test_a_line_is_bounded_by_every_point_priced_on_it_where_it_decides() -> Nonchanges.setdefault("method", "demand_peak")return MeasuredPoint(estimator="vae.sd",- version=2,+ version=version,platform=platform,features=features,measured_bytes=mib * MIB,@@ -541,17 +1239,19 @@ def test_a_line_is_bounded_by_every_point_priced_on_it_where_it_decides() -> Non)upcast = decode(1024, 4000, features={"upcast_weight_bytes": 160 * MIB})- tiled = decode(2048, 3000, features={"tile": 512})scores = decode(1024, 9000, features={"score_matrix_bytes": 8 * 2**30})out_of_fit = decode(512, 1200, in_fit=False, max_ratio=1.5)- unbounded = [decode(768, 2000, method="probe_demand"), decode(768, 2000, in_fit=False)]+ unbounded = [+ decode(768, 2000, method="probe_demand"),+ decode(768, 2000, in_fit=False),+ decode(2048, 3000, features={"tile": 512}),+ ]data = WorkingMemoryData(schema_version=1,coefficients=[lender, borrower],- points=[upcast, tiled, scores, out_of_fit, *unbounded],+ points=[upcast, scores, out_of_fit, *unbounded],)- specs = import_estimator_modules()bounds = line_bounds([data], specs)assert set(bounds) == {(entry_key(lender), "decode_fp16")}@@ -563,11 +1263,6 @@ def test_a_line_is_bounded_by_every_point_priced_on_it_where_it_decides() -> NonFraction(1),Fraction(1.3) * 4000 * MIB - 160 * MIB,),- f"{point_id(tiled, specs['vae.sd'])} (measured 3000 MiB, at most 3900 MiB)": (- Fraction(512**2 * 5, 4),- Fraction(1),- Fraction(1.3) * 3000 * MIB,- ),f"{point_id(scores, specs['vae.sd'])} (measured 9000 MiB, at most 11700 MiB)": (Fraction(1024**2),Fraction(1),diff --git a/tests/backend/working_memory/test_shipped_coefficients.py b/tests/backend/working_memory/test_shipped_coefficients.pyindex d89492bfe7..8dacba01b3 100644--- a/tests/backend/working_memory/test_shipped_coefficients.py+++ b/tests/backend/working_memory/test_shipped_coefficients.py@@ -12,6 +12,7 @@ hold within 1.3x are listed in `bounds.UPPER_BOUND_EXCEPTIONS`; the out-of-fit oimport collectionsimport dataclassesimport itertools+import mathimport platform as stdlib_platformimport refrom dataclasses import replace@@ -49,6 +50,7 @@ from invokeai.backend.working_memory.counters import backend_forfrom invokeai.backend.working_memory.estimate import WorkingMemoryEstimate, WorkingMemoryTermfrom invokeai.backend.working_memory.fingerprint import environment_forfrom invokeai.backend.working_memory.fit import (+ SMALLEST_APP_SIDE,capping_spans,carried_lines,carrier_of,@@ -222,12 +224,28 @@ def test_an_unmeasured_platform_is_priced_as_the_measured_one_at_least_and_says_def test_every_fitted_value_is_decided_by_an_in_fit_point() -> None:"""A value no point decides is unguarded: any number would pass. An estimator without points of its own takes ameasured one's values with `values_from`, and is then held to that one's points. Only declared stand-ins are- exempt, and they are listed in the entry, as are the values of a `legacy` entry."""+ exempt, and they are listed in the entry, as are the values of a `legacy` entry. A value is decided in the entry+ that carries its line for the point: an estimator's own tiled line, the lender's untiled one. A tiled decode+ reserves the larger of its tile phase and its assembly phase (`fit.Line.assembly`), so where either is reserved+ the point decides both its tiled and its assembly line: an assembly line no point needs is zero, and the points it+ lies under decide that."""decided: set[tuple[tuple[str, int, tuple[tuple[str, str], ...]], str]] = set()for point in ALL_POINTS:- if point.in_fit:- owner = entry_key(carrier_of(ENTRIES, point))- decided |= {(owner, t.coefficient) for t in _evaluate(point).terms if t.included and t.coefficient}+ if not point.in_fit:+ continue+ terms = _evaluate(point).terms+ line = SPECS[point.estimator].line(point.features)+ phases = (+ {f"{part}_{suffix}" for suffix in (line.suffix, line.assembly) for part in ("k", "b")}+ if line is not None and line.assembly is not None+ else set()+ )+ phase_reserved = any(t.included and t.coefficient in phases for t in terms)+ decided |= {+ (entry_key(carrier_of(ENTRIES, point, t.coefficient[2:])), t.coefficient)+ for t in terms+ if t.coefficient and (t.included or (phase_reserved and t.coefficient in phases))+ }undecided = [f"{entry.estimator} {entry.platform} {name}"@@ -291,6 +309,46 @@ def test_a_stand_in_is_a_whole_line_its_fresh_process_points_cannot_fit() -> Nonassert not measured, f"{entry.estimator} on {entry.platform}: fit {measured}, they are measured now"+def test_every_tiled_point_joins_its_estimators_own_tiled_line_and_caps_it_on_a_tile_the_app_sets() -> None:+ """A tiled VAE point is a fresh-process measurement of its family's tiled line: it joins that line's fit, on the+ entry of its own estimator rather than the lender of the untiled line beneath. On a tile the app sets it caps the+ line and holds the upper bound; on a smaller one (`fit.SMALLEST_APP_SIDE`) it is covered only."""+ groups = fit_points(shipped_data().values(), SPECS)+ tiled = [point for point in ALL_POINTS if point.features.get("tile") is not None]+ assert {point.features["tile"] < SMALLEST_APP_SIDE for point in tiled} == {True, False}, "the check is broken"+ for point in tiled:+ line = SPECS[point.estimator].line(point.features)+ assert line is not None and line.sits_on is not None and line.fits, _id(point)+ assert point.in_fit and point.holds_upper_bound, _id(point)+ assert line.caps == (point.features["tile"] >= SMALLEST_APP_SIDE), _id(point)+ owner = carrier_of(ENTRIES, point, line.suffix)+ assert owner.estimator == point.estimator, _id(point)+ fitted_on = groups[(entry_key(owner), line.suffix)]+ joined = [p for p in fitted_on if (p.size, p.bytes) == (line.size, point.measured_bytes)]+ assert any(p.caps == line.caps for p in joined), _id(point)+++def test_an_untiled_vae_point_caps_its_line_only_on_an_image_the_app_sets() -> None:+ """An untiled point on the convolution line of fewer pixels than a `fit.SMALLEST_APP_SIDE` square, a tiling run's+ reference at a small tile, joins its line's fit covered only; from that square on it caps the line."""+ groups = fit_points(shipped_data().values(), SPECS)+ untiled = [+ (point, line)+ for point in ALL_POINTS+ if SPECS[point.estimator].line is convolution_line and point.in_fit and point.holds_upper_bound+ and (line := SPECS[point.estimator].line(point.features)) is not None and line.fits and line.sits_on is None+ ] # fmt: skip+ small = {line.size < SMALLEST_APP_SIDE * SMALLEST_APP_SIDE for _, line in untiled}+ assert small == {True, False}, "the check is broken"+ for point, line in untiled:+ assert line.caps == (line.size >= SMALLEST_APP_SIDE * SMALLEST_APP_SIDE), _id(point)+ owner = carrier_of(ENTRIES, point, line.suffix)+ joined = [+ p for p in groups[(entry_key(owner), line.suffix)] if (p.size, p.bytes) == (line.size, point.measured_bytes)+ ]+ assert any(p.caps == line.caps for p in joined), _id(point)++def test_the_out_of_fit_points_are_the_listed_ones() -> None:"""Leaving the fit removes a point's upper bound, so it is never a quiet flag flip."""out_of_fit = collections.Counter(@@ -300,14 +358,17 @@ def test_the_out_of_fit_points_are_the_listed_ones() -> None:def test_every_listed_upper_bound_exception_is_a_shipped_point_that_needs_it() -> None:- """A stale exception would let a new point at that id over-reserve unseen."""+ """A stale exception would let a new point at that id over-reserve unseen. Each lists its point's ratio, rounded up+ to two decimals, so a refit that moves it shows here."""ids = {_id(point): point for point in ALL_POINTS}for listed, ratio in UPPER_BOUND_EXCEPTIONS.items():point = ids.get(listed)assert point is not None, f"{listed}: no such point"assert point.in_fitreserved = _evaluate(point).reservation_bytes / point.measured_bytes- assert MAX_OVER_RESERVATION < reserved <= ratio, f"{listed}: {reserved:.3f}x"+ assert MAX_OVER_RESERVATION < reserved <= ratio < reserved + 0.01, (+ f"{listed}: list {math.ceil(reserved * 100) / 100}"+ )@pytest.mark.parametrize("point", POINTS)@@ -619,10 +680,30 @@ def test_a_borrowing_that_is_not_one_hop_to_matching_values_is_refused(entries,resolve_coefficients(_data(*entries), _spec("a"), CUDNN, origin="test")[email protected]("values, values_from", [({"k": 1.0}, "b"), (None, None)], ids=["both", "neither"])-def test_an_entry_carries_exactly_one_of_values_and_values_from(values, values_from) -> None:- with pytest.raises(ValidationError, match="exactly one of"):- _entry("a", values=values, values_from=values_from)+def test_an_entry_carries_values_or_borrows_them() -> None:+ with pytest.raises(ValidationError, match="carries `values`, `values_from` or both"):+ _entry("a")+++def test_an_entry_reads_its_own_lines_beside_the_borrowed_ones_and_the_floors_of_both() -> None:+ """The family's VAE estimators borrow the untiled lines and carry their own tiled ones."""+ spec = _spec("test.borrower", coefficients=frozenset({"k", "j"}))+ lender = _entry("test.lender", values={"k": 7.0, "k_other": 9.0}, floor={"k": 8.0})+ data = _data(lender, _entry("test.borrower", values={"j": 5.0}, values_from="test.lender", floor={"j": 6.0}))++ on_cudnn = resolve_coefficients(data, spec, CUDNN, origin="test")+ assert on_cudnn == ResolvedCoefficients(+ values={"j": 5.0, "k": 7.0}, source="test:conv_backend=cudnn (values of test.lender)"+ )+ on_mps = resolve_coefficients(data, spec, replace(CUDNN, conv_backend="mps"), origin="test")+ assert dict(on_mps.values) == {"j": 6.0, "k": 8.0}++ shadowing = _data(lender, _entry("test.borrower", values={"j": 5.0, "k": 1.0}, values_from="test.lender"))+ with pytest.raises(LookupError, match=r"carry \['k'\], which they also borrow from 'test\.lender'"):+ resolve_coefficients(shadowing, spec, CUDNN, origin="test")+ unread = _data(lender, _entry("test.borrower", values={"j": 5.0, "i": 1.0}, values_from="test.lender"))+ with pytest.raises(LookupError, match=r"provide \['i', 'j', 'k', 'k_other'\] \(with test\.lender\)"):+ resolve_coefficients(unread, spec, CUDNN, origin="test")def test_a_floor_or_stand_in_names_a_value_the_entry_carries() -> None:diff --git a/tests/backend/working_memory/test_user_fit.py b/tests/backend/working_memory/test_user_fit.pyindex 431eb259b2..2ff2ea6259 100644--- a/tests/backend/working_memory/test_user_fit.py+++ b/tests/backend/working_memory/test_user_fit.py@@ -122,17 +122,40 @@ def test_above_its_measured_sizes_the_larger_of_the_user_and_the_shipped_estimatassert VAE_SD_SPEC.estimate(_features(1024), DEVICE).reservation_bytes == 2 * 1024**2 + 2 * MIB-def test_a_tiled_decode_is_placed_by_its_image_and_priced_on_its_tile(provide) -> None:[email protected]("side", [1024, 2048, 8192], ids=["within", "above", "assembled"])+def test_a_tiled_operation_keeps_the_shipped_tile_over_a_lower_user_line(provide, side) -> None:+ """A tiled operation prices its tile on the larger of the user and the shipped untiled line, within the measured+ sizes and above them: its tiled and assembly lines are fitted over the untiled demand measured where the shipped+ line was, and a lower user line beneath them would take away what that demand was. The untiled decode of the same+ image takes the user line. At 8192px the assembly phase is the larger, which no user line moves."""provide(_fit(_points(900, 400 * MIB)))- # 2048px is above the measured 1024px, so the larger estimate wins; both price the 512px tile, 1.25x.- tiled = _features(2048, tile=512)- user = 945 * 512 * 512 * 1.25 + 420 * MIB- assert VAE_SD_SPEC.estimate(tiled, DEVICE).reservation_bytes == max(int(user), _shipped(VAE_SD_SPEC, tiled))+ tiled = VAE_SD_SPEC.estimate(_features(side, tile=512), DEVICE)+ assert tiled.reservation_bytes == _shipped(VAE_SD_SPEC, _features(side, tile=512))+ assert tiled.source.startswith("shipped:") and "over user:dc:env decode_fp16 at the tile" in tiled.source+ assembled = any(term.included and term.name == "assembled" for term in tiled.terms)+ assert assembled == (side == 8192)+ assert "user:dc:env" in VAE_SD_SPEC.estimate(_features(side), DEVICE).source++[email protected]("side", [1024, 2048], ids=["within", "above"])+def test_a_tiled_operation_prices_its_tile_on_a_higher_user_line(provide, side) -> None:+ """A card whose untiled decode needs more than the shipped line says needs it for each tile too; what tiling adds+ on top stays the shipped lines'."""+ provide(_fit(_points(20000, 400 * MIB)))+ values = shipped_coefficients(VAE_SD_SPEC, PLATFORM).values+ tile_phase = 21000 * 512 * 512 + 420 * MIB + values["k_tiled_decode_fp16"] * side**2 + values["b_tiled_decode_fp16"]+ assembly = values["k_assembled_decode_fp16"] * side**2 + values["b_assembled_decode_fp16"]++ tiled = VAE_SD_SPEC.estimate(_features(side, tile=512), DEVICE)++ assert tiled.reservation_bytes == int(max(tile_phase, assembly)) > _shipped(VAE_SD_SPEC, _features(side, tile=512))+ assert tiled.source.startswith("user:dc:env (decode_fp16 at the tile, over shipped) + shipped:")def test_a_line_carried_for_several_estimators_moves_all_of_them(provide) -> None:"""vae.sd and vae.flux borrow one entry's values, so an SD fp16 decode calibrates FLUX.1's fp16 decode too."""- assert user_fit.carrier_key("vae.sd", 2, PLATFORM) == user_fit.carrier_key("vae.flux", 2, PLATFORM)+ sd = user_fit.carrier_key("vae.sd", VAE_SD_SPEC.version, PLATFORM)+ assert sd is not None and sd == user_fit.carrier_key("vae.flux", VAE_FLUX_SPEC.version, PLATFORM)provide(_fit(_points(900, 400 * MIB)))flux = {"operation": "decode",@@ -163,14 +186,16 @@ def test_the_margin_covers_the_fitted_line_only_and_analytic_terms_stay_as_they_def test_only_untiled_single_sample_autoencoder_kl_windows_with_demand_and_a_known_version_fit_a_line() -> None:good = _points(900, 400 * MIB, sides=(512, 1024))+ version = VAE_SD_SPEC.versionignored = [- UserPoint("vae.sd", 2, _features(2048, tile=512), 10**12),- UserPoint("vae.sd", 2, _features(2048, upcast_weight_bytes=160 * MIB), 10**12),- UserPoint("vae.sd", 2, _features(2048, vae_class="AutoencoderTiny"), 10**12),- UserPoint("vae.sd", 2, _features(2048, batch_size=2), 10**12),- UserPoint("vae.sd", 2, _features(2048), 0),- UserPoint("vae.sd", 1, _features(2048), 10**12),- UserPoint("vae.unknown", 2, _features(2048), 10**12),+ # A tiled window: its line sits on the untiled one and is the shipped fit's alone.+ UserPoint("vae.sd", version, _features(2048, tile=512), 10**12),+ UserPoint("vae.sd", version, _features(2048, upcast_weight_bytes=160 * MIB), 10**12),+ UserPoint("vae.sd", version, _features(2048, vae_class="AutoencoderTiny"), 10**12),+ UserPoint("vae.sd", version, _features(2048, batch_size=2), 10**12),+ UserPoint("vae.sd", version, _features(2048), 0),+ UserPoint("vae.sd", version - 1, _features(2048), 10**12),+ UserPoint("vae.unknown", version, _features(2048), 10**12),]lines, _ = fit_user_lines(good + ignored, PLATFORM, SPECS)@@ -179,6 +204,27 @@ def test_only_untiled_single_sample_autoencoder_kl_windows_with_demand_and_a_knoassert (line.k, line.b, line.x_min, line.x_max, line.points) == (945, 420 * MIB, 512**2, 1024**2, 2)+def test_tiled_windows_fit_no_user_line_even_where_their_estimators_entry_carries_the_tiled_line() -> None:+ """FLUX.2 on MIOpen with expandable segments carries its untiled and its tiled lines in one entry, the one a user+ line keys on. Its tiled windows still fit nothing: their line sits on the untiled one."""+ platform = Platform("miopen", "expandable", "windows")+ flux2 = SPECS["vae.flux2"]++ def window(side: int, tile: int | None) -> UserPoint:+ features = {"operation": "decode", "height": side, "width": side, "tile": tile, "batch_size": 1,+ "dtype": "bf16", "score_matrix_bytes": 0} # fmt: skip+ return UserPoint(flux2.id, flux2.version, features, 900 * side**2 + 400 * MIB)++ carrier = user_fit.carrier_key(flux2.id, flux2.version, platform)+ assert carrier is not None and carrier[0] == flux2.id++ lines, _ = fit_user_lines(+ [window(512, None), window(1024, None), window(2048, 512), window(4096, 512)], platform, SPECS+ )++ assert set(lines) == {(carrier, "decode_bf16")}++def test_a_line_measured_at_sizes_too_close_together_fits_nothing_and_says_why() -> None:lines, problems = fit_user_lines(_points(900, 400 * MIB, sides=(1024, 1280)), PLATFORM, SPECS)assert not lines@@ -230,3 +276,34 @@ def test_the_z_image_denoise_is_moved_by_no_user_line(provide) -> None:features = _denoise_features(4096)shipped = Z_IMAGE_DENOISE_SPEC.evaluate(features, shipped_coefficients(Z_IMAGE_DENOISE_SPEC, PLATFORM))assert Z_IMAGE_DENOISE_SPEC.estimate(features, DEVICE) == shipped++[email protected]("delta", [512 * MIB, -64 * MIB], ids=["higher", "lower"])+def test_a_tiled_decode_the_floor_decides_follows_a_higher_user_base_and_keeps_the_shipped_one_over_a_lower(+ delta: int,+) -> None:+ """A 24576 px FLUX.1 bf16 decode at a 512 px tile on Windows ROCm with expandable segments: its floor decides, and+ it carries the base of the untiled line. A tiled operation takes the larger of the user and the shipped estimate+ (`user_fit.resolve`), so a user base above the shipped one raises the floor by it and its margin, and one below+ leaves the shipped estimate standing."""+ platform = Platform("miopen", "expandable", "windows")+ features = {"operation": "decode", "height": 24576, "width": 24576, "dtype": "bf16", "tile": 512}+ features["score_matrix_bytes"] = 0+ shipped_values = shipped_coefficients(VAE_FLUX_SPEC, platform)+ shipped = VAE_FLUX_SPEC.evaluate(features, shipped_values)+ assert any(term.included and term.name == "assembly_buffers" for term in shipped.terms), "the floor decides"+ carrier = user_fit.carrier_key(VAE_FLUX_SPEC.id, VAE_FLUX_SPEC.version, platform)+ assert carrier is not None+ k, b = shipped_values.values["k_decode_bf16"], shipped_values.values["b_decode_bf16"]+ line = UserLine(k=int(k), b=int(b + delta), x_min=512**2, x_max=1024**2, points=3)+ fit = UserFit(label="user:dc:env", platform=platform, lines={(carrier, "decode_bf16"): line})++ resolved = user_fit.resolve(VAE_FLUX_SPEC, features, shipped_values, fit)++ [base] = [term for term in resolved.terms if term.name == "floor_base"]+ if delta > 0:+ assert base.bytes == b + delta+ assert resolved.reservation_bytes == pytest.approx(shipped.reservation_bytes + 1.05 * delta, abs=2)+ else:+ assert base.bytes == b+ assert resolved.reservation_bytes == shipped.reservation_bytesdiff --git a/tests/test_build_shipped_working_memory.py b/tests/test_build_shipped_working_memory.pyindex a361d96214..c8e45b3ae0 100644--- a/tests/test_build_shipped_working_memory.py+++ b/tests/test_build_shipped_working_memory.py@@ -7,6 +7,7 @@ import platform as stdlib_platformimport reimport shutilfrom collections.abc import Callable, Iterator+from fractions import Fractionfrom importlib.util import module_from_spec, spec_from_file_locationfrom pathlib import Path@@ -21,14 +22,23 @@ from invokeai.app.services.working_memory_calibration.working_memory_calibrationCalibrationStoreFile,)from invokeai.backend.util import nvml+from invokeai.backend.util.vae_working_memory import VAE_FLUX2_SPEC, VAE_SD_SPECfrom invokeai.backend.working_memory import coefficients, fragmentationfrom invokeai.backend.working_memory import platform as working_memory_platform-from invokeai.backend.working_memory.coefficients import CoefficientEntry, MeasuredPoint, load_data+from invokeai.backend.working_memory.bounds import bound_violation, evaluate_point, point_id+from invokeai.backend.working_memory.coefficients import CoefficientEntry, MeasuredPoint, WorkingMemoryData, load_datafrom invokeai.backend.working_memory.fingerprint import DeviceClass, Environment, environment_for+from invokeai.backend.working_memory.fit import (+ base_values,+ carrier_of,+ convolution_line,+ fit_points,+ shipped_two_phase,+)from invokeai.backend.working_memory.fragmentation import Measurementfrom invokeai.backend.working_memory.platform import platform_forfrom invokeai.backend.working_memory.probe import CounterDelta-from invokeai.backend.working_memory.spec import import_estimator_modules+from invokeai.backend.working_memory.spec import EstimatorSpec, import_estimator_modulesfrom invokeai.backend.z_image.denoise_working_memory import Z_IMAGE_DENOISE_SPECfrom scripts.working_memory.build_shipped import (DATA_DIR,@@ -37,6 +47,7 @@ from scripts.working_memory.build_shipped import (bound_violations,build_points,export_paths,+ legacy_fit,main,merge_points,point_identity,@@ -54,6 +65,9 @@ RTX_4090 = DeviceClass(vendor="nvidia", name="NVIDIA GeForce RTX 4090", total_miRX_9060_XT = DeviceClass(vendor="amd", name="AMD Radeon RX 9060 XT", total_mib=16304, backend="hip", arch="gfx1200")SETTINGS = {"pytorch_cuda_alloc_conf": None, "attention_type": "sdpa"}GIB = 2**30+VAE_VERSION = VAE_FLUX2_SPEC.version+"""The version the VAE windows here are recorded at: the FLUX.2 and SD1/SDXL estimators', which move together."""+assert VAE_SD_SPEC.version == VAE_VERSIONdef _decode(px: int, **changes: object) -> dict[str, object]:@@ -61,6 +75,12 @@ def _decode(px: int, **changes: object) -> dict[str, object]:"dtype": "bf16"} | changes # fmt: skip+def _sd_fp16_decode(px: int) -> dict[str, object]:+ """An SD1/SDXL fp16 decode as the RTX 4090 records it: cuDNN's attention materializes no score matrix."""+ return {"operation": "decode", "height": px, "width": px, "tile": None, "dtype": "fp16", "upcast_weight_bytes": 0,+ "score_matrix_bytes": 0, "vae_class": "AutoencoderKL"} # fmt: skip++def _delta(value: int) -> CounterDelta:return CounterDelta(baseline=GIB, peak=GIB + value, offset=0, delta=value)@@ -73,7 +93,7 @@ def _window(valid=True,fit_eligible=True,reasons=(),- version=2,+ version=VAE_VERSION,estimator="vae.flux2",allocated: int | None = None,):@@ -157,8 +177,10 @@ def _export(path: Path, device_class: DeviceClass, windows: list[dict], *, os_fa@pytest.fixturedef exports(tmp_path: Path, machine) -> tuple[Path, Path]:- """A Linux RTX 4090 with two repetitions of a 1024px decode, an invalid and a partially resident window, and a- Windows RX 9060 XT on MIOpen's native allocator, saved as a family E2E run saves them, next to a status file."""+ """A Linux RTX 4090 with two repetitions of a 1024px SD fp16 decode, an invalid and a partially resident window,+ and a Windows RX 9060 XT on MIOpen's native allocator, saved as a family E2E run saves them, next to a status file.+ The RTX 4090's decodes are SD's: the FLUX.2 decode lines on its platform have no headroom for a raise+ (`bounds.UPPER_BOUND_EXCEPTIONS`)."""calibration = tmp_path / "calibration"calibration.mkdir()(calibration / "20261017-120000-box-1-status.json").write_text('{"available": true}', encoding="utf-8")@@ -167,11 +189,15 @@ def exports(tmp_path: Path, machine) -> tuple[Path, Path]:calibration / f"20261017-120000-box-1-{RTX_4090.id}.json",RTX_4090,[- _window(1, _decode(1024), 4_600_000_000),- _window(2, _decode(512), 1_150_000_000),- _window(3, _decode(1024), 4_700_000_000),- _window(4, _decode(1024), 9 * GIB, valid=False, fit_eligible=False, reasons=["oom"]),- _window(5, _decode(1024), 9 * GIB, fit_eligible=False, reasons=["partial_residency"]),+ _window(1, _sd_fp16_decode(1024), 4_600_000_000, estimator="vae.sd"),+ _window(2, _sd_fp16_decode(512), 1_150_000_000, estimator="vae.sd"),+ _window(3, _sd_fp16_decode(1024), 4_700_000_000, estimator="vae.sd"),+ _window(+ 4, _sd_fp16_decode(1024), 9 * GIB, valid=False, fit_eligible=False, reasons=["oom"], estimator="vae.sd"+ ),+ _window(+ 5, _sd_fp16_decode(1024), 9 * GIB, fit_eligible=False, reasons=["partial_residency"], estimator="vae.sd"+ ),],)machine("7.14.0", "windows")@@ -269,8 +295,8 @@ def test_a_window_whose_environment_lacks_a_platform_fact_is_left_out(machine, t@pytest.mark.parametrize("window, message",[- pytest.param(_window(1, _decode(1024), 4 * GIB, version=1), "version 1, the registered estimator is version 2",- id="stale-version"),+ pytest.param(_window(1, _decode(1024), 4 * GIB, version=VAE_VERSION - 1),+ f"version {VAE_VERSION - 1}, the registered estimator is version {VAE_VERSION}", id="stale-version"),pytest.param(_window(1, {"operation": "decode", "height": 1024}, 4 * GIB), "cannot evaluate its features",id="features-the-terms-cannot-read"),],@@ -295,7 +321,7 @@ def test_a_directory_stands_for_its_exports_in_lifetime_order(tmp_path: Path) ->def _probe_point(measured_bytes: int) -> MeasuredPoint:return MeasuredPoint(estimator="vae.flux2",- version=2,+ version=VAE_VERSION,platform=CUDNN_NATIVE,features=_decode(1024),measured_bytes=measured_bytes,@@ -388,8 +414,8 @@ def test_written_data_holds_the_points_and_passes_the_shipped_data_checks(assert main([*map(str, exports), "--data-dir", str(data_dir)]) == 0assert _files(data_dir) == before, "nothing written without --write"preview = capsys.readouterr().out- # The 4.7 GB decode lies above the cuDNN line all FLUX.2 points share with vae.sd3: it is raised.- assert f"line vae.json: vae.sd3 {CUDNN_NATIVE} decode_bf16: " in preview+ # The 4.7 GB decode lies above the cuDNN line all SD fp16 points share with vae.sd3: it is raised.+ assert f"line vae.json: vae.sd3 {CUDNN_NATIVE} decode_fp16: " in previewassert "; raised, 2 new points on it" in preview# A run's calibration/ directory stands for its exports.@@ -399,7 +425,7 @@ def test_written_data_holds_the_points_and_passes_the_shipped_data_checks(probe_points = [p for p in built.points if p.method == "probe_demand"]assert sorted(p.measured_bytes for p in probe_points) == [1_150_000_000, 4_700_000_000, 10_900_000_000]shipped, raised = (_carried(d, "vae.sd3", CUDNN_NATIVE) for d in (DATA_DIR, data_dir))- at_1024 = [line["k_decode_bf16"] * 1024 * 1024 + line["b_decode_bf16"] for line in (shipped, raised)]+ at_1024 = [line["k_decode_fp16"] * 1024 * 1024 + line["b_decode_fp16"] for line in (shipped, raised)]assert at_1024[0] < 1.05 * 4_700_000_000 <= at_1024[1]shipped_checks(data_dir)@@ -485,7 +511,7 @@ def _miopen_native_point() -> MeasuredPoint:return MeasuredPoint(estimator=estimator,- version=2,+ version=import_estimator_modules()[estimator].version,platform=MIOPEN_NATIVE,features=features,measured_bytes=measured_bytes,@@ -562,28 +588,146 @@ def test_a_stand_in_short_of_a_probe_is_raised_by_the_least_its_bounds_allow(speassert RAISE_NOTE in entry.provenance+def test_probe_tiled_decodes_raise_a_tiled_stand_in_and_its_assembly_line_above_the_tile(specs) -> None:+ """The SD estimator's fp16 tiled decode off Windows is a stand-in, tiled line and assembly line alike, over the+ borrowed untiled stand-in of 7200 bytes per pixel. No untiled SD point measures the 512px tile there, so probe+ decodes at that tile are read above what the untiled line prices it at. Four of them, 1024 to 8192px, the largest+ needing the assembly phase, raise the tiled slope and the assembly base, fitted together; the halves they lie+ under stay. Read on their raw bytes, the raise would price the tile twice."""+ tile_price = 7200 * 512 * 512+ above_the_tile = {1024: 1600 * MIB, 2048: 1700 * MIB, 4096: 2200 * MIB, 8192: 9000 * MIB}+ probes = [+ _miopen_native_point("vae.sd", _sd_decode(px, "fp16") | {"tile": 512}, tile_price + mib, "probe_demand")+ for px, mib in above_the_tile.items()+ ]+ names = [f"{part}_{line}_fp16" for line in ("tiled_decode", "assembled_decode") for part in ("k", "b")]+ shipped = _carried(DATA_DIR, "vae.sd", MIOPEN_NATIVE)++ entry = _refit_shipped(probes, specs, "vae.sd")++ readings = [+ (px * px, tile_price + mib, Fraction(tile_price), Fraction(tile_price)) for px, mib in above_the_tile.items()+ ]+ tiled, assembled = shipped_two_phase(readings)+ assert entry.values is not None+ raised = [entry.values[name] for name in names]+ assert raised == [max(shipped[name], fit) for name, fit in zip(names, (*tiled, *assembled), strict=True)]+ assert raised[0] > shipped[names[0]] and raised[3] > shipped[names[3]], "the tiled slope and the assembly base"+ assert raised[1] == shipped[names[1]] and raised[2] == shipped[names[2]]+ raw_tiled, raw_assembled = shipped_two_phase([reading[:2] for reading in readings])+ assert (*raw_tiled, *raw_assembled) != (*tiled, *assembled)+ assert set(names) <= set(entry.stand_ins)+ assert RAISE_NOTE in entry.provenance+++def test_probes_on_the_untiled_line_raise_it_and_may_shift_tile_cost_off_a_tiled_line_without_breaking_a_bound(+ specs,+) -> None:+ """Warm RTX 4090 SD fp16 decodes at 512 and 1024 px under the native allocator raise the untiled line they+ measure, and never lower it. The tiled SD decodes sit on that line at their tile. Those with an untiled reference at+ their tile are covered above it, so the raise adds to their estimates byte for byte; those without one are covered+ above the raised line, and the fit of the lines above takes less for them: a tiled or assembly value falls. Every+ shipped point stays covered and within its bound. SD fp16, as FLUX's decode lines on this platform have no headroom+ for a raise (`bounds.UPPER_BOUND_EXCEPTIONS`); a 1024 px probe of 4.8 GB, as 4.9 GB breaks a tiled bound (below)."""+ native = {"conv_backend": "cudnn", "allocator": "native"}+ probes = [+ MeasuredPoint(+ estimator="vae.sd",+ version=VAE_VERSION,+ platform=native,+ features=_sd_fp16_decode(px),+ measured_bytes=demand,+ method="probe_demand",+ device="NVIDIA GeForce RTX 4090",+ provenance="-",+ )+ for px, demand in ((512, 1_300_000_000), (1024, 4_800_000_000))+ ]+ before = coefficients.shipped_data()+ entries_before = [entry for file in before.values() for entry in file.coefficients]++ after = refit(merge_points(before, probes), specs)++ entries_after = [entry for file in after.values() for entry in file.coefficients]+ untiled_before = carrier_of(entries_before, probes[0], "decode_fp16")+ untiled_after = carrier_of(entries_after, probes[0], "decode_fp16")+ assert untiled_before.values is not None and untiled_after.values is not None+ halves = ("k_decode_fp16", "b_decode_fp16")+ assert all(untiled_after.values[name] >= untiled_before.values[name] for name in halves)+ assert any(untiled_after.values[name] > untiled_before.values[name] for name in halves), "the probes raise it"++ for point in (point for file in after.values() for point in file.points):+ spec = specs[point.estimator]+ estimate = evaluate_point(point, spec, after.values())+ # Covered: an in-fit point by its fitted lines alone; an out-of-fit check, by the floor too (`bounds.py`).+ assert not point.in_fit or estimate.reservation_bytes >= point.measured_bytes, point_id(point, spec)+ assert bound_violation(point, spec, estimate) is None, point_id(point, spec)++ def sd_decode(entries: list[CoefficientEntry]) -> dict[str, float]:+ [entry] = [entry for entry in entries if entry.estimator == "vae.sd" and entry.platform == native]+ assert entry.values is not None+ return {+ name: value+ for name, value in entry.values.items()+ if name.endswith(("tiled_decode_fp16", "assembled_decode_fp16"))+ }++ shifted = sd_decode(entries_after)+ assert any(shifted[name] < value for name, value in sd_decode(entries_before).items()), "tile cost moved off"+++def test_an_untiled_raise_that_breaks_a_tiled_bound_is_refused_though_a_steeper_raise_would_keep_it(+ tmp_path: Path, machine, capsys+) -> None:+ """A known limitation, not the behaviour wanted: the warm SD fp16 decodes of the test above with a 1024 px probe+ of 4.9 GB. `fit.raised_pair` raises the untiled line by the least its own points' bounds allow, the base, without+ the tiled bounds (`bounds.line_bounds` gives none), which lifts the decodes at a 512 px tile at 1536 and 3072 px to+ 1.30x and 1.31x of their measured peaks, over their bound. The builder refuses it and writes nothing, though a+ steeper raise would keep every tiled bound: the earlier rule, the larger per coefficient of the fit on all points+ and on the fresh-process ones, accepted these probes. A joint fit of the untiled and tiled lines would fix it."""+ machine(None, "linux")+ windows = [+ _window(1, _sd_fp16_decode(512), 1_300_000_000, estimator="vae.sd"),+ _window(2, _sd_fp16_decode(1024), 4_900_000_000, estimator="vae.sd"),+ ]+ export = _export(tmp_path / f"20261017-120000-box-1-{RTX_4090.id}.json", RTX_4090, windows)+ data_dir, before = _data_copy(tmp_path)++ assert main([str(export), "--data-dir", str(data_dir), "--write"]) == 1++ captured = capsys.readouterr()+ assert "the bounds of these points reject the result" in captured.err+ for side in (1536, 3072):+ violation = f"vae.sd-cudnn,native-decode-fp16-{side}x{side}-tile512-RTX4090-demand_peak: reserves"+ assert violation in captured.err+ assert _files(data_dir) == before++def test_a_probe_no_hull_edge_covers_within_the_bounds_raises_the_line_between_them(specs) -> None:- """A FLUX.2 probe decode of 2032 MiB at 640px on the RTX 4090, above the cuDNN bf16 line FLUX.2 shares with SD3- (4500 bytes per pixel, a 65 MiB base: 1823 MiB there). Every edge of the hull through it over-reserves the- fresh-process 512px decodes, or the 1024px batches of two and three, beyond 1.3x; a line between them covers it- by 5% and keeps every bound."""+ """A CogView4 probe decode of 4000 MiB at 640px on the RTX 4090, above its cuDNN bf16 line (8696 bytes per pixel, a+ 63 MiB base: 3460 MiB there). Every line through it and a fresh-process point or the origin reserves more than a+ fresh-process point priced on the line allows, the 512px decodes among them; a line between them covers it by 5%+ and keeps every bound. No tiled decode sits on this line, whose bounds the raise would not see+ (`bounds.line_bounds`)."""probe = MeasuredPoint(- estimator="vae.flux2",- version=2,+ estimator="vae.cogview4",+ version=specs["vae.cogview4"].version,platform=CUDNN_NATIVE,- features=_decode(640),- measured_bytes=2032 * MIB,+ features=_sd_decode(640, "bf16"),+ measured_bytes=4000 * MIB,method="probe_demand",device="NVIDIA GeForce RTX 4090",provenance="-",)- entry = _refit_shipped([probe], specs, "vae.sd3", CUDNN_NATIVE)+ entry = _refit_shipped([probe], specs, "vae.cogview4", CUDNN_NATIVE)assert entry.values is not Nonek, b = entry.values["k_decode_bf16"], entry.values["b_decode_bf16"]- assert k >= 4500 and b >= 65 * MIB- assert k * 640 * 640 + b >= 1.05 * 2032 * MIB+ shipped = _carried(DATA_DIR, "vae.cogview4", CUDNN_NATIVE)+ assert k >= shipped["k_decode_bf16"] and b >= shipped["b_decode_bf16"]+ assert (k, b) != (shipped["k_decode_bf16"], shipped["b_decode_bf16"]), "the probe raises the line"+ assert k * 640 * 640 + b >= 1.05 * 4000 * MIBdef _fp32_1280(first_mib: int, largest_mib: int) -> list[dict]:@@ -603,6 +747,7 @@ def test_a_probe_no_line_can_cover_within_the_fresh_process_bounds_is_refused_evnames the probe and a bound it conflicts with, by id, measured bytes and the most it allows."""export = _amd_export(tmp_path, machine, _fp32_1280(8020, 13000))data_dir, before = _data_copy(tmp_path)+ shipped_k = _carried(DATA_DIR, "vae.sd3", MIOPEN_EXPANDABLE_WINDOWS)["k_decode_fp32"]for consent in ([], ["--accept-fragmentation"]):assert main([str(export), "--data-dir", str(data_dir), "--write", *consent]) == 1@@ -610,7 +755,7 @@ def test_a_probe_no_line_can_cover_within_the_fresh_process_bounds_is_refused_evassert "[2 windows, MiB 8020, 13000; max/first 1.62]" in captured.outassert "reserved MiB 8020, 13000 while allocated MiB 8020, 8020" in captured.outassert "error: not written: the points conflict with the bounds: the points cannot fit a line" in captured.err- assert "decode_fp32: no line at or above k=5988" in captured.err+ assert f"decode_fp32: no line at or above k={shipped_k:.0f}" in captured.errassert f"covers 13000 MiB at size {1280 * 1280} by 5% within the upper bound of vae." in captured.errassert re.search(r"-1280x1280-scores-RX9060XT-demand_peak \(measured \d+ MiB, at most \d+ MiB\)", captured.err)assert _files(data_dir) == before@@ -626,7 +771,13 @@ def test_a_stand_in_no_line_can_raise_within_its_bounds_is_refused(tmp_path: Patwrite_data(data_dir / "vae.json", data.model_copy(update={"points": [*data.points, fresh]}))before = _files(data_dir)machine("7.14.0", "linux")- window = _window(1, _sd_decode(1024, "bf16"), 30000 * MIB, estimator="vae.cogview4")+ window = _window(+ 1,+ _sd_decode(1024, "bf16"),+ 30000 * MIB,+ estimator="vae.cogview4",+ version=import_estimator_modules()["vae.cogview4"].version,+ )export = _export(tmp_path / f"20261017-160953-box-1-{RX_9060_XT.id}.json", RX_9060_XT, [window])assert main([str(export), "--data-dir", str(data_dir), "--write"]) == 1@@ -691,19 +842,19 @@ RTX_4060_TI_8GB = DeviceClass(def test_cards_of_one_name_are_separate_points_and_spreads(tmp_path: Path, machine, entries, specs, shipped_checks, capsys) -> None:- """The 16 GB and the 8 GB RTX 4060 Ti report one name. A FLUX.2 decode at 1024px on each allocates 4.2 GB and+ """The 16 GB and the 8 GB RTX 4060 Ti report one name. An SD fp16 decode at 1024px on each allocates 4.2 GB andreserves 4.2 GB on the one card, 4.7 GB on the other: two cards' readings, not a server's cache growing around thesame tensors. The 4.7 GB raises the cuDNN line, and nothing flags it as fragmentation."""machine(None, "linux")sixteen = _export(tmp_path / f"20261017-120000-box-1-{RTX_4060_TI_16GB.id}.json",RTX_4060_TI_16GB,- [_window(1, _decode(1024), 4_200_000_000, allocated=4_200_000_000)],+ [_window(1, _sd_fp16_decode(1024), 4_200_000_000, estimator="vae.sd", allocated=4_200_000_000)],)eight = _export(tmp_path / f"20261018-120000-box-1-{RTX_4060_TI_8GB.id}.json",RTX_4060_TI_8GB,- [_window(1, _decode(1024), 4_700_000_000, allocated=4_200_000_000)],+ [_window(1, _sd_fp16_decode(1024), 4_700_000_000, estimator="vae.sd", allocated=4_200_000_000)],)data_dir, _ = _data_copy(tmp_path)@@ -1034,3 +1185,35 @@ def test_a_remeasurement_below_the_shipped_point_keeps_it_and_says_so(tmp_path:out = capsys.readouterr().outassert f"kept shipped {shipped.measured_bytes} over remeasured {shipped.measured_bytes - 64 * MIB}" in outassert _files(data_dir) == before+++def _toy_terms(features, values):+ return ()+++def test_a_legacy_entrys_tiled_line_is_fitted_on_the_fit_of_the_line_beneath(tmp_path: Path) -> None:+ """`legacy_fit` rates a line that sits on another with that line's fit, as `fitted_values` does, rather than+ leaving it out of the fit that would replace the hand-set values."""+ spec = EstimatorSpec(+ id="toy", version=1, coefficients=frozenset(), platform_keys=("conv_backend",), terms=_toy_terms,+ line=convolution_line,+ ) # fmt: skip+ platform = {"conv_backend": "cudnn"}++ def point(px: int, mib: int, tile: int | None = None) -> MeasuredPoint:+ features = {"operation": "encode", "dtype": "bf16", "height": px, "width": px, "tile": tile}+ return MeasuredPoint(estimator="toy", version=1, platform=platform, features=features,+ measured_bytes=mib * 2**20, method="demand_peak", device="-", provenance="-") # fmt: skip++ lines = {f"{part}_{line}_bf16": 0.0 for line in ("encode", "tiled_encode") for part in ("k", "b")}+ entry = CoefficientEntry(estimator="toy", version=1, platform=platform, values=lines, legacy=True, provenance="-")+ data = WorkingMemoryData(+ schema_version=1,+ coefficients=[entry],+ points=[point(512, 1100), point(1024, 4400), point(2048, 1250, 512), point(4096, 1500, 512)],+ )+ groups = fit_points([data], {"toy": spec})++ values, problems = legacy_fit(entry, groups, base_values([entry], groups, {}), {})++ assert not problems and set(values) == set(lines)diff --git a/tests/test_calibrate_vae_tiling_working_memory.py b/tests/test_calibrate_vae_tiling_working_memory.pynew file mode 100644index 0000000000..67487f6e89--- /dev/null+++ b/tests/test_calibrate_vae_tiling_working_memory.py@@ -0,0 +1,295 @@+"""scripts/calibrate_vae_tiling_working_memory.py: the operations it plans, the node's work it runs as a window, the+tile the VAE then runs and the estimate prices, and the point files it writes for the data builder.++The measurement needs a CUDA or ROCm device and runs by hand (see the script's docstring). These run its operations on+tiny VAEs of the real classes on the CPU, in float32: the geometry that decides tiling is the class's, not the width's.+The plumbing it shares with the other calibration scripts is `scripts/working_memory/fresh_points.py`'s, tested in+`tests/test_fresh_points_working_memory.py`.+"""++import json+from contextlib import contextmanager+from importlib.util import module_from_spec, spec_from_file_location+from pathlib import Path+from unittest.mock import MagicMock++import numpy as np+import pytest+import torch+from diffusers.models.autoencoders.autoencoder_kl import AutoencoderKL+from diffusers.models.autoencoders.autoencoder_kl_flux2 import AutoencoderKLFlux2++from invokeai.app.invocations.vae.image_to_latents import ImageToLatentsInvocation+from invokeai.app.invocations.vae.z_image_latents_to_image import ZImageLatentsToImageInvocation+from invokeai.backend.stable_diffusion.vae_tiling import patch_vae_tiling_params+from invokeai.backend.util.vae_tiling_scope import scoped_vae_tiling+from invokeai.backend.working_memory.bounds import evaluate_point+from invokeai.backend.working_memory.coefficients import MeasuredPoint, shipped_data+from invokeai.backend.working_memory.counters import CounterReading+from invokeai.backend.working_memory.measurement import fresh_window+from invokeai.backend.working_memory.spec import import_estimator_modules+from scripts.working_memory import fresh_points+from scripts.working_memory.build_shipped import main++SCRIPT = Path(__file__).parents[1] / "scripts" / "calibrate_vae_tiling_working_memory.py"+RELEASED_SDXL_VAE_CONFIG = (+ Path(__file__).parent / "model_identification/stripped_models/8e8a1892-a19c-433f-a13d-b502e62a814a/vae/config.json"+)+"""`stabilityai/stable-diffusion-xl-refiner-1.0`'s VAE config, which is the SDXL VAE's (`_name_or_path` sdxl-vae)."""+CPU = torch.device("cpu")+SIDE = 640+"""Above the 512px a 0 tile field resolves to for FLUX.1 and FLUX.2, so every tiled case below really tiles."""+TINY_SD_SAMPLE_SIZE = 128+"""The tiny SD VAE's `sample_size`: the tile an SD node's 0 field leaves it at."""+++def _load_script():+ spec = spec_from_file_location("calibrate_vae_tiling_working_memory", SCRIPT)+ assert spec is not None and spec.loader is not None+ module = module_from_spec(spec)+ spec.loader.exec_module(module)+ return module+++script = _load_script()+Point = script.Point++[email protected]_independent+def test_the_grid_references_each_tile_untiled_and_tiles_the_sides_above_the_tile_the_vae_runs() -> None:+ """A side at or below the tile runs the single pass, which the untiled reference at the tile's side measures. SD's+ 0 field leaves the SDXL VAE at its own 1024px, so its sentinel tiles only the sides above that."""+ points = script.plan(families=["flux", "sd"], sizes=[1024, 2048], tiles=[512, 1024, 0])++ flux = [(512, None), (1024, None), (1024, 512), (2048, 512), (2048, 1024), (1024, 0), (2048, 0)]+ sd = [(512, None), (1024, None), (1024, 512), (2048, 512), (2048, 1024), (2048, 0)]+ expected = [("flux", op, "bfloat16", *cell) for op in ("decode", "encode") for cell in flux]+ expected += [+ ("sd", op, dtype, *cell) for dtype in ("float16", "float32") for op in ("decode", "encode") for cell in sd+ ]+ assert [(p.family, p.operation, p.dtype, p.side, p.tile) for p in points] == expected+++def test_the_sdxl_geometry_is_the_released_vae_config() -> None:+ released = json.loads(RELEASED_SDXL_VAE_CONFIG.read_text(encoding="utf-8"))++ assert {+ key: tuple(value) if isinstance(value, list) else value+ for key, value in released.items()+ if not key.startswith("_")+ } == dict(script.SDXL_VAE_CONFIG)++[email protected]("tile", [512, 1024, 0, 320])[email protected]("family", ["flux", "flux2", "sd"])+def test_the_applied_tile_is_what_the_nodes_helper_sets_on_the_real_vae(family: str, tile: int) -> None:+ """The plan and the summary name the tile the VAE runs: `scoped_vae_tiling` for FLUX.1 and FLUX.2, the SD nodes'+ `patch_vae_tiling_params` for a field above 0 and the VAE's own `sample_size` for 0."""+ vae = script.build_vae(family)+ if family != "sd":+ with scoped_vae_tiling(vae, tile):+ runs = vae.tile_sample_min_size+ elif tile > 0:+ with patch_vae_tiling_params(vae, tile_sample_min_size=tile, tile_overlap_factor=0.25):+ runs = vae.tile_sample_min_size+ else:+ runs = vae.tile_sample_min_size++ assert script.applied_tile(family, tile) == runs+++def _tiny_vae(family: str) -> torch.nn.Module:+ """The family's VAE class with four blocks, hence the real 8x compression and tiling geometry, at width 4."""+ torch.manual_seed(0)+ tiny = {"block_out_channels": (4, 4, 4, 4), "layers_per_block": 1, "norm_num_groups": 2}+ if family == "flux2":+ return AutoencoderKLFlux2(**tiny, latent_channels=8).eval()+ blocks = {"down_block_types": ("DownEncoderBlock2D",) * 4, "up_block_types": ("UpDecoderBlock2D",) * 4}+ if family == "flux":+ flux = {"latent_channels": 16, "sample_size": 1024, "scaling_factor": 0.3611, "shift_factor": 0.1159}+ return AutoencoderKL(**tiny, **blocks, **flux, use_quant_conv=False, use_post_quant_conv=False).eval()+ sd = {"latent_channels": 4, "sample_size": TINY_SD_SAMPLE_SIZE, "scaling_factor": 0.13025}+ return AutoencoderKL(**tiny, **blocks, **sd).eval()+++def _record_tiles(vae: torch.nn.Module, operation: str) -> list[int]:+ """The sides, in output pixels, of the tiles the VAE's encoder or decoder is run on."""+ seen: list[int] = []+ network = vae.decoder if operation == "decode" else vae.encoder+ scale = script.LATENT_SCALE_FACTOR if operation == "decode" else 1+ network.register_forward_pre_hook(lambda _, args: seen.append(args[0].shape[-1] * scale))+ return seen++[email protected]("tile", [None, 256, 0], ids=["untiled", "tile256", "sentinel"])[email protected]("operation", ["decode", "encode"])[email protected]("family", ["flux", "flux2", "sd"])+def test_the_vae_runs_the_tile_its_node_sets_and_the_estimate_prices_that_tile(family, operation, tile) -> None:+ """The window's tiling setup is the node's: the field's tile, the 0 sentinel at 512px through `scoped_vae_tiling`+ and at the VAE's own `sample_size` for SD, and none untiled. The point's features, from the node's estimator+ call, price the tile that ran."""+ vae = _tiny_vae(family)+ point = Point(family, operation, "float32", SIDE, tile)+ seen = _record_tiles(vae, operation)+ tensor = script.host_input(point, vae)++ with torch.no_grad():+ script.operation(point, vae, tensor, CPU)()++ runs = {None: SIDE, 256: 256, 0: TINY_SD_SAMPLE_SIZE if family == "sd" else 512}[tile]+ assert max(seen) == runs+ assert script.estimate(point, vae, tensor, CPU).features["tile"] == (None if tile is None else runs)+++def _z_image_context(vae: AutoencoderKL, latents: torch.Tensor) -> MagicMock:+ """What `z_image_l2i` reaches through its context, the VAE resident on the CPU and no tiling forced."""+ vae_info = MagicMock(model=vae, compute_device=CPU)+ vae_info.model_on_device.return_value.__enter__.return_value = (None, vae)+ context = MagicMock()+ context.tensors.load.return_value = latents+ context.models.load.return_value = vae_info+ context.config.get.return_value.force_tiled_decode = False+ context.config.get.return_value.auto_tiled_decode = False+ context.images.save.return_value = MagicMock(image_name="decoded.png", width=SIDE, height=SIDE)+ return context++[email protected]("tile", [None, 256], ids=["untiled", "tiled"])+def test_the_flux_decode_window_makes_the_image_z_image_l2i_saves(tile) -> None:+ """The FLUX.1 decode point runs Z-Image's node through its post-processing: the image it returns is the one the+ node saves, pixel for pixel."""+ vae = _tiny_vae("flux")+ point = Point("flux", "decode", "float32", SIDE, tile)+ latents = script.host_input(point, vae)+ context = _z_image_context(vae, latents)++ ZImageLatentsToImageInvocation.model_construct(+ latents=MagicMock(latents_name="latents"),+ vae=MagicMock(seamless_axes=[]),+ tiled=tile is not None,+ tile_size=tile or 0,+ ).invoke(context)+ with torch.no_grad():+ ours = np.asarray(script.operation(point, vae, latents, CPU)())++ saved = np.asarray(context.images.save.call_args.kwargs["image"])+ assert ours.shape == (SIDE, SIDE, 3) and saved.std() > 0+ np.testing.assert_array_equal(ours, saved)+++class _Resident:+ """A loaded model's window with the VAE already resident on the CPU."""++ def __init__(self, vae: torch.nn.Module) -> None:+ self.model = vae+ self.compute_device = CPU++ @contextmanager+ def model_on_device(self, working_memory=None):+ yield None, self.model++[email protected]("tile", [None, 256, 0], ids=["untiled", "tile256", "sentinel"])+def test_the_sd_encode_window_returns_the_latents_i2l_returns(monkeypatch: pytest.MonkeyPatch, tile) -> None:+ """The SD encode point runs `i2l`'s window, its tiling switch, patch and sampling included: with the same seed, the+ latents are the node's."""+ monkeypatch.setattr(+ "invokeai.backend.util.devices.TorchDevice.choose_torch_device", staticmethod(lambda: torch.device("cpu"))+ )+ vae = _tiny_vae("sd")+ point = Point("sd", "encode", "float32", SIDE, tile)+ image = script.host_input(point, vae)++ torch.manual_seed(1)+ node = ImageToLatentsInvocation.vae_encode(+ _Resident(vae), upcast=True, tiled=tile is not None, image_tensor=image, tile_size=tile or 0+ )+ torch.manual_seed(1)+ with torch.no_grad():+ ours = script.operation(point, vae, image, CPU)()++ assert ours.shape == (1, 4, SIDE // 8, SIDE // 8)+ torch.testing.assert_close(ours, node, rtol=0, atol=0)+++def _reading(**values) -> CounterReading:+ fields = {+ "reserved": 1000,+ "allocated": 800,+ "peak_reserved": 1000,+ "peak_allocated": 800,+ "num_ooms": 0,+ "num_alloc_retries": 0,+ "driver": 1200,+ "peak_driver": None,+ "paged": 0,+ "device_used": None,+ "method": "windows-d3dkmt",+ }+ return CounterReading(**(fields | values))+++CUDNN_NATIVE = {"conv_backend": "cudnn", "allocator": "native", "os": "windows"}+TILED = [+ Point("flux", "decode", "bfloat16", 2048, 512),+ Point("flux2", "encode", "bfloat16", 4096, 0),+ Point("sd", "encode", "float16", 3072, 1024),+]+"""Tiled points of each family, their features as a CPU prices them (an SD encode runs fp16 there as on a GPU)."""+++def _record(point, demand_per_reserved: float) -> dict:+ """The file record of `point` as a measuring process on an RTX 4090 writes it, its demand this fraction of what+ the shipped data reserves for it there."""+ vae = script.build_vae(point.family).to(getattr(torch, point.dtype))+ side = point.side // script.LATENT_SCALE_FACTOR if point.operation == "decode" else point.side+ channels = vae.config.latent_channels if point.operation == "decode" else 3+ estimate = script.estimate(point, vae, torch.empty(1, channels, side, side, device="meta"), CPU)+ specs = import_estimator_modules()+ draft = MeasuredPoint(+ estimator=estimate.estimator,+ version=estimate.version,+ platform=CUDNN_NATIVE,+ features=dict(estimate.features),+ measured_bytes=1,+ method="demand_peak",+ device="NVIDIA GeForce RTX 4090",+ provenance="test",+ )+ reserved = evaluate_point(draft, specs[estimate.estimator], shipped_data().values()).reservation_bytes+ demand = int(reserved * demand_per_reserved)+ window = fresh_window(+ _reading(), _reading(peak_reserved=1000 + demand, driver=1200 + demand), oom=False, spill=False+ )+ common = {key: getattr(draft, key) for key in ("estimator", "version", "platform", "features", "device")}+ line = fresh_points.point_line(point, common=common, provenance="test", windows=[window, window], raw={})+ record = fresh_points.file_record(line)+ assert record is not None+ return record+++def _build(tmp_path: Path, records: list[dict]) -> int:+ point_file = tmp_path / "tiled.jsonl"+ point_file.write_text("".join(json.dumps(record) + "\n" for record in records), encoding="utf-8")+ return main(["--points", str(point_file)])+++def test_the_builder_holds_a_runs_tiled_points_to_both_bounds(tmp_path: Path, capsys) -> None:+ """A tiled point is in the fit of its estimator's tiled line, so it caps it: within 1.3x its points join the line,+ beyond it the build is refused."""+ assert _build(tmp_path, [_record(point, 1 / 1.1) for point in TILED]) == 0+ assert f"{len(TILED)} fresh-process points from 1 point files" in capsys.readouterr().out++ assert _build(tmp_path, [_record(point, 1 / 1.6) for point in TILED]) == 1+ assert "-tile512-NVIDIAGeForceRTX4090-demand_peak: reserves 1.60x" in capsys.readouterr().err+++def test_a_tiled_point_above_its_estimate_raises_its_estimators_tiled_line(tmp_path: Path, capsys) -> None:+ """The untiled line beneath stays: the tiled line covers what the tile does not. An encode, whose tiled line is its+ only one: a decode's point may raise its assembly line instead. The review of the refit says which line moved;+ whether the build then writes depends on how close the line's other points sit to their bounds, which this does+ not test (`test_the_builder_holds_a_runs_tiled_points_to_both_bounds` does)."""+ _build(tmp_path, [_record(TILED[2], 1.1)])+ out = capsys.readouterr().out+ assert "line vae.json: vae.sd {'conv_backend': 'cudnn', 'allocator': 'native'} tiled_encode_fp16:" in out+ assert "raised" in out and " encode_fp16:" not in outdiff --git a/tests/test_fresh_points_working_memory.py b/tests/test_fresh_points_working_memory.pyindex a6ca2e50ce..bedd82d213 100644--- a/tests/test_fresh_points_working_memory.py+++ b/tests/test_fresh_points_working_memory.py@@ -2,7 +2,8 @@The measurement needs a CUDA or ROCm device and runs by hand. These cover what decides the lines the scripts write: thata measuring process applies the server's runtime with the allocator it was asked for and reports on the child protocol,-how a cold and a warm forward become a `MeasuredPoint` in the point file or an invalid line that stays out of it, and that+that a point whose measuring process raised is a failed line each script's run goes on past, how a cold and a warm+forward become a `MeasuredPoint` in the point file or an invalid line that stays out of it, and thatboth scripts' records are what `scripts/working_memory/build_shipped.py --points` reads. Which of a point's windows decidesits bytes is `measurement`'s, tested there; each script's grid, model and inputs are its own test file's."""@@ -47,6 +48,7 @@ def _load(name: str):z_image = _load("calibrate_z_image_working_memory")flux2 = _load("calibrate_flux2_denoise_working_memory")+tiling = _load("calibrate_vae_tiling_working_memory")ZPoint = z_image.Point@@ -186,6 +188,57 @@ def test_the_driving_process_reads_the_childs_result_line_or_records_why_there_iassert fresh_points.file_record(failed) is None+ ("script", "points"),+ [+ pytest.param(z_image, [ZPoint("fit", px, 512, "bfloat16", 2) for px in (1024, 2048)], id="z-image"),+ pytest.param(flux2, [flux2.Point("fit", 3072, px, 512) for px in (1024, 2048)], id="flux2-denoise"),+ pytest.param(+ tiling, [tiling.Point("flux", "decode", "bfloat16", side, 512) for side in (1024, 2048)], id="vae-tiling"+ ),+ ],+)+def test_a_point_whose_measuring_process_raised_is_a_failed_row_and_the_run_goes_on(+ tmp_path: Path, capsys: pytest.CaptureFixture[str], script, points: list+) -> None:+ """A measuring process raises when the device cannot synchronize or reset its peaks (`measurement.measure`), as on+ any other error. Each script's run records that point as failed, with the error, prints its row in the script's+ own columns, keeps it out of the point file and measures the next point."""+ failing, measured = points+ error = "RuntimeError: CUDA error: an illegal memory access was encountered"+ child = tmp_path / "child.py"+ child.write_text(+ "import json, sys\n"+ "request = json.loads(sys.argv[2])\n"+ f"if request['point'] == {dataclasses.asdict(failing)!r}:\n"+ f" sys.exit({error!r})\n"+ "line = {'status': 'point', 'fit': True, 'point': request['point'], 'measured_bytes': 2**30, "+ "'method': 'demand_peak'}\n"+ f"print({fresh_points.RESULT_PREFIX!r} + json.dumps(line))\n",+ encoding="utf-8",+ )+ out = tmp_path / "points.jsonl"++ lines = fresh_points.measure_points(+ points,+ script=child,+ out=out,+ alloc_conf="",+ force=False,+ logger_name="test",+ columns=script._COLUMNS,+ head=script._head,+ )++ assert lines[0] == fresh_points.failed_line(failing, f"exit code 1: {error}")+ assert [json.loads(record) for record in out.read_text(encoding="utf-8").splitlines()] == [+ fresh_points.file_record(lines[1])+ ]+ printed = capsys.readouterr().out+ assert f"{script._head(lines[0])} {'FAILED':>10} exit code 1: {error}" in printed+ assert lines[1]["point"] == dataclasses.asdict(measured)++WEIGHTS = 1463092352"""The bf16 weights of the measured Z-Image transformer, 2 main blocks: allocated and reserved when a window opens."""CONTEXT = 256 * MIB