torch-tk 1.2__tar.gz → 1.2.2__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 (30) hide show
  1. {torch_tk-1.2/src/torch_tk.egg-info → torch_tk-1.2.2}/PKG-INFO +10 -1
  2. {torch_tk-1.2 → torch_tk-1.2.2}/README.md +9 -0
  3. {torch_tk-1.2 → torch_tk-1.2.2}/pyproject.toml +1 -1
  4. torch_tk-1.2.2/src/torch_tk/training/__init__.py +2 -0
  5. {torch_tk-1.2 → torch_tk-1.2.2/src/torch_tk.egg-info}/PKG-INFO +10 -1
  6. torch_tk-1.2/src/torch_tk/training/__init__.py +0 -1
  7. {torch_tk-1.2 → torch_tk-1.2.2}/LICENSE +0 -0
  8. {torch_tk-1.2 → torch_tk-1.2.2}/setup.cfg +0 -0
  9. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/__init__.py +0 -0
  10. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/checkpoints/__init__.py +0 -0
  11. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/checkpoints/checkpoint_manager.py +0 -0
  12. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/checkpoints/utils.py +0 -0
  13. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/diagnostics/__init__.py +0 -0
  14. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/diagnostics/diagnostics.py +0 -0
  15. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/diagnostics/loss.py +0 -0
  16. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/diagnostics/plotting.py +0 -0
  17. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/models/__init__.py +0 -0
  18. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/models/model.py +0 -0
  19. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/models/utils.py +0 -0
  20. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/optimizers/__init__.py +0 -0
  21. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/optimizers/adam.py +0 -0
  22. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/optimizers/sgd.py +0 -0
  23. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/optimizers/sgd_manual.py +0 -0
  24. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/test.py +0 -0
  25. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk/training/trainer.py +0 -0
  26. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk.egg-info/SOURCES.txt +0 -0
  27. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk.egg-info/dependency_links.txt +0 -0
  28. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk.egg-info/requires.txt +0 -0
  29. {torch_tk-1.2 → torch_tk-1.2.2}/src/torch_tk.egg-info/top_level.txt +0 -0
  30. {torch_tk-1.2 → torch_tk-1.2.2}/tests/test_test.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: torch-tk
3
- Version: 1.2
3
+ Version: 1.2.2
4
4
  Summary: Streamlines training, checkpoint management, and diagnostics of PyTorch models.
5
5
  Author-email: Jan Kazil <jan.kazil.dev@gmail.com>
6
6
  License-Expression: BSD-3-Clause
@@ -228,6 +228,10 @@ Provides utilities for plotting diagnostics.
228
228
 
229
229
  ## Development
230
230
 
231
+ ### Code Development Commands
232
+
233
+ - `make setup-dev-env` - Creates an editable conda development environment with all required dependencies.
234
+
231
235
  ### Code Quality and Testing Commands
232
236
 
233
237
  - `make fmt` - Runs `ruff format`, which reformats Python files according to the style rules in `pyproject.toml`.
@@ -236,6 +240,11 @@ Provides utilities for plotting diagnostics.
236
240
  - `make type` - Currently disabled. Intended to run `mypy` using the settings in `pyproject.toml`.
237
241
  - `make test` - Runs `pytest` with the test settings configured in `pyproject.toml`.
238
242
 
243
+ ### Code Publishing Commands
244
+
245
+ - `make upload-pypi` - Uploads the package to pypi.org (credentials required)
246
+ - `make upload-anaconda` - Uploads the package to anaconda.org (credentials required)
247
+
239
248
  ## Author
240
249
 
241
250
  Jan Kazil - jan.kazil.dev@gmail.com - [jankazil.com](https://jankazil.com)
@@ -193,6 +193,10 @@ Provides utilities for plotting diagnostics.
193
193
 
194
194
  ## Development
195
195
 
196
+ ### Code Development Commands
197
+
198
+ - `make setup-dev-env` - Creates an editable conda development environment with all required dependencies.
199
+
196
200
  ### Code Quality and Testing Commands
197
201
 
198
202
  - `make fmt` - Runs `ruff format`, which reformats Python files according to the style rules in `pyproject.toml`.
@@ -201,6 +205,11 @@ Provides utilities for plotting diagnostics.
201
205
  - `make type` - Currently disabled. Intended to run `mypy` using the settings in `pyproject.toml`.
202
206
  - `make test` - Runs `pytest` with the test settings configured in `pyproject.toml`.
203
207
 
208
+ ### Code Publishing Commands
209
+
210
+ - `make upload-pypi` - Uploads the package to pypi.org (credentials required)
211
+ - `make upload-anaconda` - Uploads the package to anaconda.org (credentials required)
212
+
204
213
  ## Author
205
214
 
206
215
  Jan Kazil - jan.kazil.dev@gmail.com - [jankazil.com](https://jankazil.com)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "torch-tk"
7
- version = "1.2"
7
+ version = "1.2.2"
8
8
  description = "Streamlines training, checkpoint management, and diagnostics of PyTorch models."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -0,0 +1,2 @@
1
+ from .trainer import Trainer
2
+ from .trainer import MaskedTrainer
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: torch-tk
3
- Version: 1.2
3
+ Version: 1.2.2
4
4
  Summary: Streamlines training, checkpoint management, and diagnostics of PyTorch models.
5
5
  Author-email: Jan Kazil <jan.kazil.dev@gmail.com>
6
6
  License-Expression: BSD-3-Clause
@@ -228,6 +228,10 @@ Provides utilities for plotting diagnostics.
228
228
 
229
229
  ## Development
230
230
 
231
+ ### Code Development Commands
232
+
233
+ - `make setup-dev-env` - Creates an editable conda development environment with all required dependencies.
234
+
231
235
  ### Code Quality and Testing Commands
232
236
 
233
237
  - `make fmt` - Runs `ruff format`, which reformats Python files according to the style rules in `pyproject.toml`.
@@ -236,6 +240,11 @@ Provides utilities for plotting diagnostics.
236
240
  - `make type` - Currently disabled. Intended to run `mypy` using the settings in `pyproject.toml`.
237
241
  - `make test` - Runs `pytest` with the test settings configured in `pyproject.toml`.
238
242
 
243
+ ### Code Publishing Commands
244
+
245
+ - `make upload-pypi` - Uploads the package to pypi.org (credentials required)
246
+ - `make upload-anaconda` - Uploads the package to anaconda.org (credentials required)
247
+
239
248
  ## Author
240
249
 
241
250
  Jan Kazil - jan.kazil.dev@gmail.com - [jankazil.com](https://jankazil.com)
@@ -1 +0,0 @@
1
- from .trainer import Trainer
File without changes
File without changes
File without changes
File without changes