Skip to content

Mypy job failing due to incorrect return-value from upstream #5957

@NicolasHug

Description

@NicolasHug

The latest, freshest mypy time waster

https://app.circleci.com/pipelines/github/pytorch/vision/17366/workflows/a475b8b1-1463-4159-bf00-be2d82030c0b/jobs/1405650

Caused by pytorch/pytorch#74171

I think we just need to wait for pytorch/pytorch#76895 to be in the nightlies

torchvision/models/_api.py:64: error: Incompatible return value type (got
Module, expected "OrderedDict[Any, Any]")  [return-value]
            return load_state_dict_from_url(self.url, progress=progress)
                   ^
Found 1 error in 1 file (checked 209 source files)

Exited with code exit status 1

CircleCI received exit code 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions