lycoris-lora 3.0.0.dev5__tar.gz → 3.0.0.dev7__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.dev5/lycoris_lora.egg-info → lycoris_lora-3.0.0.dev7}/PKG-INFO +1 -1
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/kohya.py +2 -2
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/modules/locon.py +3 -3
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7/lycoris_lora.egg-info}/PKG-INFO +1 -1
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/setup.py +1 -1
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/LICENSE.md +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/README.md +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/__init__.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/config.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/functional/__init__.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/functional/general.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/functional/locon.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/functional/loha.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/logging.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/modules/__init__.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/modules/base.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/modules/boft.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/modules/diag_oft.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/modules/dylora.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/modules/full.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/modules/glora.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/modules/ia3.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/modules/loha.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/modules/lokr.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/modules/norms.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/utils/__init__.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/utils/bnb.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/utils/general.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/utils/logger.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/utils/preset.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/utils/xformers_utils.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris/wrapper.py +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris_lora.egg-info/SOURCES.txt +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris_lora.egg-info/dependency_links.txt +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris_lora.egg-info/not-zip-safe +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris_lora.egg-info/requires.txt +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris_lora.egg-info/top_level.txt +0 -0
- {lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/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.dev7
|
|
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
|
|
@@ -612,7 +612,7 @@ class LycorisNetworkKohya(LycorisNetwork):
|
|
|
612
612
|
if metadata is None:
|
|
613
613
|
metadata = {}
|
|
614
614
|
model_hash, legacy_hash = precalculate_safetensors_hashes(
|
|
615
|
-
state_dict
|
|
615
|
+
state_dict
|
|
616
616
|
)
|
|
617
617
|
metadata["sshs_model_hash"] = model_hash
|
|
618
618
|
metadata["sshs_legacy_hash"] = legacy_hash
|
|
@@ -846,7 +846,7 @@ class IA3Network(torch.nn.Module):
|
|
|
846
846
|
if metadata is None:
|
|
847
847
|
metadata = {}
|
|
848
848
|
model_hash, legacy_hash = precalculate_safetensors_hashes(
|
|
849
|
-
state_dict
|
|
849
|
+
state_dict
|
|
850
850
|
)
|
|
851
851
|
metadata["sshs_model_hash"] = model_hash
|
|
852
852
|
metadata["sshs_legacy_hash"] = legacy_hash
|
|
@@ -154,8 +154,8 @@ class LoConModule(LycorisBaseModule):
|
|
|
154
154
|
)
|
|
155
155
|
|
|
156
156
|
def make_weight(self, device=None):
|
|
157
|
-
wa = self.lora_up.weight
|
|
158
|
-
wb = self.lora_down.weight
|
|
157
|
+
wa = self.lora_up.weight.to(device)
|
|
158
|
+
wb = self.lora_down.weight.to(device)
|
|
159
159
|
if self.tucker:
|
|
160
160
|
t = self.lora_mid.weight
|
|
161
161
|
wa = wa.view(wa.size(0), -1).transpose(0, 1)
|
|
@@ -174,7 +174,7 @@ class LoConModule(LycorisBaseModule):
|
|
|
174
174
|
drop /= drop.mean()
|
|
175
175
|
weight *= drop
|
|
176
176
|
|
|
177
|
-
return weight * self.scalar
|
|
177
|
+
return weight * self.scalar.to(device)
|
|
178
178
|
|
|
179
179
|
def get_diff_weight(self, multiplier=1, shape=None, device=None):
|
|
180
180
|
scale = self.scale * multiplier
|
|
@@ -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.dev7
|
|
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.dev7",
|
|
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
|
{lycoris_lora-3.0.0.dev5 → lycoris_lora-3.0.0.dev7}/lycoris_lora.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|