Image-to-Video
Diffusers
Safetensors
English
LTX2Pipeline
text-to-video
ltx-2
ltx-2-3
ltx-video
lightricks
Run this model with HF Jobs
Run CalamitousFelicitousness/LTX-2.3-dev-Diffusers on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/CalamitousFelicitousness/LTX-2.3-dev-Diffusers. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/CalamitousFelicitousness/LTX-2.3-dev-Diffusers on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use CalamitousFelicitousness/LTX-2.3-dev-Diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CalamitousFelicitousness/LTX-2.3-dev-Diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("CalamitousFelicitousness/LTX-2.3-dev-Diffusers", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
Replace text_encoder with google/gemma-3-12b-it (bf16, 24GB vs 49GB float32)
Browse filesFiles changed (16)
- text_encoder/config.json+3-77
- text_encoder/diffusion_pytorch_model-00005-of-00012.safetensorsDeleted-3
- text_encoder/diffusion_pytorch_model-00006-of-00012.safetensorsDeleted-3
- text_encoder/diffusion_pytorch_model-00007-of-00012.safetensorsDeleted-3
- text_encoder/diffusion_pytorch_model-00008-of-00012.safetensorsDeleted-3
- text_encoder/diffusion_pytorch_model-00009-of-00012.safetensorsDeleted-3
- text_encoder/diffusion_pytorch_model-00010-of-00012.safetensorsDeleted-3
- text_encoder/diffusion_pytorch_model-00011-of-00012.safetensorsDeleted-3
- text_encoder/diffusion_pytorch_model-00012-of-00012.safetensorsDeleted-3
- text_encoder/generation_config.json+3-1
- text_encoder/diffusion_pytorch_model-00001-of-00012.safetensors → text_encoder/model-00001-of-00005.safetensorsRenamed+2-2
- text_encoder/diffusion_pytorch_model-00002-of-00012.safetensors → text_encoder/model-00002-of-00005.safetensorsRenamed+2-2
- text_encoder/diffusion_pytorch_model-00003-of-00012.safetensors → text_encoder/model-00003-of-00005.safetensorsRenamed+2-2
- text_encoder/diffusion_pytorch_model-00004-of-00012.safetensors → text_encoder/model-00004-of-00005.safetensorsRenamed+2-2
- text_encoder/model-00005-of-00005.safetensorsAdded+3
- text_encoder/model.safetensors.index.json
2 unmodified lines34567894 unmodified lines14151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111122 unmodified lines"Gemma3ForConditionalGeneration"],"boi_token_index": 255999,"dtype": "float32","eoi_token_index": 256000,"eos_token_id": [1,4 unmodified lines"mm_tokens_per_image": 256,"model_type": "gemma3","text_config": {"_sliding_window_pattern": 6,"attention_bias": false,"attention_dropout": 0.0,"attn_logit_softcapping": null,"cache_implementation": "hybrid","dtype": "float32","final_logit_softcapping": null,"head_dim": 256,"hidden_activation": "gelu_pytorch_tanh","hidden_size": 3840,"initializer_range": 0.02,"intermediate_size": 15360,"layer_types": ["sliding_attention","sliding_attention","sliding_attention","sliding_attention","sliding_attention","full_attention","sliding_attention","sliding_attention","sliding_attention","sliding_attention","sliding_attention","full_attention","sliding_attention","sliding_attention","sliding_attention","sliding_attention","sliding_attention","full_attention","sliding_attention","sliding_attention","sliding_attention","sliding_attention","sliding_attention","full_attention","sliding_attention","sliding_attention","sliding_attention","sliding_attention","sliding_attention","full_attention","sliding_attention","sliding_attention","sliding_attention","sliding_attention","sliding_attention","full_attention","sliding_attention","sliding_attention","sliding_attention","sliding_attention","sliding_attention","full_attention","sliding_attention","sliding_attention","sliding_attention","sliding_attention","sliding_attention","full_attention"],"max_position_embeddings": 131072,"model_type": "gemma3_text","num_attention_heads": 16,"num_hidden_layers": 48,"num_key_value_heads": 8,"query_pre_attn_scalar": 256,"rms_norm_eps": 1e-06,"rope_local_base_freq": 10000,"rope_scaling": {"factor": 8.0,"rope_type": "linear"},"rope_theta": 1000000,"sliding_window": 1024,"sliding_window_pattern": 6,"use_bidirectional_attention": false,"use_cache": true,"vocab_size": 262208},"transformers_version": "4.57.3","vision_config": {"attention_dropout": 0.0,"dtype": "float32","hidden_act": "gelu_pytorch_tanh","hidden_size": 1152,"image_size": 896,"intermediate_size": 4304,"layer_norm_eps": 1e-06,"model_type": "siglip_vision_model","num_attention_heads": 16,"num_channels": 3,"num_hidden_layers": 27,"patch_size": 14,"vision_use_head": false2 unmodified lines3456784 unmodified lines13141516171819202122232425262728293031323334353637382 unmodified lines"Gemma3ForConditionalGeneration"],"boi_token_index": 255999,"eoi_token_index": 256000,"eos_token_id": [1,4 unmodified lines"mm_tokens_per_image": 256,"model_type": "gemma3","text_config": {"hidden_size": 3840,"intermediate_size": 15360,"model_type": "gemma3_text","num_attention_heads": 16,"num_hidden_layers": 48,"num_key_value_heads": 8,"rope_scaling": {"factor": 8.0,"rope_type": "linear"},"sliding_window": 1024},"torch_dtype": "bfloat16","transformers_version": "4.50.0.dev0","vision_config": {"hidden_size": 1152,"image_size": 896,"intermediate_size": 4304,"model_type": "siglip_vision_model","num_attention_heads": 16,"num_hidden_layers": 27,"patch_size": 14,"vision_use_head": false
123version https://git-lfs.github.com/spec/v1oid sha256:9424d48871c4a1dbd3015739b575827c98bdf265477181613380b3a8a2c9c9b0size 2453837880123version https://git-lfs.github.com/spec/v1oid sha256:e09a56a7a942f813ae20d89486e00578ff5e258a3a3240a677dee4e379428056size 2477460416123version https://git-lfs.github.com/spec/v1oid sha256:1f5026393f63e560c1109b704ff5e7ec31707b3c32a205e0afa86557b5289d80size 2453837880123version https://git-lfs.github.com/spec/v1oid sha256:0ce05cf1062842c14d5a436f9b6ba76c05e1d0b7eafacffcdd3b0effa9fd56a1size 2477460416123version https://git-lfs.github.com/spec/v1oid sha256:97f81169d8eeb712c9aadc5ec86bb45e1d80002ce9c4014355d6d5b43b5b6eb0size 2453837880123version https://git-lfs.github.com/spec/v1oid sha256:b5ac39c5bc6ee9082ca49d1cfeea68ecd1cf927cc6a9b059466d17a5f31fe239size 2477460416123version https://git-lfs.github.com/spec/v1oid sha256:6f12f0a6ca282a039cd02b807e7a8152272c3b4ebedbc034fae461c10474a26bsize 3617916064123version https://git-lfs.github.com/spec/v1oid sha256:80edbf223b284a9e0681a23e62084d0379a5b6d5ad8d3326b36da709800532e4size 5899491921234567891011{"cache_implementation": "hybrid","do_sample": true,"eos_token_id": [1,106],"top_k": 64,"top_p": 0.95,"transformers_version": "4.57.3"}12345678910111213{"bos_token_id": 2,"cache_implementation": "hybrid","do_sample": true,"eos_token_id": [1,106],"pad_token_id": 0,"top_k": 64,"top_p": 0.95,"transformers_version": "4.50.0.dev0"}
123version https://git-lfs.github.com/spec/v1oid sha256:eee7f7f9592994fe2d3d326ecea737e305f73b8c133f9eb76e47e4cb71b14143size 842649288123version https://git-lfs.github.com/spec/v1oid sha256:4847447e92599833e8dbaa3067cd201c3bb5c052efa91f11ba891e43234f7832size 4979902192
123version https://git-lfs.github.com/spec/v1oid sha256:5209062512f28285489e7b733b737cfc6e2287375a1d9e6e97f94b2906c90a07size 2493514840123version https://git-lfs.github.com/spec/v1oid sha256:891bd54eed03cba9ee1e705533a02a8217fcc29f356e4a1f53e5fd0d178883adsize 4931296592
123version https://git-lfs.github.com/spec/v1oid sha256:adc81519d4cb524eec107e0ec50f1210d992004537965e6c0fdb8d0c1be6bc97size 2422380384123version https://git-lfs.github.com/spec/v1oid sha256:7cee411d9d57324e50ce064a192cc5a858276d508611b12fc599e0c9767112e0size 4931296656
123version https://git-lfs.github.com/spec/v1oid sha256:0b23642feb7d72c7228205ebbefd3f6882b115e750bd9c41b0e2f680db5969acsize 2477460360123version https://git-lfs.github.com/spec/v1oid sha256:8bc75a29a730c9e743cad013feda3b0991a913fafe787c58a1c6e20afad97723size 4931296656
123version https://git-lfs.github.com/spec/v1oid sha256:ed14bd4908c98fed9f61e8cd410167e0846de9abd78e0452ab092072e5d9252dsize 4601000928text_encoder/config.json+3-77
text_encoder/diffusion_pytorch_model-00005-of-00012.safetensorsDeleted-3
text_encoder/diffusion_pytorch_model-00006-of-00012.safetensorsDeleted-3
text_encoder/diffusion_pytorch_model-00007-of-00012.safetensorsDeleted-3
text_encoder/diffusion_pytorch_model-00008-of-00012.safetensorsDeleted-3
text_encoder/diffusion_pytorch_model-00009-of-00012.safetensorsDeleted-3
text_encoder/diffusion_pytorch_model-00010-of-00012.safetensorsDeleted-3
text_encoder/diffusion_pytorch_model-00011-of-00012.safetensorsDeleted-3
text_encoder/diffusion_pytorch_model-00012-of-00012.safetensorsDeleted-3
text_encoder/generation_config.json+3-1
text_encoder/diffusion_pytorch_model-00001-of-00012.safetensors → text_encoder/model-00001-of-00005.safetensorsRenamed+2-2
text_encoder/diffusion_pytorch_model-00002-of-00012.safetensors → text_encoder/model-00002-of-00005.safetensorsRenamed+2-2
text_encoder/diffusion_pytorch_model-00003-of-00012.safetensors → text_encoder/model-00003-of-00005.safetensorsRenamed+2-2
text_encoder/diffusion_pytorch_model-00004-of-00012.safetensors → text_encoder/model-00004-of-00005.safetensorsRenamed+2-2
text_encoder/model-00005-of-00005.safetensorsAdded+3
text_encoder/model.safetensors.index.json