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

Tolerate Linear layers without bias parameters in profiler #369

Closed
wants to merge 2 commits into from

Commits on Feb 3, 2020

  1. Make model complexity hook robust to exceptions

    Summary:
    I've had the profiler break training twice in two weeks, disrupting my workflow. Add a global try/except.
    
    I think users would always want training to continue when model complexity can't be estimated.
    
    Differential Revision: D19700315
    
    fbshipit-source-id: 2e278c1df2c005080c19adea1a9708d463e77c96
    edpizzi authored and facebook-github-bot committed Feb 3, 2020
    Copy the full SHA
    b0049ac View commit details
    Browse the repository at this point in the history
  2. Tolerate Linear layers without bias parameters in profiler

    Summary: Handle `bias = None` as a registered parameter, as used in `Lienar(..., bias=False)`.
    
    Differential Revision: D19700470
    
    fbshipit-source-id: 1bce47d79cad0e29c5551c36528705cbab2ab6d0
    edpizzi authored and facebook-github-bot committed Feb 3, 2020
    Copy the full SHA
    f93b693 View commit details
    Browse the repository at this point in the history