[Question]: Proper way to pass max_grad_norm
to ModelTrainer.train
#3320
Labels
question
Further information is requested
max_grad_norm
to ModelTrainer.train
#3320
Question
Greetings! First, thanks for the amazing job with the lib/framework. It is helping me a lot.
Now, I am trying to use
max_grad_norm
withSGD
and I am getting the following errorHere is the reproducing code snippet
and my
pyproject.toml
:I am not sure if I am using it correctly, or if using
max_grad_norm
should make me usetrain_custom
. If that is a bug, I would also be glad to implement a PR fixing it :DThe text was updated successfully, but these errors were encountered: