Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix callback call in Fabric Trainer example #19986

Merged
merged 1 commit into from
Jun 18, 2024

Commits on Jun 17, 2024

  1. Update trainer.py

    Fix for error:
    
    TypeError: ModelHooks.on_before_optimizer_step() takes 2 positional arguments but 3 were given
    
    The on_before_optimizer_step has no arguments, so the ", 0" part of the call caused this error.
    liambsmith authored Jun 17, 2024
    Configuration menu
    Copy the full SHA
    993953c View commit details
    Browse the repository at this point in the history