正在加载视频...

视频加载失败

AI Toolkit now officially supports training Lightricks LTX-2 LoRAs.

18,799 次观看 • 10 个月前 •via X (Twitter)

30 条评论

Ostris 的头像
Ostris10 个月前

I will work on getting some docs and a tutorial put together today/tomorrow, but basically for the dataset, just make sure it is trimmed to the proper length for 24 fps. Frame count is (seconds * 24) + 1. So 5 second videos is 121 frames. 5 * 24 + 1 = 121

Ostris 的头像
Ostris10 个月前

If you appreciate my work or find it useful, please consider contributing.

Ostris 的头像
Ostris10 个月前

These are the important settings to train on 5 second videos on a 5090 with 64 GB of CPU ram.

Hug Life 的头像
Hug Life9 个月前

@Lightricks

Thalion Gilrandir 的头像
Thalion Gilrandir10 个月前

@Lightricks Amazing, thanks for your hard work with all the models !!!

Christopher Moonlight Productions 的头像
Christopher Moonlight Productions10 个月前

@Lightricks I'm just about to install LTX-2 into my new rig with a 5090. So far I'm terrible at all this but I want to lean how to train it. Where do I begin?

ka chun cheng 的头像
ka chun cheng10 个月前

@Lightricks Thank you for your work!

XRWorld 的头像
XRWorld10 个月前

@Lightricks Would be great if AI Toolkit could work with comfyui models and not diffusers. It is painful to download all these shards.

Ivan Fioravanti ᯅ 的头像
Ivan Fioravanti ᯅ10 个月前

@Lightricks Pure power! Amazing job! 🔥

Movan 的头像
Movan10 个月前

@Lightricks Can we train on 30 fps ?

Ostris 的头像
Ostris10 个月前

@Lightricks Currently it is hardcoded to 24fps in order to sync the audio. Also, temporal compression is a factor of 8, so anything other than 8, 16, 24, 32, etc is not possible.

Movan 的头像
Movan10 个月前

@Lightricks I see

Open Source AI 的头像
Open Source AI9 个月前

@Lightricks Fantastic , started my first lora with 300 pictures , gpu load is around 13% on a Blackwell 6000 (7.5s/Iter) , other models are at 100% . Any idea ?

Ostris 的头像
Ostris9 个月前

@Lightricks Cache latents (pull latest first) and text embeddings, turn off offloading.

Open Source AI 的头像
Open Source AI9 个月前

@Lightricks thank you 🙏

ρŁ𝐀𝔰Mʘ 的头像
ρŁ𝐀𝔰Mʘ10 个月前

@Lightricks YES

legarth 的头像
legarth10 个月前

@Lightricks And VRAM considerations for a RTX 6000? Or do i not need to worry about it. Also can you do character lora's with images only?

John D. Pope  🦒 的头像
John D. Pope 🦒10 个月前

@Lightricks Well done.👍 how long ?

shanzhu 的头像
shanzhu10 个月前

@Lightricks nice

T8star 的头像
T8star9 个月前

Hello, I have a question. When I train with images, the results are very good. However, when I train with videos, I found a problem. The audio fits faster, but the video part hasn't been fully fitted yet. If I continue training, LoRa will force it to read according to the audio text, completely ignoring the prompt words. But if the number of steps is not enough, the audio can be controlled, but the training of video, such as face recognition, hasn't been fully fitted. Currently, when the number of steps is not particularly high, I can only reduce the weight of LoRa, but the effect is still not very good because the model weights of audio and video cannot be separated. What are your good suggestions

Ostris 的头像
Ostris9 个月前

@Lightricks You could try training with both an image dataset and a video dataset at the same time.

T8star 的头像
T8star9 个月前

@Lightricks thanks,let me try

HeyLGros 的头像
HeyLGros10 个月前

@Lightricks "Ostris Ai Toolclit" My brain is playing tricks on me.

Lucas P YEHUA ⬛️🟨⬜️ 🇹🇼 的头像
Lucas P YEHUA ⬛️🟨⬜️ 🇹🇼10 个月前

@Lightricks Legend!

The Gaslight Detective ® 的头像
The Gaslight Detective ®10 个月前

@Lightricks Holy shit

BigFuLove 的头像
BigFuLove10 个月前

@Lightricks Can I train Lora on rtx 5080 + 64 GB RAM?

Alpha Girth 🔞 的头像
Alpha Girth 🔞10 个月前

@Lightricks I am getting a dataset error. It says there are no images, but I have a dataset of 14 videos with captions in the dataset. Any idea? : AssertionErrorAssertionError: : no images found in /app/ai-toolkit/datasets/loratestno images found in /app/ai-toolkit/datasets/loratest

Ostris 的头像
Ostris10 个月前

@Lightricks On the dataset, you have to designate number of frames. If it is 1, it looks for images, if it is more than 1, it looks for videos. I assume you have it set to 1.

Alpha Girth 🔞 的头像
Alpha Girth 🔞10 个月前

@Lightricks yep. that was 100% it! Sorry to take your time with such a newb question. Sending $20 your way via PayPal when I cash out from Patreon this evening. I truly appreciate your hard work!

Ostris 的头像
Ostris10 个月前

@Lightricks Thank you. No issue at all, I need to surface that error, better, you are not the first today to run into it.

相关视频