vllm_omni.diffusion.distributed.autoencoders.autoencoder_kl_wan ¶
DistributedAutoencoderKLWan ¶
Bases: OmniAutoencoderKLWan, DistributedVaeMixin
encode_tile_exec ¶
encode_tile_exec(task: TileTask) -> Tensor
Encode a single sample tile into latent space.
encode_tile_merge ¶
encode_tile_merge(
coord_tensor_map: dict[tuple[int, ...], Tensor],
grid_spec: GridSpec,
) -> Tensor
Merge encoded tiles into a full latent tensor.
tile_merge ¶
Merge decoded tiles into a full image.
tiled_encode ¶
Encode using distributed VAE executor.
Note: x is already patchified by parent's _encode() before calling this method.