Skip to content

Commit

Permalink
Fix support for torch Module type hints in LightningCLI (#7807)
Browse files Browse the repository at this point in the history
* Fixed support for torch Module type hints in LightningCLI

* - Fix issue with serializing values when type hint is Any.
- Run unit test only on newer torchvision versions in which the base class is Module.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Minor change

* Update CHANGELOG.md

Co-authored-by: Carlos Mocholí <[email protected]>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Mocholí <[email protected]>

(cherry picked from commit f345840)
  • Loading branch information
mauvilsa authored and lexierule committed Jun 9, 2021
1 parent 61525f6 commit 057f05f
Show file tree
Hide file tree
Showing 3 changed files with 252 additions and 18 deletions.
Loading

0 comments on commit 057f05f

Please sign in to comment.