lycoris-lora 3.0.1.dev2__tar.gz → 3.0.1.dev4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lycoris_lora-3.0.1.dev2/lycoris_lora.egg-info → lycoris_lora-3.0.1.dev4}/PKG-INFO +1 -1
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/config.py +10 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/kohya.py +2 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/modules/norms.py +2 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/wrapper.py +1 -1
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4/lycoris_lora.egg-info}/PKG-INFO +1 -1
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/setup.py +1 -1
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/LICENSE.md +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/README.md +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/__init__.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/functional/__init__.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/functional/boft.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/functional/diag_oft.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/functional/general.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/functional/locon.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/functional/loha.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/functional/lokr.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/logging.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/modules/__init__.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/modules/base.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/modules/boft.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/modules/diag_oft.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/modules/dylora.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/modules/full.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/modules/glora.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/modules/ia3.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/modules/locon.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/modules/loha.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/modules/lokr.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/utils/__init__.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/utils/bnb.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/utils/general.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/utils/logger.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/utils/preset.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris/utils/xformers_utils.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris_lora.egg-info/SOURCES.txt +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris_lora.egg-info/dependency_links.txt +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris_lora.egg-info/not-zip-safe +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris_lora.egg-info/requires.txt +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris_lora.egg-info/top_level.txt +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/setup.cfg +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/test/__init__.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/test/functional.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/test/kohya.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/test/module.py +0 -0
- {lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/test/wrapper.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lycoris_lora
|
|
3
|
-
Version: 3.0.1.
|
|
3
|
+
Version: 3.0.1.dev4
|
|
4
4
|
Summary: Lora beYond Conventional methods, Other Rank adaptation Implementations for Stable diffusion
|
|
5
5
|
Home-page: https://github.com/KohakuBlueleaf/LyCORIS
|
|
6
6
|
Author: Shih-Ying Yeh(KohakuBlueLeaf), Yu-Guan Hsieh, Zhidong Gao
|
|
@@ -7,6 +7,8 @@ PRESET = {
|
|
|
7
7
|
"Downsample2D",
|
|
8
8
|
"Upsample2D",
|
|
9
9
|
"HunYuanDiTBlock",
|
|
10
|
+
"DoubleStreamBlock",
|
|
11
|
+
"SingleStreamBlock",
|
|
10
12
|
],
|
|
11
13
|
"unet_target_name": [
|
|
12
14
|
"conv_in",
|
|
@@ -28,6 +30,8 @@ PRESET = {
|
|
|
28
30
|
"Transformer2DModel",
|
|
29
31
|
"ResnetBlock2D",
|
|
30
32
|
"HunYuanDiTBlock",
|
|
33
|
+
"DoubleStreamBlock",
|
|
34
|
+
"SingleStreamBlock",
|
|
31
35
|
],
|
|
32
36
|
"unet_target_name": [
|
|
33
37
|
"time_embedding.linear_1",
|
|
@@ -46,6 +50,8 @@ PRESET = {
|
|
|
46
50
|
"unet_target_module": [
|
|
47
51
|
"Transformer2DModel",
|
|
48
52
|
"HunYuanDiTBlock",
|
|
53
|
+
"DoubleStreamBlock",
|
|
54
|
+
"SingleStreamBlock",
|
|
49
55
|
],
|
|
50
56
|
"unet_target_name": [],
|
|
51
57
|
"text_encoder_target_module": [
|
|
@@ -78,6 +84,8 @@ PRESET = {
|
|
|
78
84
|
"Downsample2D",
|
|
79
85
|
"Upsample2D",
|
|
80
86
|
"HunYuanDiTBlock",
|
|
87
|
+
"DoubleStreamBlock",
|
|
88
|
+
"SingleStreamBlock",
|
|
81
89
|
],
|
|
82
90
|
"unet_target_name": [
|
|
83
91
|
"conv_in",
|
|
@@ -93,6 +101,8 @@ PRESET = {
|
|
|
93
101
|
"unet_target_module": [
|
|
94
102
|
"Transformer2DModel",
|
|
95
103
|
"HunYuanDiTBlock",
|
|
104
|
+
"DoubleStreamBlock",
|
|
105
|
+
"SingleStreamBlock",
|
|
96
106
|
],
|
|
97
107
|
"unet_target_name": [],
|
|
98
108
|
"text_encoder_target_module": [],
|
|
@@ -37,12 +37,14 @@ class NormModule(LycorisBaseModule):
|
|
|
37
37
|
if self.module_type == "unknown":
|
|
38
38
|
if not hasattr(org_module, "weight") or not hasattr(org_module, "_norm"):
|
|
39
39
|
warning_once(f"{type(org_module)} is not supported in Norm algo.")
|
|
40
|
+
self.not_supported=True
|
|
40
41
|
return
|
|
41
42
|
else:
|
|
42
43
|
self.dim = org_module.weight.numel()
|
|
43
44
|
self.not_supported = False
|
|
44
45
|
elif self.module_type not in self.support_module:
|
|
45
46
|
warning_once(f"{self.module_type} is not supported in Norm algo.")
|
|
47
|
+
self.not_supported=True
|
|
46
48
|
return
|
|
47
49
|
|
|
48
50
|
self.w_norm = nn.Parameter(torch.zeros(self.dim))
|
|
@@ -334,7 +334,7 @@ class LycorisNetwork(torch.nn.Module):
|
|
|
334
334
|
next_config = self.MODULE_ALGO_MAP[module_name]
|
|
335
335
|
next_algo = next_config.get("algo", algo)
|
|
336
336
|
new_loras, new_lora_names = create_modules_(
|
|
337
|
-
f"{prefix}_{name}", module, next_algo, next_config
|
|
337
|
+
f"{prefix}_{name}" if name else prefix, module, next_algo, next_config
|
|
338
338
|
)
|
|
339
339
|
for lora_name, lora in zip(new_lora_names, new_loras):
|
|
340
340
|
if lora_name not in loras:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lycoris_lora
|
|
3
|
-
Version: 3.0.1.
|
|
3
|
+
Version: 3.0.1.dev4
|
|
4
4
|
Summary: Lora beYond Conventional methods, Other Rank adaptation Implementations for Stable diffusion
|
|
5
5
|
Home-page: https://github.com/KohakuBlueleaf/LyCORIS
|
|
6
6
|
Author: Shih-Ying Yeh(KohakuBlueLeaf), Yu-Guan Hsieh, Zhidong Gao
|
|
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
|
|
|
4
4
|
setup(
|
|
5
5
|
name="lycoris_lora",
|
|
6
6
|
packages=find_packages(),
|
|
7
|
-
version="3.0.1.
|
|
7
|
+
version="3.0.1.dev4",
|
|
8
8
|
url="https://github.com/KohakuBlueleaf/LyCORIS",
|
|
9
9
|
description="Lora beYond Conventional methods, Other Rank adaptation Implementations for Stable diffusion",
|
|
10
10
|
author="Shih-Ying Yeh(KohakuBlueLeaf), Yu-Guan Hsieh, Zhidong Gao",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lycoris_lora-3.0.1.dev2 → lycoris_lora-3.0.1.dev4}/lycoris_lora.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|