Releases: catalyst-team/catalyst
Releases · catalyst-team/catalyst
Catalyst 22.04
Catalyst 22.02.1
Catalyst 22.02
[22.02] - 2022-02-13
Tl;dr
- Catalyst architecture simplification.
- #1395, #1396, #1397, #1398, #1399, #1400, #1401, #1402, #1403.
Added
- Additional tests for different hardware accelerators setups. Please check out the
tests/pipelinesfolder for more information. BackwardCallbackandBackwardCallbackOrderas an abstraction on top ofloss.backward. Now you could easily log model gradients or transform them beforeOptimizerCallback.CheckpointCallbackOrderforICheckpointCallback.
Changed
- Minimal python version moved to
3.7, minimal PyTorch version moved to1.4.0. - Engines were rewritten on top of Accelerate. First, we found these two abstractions very close to each other. Second, Accelerate provides additional user-friendly API and more stable API for "Nvidia APEX" and "Facebook Fairscale" - it does not support them.
- SelfSupervisedRunner moved to the
examplesfolder from the Catalyst API. The only Runners API, that will be supported in the future:IRunner,Runner,ISupervisedRunner,SupervisedRunnerdue to their consistency. If you are interested in any other Runner API - feel free to write your ownCustomRunnerand useSelfSupervisedRunneras an example. Runner.{global/stage}_{batch/loader/epoch}_metricsrenamed toRunner.{batch/loader/epoch}_metricsCheckpointCallbackrewritten from scratch.- Catalyst registry moved to full-imports-paths only.
- Logger API changed to receive
IRunnerfor alllog_*methods. - Metric API:
topk_argsrenamed totopk. - Contrib API: init imports from
catalyst.contrib- removed, usefrom catalyst.contrib.{smth} import {smth}. Could be change to full-imports-only in future versions for stability. - All quickstarts, minimal examples, notebooks, and pipelines moved to the new version.
- Codestyle moved to
89right margin. Honestly speaking, it's much easier to maintain Catalyst with89right margin on MBP'16.
Removed
ITrialremoved.- Stages support removed. While we embrace stages in deep learning experiments, current hardware accelerators are not prepared well for such setups. Additionally, ~95% of dl pipelines are single-stage. Multi-stage runner support is under review. For multi-stage support, please define a
CustomRunnerwith rewritten API. - Config/Hydra API support removed. Config API is under review. For now, you could write your own Config API with hydra-slayer if needed.
catalyst-dlscripts removed. Without Config API we don't need them anymore.Nvidia Apex,Fairscale,Albumentations,Nifti,Hydrarequiremets removed.OnnxCallback,PruningCallback,QuantizationCallback,TracingCallbackremoved from callbacks API. These callbacks are under review now.
If you have any questions on the Catalyst 22 edition updates, please join Catalyst slack for discussion.
Catalyst 22.02rc0
[22.02rc0] - 2022-02-07
Tl;dr
Beta version of Catalyst 22 edition.
- core architecture moved to Animus-like (stages were removed)
- engines moved to Accelerate
- config/hydra APIs deprecated in favor of hydra-slayer-custom config runners
- dl-based scripts removed from the API
- self-supervised runner moved to examples - it's better to have custom still
- contrib and utils - truncated
- requirements - simplified
- codestyle moved to -l 89 (better view on 16'' screen ;) )
Catalyst 21.12
[21.12] - 2021-12-28
Tl;dr
Distributed engines update (multi-node support) and many other improvements.
Added
- MNIST dataset for SSL banchmark (#1368)
- MoveiLens 20M dataset #1336
- logger property for logging customization (#1372)
- MacridVAE example (#1363)
- SSL benchmark results (#1374)
- Neptune example (#1377)
- multi-node support for engines (#1364)
Changed
- RL examples update to last version (#1370)
- DDPLoaderWrapper updated to new version (#1385)
num_classesfor classification metrics became optional (#1379)- colab ci/cd update to new verion
Removed
Fixed
requestsrequirements forcatalyst[cv]added (#1371)- loader step counter (#1374)
- detection example data preprocessing (#1369)
- gradient clipping with fp16 runs (#1378)
- config API fix for DDP runs (#1383)
- checkpoint creation for fp16 engines (#1382)
Contributors ❤️
@bagxi @ditwoo @MrNightSky @Nimrais @y-ksenia @sergunya17 @Thiefwerty @zkid18
Catalyst 21.11
[21.11] - 2021-11-30
Tl;dr
Framework architecture simplification and speedup + SSL & RecSys extensions.
Added
- MultiVAE RecSys example (#1340)`
- Returned
resumesupport - resolved #1193 (#1349) - Smoothing dice loss to contrib (#1344)
profileflag forrunner.train(#1348)- MultiDAE RecSys example (#1356)
SETTINGS.log_batch_metrics,SETTINGS.log_epoch_metrics,SETTINGS.compute_per_class_metricsfor framework-wise Metric & Logger APIs specification (#1357)log_batch_metricsandlog_epoch_metricsoptions for all available Loggers (#1357)compute_per_class_metricsoption for all available multiclass/label metrics (#1357)- pytorch benchmark script and simplified MNIST (#1360)
Changed
- A few framework simplifications were made (#1346):
catalyst-contribscripts reduced tocollect-envandproject-embeddingsonlycatalyst-dlscripts recuded torunandtuneonlytransforms.prefix deprecated for Catalyst-based transformscatalyst.toolsmoved tocatalyst.extras- task-dependent extensions from
catalyst.datamoved tocatalyst.contrib.data catalyst.data.transformsmoved tocatalyst.contrib.data.transformsNormalize,ToTensortransforms renamed toNormalizeImage,ImageToTensor- metric learning extensions moved to
catalyst.contrib.data catalyst.contribmoved to code-as-a-documentation developmentcatalyst[cv]andcatalyst[ml]extensions moved to flatten architecture design; examples:catalyst.contrib.data.dataset_cv,catalyst.contrib.data.dataset_mlcatalyst.contribmoved to flatten architecture design; exampels:catalyst.contrib.data,catalyst.contrib.datasets,catalyst.contrib.layers,catalyst.contrib.models,catalyst.contrib.optimizers,catalyst.contrib.schedulers- internal functionality moved to
***._miscmodules catalyst.utils.mixupmoved tocatalyst.utils.torchcatalyst.utils.numpymoved tocatalyst.contrib.utils.numpy
- default logging logic moved from "batch & epoch" to "epoch"-only to save computation time during logging; to respecify, please use:
SETTINGS.log_batch_metrics=True/Falseoros.environ["CATALYST_LOG_BATCH_METRICS"]SETTINGS.log_epoch_metrics=True/Falseoros.environ["CATALYST_LOG_EPOCH_METRICS"]
- default metrics computation moved from "per-class & aggregations" to "aggregations"-only to save computation time during logging; to respecify, please use:
SETTINGS.compute_per_class_metrics=True/Falseoros.environ["CATALYST_COMPUTE_PER_CLASS_METRICS"]
- no transformations required for MNIST contrib dataset (#1360
Removed
- A few framework simplifications were made (#1346):
catalyst.contrib.pandascatalyst.contrib.parallelcatalyst.contrib.models.cv- a few
catalyst.utils.miscfunctions catalyst.extrasremoved from the public documentation
Fixed
- documentation search error (21.10 only) (#1346)
- docs examples (#1362)
- Self-Supervised benchmark: (#1365), (#1361)
Contributors ❤️
Catalyst 21.10
[21.10] - 2021-10-30
Tl;dr
Readmes and tutorials with a few ddp fixes.
Added
- RSquareLoss (#1313)
- Self-Supervised example updates: (#1305), (#1322), (#1325), (#1335)
- Albert training example (#1326)
- YOLO-X (new) detection example and refactoring (#1324)
TopKMetricasbtraction (#1330)
Changed
- simlified readme (#1312)
- improved DDP tutorial (#1327)
CMCMetricrenamed from<prefix>cmc<suffix><k>to<prefix>cmc<k><suffix>(#1330)
Removed
Fixed
Catalyst 21.09
[21.09] - 2021-09-30
Added
- CometLogger support (#1283)
- CometLogger examples (#1287)
- XLA docs (#1288)
- Contarstive loss functions:
NTXentLoss(#1278),SupervisedContrastiveLoss(#1293) - Self supervised learning:
ISelfSupervisedRunner,SelfSupervisedConfigRunner,SelfSupervisedRunner,SelfSupervisedDatasetWrapper(#1278) - SimCLR example (#1278)
- Superivised Contrastive example (#1293)
- extra warnings for runner-callbacks interaction (#1295)
CategoricalRegressionLossandQuantileRegressionLossto thecontrib(#1295)- R2 score metric (#1274)
Changed
- Improved
WandbLoggerto support artifacts and fix logging steps (#1309) - full
Runnercleanup, with callbacks and loaders destruction, moved toPipelineParallelFairScaleEngineonly (#1295) HuberLossrenamed toHuberLossV0for the PyTorch compatibility (#1295)- codestyle update (#1298)
- BalanceBatchSampler - deprecated (#1303)
Removed
Fixed
Contributors ❤️
@asteyo @AyushExel @bagxi @DN6 @gr33n-made @Nimrais @Podidiving @y-ksenia
Catalyst 21.09rc1 - release wheels update check 2.0
v21.09rc1 Update __version__.py
Catalyst 21.09rc0 - release wheels update check
Hi guys, nice project!
This is the test case release to check out our updated infrastructure.