comfyanonymous
4a783c2f63
Make wan work with all latent resolutions.
...
Cleanup some code.
2025-02-25 19:56:04 -05:00
comfyanonymous
f5990fa4c3
Fix issue with wan and other attention implementations.
2025-02-25 19:13:39 -05:00
comfyanonymous
65760e20d6
Change wan rope implementation to the flux one.
...
Should be more compatible.
2025-02-25 19:11:14 -05:00
comfyanonymous
3c67f6155a
WIP support for Wan t2v model.
2025-02-25 17:20:35 -05:00
comfyanonymous
114be728b1
Speedup on some models by not upcasting bfloat16 to float32 on mac.
2025-02-24 05:41:32 -05:00
comfyanonymous
117cf08066
Remove some useless code.
2025-02-22 04:45:14 -05:00
Jukka Seppänen
0b5852ed5d
Support loading and using SkyReels-V1-Hunyuan-I2V ( #6862 )
...
* Support SkyReels-V1-Hunyuan-I2V
* VAE scaling
* Fix T2V
oops
* Proper latent scaling
2025-02-18 17:06:54 -05:00
comfyanonymous
539bc3e2e0
Disable pytorch attention in VAE for AMD.
2025-02-14 05:42:14 -05:00
HishamC
f49d8d3d1e
Fix for running via DirectML ( #6542 )
...
* Fix for running via DirectML
Fix DirectML empty image generation issue with Flux1. add CPU fallback for unsupported path. Verified the model works on AMD GPUs
* fix formating
* update casual mask calculation
2025-02-11 17:11:32 -05:00
comfyanonymous
6e2027a69b
Make lumina model work with any latent resolution.
2025-02-10 00:24:20 -05:00
comfyanonymous
1908648a5b
Remove some useless code.
2025-02-06 05:00:37 -05:00
comfyanonymous
ff7449847e
Upcasting rope to fp32 seems to make no difference in this model.
2025-02-05 04:32:47 -05:00
comfyanonymous
f210ee69df
Use regular numbers for rope in lumina model.
2025-02-05 04:17:25 -05:00
comfyanonymous
eaf581f1ed
Fix lumina 2 batches.
2025-02-04 21:48:11 -05:00
comfyanonymous
24b0e00898
Fix on python 3.9
2025-02-04 04:20:56 -05:00
comfyanonymous
e03a640306
Support Lumina 2 model.
2025-02-04 04:16:30 -05:00
Dr.Lt.Data
4a3500c3ef
better guide message for sageattention ( #6634 )
2025-02-02 09:26:47 -05:00
comfyanonymous
9cc63be0a0
Remove useless code.
2025-01-23 05:56:23 -05:00
comfyanonymous
eb64454c08
Add FluxDisableGuidance node to disable using the guidance embed.
2025-01-20 14:50:24 -05:00
comfyanonymous
d439446067
Fix some cosmos fp8 issues.
2025-01-16 17:45:37 -05:00
comfyanonymous
63af9e9d90
Fix cosmos VAE failing with videos longer than 121 frames.
2025-01-16 16:30:06 -05:00
comfyanonymous
5650bfe1a9
Code refactor.
2025-01-16 07:23:54 -05:00
comfyanonymous
868a4d1551
Clean up some debug lines.
2025-01-16 04:24:39 -05:00
comfyanonymous
220f470bfa
Slightly lower hunyuan video memory usage.
2025-01-16 00:23:01 -05:00
comfyanonymous
3423ffcf70
Lower cosmos diffusion model memory usage.
2025-01-15 23:46:42 -05:00
comfyanonymous
d20c6506b5
Lower cosmos VAE memory usage by a bit.
2025-01-15 22:57:52 -05:00
comfyanonymous
8bf2059401
Optimize first attention block in cosmos VAE.
2025-01-15 21:48:46 -05:00
comfyanonymous
21a77abd0b
Remove useless code.
2025-01-13 03:52:37 -05:00
comfyanonymous
6d9f172aeb
WIP support for Nvidia Cosmos 7B and 14B text to world (video) models.
2025-01-10 09:14:16 -05:00
comfyanonymous
efae999351
Add argument to skip the output reshaping in the attention functions.
2025-01-10 06:27:37 -05:00
comfyanonymous
f57d3080b2
Cleaner handling of attention mask in ltxv model code.
2025-01-09 07:12:03 -05:00
comfyanonymous
884e96a8b8
Fix and enforce all ruff W rules.
2025-01-01 03:08:33 -05:00
comfyanonymous
014c90584e
Fix and enforce no trailing whitespace.
2024-12-31 03:16:37 -05:00
comfyanonymous
6d49092554
Fix and enforce new lines at the end of files.
2024-12-30 04:14:59 -05:00
comfyanonymous
5ff702f0bf
Remove some trailing white space.
2024-12-27 18:02:30 -05:00
comfyanonymous
e7747a1e35
Make --novram completely offload weights.
...
This flag is mainly used for testing the weight offloading, it shouldn't
actually be used in practice.
Remove useless import.
2024-12-23 01:51:08 -05:00
comfyanonymous
f1edcbd074
Comment out some useless code.
2024-12-22 23:51:14 -05:00
zhangp365
69518a310f
fixed a bug in ldm/pixart/blocks.py ( #6158 )
2024-12-22 23:44:20 -05:00
comfyanonymous
e440136a18
Fix lowvram issue with ltxv vae.
2024-12-22 23:20:17 -05:00
comfyanonymous
b38caef86c
Get rid of meshgrid warning.
2024-12-20 18:02:12 -05:00
comfyanonymous
03e2a443b2
Remove useless code.
2024-12-20 17:50:03 -05:00
comfyanonymous
058c9d8df0
Remove some useless code.
2024-12-20 17:43:50 -05:00
comfyanonymous
1dc3f45101
Some fixes/cleanups to pixart code.
...
Commented out the masking related code because it is never used in this
implementation.
2024-12-20 17:10:52 -05:00
Chenlei Hu
917717a0a4
Replace print with logging ( #6138 )
...
* Replace print with logging
* nit
* nit
* nit
* nit
* nit
* nit
2024-12-20 16:24:55 -05:00
City
a3a893abeb
Add PixArt model support ( #6055 )
...
* PixArt initial version
* PixArt Diffusers convert logic
* pos_emb and interpolation logic
* Reduce duplicate code
* Formatting
* Use optimized attention
* Edit empty token logic
* Basic PixArt LoRA support
* Fix aspect ratio logic
* PixArtAlpha text encode with conds
* Use same detection key logic for PixArt diffusers
2024-12-20 15:25:00 -05:00
comfyanonymous
de547c1399
Support new LTXV VAE.
2024-12-20 04:38:29 -05:00
comfyanonymous
c558cea96a
Small optimizations.
2024-12-18 18:23:28 -05:00
comfyanonymous
97a136ffa2
Fix regression in VAE code on old pytorch versions.
2024-12-18 03:08:28 -05:00
comfyanonymous
8dc45adbe4
Add: --use-sage-attention to enable SageAttention.
...
You need to have the library installed first.
2024-12-18 01:56:10 -05:00
comfyanonymous
2b49852ca2
Basic Hunyuan Video model support.
2024-12-16 19:35:40 -05:00