Some of the steps/workflows are repetitive across workflows/repositories, which makes it very time-consuming to make sure that all of our workflow files are updated in the same way.
Items to be decoupled
caching-related steps
downloading legacy checkpoints
dependency installation
... (open for suggestions!)
Motivation
To improve maintainability.
(I think we should first focus only on this repository, but it will also beneficial for other repositories in the future as these decoupled actions/workflows can be called from other repositories.)
Pitch
Decouple repetitive steps from existing workflows, and pack them into composite actions in the following directory:
.github/actions/*/config.yml
Decouple repetitive workflows from our repositories and define reusable workflows (reusable workflows are different from composite actions above).
If you enjoy Lightning, check out our other projects! ⚡
Metrics: Machine learning metrics for distributed, scalable PyTorch applications.
Lite: enables pure PyTorch users to scale their existing code on any kind of device while retaining full control over their own loops and optimization logic.
Flash: The fastest way to get a Lightning baseline! A collection of tasks for fast prototyping, baselining, fine-tuning, and solving problems with deep learning.
Bolts: Pretrained SOTA Deep Learning models, callbacks, and more for research and production with PyTorch Lightning and PyTorch.
Lightning Transformers: Flexible interface for high-performance research using SOTA Transformers leveraging Pytorch Lightning, Transformers, and Hydra.
cc @carmocca @akihironitta @borda @justusschock @awaelchli @rohitgr7
Proposed refactor
Some of the steps/workflows are repetitive across workflows/repositories, which makes it very time-consuming to make sure that all of our workflow files are updated in the same way.
Items to be decoupled
Motivation
To improve maintainability.
(I think we should first focus only on this repository, but it will also beneficial for other repositories in the future as these decoupled actions/workflows can be called from other repositories.)
Pitch
Decouple repetitive steps from existing workflows, and pack them into composite actions in the following directory:
Decouple repetitive workflows from our repositories and define reusable workflows (reusable workflows are different from composite actions above).
Additional context
If you enjoy Lightning, check out our other projects! ⚡
Metrics: Machine learning metrics for distributed, scalable PyTorch applications.
Lite: enables pure PyTorch users to scale their existing code on any kind of device while retaining full control over their own loops and optimization logic.
Flash: The fastest way to get a Lightning baseline! A collection of tasks for fast prototyping, baselining, fine-tuning, and solving problems with deep learning.
Bolts: Pretrained SOTA Deep Learning models, callbacks, and more for research and production with PyTorch Lightning and PyTorch.
Lightning Transformers: Flexible interface for high-performance research using SOTA Transformers leveraging Pytorch Lightning, Transformers, and Hydra.
cc @carmocca @akihironitta @borda @justusschock @awaelchli @rohitgr7