lt-tensor 0.0.1a20__tar.gz → 0.0.1a21__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.
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/PKG-INFO +2 -2
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/model_base.py +5 -4
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor.egg-info/PKG-INFO +2 -2
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor.egg-info/requires.txt +1 -1
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/setup.py +2 -2
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/LICENSE +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/README.md +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/__init__.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/config_templates.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/losses.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/lr_schedulers.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/math_ops.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/misc_utils.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/model_zoo/__init__.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/model_zoo/audio_models/__init__.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/model_zoo/audio_models/diffwave/__init__.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/model_zoo/audio_models/hifigan/__init__.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/model_zoo/audio_models/istft/__init__.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/model_zoo/basic.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/model_zoo/features.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/model_zoo/fusion.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/model_zoo/pos_encoder.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/model_zoo/residual.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/model_zoo/transformer.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/monotonic_align.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/noise_tools.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/processors/__init__.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/processors/audio.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/torch_commons.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/transform.py +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor.egg-info/SOURCES.txt +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor.egg-info/dependency_links.txt +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor.egg-info/top_level.txt +0 -0
- {lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: lt-tensor
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.1a21
|
4
4
|
Summary: General utilities for PyTorch and others. Built for general use.
|
5
5
|
Home-page: https://github.com/gr1336/lt-tensor/
|
6
6
|
Author: gr1336
|
@@ -17,7 +17,7 @@ Requires-Dist: numpy>=1.26.4
|
|
17
17
|
Requires-Dist: tokenizers
|
18
18
|
Requires-Dist: pyyaml>=6.0.0
|
19
19
|
Requires-Dist: numba>0.60.0
|
20
|
-
Requires-Dist: lt-utils==0.0.
|
20
|
+
Requires-Dist: lt-utils==0.0.2
|
21
21
|
Requires-Dist: librosa==0.11.*
|
22
22
|
Requires-Dist: einops
|
23
23
|
Requires-Dist: plotly
|
@@ -207,12 +207,12 @@ class Model(_Devices_Base, ABC):
|
|
207
207
|
def autocast(self, value: bool):
|
208
208
|
self._autocast = value
|
209
209
|
|
210
|
-
def freeze_all(self, exclude: Optional[List[str]] = None):
|
210
|
+
def freeze_all(self, exclude: Optional[List[str]] = None, force: bool = False):
|
211
211
|
no_exclusions = not exclude
|
212
212
|
no_exclusions = not exclude
|
213
213
|
results = []
|
214
214
|
for name, module in self.named_modules():
|
215
|
-
if name not in self.registered_freezable_modules:
|
215
|
+
if not force and name not in self.registered_freezable_modules:
|
216
216
|
results.append(
|
217
217
|
(
|
218
218
|
name,
|
@@ -228,12 +228,13 @@ class Model(_Devices_Base, ABC):
|
|
228
228
|
results.append((name, "excluded"))
|
229
229
|
return results
|
230
230
|
|
231
|
-
def unfreeze_all(self, exclude: Optional[list[str]] = None):
|
231
|
+
def unfreeze_all(self, exclude: Optional[list[str]] = None, force: bool = False):
|
232
232
|
"""Unfreezes all model parameters except specified layers."""
|
233
233
|
no_exclusions = not exclude
|
234
234
|
results = []
|
235
235
|
for name, module in self.named_modules():
|
236
|
-
if name not in self.registered_freezable_modules:
|
236
|
+
if not force and name not in self.registered_freezable_modules:
|
237
|
+
|
237
238
|
results.append(
|
238
239
|
(
|
239
240
|
name,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: lt-tensor
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.1a21
|
4
4
|
Summary: General utilities for PyTorch and others. Built for general use.
|
5
5
|
Home-page: https://github.com/gr1336/lt-tensor/
|
6
6
|
Author: gr1336
|
@@ -17,7 +17,7 @@ Requires-Dist: numpy>=1.26.4
|
|
17
17
|
Requires-Dist: tokenizers
|
18
18
|
Requires-Dist: pyyaml>=6.0.0
|
19
19
|
Requires-Dist: numba>0.60.0
|
20
|
-
Requires-Dist: lt-utils==0.0.
|
20
|
+
Requires-Dist: lt-utils==0.0.2
|
21
21
|
Requires-Dist: librosa==0.11.*
|
22
22
|
Requires-Dist: einops
|
23
23
|
Requires-Dist: plotly
|
@@ -4,7 +4,7 @@ with open("README.md", "r", encoding="utf-8") as f:
|
|
4
4
|
long_description = f.read()
|
5
5
|
|
6
6
|
setup(
|
7
|
-
version="0.0.
|
7
|
+
version="0.0.1a21",
|
8
8
|
name="lt-tensor",
|
9
9
|
description="General utilities for PyTorch and others. Built for general use.",
|
10
10
|
long_description=long_description,
|
@@ -17,7 +17,7 @@ setup(
|
|
17
17
|
"tokenizers",
|
18
18
|
"pyyaml>=6.0.0",
|
19
19
|
"numba>0.60.0",
|
20
|
-
"lt-utils==0.0.
|
20
|
+
"lt-utils==0.0.2",
|
21
21
|
"librosa==0.11.*",
|
22
22
|
"einops",
|
23
23
|
"plotly",
|
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
|
{lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/model_zoo/audio_models/diffwave/__init__.py
RENAMED
File without changes
|
{lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/model_zoo/audio_models/hifigan/__init__.py
RENAMED
File without changes
|
{lt_tensor-0.0.1a20 → lt_tensor-0.0.1a21}/lt_tensor/model_zoo/audio_models/istft/__init__.py
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|