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

add progress bar to TracInCPFastRandProj.__init__ #899

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Mar 14, 2022

  1. add progress bar to TracInCP (pytorch#898)

    Summary:
    Pull Request resolved: pytorch#898
    
    - add progress bar to all computations involving iterating over all batches in the training data
    - add test, but only for case where `influence_src_dataloader` implements `len`
    
    Differential Revision: D34776754
    
    fbshipit-source-id: ebd98aaf11390bac0b2b513512f5c07d593773dd
    99warriors authored and facebook-github-bot committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    9d6b56f View commit details
    Browse the repository at this point in the history
  2. add progress bar to TracInCPFastRandProj.__init__ (pytorch#899)

    Summary:
    Pull Request resolved: pytorch#899
    
    - adds progress bar for computation done in `TracInCPFastRandProj.__init__`, as well as a `show_progress` argument
    - actual computation is done in `TracInCPFastRandProj._get_intermediate_quantities_tracincp_fast_rand_proj`.  This method is changed so that the outer loop is over training batches (as opposed to over checkpoints), so that it is actually possible to report how many batches have been processed.
    - add a new "mode" to `test_tracin_show_progress` and use it to test.
    
    Differential Revision: D34803544
    
    fbshipit-source-id: 3be88d853361139aa2e8199eec6ec9bb1f340902
    99warriors authored and facebook-github-bot committed Mar 14, 2022
    Configuration menu
    Copy the full SHA
    3903c4e View commit details
    Browse the repository at this point in the history