Skip to content

Typefix #2615

@kamalojasv181

Description

@kamalojasv181

🐛 Due to changes in variable types in the nightly PyTorch version, some # type ignore comments are redundant and we need some in some new places for mypy tests to pass Due to changes in variable types in the nightly PyTorch version, some # type ignore comments are redundant and we need some in some new places for mypy tests to pass.

Mypy tests failing Install pytorch nightly version by `conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch-nightly` and run `bash ./tests/run_code_style.sh mypy`

image

Expected the tests to pass

Environment

  • PyTorch Version: 1.13.0.dev20220715
  • Ignite Version: 0.5.0
  • OS: Ubuntu 20.04
  • How you installed Ignite: pip
  • Python version: 3.10.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions