Instructions to use diffusers-internal-dev/ltx-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers-internal-dev/ltx-test with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers-internal-dev/ltx-test", 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
Download scheduler/scheduler_config.json from diffusers-internal-dev/ltx-test: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/diffusers-internal-dev/ltx-test/resolve/main/scheduler/scheduler_config.json
- Command line
-
hf download hf://diffusers-internal-dev/ltx-test/scheduler/scheduler_config.json
-
curl -L -o scheduler_config.json https://huggingface.co/diffusers-internal-dev/ltx-test/resolve/main/scheduler/scheduler_config.json
419 Bytes
| { | |
| "_class_name": "FlowMatchEulerDiscreteScheduler", | |
| "_diffusers_version": "0.32.0.dev0", | |
| "base_image_seq_len": 1024, | |
| "base_shift": 0.95, | |
| "invert_sigmas": false, | |
| "max_image_seq_len": 4096, | |
| "max_shift": 2.05, | |
| "num_train_timesteps": 1000, | |
| "shift": 1.0, | |
| "shift_terminal": 0.1, | |
| "use_beta_sigmas": false, | |
| "use_dynamic_shifting": true, | |
| "use_exponential_sigmas": false, | |
| "use_karras_sigmas": false | |
| } | |