lycoris-lora 3.0.0.dev11__tar.gz → 3.0.0.dev12__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.0.dev11/lycoris_lora.egg-info → lycoris_lora-3.0.0.dev12}/PKG-INFO +1 -1
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/modules/__init__.py +1 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/modules/lokr.py +6 -2
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12/lycoris_lora.egg-info}/PKG-INFO +1 -1
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/setup.py +1 -1
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/LICENSE.md +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/README.md +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/__init__.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/config.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/functional/__init__.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/functional/general.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/functional/locon.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/functional/loha.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/functional/lokr.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/kohya.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/logging.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/modules/base.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/modules/boft.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/modules/diag_oft.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/modules/dylora.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/modules/full.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/modules/glora.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/modules/ia3.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/modules/locon.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/modules/loha.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/modules/norms.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/utils/__init__.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/utils/bnb.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/utils/general.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/utils/logger.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/utils/preset.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/utils/xformers_utils.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris/wrapper.py +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris_lora.egg-info/SOURCES.txt +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris_lora.egg-info/dependency_links.txt +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris_lora.egg-info/not-zip-safe +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris_lora.egg-info/requires.txt +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris_lora.egg-info/top_level.txt +0 -0
- {lycoris_lora-3.0.0.dev11 → lycoris_lora-3.0.0.dev12}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lycoris_lora
|
|
3
|
-
Version: 3.0.0.
|
|
3
|
+
Version: 3.0.0.dev12
|
|
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
|
|
@@ -137,7 +137,11 @@ class LokrModule(LycorisBaseModule):
|
|
|
137
137
|
(in_m, in_n),
|
|
138
138
|
) # ((a, b), (c, d)), out_dim = a*c, in_dim = b*d
|
|
139
139
|
# smaller part. weight scale
|
|
140
|
-
if
|
|
140
|
+
if (
|
|
141
|
+
decompose_both
|
|
142
|
+
and lora_dim < max(shape[0][0], shape[1][0]) / 2
|
|
143
|
+
and not self.full_matrix
|
|
144
|
+
):
|
|
141
145
|
self.lokr_w1_a = nn.Parameter(torch.empty(shape[0][0], lora_dim))
|
|
142
146
|
self.lokr_w1_b = nn.Parameter(torch.empty(lora_dim, shape[1][0]))
|
|
143
147
|
else:
|
|
@@ -145,7 +149,7 @@ class LokrModule(LycorisBaseModule):
|
|
|
145
149
|
self.lokr_w1 = nn.Parameter(
|
|
146
150
|
torch.empty(shape[0][0], shape[1][0])
|
|
147
151
|
) # a*c, 1-mode
|
|
148
|
-
if lora_dim < max(shape[0][1], shape[1][1]) / 2:
|
|
152
|
+
if lora_dim < max(shape[0][1], shape[1][1]) / 2 and not self.full_matrix:
|
|
149
153
|
# bigger part. weight and LoRA. [b, dim] x [dim, d]
|
|
150
154
|
self.lokr_w2_a = nn.Parameter(torch.empty(shape[0][1], lora_dim))
|
|
151
155
|
self.lokr_w2_b = nn.Parameter(torch.empty(lora_dim, shape[1][1]))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lycoris_lora
|
|
3
|
-
Version: 3.0.0.
|
|
3
|
+
Version: 3.0.0.dev12
|
|
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.0.
|
|
7
|
+
version="3.0.0.dev12",
|
|
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.0.dev11 → lycoris_lora-3.0.0.dev12}/lycoris_lora.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|