Instructions to use hf-internal-testing/tiny-ltx2-5-dfr-modular-pipe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hf-internal-testing/tiny-ltx2-5-dfr-modular-pipe with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hf-internal-testing/tiny-ltx2-5-dfr-modular-pipe", 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
Leave processor/prompt_enhancer unset, matching the LTX-2.5 fixture
Browse files- modular_model_index.json +2 -2
modular_model_index.json
CHANGED
|
@@ -62,7 +62,7 @@
|
|
| 62 |
null,
|
| 63 |
null,
|
| 64 |
{
|
| 65 |
-
"pretrained_model_name_or_path":
|
| 66 |
"revision": null,
|
| 67 |
"subfolder": "",
|
| 68 |
"type_hint": [
|
|
@@ -76,7 +76,7 @@
|
|
| 76 |
null,
|
| 77 |
null,
|
| 78 |
{
|
| 79 |
-
"pretrained_model_name_or_path":
|
| 80 |
"revision": null,
|
| 81 |
"subfolder": "",
|
| 82 |
"type_hint": [
|
|
|
|
| 62 |
null,
|
| 63 |
null,
|
| 64 |
{
|
| 65 |
+
"pretrained_model_name_or_path": null,
|
| 66 |
"revision": null,
|
| 67 |
"subfolder": "",
|
| 68 |
"type_hint": [
|
|
|
|
| 76 |
null,
|
| 77 |
null,
|
| 78 |
{
|
| 79 |
+
"pretrained_model_name_or_path": null,
|
| 80 |
"revision": null,
|
| 81 |
"subfolder": "",
|
| 82 |
"type_hint": [
|