kostyl-toolkit 0.1.27__tar.gz → 0.1.28__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.
Files changed (36) hide show
  1. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/PKG-INFO +1 -1
  2. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/schedulers/linear.py +7 -7
  3. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/pyproject.toml +1 -1
  4. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/README.md +0 -0
  5. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/__init__.py +0 -0
  6. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/__init__.py +0 -0
  7. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/clearml/__init__.py +0 -0
  8. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/clearml/dataset_utils.py +0 -0
  9. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/clearml/logging_utils.py +0 -0
  10. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/clearml/pulling_utils.py +0 -0
  11. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/configs/__init__.py +0 -0
  12. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/configs/base_model.py +0 -0
  13. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/configs/hyperparams.py +0 -0
  14. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/configs/training_settings.py +0 -0
  15. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/dist_utils.py +0 -0
  16. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/lightning/__init__.py +0 -0
  17. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/lightning/callbacks/__init__.py +0 -0
  18. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/lightning/callbacks/checkpoint.py +0 -0
  19. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/lightning/callbacks/early_stopping.py +0 -0
  20. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/lightning/callbacks/registry_uploader.py +0 -0
  21. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/lightning/extenstions/__init__.py +0 -0
  22. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/lightning/extenstions/custom_module.py +0 -0
  23. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/lightning/extenstions/pretrained_model.py +0 -0
  24. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/lightning/loggers/__init__.py +0 -0
  25. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/lightning/loggers/tb_logger.py +0 -0
  26. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/lightning/steps_estimation.py +0 -0
  27. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/metrics_formatting.py +0 -0
  28. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/params_groups.py +0 -0
  29. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/schedulers/__init__.py +0 -0
  30. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/schedulers/base.py +0 -0
  31. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/schedulers/composite.py +0 -0
  32. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/ml/schedulers/cosine.py +0 -0
  33. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/utils/__init__.py +0 -0
  34. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/utils/dict_manipulations.py +0 -0
  35. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/utils/fs.py +0 -0
  36. {kostyl_toolkit-0.1.27 → kostyl_toolkit-0.1.28}/kostyl/utils/logging.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: kostyl-toolkit
3
- Version: 0.1.27
3
+ Version: 0.1.28
4
4
  Summary: Kickass Orchestration System for Training, Yielding & Logging
5
5
  Requires-Dist: case-converter>=1.2.0
6
6
  Requires-Dist: loguru>=0.7.3
@@ -13,21 +13,21 @@ class _LinearScheduleBase(BaseScheduler):
13
13
  self,
14
14
  param_name: str,
15
15
  num_iters: int,
16
- base_value: float,
16
+ start_value: float,
17
17
  final_value: float,
18
18
  ) -> None:
19
19
  self.param_name = param_name
20
20
  self.num_iters = num_iters
21
- self.base_value = base_value
21
+ self.start_value = start_value
22
22
  self.final_value = final_value
23
23
 
24
24
  self.scheduler_values: npt.NDArray[np.float64] = np.array([], dtype=np.float64)
25
- self.current_value_ = self.base_value
25
+ self.current_value_ = self.start_value
26
26
  return
27
27
 
28
28
  def _create_scheduler(self) -> None:
29
29
  self.scheduler_values = np.linspace(
30
- self.base_value, self.final_value, num=self.num_iters, dtype=np.float64
30
+ self.start_value, self.final_value, num=self.num_iters, dtype=np.float64
31
31
  )
32
32
  if len(self.scheduler_values) != self.num_iters:
33
33
  raise ValueError(
@@ -69,7 +69,7 @@ class LinearScheduler(_LinearScheduleBase):
69
69
  optimizer: torch.optim.Optimizer,
70
70
  param_group_field: str,
71
71
  num_iters: int,
72
- base_value: float,
72
+ start_value: float,
73
73
  final_value: float,
74
74
  multiplier_field: str | None = None,
75
75
  skip_if_zero: bool = False,
@@ -83,7 +83,7 @@ class LinearScheduler(_LinearScheduleBase):
83
83
  optimizer: Optimizer whose param groups are updated in-place.
84
84
  param_group_field: Name of the field that receives the scheduled value.
85
85
  num_iters: Number of scheduler iterations before clamping at ``final_value``.
86
- base_value: Value used on the first iteration.
86
+ start_value: Value used on the first iteration.
87
87
  final_value: Value used once ``num_iters`` iterations are consumed.
88
88
  multiplier_field: Optional per-group multiplier applied to the scheduled value.
89
89
  skip_if_zero: Leave groups untouched when their target field equals zero.
@@ -99,7 +99,7 @@ class LinearScheduler(_LinearScheduleBase):
99
99
  super().__init__(
100
100
  param_name=param_group_field,
101
101
  num_iters=num_iters,
102
- base_value=base_value,
102
+ start_value=start_value,
103
103
  final_value=final_value,
104
104
  )
105
105
  self.param_group_field = param_group_field
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "kostyl-toolkit"
3
- version = "0.1.27"
3
+ version = "0.1.28"
4
4
  description = "Kickass Orchestration System for Training, Yielding & Logging "
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"