1. 18 Jul, 2019 1 commit
    • Hongkun Yu's avatar
      Merged commit includes the following changes: (#7252) · 1fb34e76
      Hongkun Yu authored
      258597234  by rxsang<rxsang@google.com>:
      
          Update all the TPUStrategy examples to use the new v2 APIs, i.e.
          make_dataset_iterator -> experimental_distribute_dataset,
          make_input_fn_iterator -> experimental_distribute_datasets_from_function,
          unwrap -> experimental_local_results,
          experimental_run -> experimental_run_v2
      
      --
      258581998  by taylorrobie<taylorrobie@google.com>:
      
          Update keras v2 optimizers to reuse coefficients which are shared across all updates, which reduces the total number of ops created by between 5% (for simple optimizers such as SGD and Adagrad) and 25% (for complicated optimizers such as Adam and NAdam). Separate copies are made for each device and dtype.
      
          The effect of this change on run time is fairly minimal since Grappler is expected to consolidate most of these ops; however it does improve graph construction time.
      
      --
      
      PiperOrigin-RevId: 258597234
      1fb34e76
  2. 16 Jul, 2019 1 commit
  3. 15 Jul, 2019 1 commit
  4. 02 Jul, 2019 1 commit
    • saberkun's avatar
      Merged commit includes the following changes: (#7141) · 5175b7e6
      saberkun authored
      256204636  by hongkuny<hongkuny@google.com>:
      
          Internal
      
      --
      256079834  by hongkuny<hongkuny@google.com>:
      
          Clean up: move common flags together for further refactoring
          Enable steps_per_loop option for all applications.
      
      --
      
      PiperOrigin-RevId: 256204636
      5175b7e6
  5. 28 Jun, 2019 1 commit
    • David M. Chen's avatar
      Merged commit includes the following changes: (#7116) · 76995053
      David M. Chen authored
      255493073  by hongkuny<hongkuny@google.com>:
      
          BERT initial OSS readme update.
      
      --
      255470372  by dmchen<dmchen@google.com>:
      
          Slightly expand expected range for F1 score in BERT SQuAD accuracy test
      
      --
      255109240  by hongkuny<hongkuny@google.com>:
      
          Update eval/predict batch sizes.
      
      --
      255010016  by hongkuny<hongkuny@google.com>:
      
          Internal
      
      --
      
      PiperOrigin-RevId: 255493073
      76995053
  6. 25 Jun, 2019 1 commit
  7. 24 Jun, 2019 1 commit
    • saberkun's avatar
      Merged commit includes the following changes: (#7093) · 240623ac
      saberkun authored
      254785517  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Use train_single_step for BERT GPU models to temporarily work around some performance bugs in GPU runs
      
      --
      254497647  by hongkuny<hongkuny@google.com>:
      
          Fix device placement for TPU export model.
      
      --
      
      PiperOrigin-RevId: 254785517
      240623ac
  8. 20 Jun, 2019 2 commits
    • saberkun's avatar
      Merged commit includes the following changes: (#7068) · 1636acc9
      saberkun authored
      254134531  by yuefengz<yuefengz@google.com>:
      
          Fix a typo in bert_benchmark.py
      
      --
      
      PiperOrigin-RevId: 254134531
      1636acc9
    • saberkun's avatar
      Merged commit includes the following changes: (#7060) · e0e6d981
      saberkun authored
      254069984  by hongkuny<hongkuny@google.com>:
          Automated rollback of changelist 254060732.
      
      254061429  by hongkuny<hongkuny@google.com>:
      
          Use host while loop for training steps.
      
      --
      254060732  by yifeif<yifeif@google.com>:
          Automated rollback of changelist 254027750.
      
      254027750  by hongkuny<hongkuny@google.com>:
      
          Internal change
      
      PiperOrigin-RevId: 254069984
      e0e6d981
  9. 19 Jun, 2019 1 commit
  10. 18 Jun, 2019 2 commits
  11. 13 Jun, 2019 2 commits
  12. 12 Jun, 2019 1 commit
    • David M. Chen's avatar
      Merged commit includes the following changes: (#6998) · ce03903f
      David M. Chen authored
      252697519 by dmchen<dmchen@google.com>:
      
              BERT SQuAD accuracy test
      
      25266352 by hongjunchoi<hongjunchoi@google.com>:
      
              Internal change
      
      252647871 by hongjunchoi<hongjunchoi@google.com>:
      
              Enable multi worker TPU training for BERT pretraining.
      ce03903f
  13. 11 Jun, 2019 1 commit
    • saberkun's avatar
      Merged commit includes the following changes: (#6992) · f2eb1701
      saberkun authored
      252522861  by hongkuny<hongkuny@google.com>:
      
          Remove export using trained model due to implementation error
      
      --
      252156812  by yuefengz<yuefengz@google.com>:
      
          Fix the callback method name in BERT: replaced on_batch_start with on_batch_begin. Without the fix, it won't work with Keras callbacks.
      
      --
      251782065  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      PiperOrigin-RevId: 252522861
      f2eb1701
  14. 07 Jun, 2019 1 commit
  15. 05 Jun, 2019 1 commit
    • saberkun's avatar
      Merged commit includes the following changes: (#6963) · 51289259
      saberkun authored
      251681245  by hongkuny<hongkuny@google.com>:
      
          Update bert to use the new tf.distribute APIs
      
      --
      251575972  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Remove `steps_per_run` when instantiating TPUStrategy.
      
      --
      
      PiperOrigin-RevId: 251681245
      51289259
  16. 04 Jun, 2019 1 commit
  17. 31 May, 2019 1 commit
  18. 30 May, 2019 2 commits
    • saberkun's avatar
      Merged commit includes the following changes: (#6926) · 15db2195
      saberkun authored
      250713045  by hongkuny<hongkuny@google.com>:
      
          TPU util
      
      --
      
      PiperOrigin-RevId: 250713045
      15db2195
    • Hongjun Choi's avatar
      Merged commit includes the following changes: (#6921) · d76e39e7
      Hongjun Choi authored
      250606180  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Fix BERT benchamrk test errors.
      
      --
      250589623  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Change BERT benchmark test pretrained checkpoint url.
      
      --
      250587892  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Fix error in BERT custom training loop checkpoint restoration.
      
      --
      250577163  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Add logic to inject callback that measures performance in BERT custom training
          loop.
      
      --
      250529526  by hongkuny<hongkuny@google.com>:
      
          Internal clean up
      
      --
      250428976  by hongkuny<hongkuny@google.com>:
      
          Internal change
      
      250415383  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Add min/max value to BERT classifier benchmark test.
      
      --
      250376246  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Add benchmark performance test to run BERT on multiple numbers of GPUs.
      
      --
      
      PiperOrigin-RevId: 250606180
      d76e39e7
  19. 28 May, 2019 1 commit
    • Hongjun Choi's avatar
      Merged commit includes the following changes: (#6898) · 7af3bd91
      Hongjun Choi authored
      250347237  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Fix linting errors in BERT benchmark test.
      
      --
      250326131  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      250315593  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      250303528  by haoyuzhang<haoyuzhang@google.com>:
      
          Add method docstring to fix lint error.
      
      --
      
      PiperOrigin-RevId: 250347237
      7af3bd91
  20. 26 May, 2019 1 commit
  21. 24 May, 2019 2 commits
  22. 23 May, 2019 1 commit
  23. 22 May, 2019 2 commits
    • saberkun's avatar
      Merged commit includes the following changes: (#6856) · 85bdf764
      saberkun authored
      249500988  by hongkuny<hongkuny@google.com>:
      
          Lints
      
      --
      
      PiperOrigin-RevId: 249500988
      85bdf764
    • saberkun's avatar
      Merged commit includes the following changes: (#6847) · 30d14a96
      saberkun authored
      249377254  by hongkuny<hongkuny@google.com>:
      
          Internal change
      
      249373328  by hongkuny<hongkuny@google.com>:
      
          Clean up tf import
      
      --
      249333938  by hongkuny<hongkuny@google.com>:
      
          Fix tf1 import
      
      --
      249325089  by hongkuny<hongkuny@google.com>:
      
          BERT 2.0
      
      --
      249173564  by hongkuny<hongkuny@google.com>:
      
          Internal change
      
      PiperOrigin-RevId: 249377254
      30d14a96