1. 09 Apr, 2021 1 commit
    • Reed Wanderman-Milne's avatar
      Remove dynamic_loss_scale argument to define_performance. · e353e4e5
      Reed Wanderman-Milne authored
      All models which support loss scaling support dynamic loss scaling, so the argument has no purpose. It used to be that some models scaled the loss manually instead of using a LossScaleOptimizer, and so did not support dynamic loss scaling.
      
      PiperOrigin-RevId: 367719521
      e353e4e5
  2. 28 Feb, 2021 2 commits
  3. 12 Aug, 2020 2 commits
  4. 09 Sep, 2019 1 commit
  5. 04 Sep, 2019 1 commit
  6. 26 Aug, 2019 1 commit
  7. 23 Aug, 2019 1 commit
  8. 06 Jun, 2019 1 commit
  9. 18 May, 2019 1 commit
  10. 11 May, 2019 1 commit
  11. 03 Apr, 2019 1 commit
  12. 12 Jun, 2018 1 commit
    • Katherine Wu's avatar
      Transformer multi gpu, remove multi_gpu flag, distribution helper functions (#4457) · 29c9f985
      Katherine Wu authored
      * Add DistributionStrategy to transformer model
      
      * add num_gpu flag
      
      * Calculate per device batch size for transformer
      
      * remove reference to flags_core
      
      * Add synthetic data option to transformer
      
      * fix typo
      
      * add import back in
      
      * Use hierarchical copy
      
      * address PR comments
      
      * lint
      
      * fix spaces
      
      * group train op together to fix single GPU error
      
      * Fix translate bug (sorted_keys is a dict, not a list)
      
      * Change params to a default dict (translate.py was throwing errors because params didn't have the TPU parameters.)
      
      * Address PR comments. Removed multi gpu flag + more
      
      * fix lint
      
      * fix more lints
      
      * add todo for Synthetic dataset
      
      * Update docs
      29c9f985
  13. 03 May, 2018 2 commits
  14. 19 Apr, 2018 1 commit
  15. 12 Apr, 2018 1 commit
    • Taylor Robie's avatar
      Resnet distribution strategies (#3887) · 32aa6563
      Taylor Robie authored
      * begin transfer from contrib fork
      
      more changes to resnet_run_loop
      
      use AUTOTUNE in prefetch
      
      first pass at resnet with functional distribution strategies
      
      fix syntax error
      
      delint
      
      aesthetic tweaks
      
      delint and fix typos
      
      rip multi_gpu flag out of resnet entirely. Subject to saved model load verification
      
      update cifar10 and imagenet tests to reflect that the model function no longer need to know about multi_gpu
      
      fix imagenet test
      
      start addressing PR comments
      
      more PR response work
      
      * misc tweaks
      
      * add a comment
      
      * final pr tweaks
      
      * fix parsers
      32aa6563
  16. 09 Apr, 2018 1 commit
  17. 28 Mar, 2018 1 commit
    • Qianli Scott Zhu's avatar
      Add benchmark upload util to Bigquery. (#3776) · 932364b6
      Qianli Scott Zhu authored
      * Add benchmark upload util to bigquery.
      
      Also update the benchmark logger and bigquery schema for the
      errors found during the integration test.
      
      * Fix lint error.
      
      * Update test to clear all the env vars during test.
      
      This was causing error since the Kokoro test has TF_PKG=tf-nightly
      injected during test.
      
      * Update lintrc to ignore google related package.
      
      * Another attempt to fix lint import error.
      
      * Address the review comment.
      
      * Fix lint error.
      
      * Another fix for lint.
      
      * Update test comment for env var clean up.
      932364b6
  18. 23 Mar, 2018 1 commit
    • Qianli Scott Zhu's avatar
      Resnet benchmark logging (#3704) · b9b44f7b
      Qianli Scott Zhu authored
      * Update reset model for benchmark logging.
      
      To enable benchmark logging, just add "--hooks LoggingMetricHook"
      
      * Benchmark logger fix for resnet.
      
      1. Update default at_end to False for metric logger to avoid
      checkpoint error.
      2. Update resnet run to log final evaluation result.
      
      * Update log output for final eval_result.
      
      * Typo fix.
      
      * Unset the default value for benchmark_log_dir.
      
      Usually the benchmark should be logged to different directly for
      each run. Having a default value will hide the choice from user.
      
      * Bug fix for benchmark logger initialization.
      
      * Fix lint error.
      
      * Address the review comment.
      
      1. Update the logger to cover evaluation result.
      2. Move the flag to performance parser.
      
      * Undo the change for arg_parser.
      b9b44f7b
  19. 20 Mar, 2018 1 commit
  20. 15 Mar, 2018 1 commit
    • Yanhui Liang's avatar
      Update resnet with logging utils (#3586) · 8f63feaa
      Yanhui Liang authored
      * Update resnet with logging utils
      
      * intermediate commit
      
      * commit before rebase from master
      
      * Add tests of ExamplePerSecondHook
      
      * Done with test
      
      * Fix a style nit
      
      * Fix a style nit
      8f63feaa
  21. 13 Mar, 2018 1 commit