Skip to content

Commit

Permalink
Clean up errors and remove unused ignores] [batch:87/695] [shard:4/N]
Browse files Browse the repository at this point in the history
Reviewed By: MaggieMoss

Differential Revision: D66313020

fbshipit-source-id: 8a3379158f8cd40d18ddec15c69399088d076c6c
  • Loading branch information
generatedunixname89002005287564 authored and facebook-github-bot committed Nov 22, 2024
1 parent 61f0651 commit 8a79280
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion kats/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,6 @@ def __len__(self) -> int:
return len(self.value)

def __getitem__(
# pyre-fixme[24]: Generic type `slice` expects 3 type parameters.
self,
# pyre-fixme[24]: Generic type `slice` expects 3 type parameters.
sliced: Union[str, Iterable, builtins.slice],
Expand Down
1 change: 0 additions & 1 deletion kats/models/globalmodel/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,6 @@ def _single_pass_s2s(
self._valid_tensor(tmp_encode, "encoder_output")

if training_mode or is_valid:
# pyre-fixme[29]: `Union[Module, Tensor]` is not a function.
encoder.prepare_decoder(decoder)
encoder_step = (
batch.training_encoder_step_num
Expand Down

0 comments on commit 8a79280

Please sign in to comment.