Skip to content

[Tracker] Remaining tasks for Strategy stable version #11812

@four4fish

Description

@four4fish

🚀 Feature

Lightning Strategy stable version

Motivation

After the refactoring issue is done, the main code structure will be stable. But there are other correctness and stability related issues that need to be addressed, some API simplification should be done, and some P0 features should be supported.

Pitch

Remaining tasks

  1. Finish refactor, we have two remaining steps for accelerator refactor
  2. Correctness and stability related issues
  3. API simplifications and improvement
    • Deprecations : unused properties in accl_conn, enums, trainer.X_method
    • Align DDP/DDPSpawn process creation Interface for Process Creation (DDPSpawn vs. DDP) #10985
    • Precision API revisit, better support amp, move misconfig/availability checks from accl_conn to precision.init_
    • Strategies API revisit, add is_distributed(), and move misconfig/availability checks to strategy.init
    • Accelerator API revisit, add teardown(), and add devices availability check (in review)
    • Finish collective refactor
  4. Feature support
  5. Better engineering tasks
    • Improve typing
    • Improve unit tests
    • docs and docstrings

Alternatives

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 @Borda @justusschock @kaushikb11 @awaelchli @ninginthecloud @akihironitta @rohitgr7 @carmocca @tchaton @ananthsub

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions