Skip to content

Commit

Permalink
trainingblock pass param
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamLouly committed Feb 28, 2024
1 parent da7be5c commit fa0ad16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orttraining/orttraining/python/training/artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def build(self, *inputs_to_loss):

return self._loss(*inputs_to_loss)

training_block = _TrainingBlock(loss_block)
training_block = _TrainingBlock(loss_block, loss_input_names)

if requires_grad is not None and frozen_params is not None and set(requires_grad).intersection(set(frozen_params)):
raise RuntimeError(
Expand Down

0 comments on commit fa0ad16

Please sign in to comment.