Instructions to use optimum-intel-internal-testing/tiny-random-ltx2.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use optimum-intel-internal-testing/tiny-random-ltx2.5 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("optimum-intel-internal-testing/tiny-random-ltx2.5", 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 tiny_model_marker.json from optimum-intel-internal-testing/tiny-random-ltx2.5: direct link, hf CLI and curl.
- Browser
- Download file 409 Bytes
-
https://huggingface.co/optimum-intel-internal-testing/tiny-random-ltx2.5/resolve/main/tiny_model_marker.json
- Command line
-
hf download hf://optimum-intel-internal-testing/tiny-random-ltx2.5/tiny_model_marker.json
-
curl -L -o tiny_model_marker.json https://huggingface.co/optimum-intel-internal-testing/tiny-random-ltx2.5/resolve/main/tiny_model_marker.json
409 Bytes
| { | |
| "marker_version": 1, | |
| "base_repo_id": "optimum-intel-internal-testing/tiny-random-ltx2.5", | |
| "base_revision": "5e56afb1e7f81f48e6d2aeaf0f3acb55fc4cf68e", | |
| "source_model_id": "Lightricks/LTX-2.5-Diffusers", | |
| "enhancer_repo_id": "optimum-intel-internal-testing/tiny-random-gemma4", | |
| "seed": 42, | |
| "duration_head": { | |
| "pooler_hidden_dim": 16, | |
| "num_pooler_heads": 2, | |
| "mlp_hidden_dim": 16 | |
| } | |
| } | |