Skip to content

[RFC] Deprecate auto_select_gpus from Trainer constructor #10535

@daniellepintz

Description

@daniellepintz

Proposed refactoring or deprecation

Deprecate auto_select_gpus from Trainer constructor:
https://github.com/PyTorchLightning/pytorch-lightning/blob/7a9a08c5d3ca4699fb439f691c40e1320b37507a/pytorch_lightning/trainer/trainer.py#L209-L212

Motivation

Users can achieve the same functionality by setting the accelerator and devices flags - we can simplify by only having one way of doing this.

cc @justusschock @awaelchli @rohitgr7 @tchaton @kaushikb11 @Borda

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions