Instructions to use Rin247/LTX-2.5-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Rin247/LTX-2.5-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Rin247/LTX-2.5-Diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Upload modular_model_index.json with huggingface_hub
Browse files- modular_model_index.json +173 -0
modular_model_index.json
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_blocks_class_name": "LTX25AutoBlocks",
|
| 3 |
+
"_class_name": "LTX2ModularPipeline",
|
| 4 |
+
"_diffusers_version": "0.40.0.dev0",
|
| 5 |
+
"audio_vae": [
|
| 6 |
+
"diffusers",
|
| 7 |
+
"AutoencoderKLLTX2Audio",
|
| 8 |
+
{
|
| 9 |
+
"pretrained_model_name_or_path": "Lightricks/LTX-2.5-Diffusers",
|
| 10 |
+
"revision": null,
|
| 11 |
+
"subfolder": "audio_vae",
|
| 12 |
+
"type_hint": [
|
| 13 |
+
"diffusers",
|
| 14 |
+
"AutoencoderKLLTX2Audio"
|
| 15 |
+
],
|
| 16 |
+
"variant": null
|
| 17 |
+
}
|
| 18 |
+
],
|
| 19 |
+
"connectors": [
|
| 20 |
+
"ltx2",
|
| 21 |
+
"LTX2TextConnectors",
|
| 22 |
+
{
|
| 23 |
+
"pretrained_model_name_or_path": "Lightricks/LTX-2.5-Diffusers",
|
| 24 |
+
"revision": null,
|
| 25 |
+
"subfolder": "connectors",
|
| 26 |
+
"type_hint": [
|
| 27 |
+
"ltx2",
|
| 28 |
+
"LTX2TextConnectors"
|
| 29 |
+
],
|
| 30 |
+
"variant": null
|
| 31 |
+
}
|
| 32 |
+
],
|
| 33 |
+
"diffusion_decoder": [
|
| 34 |
+
"diffusers",
|
| 35 |
+
"LTX2VideoDiffusionDecoderModel",
|
| 36 |
+
{
|
| 37 |
+
"pretrained_model_name_or_path": "Lightricks/LTX-2.5-Diffusers",
|
| 38 |
+
"revision": null,
|
| 39 |
+
"subfolder": "diffusion_decoder",
|
| 40 |
+
"type_hint": [
|
| 41 |
+
"diffusers",
|
| 42 |
+
"LTX2VideoDiffusionDecoderModel"
|
| 43 |
+
],
|
| 44 |
+
"variant": null
|
| 45 |
+
}
|
| 46 |
+
],
|
| 47 |
+
"duration_head": [
|
| 48 |
+
"ltx2",
|
| 49 |
+
"LTX2DurationHead",
|
| 50 |
+
{
|
| 51 |
+
"pretrained_model_name_or_path": "Lightricks/LTX-2.5-Diffusers",
|
| 52 |
+
"revision": null,
|
| 53 |
+
"subfolder": "duration_head",
|
| 54 |
+
"type_hint": [
|
| 55 |
+
"ltx2",
|
| 56 |
+
"LTX2DurationHead"
|
| 57 |
+
],
|
| 58 |
+
"variant": null
|
| 59 |
+
}
|
| 60 |
+
],
|
| 61 |
+
"processor": [
|
| 62 |
+
"transformers",
|
| 63 |
+
"Gemma4Processor",
|
| 64 |
+
{
|
| 65 |
+
"pretrained_model_name_or_path": "google/gemma-4-E2B-it",
|
| 66 |
+
"revision": null,
|
| 67 |
+
"subfolder": "",
|
| 68 |
+
"type_hint": [
|
| 69 |
+
"transformers",
|
| 70 |
+
"Gemma4Processor"
|
| 71 |
+
],
|
| 72 |
+
"variant": null
|
| 73 |
+
}
|
| 74 |
+
],
|
| 75 |
+
"prompt_enhancer": [
|
| 76 |
+
"transformers",
|
| 77 |
+
"Gemma4ForConditionalGeneration",
|
| 78 |
+
{
|
| 79 |
+
"pretrained_model_name_or_path": "google/gemma-4-E2B-it",
|
| 80 |
+
"revision": null,
|
| 81 |
+
"subfolder": "",
|
| 82 |
+
"type_hint": [
|
| 83 |
+
"transformers",
|
| 84 |
+
"Gemma4ForConditionalGeneration"
|
| 85 |
+
],
|
| 86 |
+
"variant": null
|
| 87 |
+
}
|
| 88 |
+
],
|
| 89 |
+
"scheduler": [
|
| 90 |
+
"diffusers",
|
| 91 |
+
"FlowMatchEulerDiscreteScheduler",
|
| 92 |
+
{
|
| 93 |
+
"pretrained_model_name_or_path": "Lightricks/LTX-2.5-Diffusers",
|
| 94 |
+
"revision": null,
|
| 95 |
+
"subfolder": "scheduler",
|
| 96 |
+
"type_hint": [
|
| 97 |
+
"diffusers",
|
| 98 |
+
"FlowMatchEulerDiscreteScheduler"
|
| 99 |
+
],
|
| 100 |
+
"variant": null
|
| 101 |
+
}
|
| 102 |
+
],
|
| 103 |
+
"text_encoder": [
|
| 104 |
+
"transformers",
|
| 105 |
+
"Gemma4UnifiedForConditionalGeneration",
|
| 106 |
+
{
|
| 107 |
+
"pretrained_model_name_or_path": "Lightricks/LTX-2.5-Diffusers",
|
| 108 |
+
"revision": null,
|
| 109 |
+
"subfolder": "text_encoder",
|
| 110 |
+
"type_hint": [
|
| 111 |
+
"transformers",
|
| 112 |
+
"Gemma4UnifiedForConditionalGeneration"
|
| 113 |
+
],
|
| 114 |
+
"variant": null
|
| 115 |
+
}
|
| 116 |
+
],
|
| 117 |
+
"tokenizer": [
|
| 118 |
+
"transformers",
|
| 119 |
+
"GemmaTokenizer",
|
| 120 |
+
{
|
| 121 |
+
"pretrained_model_name_or_path": "Lightricks/LTX-2.5-Diffusers",
|
| 122 |
+
"revision": null,
|
| 123 |
+
"subfolder": "tokenizer",
|
| 124 |
+
"type_hint": [
|
| 125 |
+
"transformers",
|
| 126 |
+
"GemmaTokenizer"
|
| 127 |
+
],
|
| 128 |
+
"variant": null
|
| 129 |
+
}
|
| 130 |
+
],
|
| 131 |
+
"transformer": [
|
| 132 |
+
"diffusers",
|
| 133 |
+
"LTX2VideoTransformer3DModel",
|
| 134 |
+
{
|
| 135 |
+
"pretrained_model_name_or_path": "Lightricks/LTX-2.5-Diffusers",
|
| 136 |
+
"revision": null,
|
| 137 |
+
"subfolder": "transformer",
|
| 138 |
+
"type_hint": [
|
| 139 |
+
"diffusers",
|
| 140 |
+
"LTX2VideoTransformer3DModel"
|
| 141 |
+
],
|
| 142 |
+
"variant": null
|
| 143 |
+
}
|
| 144 |
+
],
|
| 145 |
+
"vae": [
|
| 146 |
+
"diffusers",
|
| 147 |
+
"AutoencoderKLLTX2Video",
|
| 148 |
+
{
|
| 149 |
+
"pretrained_model_name_or_path": "Lightricks/LTX-2.5-Diffusers",
|
| 150 |
+
"revision": null,
|
| 151 |
+
"subfolder": "vae",
|
| 152 |
+
"type_hint": [
|
| 153 |
+
"diffusers",
|
| 154 |
+
"AutoencoderKLLTX2Video"
|
| 155 |
+
],
|
| 156 |
+
"variant": null
|
| 157 |
+
}
|
| 158 |
+
],
|
| 159 |
+
"vocoder": [
|
| 160 |
+
"ltx2",
|
| 161 |
+
"LTX2VocoderWithBWE",
|
| 162 |
+
{
|
| 163 |
+
"pretrained_model_name_or_path": "Lightricks/LTX-2.5-Diffusers",
|
| 164 |
+
"revision": null,
|
| 165 |
+
"subfolder": "vocoder",
|
| 166 |
+
"type_hint": [
|
| 167 |
+
"ltx2",
|
| 168 |
+
"LTX2VocoderWithBWE"
|
| 169 |
+
],
|
| 170 |
+
"variant": null
|
| 171 |
+
}
|
| 172 |
+
]
|
| 173 |
+
}
|