CrossProduct
3fe4de9356
Modifed the inference loop to try something. also added a copy of the configuration.
2025-02-04 23:03:42 +00:00
CrossProduct
28165e67d0
Adapter weights can be loaded.
2025-02-04 16:46:45 +00:00
CrossProduct
ea3cd5c753
Full Finetune should work with this adapter removed the residual_x
2025-01-30 00:14:44 +00:00
CrossProduct
41eec16c67
Renamed a few variables to reduce cog load.
2025-01-29 23:26:39 +00:00
CrossProduct
e4a14af8d7
Add back in the pose for both channels.
2025-01-29 22:40:18 +00:00
CrossProduct
707e001f7b
The encoder hidden states and encode attention mask sizes do not match up in the validation pipeline.
2025-01-29 05:24:06 +00:00
CrossProduct
4ab3b25c13
Make a fix to the video tensors.
2025-01-28 23:03:04 +00:00
CrossProduct
8ec35d58fb
trying training again but broke something so going back.
2025-01-28 22:36:09 +00:00
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
b7f26bd2e6
removed some code made things clearer to replace the pipeline inference which is needed for validation.
2025-01-23 23:49:24 +00:00
CrossProduct
d6b3615421
Ok adapter trains need to get the pass for validation using a skeleton.
2025-01-22 22:07:52 +00:00
CrossProduct
d631737329
Post patchify the latents.
2025-01-22 21:24:33 +00:00
CrossProduct
731f326e86
Added residual
2025-01-22 20:10:01 +00:00
CrossProduct
981767154b
modify the forward pass
2025-01-22 06:56:22 +00:00
CrossProduct
2720d24f62
Moved the norm back to prepare latents step.
...
Now its time to add the adapter layer.
2025-01-18 04:18:25 +00:00
CrossProduct
44df9e3bce
reformulate the conditioning and patchification
2025-01-18 03:11:09 +00:00
CrossProduct
59afd55775
Retested changes without conditioning it works.
2025-01-17 22:43:20 +00:00
CrossProduct
47356cd864
Testing the original code path.
...
Need to check rectified linear flow vs flow matching.
2025-01-17 06:03:45 +00:00
CrossProduct
cd66e6e58e
fixed the training pipeline to address new changes from upstream
2025-01-17 01:46:35 +00:00
CrossProduct
315431be0a
Recommit the conditioning code.
2025-01-16 05:03:44 +00:00
CrossProduct
b341b79652
Adding Conditioning Blocks to the Diffusion Transformer.
2025-01-15 22:29:47 +00:00
Aryan
354a6b9e25
reposition private methods ( #213 )
2025-01-14 00:08:04 +05:30
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
b9a6492ad1
Epoch loss ( #201 )
...
* update
* update
2025-01-09 14:22:56 +05:30
Sayak Paul
f311f16d98
[core] Fix loading of precomputed conditions and latents ( #199 )
...
* support precomputation.
* fixes
2025-01-09 12:43:03 +05:30
Aryan
dbffc80e7c
Precomputation folder name based on model name ( #196 )
...
* update
* update
* fix
* address review comments
2025-01-08 08:45:44 +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
b3d0ba8e12
support model cards ( #176 )
...
* introduce model cards and support passing FPS.
* updates
* fix
* fix
* updates
* revert changes
* revert args.py changes
* fix
* fix
* fix filename
2025-01-05 19:21:17 +05:30
Sayak Paul
a709a1cec1
fixes ( #178 )
2025-01-04 08:57:41 +05:30
Sayak Paul
071c140879
Fix scheduler bugs ( #177 )
...
* fix scheduler bugs.
* fix
2025-01-03 18:52:40 +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
018953ed86
bulk update styling and formatting ( #170 )
2025-01-02 13:20:33 +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
sayakpaul
84c17561eb
fixes
2024-12-27 15:02:21 +05:30
sayakpaul
4461cdd98f
tracker logging
2024-12-27 12:25:11 +05:30
Aryan
a19401e84f
update README; remove print; make style
2024-12-27 07:19:16 +01:00
sayakpaul
87af1a0113
Merge branch 'main' into support-deepspeed
2024-12-26 08:17:48 +05:30
sayakpaul
1d5e0566fb
private
2024-12-26 08:01:16 +05:30
Sayak Paul
0309f3bf67
Apply suggestions from code review
...
Co-authored-by: Aryan <aryan@huggingface.co >
2024-12-26 08:00:04 +05:30
sayakpaul
0c0a0a5e4a
scheduler
2024-12-26 07:55:07 +05:30
sayakpaul
28ecfe6b65
torch.is_tensor check
2024-12-26 07:49:51 +05:30
Aryan
2a594ea2db
fix validation bug ( #149 )
2024-12-26 02:54:08 +05:30
Aryan
5757b1b886
fix grad norm related logging
2024-12-25 19:25:22 +01:00
sayakpaul
6b54867c3c
fixes
2024-12-25 21:34:56 +05:30
Aryan
47e4aaac2f
track grad norm for deepspeed
2024-12-25 15:04:16 +01:00
Aryan
e2178deea0
fix deadlock; make style
2024-12-25 14:16:31 +01:00
sayakpaul
d7aa50917f
fixes
2024-12-25 12:07:50 +05:30
sayakpaul
875cb72f63
address review feedback.
2024-12-24 21:20:37 +05:30
sayakpaul
6329e9ed07
support DeepSpeed.
2024-12-24 10:59:21 +05:30