Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suppress errors in torchtnt #830

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests/framework/callbacks/test_dcp_saver.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,14 +410,20 @@ class DummySavePlanner(DefaultSavePlanner):
def __init__(self) -> None:
super().__init__()

# pyre-fixme[14]: `set_up_planner` overrides method defined in
# `DefaultSavePlanner` inconsistently.
def set_up_planner(self, state_dict: STATE_DICT_TYPE, is_coordinator: bool) -> None:
# pyre-fixme[6]: For 2nd argument expected `Optional[StorageMeta]` but got
# `bool`.
super().set_up_planner(state_dict, is_coordinator)


class DummyLoadPlanner(DefaultLoadPlanner):
def __init__(self) -> None:
super().__init__()

# pyre-fixme[14]: `set_up_planner` overrides method defined in
# `DefaultLoadPlanner` inconsistently.
def set_up_planner(
self,
state_dict: STATE_DICT_TYPE,
Expand Down
Loading