Skip to content

[Feature] Support for Pytorch-lightning 1.5.0 #20741

@jamesbsilva

Description

@jamesbsilva

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

As of Pytorch-lightning 1.5.0

https://github.com/PyTorchLightning/pytorch-lightning/blob/49d09aa28b4bdde7a272c3e77dc3f13613802672/CHANGELOG.md#150---2021-11-02

The property running_sanity_check in the Trainer class has been deprecated in favor of sanity_checking as of 1.5.0 as linked above. This property is used in the following lines which I have been patching to support 1.5.0

if trainer.running_sanity_check:

if trainer.running_sanity_check:

Is there any plan to support 1.5.0+? I am not sure what the preferences are as far as dealingl with backcompatibility otherwise could submit a PR.

I tried searching about this although from the changelog above the complete deprecation of the property was just released in packages of just a few weeks ago.

Use case

Support for using the newer versions of pytorch-lightning .

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

Labels

enhancementRequest for new feature and/or capability

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions