Image-Text-to-Video
MLX
LTX-2
AudioVideo
ltx-2
text-to-video
image-to-video
video-generation
apple-silicon
quantized
int8
distilled
Not-For-All-Audiences
Instructions to use MLXBits/ltx-2.3-10eros-v1.2-dmd-mlx-q8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use MLXBits/ltx-2.3-10eros-v1.2-dmd-mlx-q8 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir ltx-2.3-10eros-v1.2-dmd-mlx-q8 MLXBits/ltx-2.3-10eros-v1.2-dmd-mlx-q8
- LTX-2
How to use MLXBits/ltx-2.3-10eros-v1.2-dmd-mlx-q8 with LTX-2:
# Install the LTX-2 pipelines git clone https://github.com/Lightricks/LTX-2.git cd LTX-2 uv sync --frozen
# Download the weights from this repo, plus the Gemma text encoder hf download MLXBits/ltx-2.3-10eros-v1.2-dmd-mlx-q8 --local-dir models/ltx-2.3-10eros-v1.2-dmd-mlx-q8 hf download google/gemma-3-12b-it-qat-q4_0-unquantized --local-dir models/gemma-3-12b
# Fast pipeline (distilled model, no distilled LoRA needed) uv run python -m ltx_pipelines.distilled \ --distilled-checkpoint-path models/ltx-2.3-10eros-v1.2-dmd-mlx-q8/<distilled-checkpoint>.safetensors \ --spatial-upsampler-path models/ltx-2.3-10eros-v1.2-dmd-mlx-q8/<spatial-upsampler>.safetensors \ --gemma-root models/gemma-3-12b \ --prompt "A beautiful sunset over the ocean" \ --output-path output.mp4 # For image-to-video, add: --image path/to/image.jpg 0 0.8# HQ pipeline (two-stage, higher quality) uv run python -m ltx_pipelines.ti2vid_two_stages_hq \ --checkpoint-path models/ltx-2.3-10eros-v1.2-dmd-mlx-q8/<checkpoint>.safetensors \ --distilled-lora models/ltx-2.3-10eros-v1.2-dmd-mlx-q8/<distilled-lora>.safetensors 0.8 \ --spatial-upsampler-path models/ltx-2.3-10eros-v1.2-dmd-mlx-q8/<spatial-upsampler>.safetensors \ --gemma-root models/gemma-3-12b \ --prompt "A beautiful sunset over the ocean" \ --output-path output.mp4 # For image-to-video, add: --image path/to/image.jpg 0 0.8 - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Upload folder using huggingface_hub
Browse files- README.md +120 -0
- audio_vae.safetensors +3 -0
- config.json +39 -0
- connector.safetensors +3 -0
- embedded_config.json +356 -0
- quantize_config.json +7 -0
- spatial_upscaler_x1_5_v1_0.safetensors +3 -0
- spatial_upscaler_x1_5_v1_0_config.json +13 -0
- spatial_upscaler_x2_v1_1.safetensors +3 -0
- spatial_upscaler_x2_v1_1_config.json +13 -0
- split_model.json +24 -0
- temporal_upscaler_x2_v1_0.safetensors +3 -0
- temporal_upscaler_x2_v1_0_config.json +13 -0
- transformer-distilled-1.1.safetensors +3 -0
- vae_decoder.safetensors +3 -0
- vae_encoder.safetensors +3 -0
- vocoder.safetensors +3 -0
README.md
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: ltx-2-license
|
| 4 |
+
license_link: https://huggingface.co/Lightricks/LTX-2.3/blob/main/LICENSE.txt
|
| 5 |
+
base_model:
|
| 6 |
+
- TenStrip/LTX2.3-10Eros
|
| 7 |
+
tags:
|
| 8 |
+
- ltx
|
| 9 |
+
- ltx-2
|
| 10 |
+
- text-to-video
|
| 11 |
+
- image-to-video
|
| 12 |
+
- video-generation
|
| 13 |
+
- mlx
|
| 14 |
+
- apple-silicon
|
| 15 |
+
- quantized
|
| 16 |
+
- int8
|
| 17 |
+
- distilled
|
| 18 |
+
- not-for-all-audiences
|
| 19 |
+
pipeline_tag: image-text-to-video
|
| 20 |
+
library_name: mlx
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
# LTX-2.3 10Eros v1.2 DMD — MLX int8 (q8)
|
| 24 |
+
|
| 25 |
+
Int8 (8-bit) MLX quantization of [**TenStrip/LTX2.3-10Eros**](https://huggingface.co/TenStrip/LTX2.3-10Eros) v1.2 with the **JoyAI Echo DMD distillation** baked directly into the transformer, replacing the native rank-384 distilled LoRA.
|
| 26 |
+
|
| 27 |
+
Converted with [mlx-forge](https://github.com/dgrauet/mlx-forge) and packaged for [**ltx-2-mlx**](https://github.com/dgrauet/ltx-2-mlx) — a pure-MLX port of LTX-2 for Apple Silicon.
|
| 28 |
+
|
| 29 |
+
> [!WARNING]
|
| 30 |
+
> **Not for all audiences.** 10Eros is intended for adult use. By downloading and running this model you confirm you are of legal age in your jurisdiction and accept responsibility for the content you generate. Do not use it to produce illegal material or to depict real, identifiable people without consent.
|
| 31 |
+
|
| 32 |
+
---
|
| 33 |
+
|
| 34 |
+
## What this is
|
| 35 |
+
|
| 36 |
+
This is a **distilled-only** package. The DMD distillation deltas extracted from JoyAI Echo (rank-256, reshaped from the LTX 384 1.1 distilled-LoRA shapes, audio branch sourced from the 384 1.1 distilled LoRA) were **merged into the 10Eros v1.2 base at strength 1.0**, producing a standalone distilled transformer. There is no dev transformer and no runtime LoRA fusion — the distillation is already in the weights.
|
| 37 |
+
|
| 38 |
+
Compared to the native 384 distilled LoRA, the DMD merge avoids the resampling-to-base drift, the conditioning drop from the latent, and the extra detail/look overwrites that the stock distilled LoRA introduces at the upscale refine stage.
|
| 39 |
+
|
| 40 |
+
**Run it with `--distilled`.** The two-stage (`--two-stage`, `--two-stages-hq`) and one-stage-dev (`--one-stage`) paths are **not available** here — they require a dev transformer, which this package intentionally omits.
|
| 41 |
+
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
## What's in here
|
| 45 |
+
|
| 46 |
+
| File | Size | Role |
|
| 47 |
+
| ----------------------------------------------------- | -------- | ------------------------------------------------------------------------- |
|
| 48 |
+
| `transformer-distilled-1.1.safetensors` | ~19.2 GB | Distilled transformer with the JoyAI Echo DMD deltas pre-fused, int8 |
|
| 49 |
+
| `connector.safetensors` | ~5.9 GB | Gemma → DiT embedding connectors |
|
| 50 |
+
| `spatial_upscaler_x1_5_v1_0.safetensors` | ~1.0 GB | 1.5× neural latent upscaler |
|
| 51 |
+
| `spatial_upscaler_x2_v1_1.safetensors` | ~950 MB | 2× neural latent upscaler (stage-2 refine) |
|
| 52 |
+
| `vae_encoder.safetensors` / `vae_decoder.safetensors` | ~1.4 GB | Video VAE (8× temporal, 32× spatial) |
|
| 53 |
+
| `temporal_upscaler_x2_v1_0.safetensors` | ~250 MB | 2× temporal upscaler |
|
| 54 |
+
| `vocoder.safetensors` | ~250 MB | BigVGAN v2 vocoder + BWE generator |
|
| 55 |
+
| `audio_vae.safetensors` | ~106 MB | Audio VAE decoder |
|
| 56 |
+
|
| 57 |
+
**Quantization:** int8, group size 64, applied only to `nn.Linear` inside `transformer_blocks`. AdaLN, projections, connectors, VAE and vocoder remain bf16 (MLX cannot quantize Conv layers).
|
| 58 |
+
|
| 59 |
+
**Text encoder:** Gemma 3 12B is **not** bundled — `ltx-2-mlx` loads it separately via `mlx-lm`.
|
| 60 |
+
|
| 61 |
+
> [!NOTE]
|
| 62 |
+
> mlx-forge may also drop `ltx-2.3-22b-distilled-lora-384*.safetensors` (~7.1 GB each) into this directory as "shared" LoRA components. They are **unused** in a distilled-only package — nothing fuses them (there is no dev transformer, and `--distilled` never loads a LoRA). Safe to delete; also remove them from the `lora` list in `split_model.json`.
|
| 63 |
+
|
| 64 |
+
---
|
| 65 |
+
|
| 66 |
+
## Usage
|
| 67 |
+
|
| 68 |
+
Requires [ltx-2-mlx](https://github.com/dgrauet/ltx-2-mlx) on Apple Silicon.
|
| 69 |
+
|
| 70 |
+
```bash
|
| 71 |
+
# Text-to-video (distilled two-stage: half-res → upscale → full-res refine)
|
| 72 |
+
ltx-2-mlx generate \
|
| 73 |
+
--model /path/to/ltx-2.3-10eros-v1.2-dmd-mlx-q8 \
|
| 74 |
+
--prompt "your prompt" \
|
| 75 |
+
--distilled \
|
| 76 |
+
-H 480 -W 704 -f 97 -o out.mp4
|
| 77 |
+
|
| 78 |
+
# Image-to-video — add --image
|
| 79 |
+
ltx-2-mlx generate \
|
| 80 |
+
--model /path/to/ltx-2.3-10eros-v1.2-dmd-mlx-q8 \
|
| 81 |
+
--prompt "animate this" \
|
| 82 |
+
--distilled --image photo.jpg -o out.mp4
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
Default distilled flow is the usual 8/4-step upscale schedule. Experiment with other sigmas or any Euler / LTX-compatible sampler — no custom loading or sampling is needed. On 32 GB Macs add `--low-ram` for block-streamed inference; q8 fits 16 GB with `--low-ram`.
|
| 86 |
+
|
| 87 |
+
---
|
| 88 |
+
|
| 89 |
+
## Conversion provenance
|
| 90 |
+
|
| 91 |
+
1. The JoyAI Echo DMD LoRA was merged into the 10Eros v1.2 bf16 base at per-layer strength 1.0 (alpha ÷ actual rank) to produce a distilled bf16 checkpoint:
|
| 92 |
+
|
| 93 |
+
```bash
|
| 94 |
+
uv run ~/mlx-forge/scripts/merge_lora.py
|
| 95 |
+
# LoRA: LTX2.3_DMD_reshaped_r256.safetensors
|
| 96 |
+
# → /Volumes/Storage/10Eros-v1.2-distilled-dmd-bf16.safetensors
|
| 97 |
+
```
|
| 98 |
+
|
| 99 |
+
2. Distilled variant + all shared components + upscalers, quantized to int8:
|
| 100 |
+
|
| 101 |
+
```bash
|
| 102 |
+
uv run mlx-forge convert ltx-2.3 --variant distilled-1.1 \
|
| 103 |
+
--checkpoint /Volumes/Storage/10Eros-v1.2-distilled-dmd-bf16.safetensors \
|
| 104 |
+
--quantize --bits 8 \
|
| 105 |
+
--spatial-upscaler x2 x1.5 --temporal-upscaler x2 \
|
| 106 |
+
--output models/ltx-2.3-10eros-v1.2-dmd-mlx-q8
|
| 107 |
+
```
|
| 108 |
+
|
| 109 |
+
No dev variant is added — this package is distilled-only by design.
|
| 110 |
+
|
| 111 |
+
---
|
| 112 |
+
|
| 113 |
+
## Credits & license
|
| 114 |
+
|
| 115 |
+
- DMD distillation: JoyAI Echo — [10S-Comfy-nodes](https://github.com/TenStrip/10S-Comfy-nodes)
|
| 116 |
+
- Finetune: [TenStrip/LTX2.3-10Eros](https://huggingface.co/TenStrip/LTX2.3-10Eros)
|
| 117 |
+
- Base model: [Lightricks/LTX-2.3](https://huggingface.co/Lightricks/LTX-2.3)
|
| 118 |
+
- Conversion: [mlx-forge](https://github.com/dgrauet/mlx-forge) · Runtime: [ltx-2-mlx](https://github.com/dgrauet/ltx-2-mlx)
|
| 119 |
+
|
| 120 |
+
Distributed under the [LTX-2 license](https://huggingface.co/Lightricks/LTX-2.3/blob/main/LICENSE.txt). The 10Eros finetune's own terms also apply — review the [upstream model card](https://huggingface.co/TenStrip/LTX2.3-10Eros) before redistribution.
|
audio_vae.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:442119db8eaf976f83a105cc8c5f2c930e0f625062f9776b10adcdb7bc96c416
|
| 3 |
+
size 106509048
|
config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_version": "2.3.0",
|
| 3 |
+
"is_v2": true,
|
| 4 |
+
"model_type": "AudioVideo",
|
| 5 |
+
"num_attention_heads": 32,
|
| 6 |
+
"attention_head_dim": 128,
|
| 7 |
+
"in_channels": 128,
|
| 8 |
+
"out_channels": 128,
|
| 9 |
+
"num_layers": 48,
|
| 10 |
+
"cross_attention_dim": 4096,
|
| 11 |
+
"caption_channels": null,
|
| 12 |
+
"apply_gated_attention": true,
|
| 13 |
+
"audio_num_attention_heads": 32,
|
| 14 |
+
"audio_attention_head_dim": 64,
|
| 15 |
+
"audio_in_channels": 128,
|
| 16 |
+
"audio_out_channels": 128,
|
| 17 |
+
"audio_cross_attention_dim": 2048,
|
| 18 |
+
"positional_embedding_theta": 10000.0,
|
| 19 |
+
"positional_embedding_max_pos": [
|
| 20 |
+
20,
|
| 21 |
+
2048,
|
| 22 |
+
2048
|
| 23 |
+
],
|
| 24 |
+
"audio_positional_embedding_max_pos": [
|
| 25 |
+
20
|
| 26 |
+
],
|
| 27 |
+
"timestep_scale_multiplier": 1000,
|
| 28 |
+
"av_ca_timestep_scale_multiplier": 1000,
|
| 29 |
+
"norm_eps": 1e-06,
|
| 30 |
+
"connector_positional_embedding_max_pos": [
|
| 31 |
+
4096
|
| 32 |
+
],
|
| 33 |
+
"connector_rope_type": "SPLIT",
|
| 34 |
+
"variants": {
|
| 35 |
+
"distilled-1.1": {
|
| 36 |
+
"cross_attention_adaln": true
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
}
|
connector.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5885c2bd7af4e761b3257cf5b17bc1fdb2d187cea3ca520ea723b6a129b7029f
|
| 3 |
+
size 6344495512
|
embedded_config.json
ADDED
|
@@ -0,0 +1,356 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"transformer": {
|
| 3 |
+
"_class_name": "AVTransformer3DModel",
|
| 4 |
+
"activation_fn": "gelu-approximate",
|
| 5 |
+
"attention_bias": true,
|
| 6 |
+
"attention_head_dim": 128,
|
| 7 |
+
"attention_type": "default",
|
| 8 |
+
"caption_channels": 3840,
|
| 9 |
+
"cross_attention_dim": 4096,
|
| 10 |
+
"double_self_attention": false,
|
| 11 |
+
"dropout": 0.0,
|
| 12 |
+
"in_channels": 128,
|
| 13 |
+
"norm_elementwise_affine": false,
|
| 14 |
+
"norm_eps": 1e-06,
|
| 15 |
+
"norm_num_groups": 32,
|
| 16 |
+
"num_attention_heads": 32,
|
| 17 |
+
"num_embeds_ada_norm": 1000,
|
| 18 |
+
"num_layers": 48,
|
| 19 |
+
"num_vector_embeds": null,
|
| 20 |
+
"only_cross_attention": false,
|
| 21 |
+
"cross_attention_norm": true,
|
| 22 |
+
"out_channels": 128,
|
| 23 |
+
"upcast_attention": false,
|
| 24 |
+
"use_linear_projection": false,
|
| 25 |
+
"qk_norm": "rms_norm",
|
| 26 |
+
"standardization_norm": "rms_norm",
|
| 27 |
+
"positional_embedding_type": "rope",
|
| 28 |
+
"positional_embedding_theta": 10000.0,
|
| 29 |
+
"positional_embedding_max_pos": [
|
| 30 |
+
20,
|
| 31 |
+
2048,
|
| 32 |
+
2048
|
| 33 |
+
],
|
| 34 |
+
"timestep_scale_multiplier": 1000,
|
| 35 |
+
"av_ca_timestep_scale_multiplier": 1000.0,
|
| 36 |
+
"causal_temporal_positioning": true,
|
| 37 |
+
"audio_num_attention_heads": 32,
|
| 38 |
+
"audio_attention_head_dim": 64,
|
| 39 |
+
"use_audio_video_cross_attention": true,
|
| 40 |
+
"share_ff": false,
|
| 41 |
+
"audio_out_channels": 128,
|
| 42 |
+
"audio_cross_attention_dim": 2048,
|
| 43 |
+
"audio_positional_embedding_max_pos": [
|
| 44 |
+
20
|
| 45 |
+
],
|
| 46 |
+
"av_cross_ada_norm": true,
|
| 47 |
+
"use_embeddings_connector": true,
|
| 48 |
+
"connector_attention_head_dim": 128,
|
| 49 |
+
"connector_num_attention_heads": 32,
|
| 50 |
+
"connector_num_layers": 8,
|
| 51 |
+
"connector_positional_embedding_max_pos": [
|
| 52 |
+
4096
|
| 53 |
+
],
|
| 54 |
+
"connector_num_learnable_registers": 128,
|
| 55 |
+
"connector_norm_output": true,
|
| 56 |
+
"use_middle_indices_grid": true,
|
| 57 |
+
"apply_gated_attention": true,
|
| 58 |
+
"connector_apply_gated_attention": true,
|
| 59 |
+
"caption_projection_first_linear": false,
|
| 60 |
+
"caption_projection_second_linear": false,
|
| 61 |
+
"caption_proj_input_norm": false,
|
| 62 |
+
"connector_learnable_registers_std": 1,
|
| 63 |
+
"caption_proj_before_connector": true,
|
| 64 |
+
"audio_connector_attention_head_dim": 64,
|
| 65 |
+
"audio_connector_num_attention_heads": 32,
|
| 66 |
+
"cross_attention_adaln": true,
|
| 67 |
+
"text_encoder_norm_type": "per_token_rms",
|
| 68 |
+
"rope_type": "split",
|
| 69 |
+
"frequencies_precision": "float64"
|
| 70 |
+
},
|
| 71 |
+
"vae": {
|
| 72 |
+
"_class_name": "CausalVideoAutoencoder",
|
| 73 |
+
"dims": 3,
|
| 74 |
+
"in_channels": 3,
|
| 75 |
+
"out_channels": 3,
|
| 76 |
+
"latent_channels": 128,
|
| 77 |
+
"encoder_blocks": [
|
| 78 |
+
[
|
| 79 |
+
"res_x",
|
| 80 |
+
{
|
| 81 |
+
"num_layers": 4
|
| 82 |
+
}
|
| 83 |
+
],
|
| 84 |
+
[
|
| 85 |
+
"compress_space_res",
|
| 86 |
+
{
|
| 87 |
+
"multiplier": 2
|
| 88 |
+
}
|
| 89 |
+
],
|
| 90 |
+
[
|
| 91 |
+
"res_x",
|
| 92 |
+
{
|
| 93 |
+
"num_layers": 6
|
| 94 |
+
}
|
| 95 |
+
],
|
| 96 |
+
[
|
| 97 |
+
"compress_time_res",
|
| 98 |
+
{
|
| 99 |
+
"multiplier": 2
|
| 100 |
+
}
|
| 101 |
+
],
|
| 102 |
+
[
|
| 103 |
+
"res_x",
|
| 104 |
+
{
|
| 105 |
+
"num_layers": 4
|
| 106 |
+
}
|
| 107 |
+
],
|
| 108 |
+
[
|
| 109 |
+
"compress_all_res",
|
| 110 |
+
{
|
| 111 |
+
"multiplier": 2
|
| 112 |
+
}
|
| 113 |
+
],
|
| 114 |
+
[
|
| 115 |
+
"res_x",
|
| 116 |
+
{
|
| 117 |
+
"num_layers": 2
|
| 118 |
+
}
|
| 119 |
+
],
|
| 120 |
+
[
|
| 121 |
+
"compress_all_res",
|
| 122 |
+
{
|
| 123 |
+
"multiplier": 1
|
| 124 |
+
}
|
| 125 |
+
],
|
| 126 |
+
[
|
| 127 |
+
"res_x",
|
| 128 |
+
{
|
| 129 |
+
"num_layers": 2
|
| 130 |
+
}
|
| 131 |
+
]
|
| 132 |
+
],
|
| 133 |
+
"decoder_blocks": [
|
| 134 |
+
[
|
| 135 |
+
"res_x",
|
| 136 |
+
{
|
| 137 |
+
"num_layers": 4
|
| 138 |
+
}
|
| 139 |
+
],
|
| 140 |
+
[
|
| 141 |
+
"compress_space",
|
| 142 |
+
{
|
| 143 |
+
"multiplier": 2
|
| 144 |
+
}
|
| 145 |
+
],
|
| 146 |
+
[
|
| 147 |
+
"res_x",
|
| 148 |
+
{
|
| 149 |
+
"num_layers": 6
|
| 150 |
+
}
|
| 151 |
+
],
|
| 152 |
+
[
|
| 153 |
+
"compress_time",
|
| 154 |
+
{
|
| 155 |
+
"multiplier": 2
|
| 156 |
+
}
|
| 157 |
+
],
|
| 158 |
+
[
|
| 159 |
+
"res_x",
|
| 160 |
+
{
|
| 161 |
+
"num_layers": 4
|
| 162 |
+
}
|
| 163 |
+
],
|
| 164 |
+
[
|
| 165 |
+
"compress_all",
|
| 166 |
+
{
|
| 167 |
+
"multiplier": 1
|
| 168 |
+
}
|
| 169 |
+
],
|
| 170 |
+
[
|
| 171 |
+
"res_x",
|
| 172 |
+
{
|
| 173 |
+
"num_layers": 2
|
| 174 |
+
}
|
| 175 |
+
],
|
| 176 |
+
[
|
| 177 |
+
"compress_all",
|
| 178 |
+
{
|
| 179 |
+
"multiplier": 2
|
| 180 |
+
}
|
| 181 |
+
],
|
| 182 |
+
[
|
| 183 |
+
"res_x",
|
| 184 |
+
{
|
| 185 |
+
"num_layers": 2
|
| 186 |
+
}
|
| 187 |
+
]
|
| 188 |
+
],
|
| 189 |
+
"scaling_factor": 1.0,
|
| 190 |
+
"norm_layer": "pixel_norm",
|
| 191 |
+
"patch_size": 4,
|
| 192 |
+
"latent_log_var": "uniform",
|
| 193 |
+
"use_quant_conv": false,
|
| 194 |
+
"causal_decoder": false,
|
| 195 |
+
"timestep_conditioning": false,
|
| 196 |
+
"normalize_latent_channels": false,
|
| 197 |
+
"encoder_base_channels": 128,
|
| 198 |
+
"decoder_base_channels": 128,
|
| 199 |
+
"spatial_padding_mode": "zeros"
|
| 200 |
+
},
|
| 201 |
+
"scheduler": {
|
| 202 |
+
"_class_name": "RectifiedFlowScheduler",
|
| 203 |
+
"_diffusers_version": "0.25.1",
|
| 204 |
+
"num_train_timesteps": 1000,
|
| 205 |
+
"shifting": null,
|
| 206 |
+
"base_resolution": null,
|
| 207 |
+
"sampler": "LinearQuadratic"
|
| 208 |
+
},
|
| 209 |
+
"audio_vae": {
|
| 210 |
+
"model": {
|
| 211 |
+
"params": {
|
| 212 |
+
"ddconfig": {
|
| 213 |
+
"double_z": true,
|
| 214 |
+
"mel_bins": 64,
|
| 215 |
+
"z_channels": 8,
|
| 216 |
+
"resolution": 256,
|
| 217 |
+
"downsample_time": false,
|
| 218 |
+
"in_channels": 2,
|
| 219 |
+
"out_ch": 2,
|
| 220 |
+
"ch": 128,
|
| 221 |
+
"ch_mult": [
|
| 222 |
+
1,
|
| 223 |
+
2,
|
| 224 |
+
4
|
| 225 |
+
],
|
| 226 |
+
"num_res_blocks": 2,
|
| 227 |
+
"attn_resolutions": [],
|
| 228 |
+
"dropout": 0.0,
|
| 229 |
+
"mid_block_add_attention": false,
|
| 230 |
+
"norm_type": "pixel",
|
| 231 |
+
"causality_axis": "height"
|
| 232 |
+
},
|
| 233 |
+
"sampling_rate": 16000
|
| 234 |
+
}
|
| 235 |
+
},
|
| 236 |
+
"preprocessing": {
|
| 237 |
+
"audio": {
|
| 238 |
+
"sampling_rate": 16000,
|
| 239 |
+
"max_wav_value": 32768.0,
|
| 240 |
+
"duration": 5.12,
|
| 241 |
+
"stereo": true,
|
| 242 |
+
"causal_padding": 3
|
| 243 |
+
},
|
| 244 |
+
"stft": {
|
| 245 |
+
"filter_length": 1024,
|
| 246 |
+
"hop_length": 160,
|
| 247 |
+
"win_length": 1024,
|
| 248 |
+
"causal": true
|
| 249 |
+
},
|
| 250 |
+
"mel": {
|
| 251 |
+
"n_mel_channels": 64,
|
| 252 |
+
"mel_fmin": 0,
|
| 253 |
+
"mel_fmax": 8000
|
| 254 |
+
}
|
| 255 |
+
}
|
| 256 |
+
},
|
| 257 |
+
"vocoder": {
|
| 258 |
+
"vocoder": {
|
| 259 |
+
"upsample_initial_channel": 1536,
|
| 260 |
+
"resblock": "AMP1",
|
| 261 |
+
"upsample_rates": [
|
| 262 |
+
5,
|
| 263 |
+
2,
|
| 264 |
+
2,
|
| 265 |
+
2,
|
| 266 |
+
2,
|
| 267 |
+
2
|
| 268 |
+
],
|
| 269 |
+
"resblock_kernel_sizes": [
|
| 270 |
+
3,
|
| 271 |
+
7,
|
| 272 |
+
11
|
| 273 |
+
],
|
| 274 |
+
"upsample_kernel_sizes": [
|
| 275 |
+
11,
|
| 276 |
+
4,
|
| 277 |
+
4,
|
| 278 |
+
4,
|
| 279 |
+
4,
|
| 280 |
+
4
|
| 281 |
+
],
|
| 282 |
+
"resblock_dilation_sizes": [
|
| 283 |
+
[
|
| 284 |
+
1,
|
| 285 |
+
3,
|
| 286 |
+
5
|
| 287 |
+
],
|
| 288 |
+
[
|
| 289 |
+
1,
|
| 290 |
+
3,
|
| 291 |
+
5
|
| 292 |
+
],
|
| 293 |
+
[
|
| 294 |
+
1,
|
| 295 |
+
3,
|
| 296 |
+
5
|
| 297 |
+
]
|
| 298 |
+
],
|
| 299 |
+
"stereo": true,
|
| 300 |
+
"use_tanh_at_final": false,
|
| 301 |
+
"activation": "snakebeta",
|
| 302 |
+
"use_bias_at_final": false
|
| 303 |
+
},
|
| 304 |
+
"bwe": {
|
| 305 |
+
"upsample_initial_channel": 512,
|
| 306 |
+
"resblock": "AMP1",
|
| 307 |
+
"upsample_rates": [
|
| 308 |
+
6,
|
| 309 |
+
5,
|
| 310 |
+
2,
|
| 311 |
+
2,
|
| 312 |
+
2
|
| 313 |
+
],
|
| 314 |
+
"resblock_kernel_sizes": [
|
| 315 |
+
3,
|
| 316 |
+
7,
|
| 317 |
+
11
|
| 318 |
+
],
|
| 319 |
+
"upsample_kernel_sizes": [
|
| 320 |
+
12,
|
| 321 |
+
11,
|
| 322 |
+
4,
|
| 323 |
+
4,
|
| 324 |
+
4
|
| 325 |
+
],
|
| 326 |
+
"resblock_dilation_sizes": [
|
| 327 |
+
[
|
| 328 |
+
1,
|
| 329 |
+
3,
|
| 330 |
+
5
|
| 331 |
+
],
|
| 332 |
+
[
|
| 333 |
+
1,
|
| 334 |
+
3,
|
| 335 |
+
5
|
| 336 |
+
],
|
| 337 |
+
[
|
| 338 |
+
1,
|
| 339 |
+
3,
|
| 340 |
+
5
|
| 341 |
+
]
|
| 342 |
+
],
|
| 343 |
+
"stereo": true,
|
| 344 |
+
"use_tanh_at_final": false,
|
| 345 |
+
"activation": "snakebeta",
|
| 346 |
+
"use_bias_at_final": false,
|
| 347 |
+
"apply_final_activation": false,
|
| 348 |
+
"input_sampling_rate": 16000,
|
| 349 |
+
"output_sampling_rate": 48000,
|
| 350 |
+
"hop_length": 80,
|
| 351 |
+
"n_fft": 512,
|
| 352 |
+
"win_size": 512,
|
| 353 |
+
"num_mels": 64
|
| 354 |
+
}
|
| 355 |
+
}
|
| 356 |
+
}
|
quantize_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"quantization": {
|
| 3 |
+
"bits": 8,
|
| 4 |
+
"group_size": 64,
|
| 5 |
+
"only_transformer_blocks": true
|
| 6 |
+
}
|
| 7 |
+
}
|
spatial_upscaler_x1_5_v1_0.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e186732be14a71b953efed15181cbb94595fa836555a07b3b7560d6cf5deeb15
|
| 3 |
+
size 1090127476
|
spatial_upscaler_x1_5_v1_0_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"_class_name": "LatentUpsampler",
|
| 4 |
+
"in_channels": 128,
|
| 5 |
+
"mid_channels": 1024,
|
| 6 |
+
"num_blocks_per_stage": 4,
|
| 7 |
+
"dims": 3,
|
| 8 |
+
"spatial_upsample": true,
|
| 9 |
+
"temporal_upsample": false,
|
| 10 |
+
"spatial_scale": 1.5,
|
| 11 |
+
"rational_resampler": true
|
| 12 |
+
}
|
| 13 |
+
}
|
spatial_upscaler_x2_v1_1.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:755f69dcb8a3f9589045925eb4a2237e9969f9c026a016393bc395e65ebd5788
|
| 3 |
+
size 995745061
|
spatial_upscaler_x2_v1_1_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"_class_name": "LatentUpsampler",
|
| 4 |
+
"in_channels": 128,
|
| 5 |
+
"mid_channels": 1024,
|
| 6 |
+
"num_blocks_per_stage": 4,
|
| 7 |
+
"dims": 3,
|
| 8 |
+
"spatial_upsample": true,
|
| 9 |
+
"temporal_upsample": false,
|
| 10 |
+
"spatial_scale": 2.0,
|
| 11 |
+
"rational_resampler": false
|
| 12 |
+
}
|
| 13 |
+
}
|
split_model.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"format": "split",
|
| 3 |
+
"model_version": "2.3.0",
|
| 4 |
+
"components": [
|
| 5 |
+
"connector",
|
| 6 |
+
"vae_decoder",
|
| 7 |
+
"vae_encoder",
|
| 8 |
+
"audio_vae",
|
| 9 |
+
"vocoder",
|
| 10 |
+
"spatial_upscaler_x2_v1_1",
|
| 11 |
+
"spatial_upscaler_x1_5_v1_0",
|
| 12 |
+
"temporal_upscaler_x2_v1_0"
|
| 13 |
+
],
|
| 14 |
+
"transformer_variants": [
|
| 15 |
+
"distilled-1.1"
|
| 16 |
+
],
|
| 17 |
+
"lora": [],
|
| 18 |
+
"source": "Lightricks/LTX-2.3",
|
| 19 |
+
"notes": {
|
| 20 |
+
"vocoder": "Also contains BWE (bandwidth extension) generator weights \u2014 upsample layers [6,5,2,2,2] (240x) and mel_stft parameters."
|
| 21 |
+
},
|
| 22 |
+
"quantized": true,
|
| 23 |
+
"quantization_bits": 8
|
| 24 |
+
}
|
temporal_upscaler_x2_v1_0.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:982bc28b455ed22de1e39a9fcf5213299de4e15f948ae3bd2cee65550e019628
|
| 3 |
+
size 261945581
|
temporal_upscaler_x2_v1_0_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"_class_name": "LatentUpsampler",
|
| 4 |
+
"in_channels": 128,
|
| 5 |
+
"mid_channels": 512,
|
| 6 |
+
"num_blocks_per_stage": 4,
|
| 7 |
+
"dims": 3,
|
| 8 |
+
"spatial_upsample": false,
|
| 9 |
+
"temporal_upsample": true,
|
| 10 |
+
"spatial_scale": 1.0,
|
| 11 |
+
"rational_resampler": true
|
| 12 |
+
}
|
| 13 |
+
}
|
transformer-distilled-1.1.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8baa7293307f9b325cc7712a16d890793b9e81a0f11ae477c73cdee845dcc9c
|
| 3 |
+
size 20587728079
|
vae_decoder.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f404026fe0b59418eaec4a3fcdc474125c798f0b787dc390f6eb4e79934d4160
|
| 3 |
+
size 814349531
|
vae_encoder.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1512f5ef8387901db0baecb328690676e2667ddf2b63e28f8e6645188c1a8c06
|
| 3 |
+
size 637885319
|
vocoder.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:410cee86c14f76956bf487d153211ef15050fe8bf51f86d47a1d27ca6e3ba287
|
| 3 |
+
size 258313851
|