1. 06 Aug, 2019 1 commit
  2. 05 Aug, 2019 1 commit
  3. 02 Aug, 2019 2 commits
  4. 01 Aug, 2019 1 commit
    • Haoyu Zhang's avatar
      Merged commit includes the following changes: (#7354) · dc4c5f1a
      Haoyu Zhang authored
      261171038  by gjn<gjn@google.com>:
      
          Remove weight_decay_rate 0 early exit check
      
          Removing this code path should be fine since this was actually not doing
          what it meant to do. Since weight_decay_rate is actually a tensor, the
          equality check was only looking at the id of the object and comparing to
          0. This should never be true. Evaluating a tensor is also not what we
          want to do at this point of the code. Thus it should be fine to simply
          remove this code.
      
      --
      261169862  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      261153520  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      261140302  by hongkuny<hongkuny@google.com>:
      
          Clean up
      
      --
      
      PiperOrigin-RevId: 261171038
      dc4c5f1a
  5. 23 Jul, 2019 2 commits
  6. 22 Jul, 2019 1 commit
    • Hongkun Yu's avatar
      Add a new sanity check script that is able to only check incremental changes. (#7265) · 6a6c3616
      Hongkun Yu authored
      * Update pylint.rcfile
      
      * Update pylint.rcfile
      
      * Update pylint.rcfile
      
      * add new sanity check script for lint to replace current lint script.
      
      * Revert "Update pylint.rcfile"
      
      This reverts commit f6036cd7e7c4b9e3eeb47bb56a63927a040a2761.
      
      * Revert "Update pylint.rcfile"
      
      This reverts commit e3af497342e26bbbbecfc8c8f79cb0e24a2ef960.
      
      * Revert "Update pylint.rcfile"
      
      This reverts commit 6136636eee6e90fd191ebbb4ccaa9fb89c0290f4.
      
      * update scripts
      
      * disable trailing-newlines
      6a6c3616
  7. 21 Jul, 2019 1 commit
  8. 20 Jul, 2019 1 commit
  9. 19 Jul, 2019 2 commits
  10. 18 Jul, 2019 1 commit
  11. 11 Jul, 2019 1 commit
  12. 03 Jul, 2019 1 commit
    • Toby Boyd's avatar
      Unit tests pass TF 2.0 GPU and CPU locally. (#7101) · 49097655
      Toby Boyd authored
      * Fix unit tests failures.
      
      * 96% of TF 2.0 tests on GPU are passing.
      
      * Currently all passing GPU and CPU TF 2.0
      
      * Address code comments.
      
      * use tf 2.0 cast.
      
      * Comment about working on TF 2.0 CPU
      
      * Uses contrib turn off for TF 2.0.
      
      * Fix wide_deep and add keras_common_tests.
      
      * use context to get num_gpus.
      
      * Switch to tf.keras.metrics
      49097655
  13. 02 Jul, 2019 2 commits
  14. 22 Jun, 2019 1 commit
  15. 21 Jun, 2019 2 commits
  16. 19 Jun, 2019 1 commit
    • 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
  17. 06 Jun, 2019 1 commit
  18. 24 May, 2019 2 commits
    • Toby Boyd's avatar
      Transformer v2 benchmark (#6860) · f2ea2f53
      Toby Boyd authored
      * Moved common keras code to utils.
      
      * Initial 1 gpu benchmark
      
      - Aligned flags with resnet example
      - removed code/features that are not super useful
      - eval as part of train if bleu source/ref provided
      - add exp_per_second hook
      
      * Rename benchmark classes, pass batch-size and log_steps.
      
      * fix docstring
      
      * Predict done with checkpoints inline
      
      - perfzero baseclass
      
      * steps not epochs with smoother training loop.
      
      * do not initialize history outside loop.
      
      * 5000 between eval not 500
      
      * estimator to keras.
      
      * remove epochs var.
      
      * use range not xrange.
      
      * 200K steps for 1 gpu
      
      * fix global step
      f2ea2f53
    • Toby Boyd's avatar
      Moved common keras code to utils. (#6859) · 3254cabb
      Toby Boyd authored
      3254cabb
  19. 18 May, 2019 1 commit
  20. 15 May, 2019 1 commit
  21. 11 May, 2019 2 commits
  22. 01 May, 2019 1 commit
    • Reed's avatar
      Add --fp16_implementation option. (#6703) · b691578c
      Reed authored
      This options allows the new tf.train.experimental.enable_mixed_precision_graph_rewrite() function to be used for fp16, instead of manual casts.
      b691578c
  23. 29 Apr, 2019 1 commit
  24. 26 Apr, 2019 2 commits
  25. 25 Apr, 2019 1 commit
  26. 24 Apr, 2019 1 commit
  27. 11 Apr, 2019 1 commit
  28. 08 Apr, 2019 1 commit
    • Shining Sun's avatar
      Add DS support for NCF keras (#6447) · 1255d5b9
      Shining Sun authored
      * add ds support for ncf
      
      * remove comments for in_top_k
      
      * avoid expanding the input layers
      
      * resolve comments and fix lint
      
      * Added some comments in code and fix lint
      
      * fix lint
      
      * add some documentation
      
      * add tensorflow imports
      1255d5b9
  29. 03 Apr, 2019 1 commit
  30. 01 Apr, 2019 1 commit
  31. 29 Mar, 2019 1 commit
  32. 28 Mar, 2019 1 commit
    • Shining Sun's avatar
      Added benchmark test and convergence test for the NCF model (#6318) · 4c11b84b
      Shining Sun authored
      * initial commit
      
      * bug fix
      
      * Move build_stats from common to keras main, because it is only applicable in keras
      
      * remove tailing blank line
      
      * add test for synth data
      
      * add kwargs to init
      
      * add kwargs to function invokation
      
      * correctly pass kwargs
      
      * debug
      
      * debug
      
      * debug
      
      * fix super init
      
      * bug fix
      
      * fix local_flags
      
      * fix import
      
      * bug fix
      
      * fix log_steps flag
      
      * bug fix
      
      * bug fix: add missing return value
      
      * resolve double-defined flags
      
      * lint fix
      
      * move log_steps flag to benchmarK flag
      
      * fix lint
      
      * lint fix
      
      * lint fix
      
      * try flag core default values
      
      * bug fix
      
      * bug fix
      
      * bug fix
      
      * debug
      
      * debug
      
      * remove debug prints
      
      * rename benchmark methods
      
      * flag bug fix for synth benchmark
      4c11b84b