Skip to content

Commit

Permalink
Prepare for "Fix type-safety of torch.nn.Module instances": fbcode/…
Browse files Browse the repository at this point in the history
…[ijk]*

Summary: See D52890934

Reviewed By: r-barnes

Differential Revision: D66235329

fbshipit-source-id: 56575053a289023723ecee4e0ee95831bcea4f3f
  • Loading branch information
ezyang authored and facebook-github-bot committed Nov 20, 2024
1 parent 23c24c6 commit e595c8d
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 @@ -1126,6 +1126,7 @@ def _single_pass_s2s(

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 e595c8d

Please sign in to comment.