how install this in colab? <div align="center"> LTX-Video This is the official…
- User
how install this in colab?
LTX-Video
This is the official repository for LTX-Video.
Website | Model | Demo | Paper
Table of Contents
- Introduction
- Quick Start Guide
- Online demo
- Run locally
- Installation
- Inference
- ComfyUI Integration
- Diffusers Integration
- Model User Guide
- Community Contribution
- Training
- Join Us!
- Acknowledgement
Introduction
LTX-Video is the first DiT-based video generation model that can generate high-quality videos in real-time. It can generate 24 FPS videos at 768x512 resolution, faster than it takes to watch them. The model is trained on a large-scale dataset of diverse videos and can generate high-resolution videos with realistic and diverse content.
[image: example1] A woman with long brown hair and light skin smiles at another woman...A woman with long brown hair and light skin smiles at another woman with long blonde hair. The woman with brown hair wears a black jacket and has a small, barely noticeable mole on her right cheek. The camera angle is a close-up, focused on the woman with brown hair's face. The lighting is warm and natural, likely from the setting sun, casting a soft glow on the scene. The scene appears to be real-life footage. - Assistant
- User
Traceback (most recent call last): File "/content/LTX-Video/inference.py", line 488, in main() File "/content/LTX-Video/inference.py", line 342, in main text_encoder = text_encoder.cuda() File "/usr/local/lib/python3.10/dist-packages/transformers/modeling_utils.py", line 3124, in cuda return super().cuda(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1050, in cuda return self._apply(lambda t: t.cuda(device)) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 900, in _apply module._apply(fn) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 900, in _apply module._apply(fn) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 900, in _apply module._apply(fn) [Previous line repeated 4 more times] File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 927, in _apply param_applied = fn(param) File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1050, in return self._apply(lambda t: t.cuda(device)) torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 160.00 MiB. GPU 0 has a total capacity of 14.75 GiB of which 57.06 MiB is free. Process 121769 has 14.69 GiB memory in use. Of the allocated memory 14.54 GiB is allocated by PyTorch, and 51.71 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management ()
- Assistant