Update README.md
Browse files
README.md
CHANGED
@@ -10,9 +10,52 @@ tags:
|
|
10 |
pipeline_tag: image-to-video
|
11 |
---
|
12 |
|
13 |
-
|
14 |
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
This is a direct GGUF conversion of [Lightricks/ltxv-13b-0.9.7-dev](https://huggingface.co/Lightricks/LTX-Video)
|
18 |
|
|
|
10 |
pipeline_tag: image-to-video
|
11 |
---
|
12 |
|
13 |
+
Comfyui Still doesnt natively support these Quants but there is a workaround:
|
14 |
|
15 |
+
We need to edit this file Comfyui/comfy/ldm/lightricks/model.py
|
16 |
+
|
17 |
+
and change the __init__ function
|
18 |
+
|
19 |
+
from this:
|
20 |
+
|
21 |
+
|
22 |
+
def __init__(self,
|
23 |
+
in_channels=128,
|
24 |
+
cross_attention_dim=2048,
|
25 |
+
attention_head_dim=64,
|
26 |
+
num_attention_heads=32,
|
27 |
+
|
28 |
+
caption_channels=4096,
|
29 |
+
num_layers=28,
|
30 |
+
|
31 |
+
|
32 |
+
positional_embedding_theta=10000.0,
|
33 |
+
positional_embedding_max_pos=[20, 2048, 2048],
|
34 |
+
causal_temporal_positioning=False,
|
35 |
+
vae_scale_factors=(8, 32, 32),
|
36 |
+
dtype=None, device=None, operations=None, **kwargs):
|
37 |
+
|
38 |
+
|
39 |
+
to this:
|
40 |
+
|
41 |
+
def __init__(self,
|
42 |
+
in_channels=128,
|
43 |
+
cross_attention_dim=4096,
|
44 |
+
attention_head_dim=128,
|
45 |
+
num_attention_heads=32,
|
46 |
+
|
47 |
+
caption_channels=4096,
|
48 |
+
num_layers=48,
|
49 |
+
|
50 |
+
|
51 |
+
positional_embedding_theta=10000.0,
|
52 |
+
positional_embedding_max_pos=[20, 2048, 2048],
|
53 |
+
causal_temporal_positioning=False,
|
54 |
+
vae_scale_factors=(8, 32, 32),
|
55 |
+
dtype=None, device=None, operations=None, *kwargs, image_model=None):
|
56 |
+
|
57 |
+
|
58 |
+
If you want to use the 2b again just revert it and restart. After a restart the 13b model should work with this and the vae i uploaded.
|
59 |
|
60 |
This is a direct GGUF conversion of [Lightricks/ltxv-13b-0.9.7-dev](https://huggingface.co/Lightricks/LTX-Video)
|
61 |
|