Skip to content

Commit

Permalink
Add type error suppressions for upcoming upgrade
Browse files Browse the repository at this point in the history
Differential Revision: D66831419

fbshipit-source-id: 5fc0474774d138f157f776c4071a1917c12a5cf7
  • Loading branch information
generatedunixname89002005307016 authored and facebook-github-bot committed Dec 6, 2024
1 parent a8f7a48 commit 53db30a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kats/models/globalmodel/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1120,6 +1120,7 @@ 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 53db30a

Please sign in to comment.