Home Creators Posts Import Register Favorites Logout

Content

Full YouTube tutorial for CogVideoX1.5-5B-I2V : https://youtu.be/5UCkMzP2VLE

1-Click Windows, RunPod and Massed Compute installers : https://www.patreon.com/posts/112848192

https://www.patreon.com/posts/112848192 - installs into Python 3.11 VENV

Official Hugging Face repo of CogVideoX1.5-5B-I2V : https://huggingface.co/THUDM/CogVideoX1.5-5B-I2V

Official github repo : https://github.com/THUDM/CogVideo

Used prompts to generate videos txt file : https://gist.github.com/FurkanGozukara/471db7b987ab8d9877790358c126ac05

Demo images shared in : https://www.patreon.com/posts/112848192

I used 1360x768px images at 16 FPS and 81 frames = 5 seconds

+1 frame coming from initial image

Also I have enabled all the optimizations shared on Hugging Face

pipe.enable_sequential_cpu_offload()

pipe.vae.enable_slicing()

pipe.vae.enable_tiling()

quantization = int8_weight_only - you need TorchAO and DeepSpeed works great on Windows with Python 3.11 VENV

Used audio model : https://github.com/hkchengrex/MMAudio

1-Click Windows, RunPod and Massed Compute Installers for MMAudio : https://www.patreon.com/posts/117990364

https://www.patreon.com/posts/117990364 - Installs into Python 3.10 VENV

Used very simple prompts - it fails when there is human in input video so use text to audio in such cases

I also tested some VRAM usages for CogVideoX1.5-5B-I2V

Resolutions and here their VRAM requirements - may work on lower VRAM GPUs too but slower

512x288 - 41 frames : 7700 MB , 576x320 - 41 frames : 7900 MB

576x320 - 81 frames : 8850 MB , 704x384 - 81 frames : 8950 MB

768x432 - 81 frames : 10600 MB , 896x496 - 81 frames : 12050 MB

896x496 - 81 frames : 12050 MB , 960x528 - 81 frames : 12850 MB

1024x576 - 81 frames : 13900 MB , 1280x720- 81 frames : 17950 MB

1360x768 - 81 frames : 19000 MB

Our Gradio APP is extremely advanced and working perfect

 

Files

Comments

peng beryl

I've been following your tutorials—thanks so much for all the guidance! Now, it's possible to train LoRA using Hunyuan-Video, and it works for both images and videos. Could you create a tutorial specifically on training Hunyuan-Video?

peng beryl

Thank you! Looking forward to your tutorial.

Wyatt George

I like your one-click installs, but I've had a few instances where the venv isn't created correctly and the script keeps going and installs packages over my base installation anyway. Could you add something like the following after the "call .\venv\Scripts\activate.bat" line in the future? if %ERRORLEVEL% neq 0 ( echo Failed to create the virtual environment. pause exit /b ) I think a more robust one-click install would really enhance the quality. Thanks! (to be clear, this is in Windows_Install.bat)

SECourses: FLUX, Tutorials, Guides, Resources, Training, Scripts

well if venv exists it will not delete and remake it. in my tests above code was not working but surely i can add it. the bat system is unfortunately limited. if you have improved any of the existing install can you email me so i can apply that logic to all : monstermmorpg@gmail.com

Lenny

I think that I know what he speaking about. I've had this happen to me a lot. Typically I open your installer as edit and then enter the lines myself to be sure everything gets into the venv correctly. Personally I don't mind, it helps me learn off your work. Thank you for all your hard work.

VDR

I get these errors. Any thoughts on why this happens? WARNING: Failed to find MSVC. WARNING: Failed to find Windows SDK. WARNING: Failed to find CUDA. A matching Triton is not available, some optimizations will not be enabled Traceback (most recent call last): File "D:\CogVid\CogVideo\venv\Lib\site-packages\xformers\__init__.py", line 57, in _is_triton_available import triton # noqa ^^^^^^^^^^^^^ File "D:\CogVid\CogVideo\venv\Lib\site-packages\triton\__init__.py", line 20, in from .runtime import ( File "D:\CogVid\CogVideo\venv\Lib\site-packages\triton\runtime\__init__.py", line 1, in from .autotuner import (Autotuner, Config, Heuristics, autotune, heuristics) File "D:\CogVid\CogVideo\venv\Lib\site-packages\triton\runtime\autotuner.py", line 9, in from ..testing import do_bench, do_bench_cudagraph File "D:\CogVid\CogVideo\venv\Lib\site-packages\triton\testing.py", line 7, in from . import language as tl File "D:\CogVid\CogVideo\venv\Lib\site-packages\triton\language\__init__.py", line 4, in from . import math File "D:\CogVid\CogVideo\venv\Lib\site-packages\triton\language\math.py", line 1, in from . import core File "D:\CogVid\CogVideo\venv\Lib\site-packages\triton\language\core.py", line 10, in from ..runtime.jit import jit File "D:\CogVid\CogVideo\venv\Lib\site-packages\triton\runtime\jit.py", line 12, in from ..runtime.driver import driver File "D:\CogVid\CogVideo\venv\Lib\site-packages\triton\runtime\driver.py", line 1, in from ..backends import backends File "D:\CogVid\CogVideo\venv\Lib\site-packages\triton\backends\__init__.py", line 50, in backends = _discover_backends() ^^^^^^^^^^^^^^^^^^^^ File "D:\CogVid\CogVideo\venv\Lib\site-packages\triton\backends\__init__.py", line 43, in _discover_backends compiler = _load_module(name, os.path.join(root, name, 'compiler.py')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\CogVid\CogVideo\venv\Lib\site-packages\triton\backends\__init__.py", line 12, in _load_module spec.loader.exec_module(module) File "D:\CogVid\CogVideo\venv\Lib\site-packages\triton\backends\amd\compiler.py", line 2, in from triton._C.libtriton import ir, passes, llvm, amd ImportError: DLL load failed while importing libtriton: Произошел сбой в программе инициализации библиотеки динамической компоновки (DLL). import error: DLL load failed while importing libtriton: Произошел сбой в программе инициализации библиотеки динамической компоновки (DLL). ИНФОРМАЦИЯ: не удается найти файлы по заданным шаблонам. * Running on local URL: http://127.0.0.1:7860 To create a public link, set `share=True` in `launch()`. Downloading shards: 100%|██████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 4001.24it/s] Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████| 4/4 [00:08<00:00, 2.04s/it] Loading pipeline components...: 0%| | 0/5 [00:00

VDR

I'm afraid I don't have enough patience to find and install all the missing components :) It's easier for me to provide support above, so that you do everything for me, and I just click the "generate" button and don't have any problems :) I'll write you a private message later and update the tariff plan.

VDR

I have written you a private message. I would appreciate it if you could reply so I can increase the level of support to what is needed :)