| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| Catalyst 22.02.tar.gz | 2022-02-13 | 442.6 kB | |
| Catalyst 22.02.zip | 2022-02-13 | 694.1 kB | |
| README.md | 2022-02-13 | 3.6 kB | |
| Totals: 3 Items | 1.1 MB | 0 | |
[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.