1. 19 Jun, 2019 5 commits
    • Toby Boyd's avatar
      Add XLA to transformer (#7048) · 269581dc
      Toby Boyd authored
      
      
      * set default steps to 300K.
      
      * Log flags to perfzero.
      
      * Add XLA support to transformer
      
      - Moved config logic to keras_utils
      - Added enable_xla flag to _performance flags
      - Did not refactor enable_xla flag from keras resnet due to
        reliance on calling FLAGs in estimator keras and that is
        a needed refactor for another time.
      
      * fix g3 lint complaint.
      
      * Refactor set config into keras_utils.
      
      * Move flags out of main.
      
      * pipe through enable_xla
      
      * Update official/transformer/v2/misc.py
      Co-Authored-By: default avatarReed <reedwm@google.com>
      269581dc
    • anj-s's avatar
      Add flags info when reporting benchmarks (#7056) · 1e527fb5
      anj-s authored
      * first version of ctl
      
      * fix indent
      
      * remove monkey patching for core
      
      * add dtype arg
      
      * fix dtype arg
      
      * add logging lib
      
      * remove compat.v1.logging
      
      * add datetime import
      
      * fix FLAGS import
      
      * add constant vals
      
      * move to using as tf import
      
      * move to using as tf import
      
      * remove steps per epoch = 1
      
      * test train and test for one step
      
      * test train and test for one step
      
      * test train and test for one step
      
      * test train and test for the entire dataset
      
      * use an iterator for test
      
      * pass tensors instead of an iterator
      
      * add stats dict
      
      * fix list declaration
      
      * fix list declaration
      
      * fix elapsed time calc
      
      * print lr at epoch boundary alone
      
      * Use regular tf import instead of compat
      
      * remove tensorboard chkpts
      
      * add correct logging import
      
      * add correct logging import
      
      * add benchmark configs
      
      * add tests and configs
      
      * add tests and configs
      
      * add keras flags import
      
      * add keras flags import
      
      * fix eval ds creation cond
      
      * return numpy value of train_loss
      
      * return numpy value of loss and acc values
      
      * add option for full eager mode
      
      * fix lint errors
      
      * add ctl flags
      
      * add ctl import
      
      * add the xla flag
      
      * enable v2 behavior in unit tests
      
      * rename dataset var
      
      * add synthetic dataset without monkey patching
      
      * add ctl local constants
      
      * add ctl local constants
      
      * change to using v2 imports
      
      * change to using v2 imports
      
      * change to using v2 imports
      
      * change to using keras synthetic input fn
      
      * remove enable_eager flag from benchmarks
      
      * remove enable_eager flag from benchmarks
      
      * remove enable_eager flag from benchmarks
      
      * add option for no distrat
      
      * add lambda for flags
      
      * remove no_func benchmarks due to OOM error
      
      * remove README
      
      * remove unused comments
      
      * remove unchanged file
      
      * remove unchanged file
      
      * remove unused drop_remainder_arg
      
      * use keras.common lr function
      
      * address PR comments
      
      * remove reference to deleted file
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * fix lint errors
      
      * .
      
      * add flags info
      1e527fb5
    • anj-s's avatar
      Add benchmarks for custom training loops + tf.distribute (#6980) · 65636099
      anj-s authored
      * first version of ctl
      
      * fix indent
      
      * remove monkey patching for core
      
      * add dtype arg
      
      * fix dtype arg
      
      * add logging lib
      
      * remove compat.v1.logging
      
      * add datetime import
      
      * fix FLAGS import
      
      * add constant vals
      
      * move to using as tf import
      
      * move to using as tf import
      
      * remove steps per epoch = 1
      
      * test train and test for one step
      
      * test train and test for one step
      
      * test train and test for one step
      
      * test train and test for the entire dataset
      
      * use an iterator for test
      
      * pass tensors instead of an iterator
      
      * add stats dict
      
      * fix list declaration
      
      * fix list declaration
      
      * fix elapsed time calc
      
      * print lr at epoch boundary alone
      
      * Use regular tf import instead of compat
      
      * remove tensorboard chkpts
      
      * add correct logging import
      
      * add correct logging import
      
      * add benchmark configs
      
      * add tests and configs
      
      * add tests and configs
      
      * add keras flags import
      
      * add keras flags import
      
      * fix eval ds creation cond
      
      * return numpy value of train_loss
      
      * return numpy value of loss and acc values
      
      * add option for full eager mode
      
      * fix lint errors
      
      * add ctl flags
      
      * add ctl import
      
      * add the xla flag
      
      * enable v2 behavior in unit tests
      
      * rename dataset var
      
      * add synthetic dataset without monkey patching
      
      * add ctl local constants
      
      * add ctl local constants
      
      * change to using v2 imports
      
      * change to using v2 imports
      
      * change to using v2 imports
      
      * change to using keras synthetic input fn
      
      * remove enable_eager flag from benchmarks
      
      * remove enable_eager flag from benchmarks
      
      * remove enable_eager flag from benchmarks
      
      * add option for no distrat
      
      * add lambda for flags
      
      * remove no_func benchmarks due to OOM error
      
      * remove README
      
      * remove unused comments
      
      * remove unchanged file
      
      * remove unchanged file
      
      * remove unused drop_remainder_arg
      
      * use keras.common lr function
      
      * address PR comments
      
      * remove reference to deleted file
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * fix lint errors
      
      * .
      65636099
    • Toby Boyd's avatar
      Use PerfZeroBenchmark and log Flags. (#7052) · d3610769
      Toby Boyd authored
      d3610769
    • Toby Boyd's avatar
      Log flags. (#7053) · d62ddcaa
      Toby Boyd authored
      d62ddcaa
  2. 18 Jun, 2019 4 commits
  3. 14 Jun, 2019 3 commits
  4. 13 Jun, 2019 11 commits
  5. 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
  6. 11 Jun, 2019 2 commits
    • saberkun's avatar
      Merged commit includes the following changes: (#6993) · e7b4d364
      saberkun authored
      252534787  by hongkuny<hongkuny@google.com>:
      
          Transformer vocab fix to strip correctly in py2
      
      --
      
      PiperOrigin-RevId: 252534787
      e7b4d364
    • 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
  7. 10 Jun, 2019 1 commit
  8. 07 Jun, 2019 1 commit
  9. 06 Jun, 2019 6 commits
  10. 05 Jun, 2019 6 commits