Buckets:
AutoencoderKLLTX2Audio
The 3D variational autoencoder (VAE) model with KL loss used in LTX-2 was introduced by Lightricks. This is for encoding and decoding audio latent representations.
The model can be loaded with the following code snippet.
from diffusers import AutoencoderKLLTX2Audio
vae = AutoencoderKLLTX2Audio.from_pretrained("Lightricks/LTX-2", subfolder="vae", torch_dtype=torch.float32).to("cuda")
AutoencoderKLLTX2Audio[[diffusers.AutoencoderKLLTX2Audio]]
LTX2 audio VAE for encoding and decoding audio latent representations.
- sample (
torch.Tensor) -- Input sample. - sample_posterior (
bool, optional, defaults toFalse) -- Whether to sample from the posterior. - return_dict (
bool, optional, defaults toTrue) -- Whether or not to return aDecoderOutputinstead of a plain tuple. - generator (
torch.Generator, optional) -- Atorch.Generatorto make sampling deterministic.DecoderOutputortupleIfreturn_dictis True, aDecoderOutputis returned, otherwise a plaintupleis returned.
Xet Storage Details
- Size:
- 1.19 kB
- Xet hash:
- 1846d2030f0124132863ad70d1303a7fb1663a1358904ca1fa7e712739477e16
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.