Commit Graph

18 Commits

Author SHA1 Message Date
CrossProduct 80f653f336 Passed data in for validation. 2025-01-25 03:07:12 +00:00
CrossProduct 305a4a994d Need to pass in image ref video. 2025-01-24 05:21:53 +00:00
CrossProduct b73d61ae4d saving more changes related to args. 2025-01-17 06:40:06 +00:00
CrossProduct 315431be0a Recommit the conditioning code. 2025-01-16 05:03:44 +00:00
ArEnSc e5df80cc36 Full Finetuning for LTX possibily extended to other models. (#192)
* Full Finetuning for LTX possibily extended to other models.

* Change name of the flag

* Used disable grad for component on lora fine tuning enabled

* Suggestions Addressed
Renamed to SFT
Added 2 other models.
Testing required.

* Switching to Full FineTuning

* Run linter.

* parse subfolder when needed.

* tackle saving and loading hooks.

* tackle validation.

* fix subfolder bug.

* remove __class__.

* refactor

* remove unnecessary changes

* handle saving of final model weights correctly

* remove unnecessary changes

* LTX uses a default frame rate of 24 FPS
We need to modify the output validation framerate to match that value.
Add Framerate args.
Add Update video output and inference frame rate

* There was a results_args mapping that needed to be modified.

* update

* update README

* Update README.md

* update docs

* add training configuration in cogvideox

---------

Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
Co-authored-by: Aryan <aryan@huggingface.co>
Co-authored-by: Aryan <contact.aryanvs@gmail.com>
2025-01-13 23:55:39 +05:30
Aryan a3898075d1 Helpful mesages (#210) 2025-01-11 06:35:28 +05:30
Aryan d3b797ee35 Improve argument handling (#209) 2025-01-11 06:18:13 +05:30
Aryan 81bf590a91 Argument descriptions (#208)
* add argument descriptions

* update

* update

* update
2025-01-11 05:06:02 +05:30
Aryan 38413aa167 Allow images; Remove LLM generated prefixes; Allow JSON/JSONL; Fix bugs (#158)
* update

* update

* fix

* Update finetrainers/dataset.py

* update

* argument for enabling remove of common llm prefixes

* update

* make new generator for validation

* update

* update

* update

* update

* update
2025-01-06 18:52:54 +05:30
Sayak Paul b8352abf70 Support CogVideoX T2V (#165)
* support cog t2v.

* generator.

* updates

* style

* fixes

* fix padding frames.

Co-authored-by: zRzRzRzRzRzRzR <Yuxuan.Zhang2104@student.xjtlu.edu.cn>

* revert changes related to generator.

* refactor a lot of things.

* accept revision and cache_dir.

* remove unused var

* refactoring fixes.

* refactor

* update

* update

---------

Co-authored-by: zRzRzRzRzRzRzR <Yuxuan.Zhang2104@student.xjtlu.edu.cn>
Co-authored-by: Aryan <aryan@huggingface.co>
2025-01-03 10:53:16 +05:30
Sayak Paul 191ea8b0cc [optimization] support 8bit optims from bistandbytes (#163)
* support 8bit optims from bnb.

* fix exist_ok

* use_8bit_bnb.

* fix.

* note in readme.
2024-12-30 14:03:56 +05:30
Aryan a19401e84f update README; remove print; make style 2024-12-27 07:19:16 +01:00
sayakpaul 1d5e0566fb private 2024-12-26 08:01:16 +05:30
sayakpaul 6b54867c3c fixes 2024-12-25 21:34:56 +05:30
Aryan 2858346b27 address review 2024-12-23 15:11:03 +01:00
Aryan 66189c804b update 2024-12-20 10:03:39 +01:00
Aryan 223add1a59 Hunyuan Video LoRA (#126)
* add hunyuan-video lora support

* minor fixes; make style

* update readme

* update

* update

* Update README.md

* Update README.md

Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>

* update

* update

* change move train scripts to internal directory

* update

---------

Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
2024-12-20 08:02:08 +05:30
Aryan 9ef58e2f3a LTX Video (#123)
* rename files

* ltx finetuning

* update

* update

* improvements

* make style

* gradient clipping

* update

* fix distributed inference

* update

* update
2024-12-19 04:27:36 +05:30