kostyl-toolkit 0.1.43__py3-none-any.whl → 0.1.45__py3-none-any.whl
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.
- kostyl/ml/configs/__init__.py +2 -0
- kostyl/ml/optim/schedulers/composite.py +4 -0
- {kostyl_toolkit-0.1.43.dist-info → kostyl_toolkit-0.1.45.dist-info}/METADATA +1 -1
- {kostyl_toolkit-0.1.43.dist-info → kostyl_toolkit-0.1.45.dist-info}/RECORD +5 -5
- {kostyl_toolkit-0.1.43.dist-info → kostyl_toolkit-0.1.45.dist-info}/WHEEL +0 -0
kostyl/ml/configs/__init__.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
from .hyperparams import OPTIMIZER_CONFIG
|
|
2
|
+
from .hyperparams import SCHEDULER
|
|
2
3
|
from .hyperparams import AdamConfig
|
|
3
4
|
from .hyperparams import AdamWithPrecisionConfig
|
|
4
5
|
from .hyperparams import HyperparamsConfig
|
|
@@ -19,6 +20,7 @@ from .training_settings import TrainingSettings
|
|
|
19
20
|
|
|
20
21
|
__all__ = [
|
|
21
22
|
"OPTIMIZER_CONFIG",
|
|
23
|
+
"SCHEDULER",
|
|
22
24
|
"AdamConfig",
|
|
23
25
|
"AdamWithPrecisionConfig",
|
|
24
26
|
"CheckpointConfig",
|
|
@@ -35,6 +35,10 @@ class CompositeScheduler(BaseScheduler):
|
|
|
35
35
|
def state_dict(self) -> dict[str, Any]:
|
|
36
36
|
return {key: value.state_dict() for key, value in self.schedulers.items()}
|
|
37
37
|
|
|
38
|
+
@override
|
|
39
|
+
def _verify(self) -> None:
|
|
40
|
+
pass
|
|
41
|
+
|
|
38
42
|
@override
|
|
39
43
|
def load_state_dict(self, state_dict: dict[str, Any]) -> None:
|
|
40
44
|
for key, value in state_dict.items():
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
kostyl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
kostyl/ml/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
kostyl/ml/base_uploader.py,sha256=KxHuohCcNK18kTVFBBqDu_IOQefluhSXOzwC56O66wc,484
|
|
4
|
-
kostyl/ml/configs/__init__.py,sha256=
|
|
4
|
+
kostyl/ml/configs/__init__.py,sha256=JDa2HLVU001_OJ0GvOwlWUcvQE1cYxmRLxTJ-Cv5FJA,1241
|
|
5
5
|
kostyl/ml/configs/hyperparams.py,sha256=poOsR6xbE6jHO02GzxXfbz-6PA0HqULgcTgiuT_4oOM,4401
|
|
6
6
|
kostyl/ml/configs/mixins.py,sha256=xHHAoRoPbzP9ECFP9duzg6SzegHcoLI8Pr9NrLoWNHs,1411
|
|
7
7
|
kostyl/ml/configs/training_settings.py,sha256=U3K45eLVrHTOfZ7p9TqTKjGWd4sdjKmJOe3a6U9kUWw,2877
|
|
@@ -28,7 +28,7 @@ kostyl/ml/optim/__init__.py,sha256=GgCr94WbiM-7MVDf6fPlbeUSxS33ufn_UAmqfKerElc,1
|
|
|
28
28
|
kostyl/ml/optim/factory.py,sha256=sPFIQkzIA4DKpny1hrcxHTKjEOXcbwLVy2CI9ZGZ938,10713
|
|
29
29
|
kostyl/ml/optim/schedulers/__init__.py,sha256=lVwWj_mtUDo5OLtr8NNljLQgWGJUKPJWV7bm6-997ag,1486
|
|
30
30
|
kostyl/ml/optim/schedulers/base.py,sha256=bjmwgdZpnSqpCnHPnKC6MEiRO79cwxMJpZq-eQVNs2M,1353
|
|
31
|
-
kostyl/ml/optim/schedulers/composite.py,sha256=
|
|
31
|
+
kostyl/ml/optim/schedulers/composite.py,sha256=4dDTVBaUbFiW4Z1kHyZDeRu-pxbAk4EfPpQb6Jxm2Pc,2446
|
|
32
32
|
kostyl/ml/optim/schedulers/cosine.py,sha256=LnFujAKaM8v5soPwiWG899nUMeaeAe8oTiaJqvoQxg8,8705
|
|
33
33
|
kostyl/ml/optim/schedulers/linear.py,sha256=hlHfU88WLwfke8XGmRUzRKmEpqyyaLb4RRqq6EIzIxU,5881
|
|
34
34
|
kostyl/ml/optim/schedulers/plateau.py,sha256=kjHivSp2FIMXExgS0q_Wbxk9pEHnuzhrIu4TQ59kYNw,11255
|
|
@@ -37,6 +37,6 @@ kostyl/utils/__init__.py,sha256=hkpmB6c5pr4Ti5BshOROebb7cvjDZfNCw83qZ_FFKMM,240
|
|
|
37
37
|
kostyl/utils/dict_manipulations.py,sha256=e3vBicID74nYP8lHkVTQc4-IQwoJimrbFELy5uSF6Gk,1073
|
|
38
38
|
kostyl/utils/fs.py,sha256=gAQNIU4R_2DhwjgzOS8BOMe0gZymtY1eZwmdgOdDgqo,510
|
|
39
39
|
kostyl/utils/logging.py,sha256=CgNFNogcK0hoZmygvBWlTcq5A3m2Pfv9eOAP_gwx0pM,6633
|
|
40
|
-
kostyl_toolkit-0.1.
|
|
41
|
-
kostyl_toolkit-0.1.
|
|
42
|
-
kostyl_toolkit-0.1.
|
|
40
|
+
kostyl_toolkit-0.1.45.dist-info/WHEEL,sha256=fAguSjoiATBe7TNBkJwOjyL1Tt4wwiaQGtNtjRPNMQA,80
|
|
41
|
+
kostyl_toolkit-0.1.45.dist-info/METADATA,sha256=EhRRwmvNnREw4is4OGLPBHYIfubGu_lp142gnkL01hY,4121
|
|
42
|
+
kostyl_toolkit-0.1.45.dist-info/RECORD,,
|
|
File without changes
|