Skip to content

[RFC] Deprecate on_configure_sharded_model callback hook #11560

@daniellepintz

Description

@daniellepintz

Proposed refactor

Deprecate on_configure_sharded_model callback/LM hooks in v1.6 for removal in v1.8
https://github.com/PyTorchLightning/pytorch-lightning/blob/5ad5ba54c0c477546d21daf75ac7b4748d7963a7/pytorch_lightning/callbacks/base.py#L60-L61

Motivation

I see no uses of this hook either externally or internally: https://www.grep.app/search?q=on_configure_sharded_model

Additional context

This hook was originally added in #6679

cc @justusschock @awaelchli @akihironitta @rohitgr7 @tchaton @carmocca @Borda @ninginthecloud @daniellepintz

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions