Skip to content

Commit

Permalink
Update inference.py
Browse files Browse the repository at this point in the history
  • Loading branch information
r-sarma authored Oct 14, 2024
1 parent 949f84c commit 2c26e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/itwinai/torch/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def distribute_model(self) -> None:
"self.model is None! Mandatory constructor argument "
)
distribute_kwargs = {}
# Distributed model, optimizer, and scheduler
# Distributed model
self.model, _, _ = self.strategy.distributed(
self.model, None, None, **distribute_kwargs
)
Expand Down

0 comments on commit 2c26e1c

Please sign in to comment.