1. 04 Jun, 2018 1 commit
    • Taylor Robie's avatar
      First pass at a TPU loop for Transformer (#4296) · 2eeb85fe
      Taylor Robie authored
      * port changes from previous branch now that transformer util changes are in master
      
      fix incorrect count
      
      correct (hopefully) treatment of batch_size
      
      set eval_metrics to a dummy function for now
      
      add some comments
      
      start bringing metrics to transformer TPU
      
      resolve logits shape
      
      metrics are now working except for tf.py_func metrics
      
      increase batch_size for tpu, and create summary host call
      
      fix host call
      
      reduce tpu default batch size
      
      further tune batch sizes
      
      add minibatch loss to summary
      
      handle case of single_iteration_train_steps > number points in an epoch
      
      begin to incorporate hooks
      
      add sleep workarounds
      
      disable hooks altogether
      
      generalize host call function and move to newly created tpu utils module
      
      remove all traces of params as an object
      
      switch from  to
      
      address some PR comments, and change the number of data points.
      
      minor tweaks
      
      add tpu dry run for testing, and use matmul for TPU embedding
      
      infeed/outfeed queue issue is fixed. Sleeps are no longer necessary
      
      add some documentation.
      
      cleanup and address PR comments
      
      delint
      
      add accelerator __init__
      
      fix embedding
      
      missed PR comment
      
      address PR comments
      
      fix validator bug
      
      rewrite cloud storage validator, and add oauth dependency to requirements.txt
      
      * delint
      2eeb85fe
  2. 25 May, 2018 1 commit
    • Karmel Allison's avatar
      Fix/log ex per sec (#4360) · d626b908
      Karmel Allison authored
      * Using BenchmarkLogger
      
      * Using BenchmarkLogger
      
      * Fixing tests
      
      * Linting fixes.
      
      * Adding comments
      
      * Moving mock logger
      
      * Moving mock logger
      
      * Glinting
      
      * Responding to CR
      
      * Reverting assertEmpty
      d626b908
  3. 11 May, 2018 1 commit
    • Qianli Scott Zhu's avatar
      Add benchmark logger that does stream upload to bigquery. (#4210) · 0270cac7
      Qianli Scott Zhu authored
      * Move the benchmark_uploader to new location.
      
      * Update benchmark logger to streaming upload.
      
      * Fix lint and unit test error.
      
      * delint.
      
      * Update the benchmark uploader test.
      
      Skip the import of benchmark_uploader when bigquery is not installed.
      
      * Merge the 2 classes of benchmark uploader into 1.
      
      * Address review comments.
      
      * delint.
      
      * Execute bigquery upload in a separate thread.
      
      * Change to use python six.moves for importing.
      
      * Address review comments and delint.
      
      * Address review comment.
      
      Adding comment for potential performance impact for model on CPU.
      
      * Fix random failure on py3.
      
      * Fix the order of flag saver to avoid the randomness.
      
      The test is broken when the benchmark_logger_type is set first, and
      validated when the benchmark_log_dir is not set yet.
      0270cac7
  4. 19 Apr, 2018 1 commit
    • Qianli Scott Zhu's avatar
      Benchmark update (#4034) · 21ec0e1b
      Qianli Scott Zhu authored
      * Update the benchmark logger to have default logging.
      
      1. Create global instance of benchmark logger, which default log to
      tf.logging.info
      2. Allow user to config the logging location.
      3. Fix nits in code and comment.
      
      * Fix lint and test error.
      
      * Address review comments.
      
      * Remove the duplicated print statement.
      21ec0e1b
  5. 03 Apr, 2018 1 commit
    • Karmel Allison's avatar
      Rename logging directory (#3860) · a0e3604f
      Karmel Allison authored
      * Updating name of logging package to avoid overwriting Python builtin logging.
      
      * Updating name of logging package to avoid overwriting Python builtin logging.
      a0e3604f
  6. 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
  7. 20 Mar, 2018 2 commits
  8. 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
  9. 13 Mar, 2018 1 commit
    • Yanhui Liang's avatar
      Add logging utils (#3519) · 81a34cbe
      Yanhui Liang authored
      * Adding logging utils
      
      * restore utils
      
      * delete old file
      
      * update inputs and docstrings
      
      * Update import and fix typos
      
      * Fix formatting and comments
      
      * Update tests
      81a34cbe