1. 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
  2. 21 Jul, 2019 1 commit
  3. 20 Jul, 2019 3 commits
  4. 19 Jul, 2019 8 commits
    • Igor's avatar
      Merged commit includes the following changes: (#7264) · 6f47c378
      Igor authored
      259030078  by isaprykin<isaprykin@google.com>:
      
          Clean up the --clone_model_in_keras_dist_strat from Keras Resnet.
      
          The cloning flag has been removed.  The current rule is that cloning is only done in graph mode.  That resulted in duplicate benchmarks: eager+no-cloning vs eager+cloning.  I removed eager+cloning ones.
      
      --
      259026454  by isaprykin<isaprykin@google.com>:
      
          Internal change
      
      PiperOrigin-RevId: 259030078
      6f47c378
    • Jing Li's avatar
      Merged commit includes the following changes: (#7263) · c5a4978d
      Jing Li authored
      * Merged commit includes the following changes:
      258867180  by jingli<jingli@google.com>:
      
          Add new folders for upcoming reorg in model garden.
      
      --
      258893811  by hongkuny<hongkuny@google.com>:
      
          Adds summaries for metrics, allowing metrics inside keras.model.
      
      --
      258893048  by isaprykin<isaprykin@google.com>:
      
          Remove the `cloning` argument to `compile()`.
      
          Keras models are distributed by cloning in graph mode and without cloning in eager mode as of the change # 258652546.
      
      --
      258881002  by hongkuny<hongkuny@google.com>:
      
          Fix lint.
      
      --
      258874998  by hongkuny<hongkuny@google.com>:
      
          Internal
      
      --
      258872662  by hongkuny<hongkuny@google.com>:
      
          Fix doc
      
      --
      
      PiperOrigin-RevId: 258867180
      
      * Create __init__.py
      
      * Update __init__.py
      
      * Update __init__.py
      
      * Update __init__.py
      c5a4978d
    • Toby Boyd's avatar
      Revert "Change how TF 2 is checked" (#7260) · 2569fa9a
      Toby Boyd authored
      This reverts commit 712f473e.
      2569fa9a
    • guptapriya's avatar
      Fix lint error · 283de38b
      guptapriya authored
      283de38b
    • guptapriya's avatar
      Disable ncf tests for 1.x · 8c8779a3
      guptapriya authored
      8c8779a3
    • guptapriya's avatar
      NCF Keras: Fail early with TF 1.x + dist strat · 41d071ee
      guptapriya authored
      This combination does not yet work. Fail early with an explicit message instead of throwing error later on.
      41d071ee
    • guptapriya's avatar
      Change how TF 2 is checked · 712f473e
      guptapriya authored
      The current approach checks for presence of contrib. Sometimes this is not sufficient (for e..g when testing TF 1 + enable_v2_behavior=True which is what internal tests currently do)
      712f473e
    • Hongkun Yu's avatar
      Merged commit includes the following changes: (#7255) · 32fadf00
      Hongkun Yu authored
      258881002  by hongkuny<hongkuny@google.com>:
      
          Fix lint.
      
      --
      258874998  by hongkuny<hongkuny@google.com>:
      
          Internal
      
      --
      258872662  by hongkuny<hongkuny@google.com>:
      
          Fix doc
      
      --
      258871624  by hongkuny<hongkuny@google.com>:
      
          Internal change
      
      PiperOrigin-RevId: 258881002
      32fadf00
  5. 18 Jul, 2019 3 commits
    • 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
    • Toby Boyd's avatar
      Refactor and add benchmarks as well as accuracy tests for GPU and CPU (#7248) · e0a2b8c3
      Toby Boyd authored
      * Added benchmarks and common flags.
      
      * Add cpu tests.
      
      * Add tracking epoch times.
      
      * fix transformer.
      
      * Add examples_per_second.
      
      * fix pylint
      e0a2b8c3
    • Haoyu Zhang's avatar
      Improve Keras graph performance for ResNet56 (#7241) · dd5a91d3
      Haoyu Zhang authored
      * Config threadpool, cuDNN persistent BN, and grappler layout optimizer properly for ResNet56
      
      * Add tweaked tests for Resnet56
      
      * Avoid triggering the last partial batch overhead by explicitly dropping remainder
      dd5a91d3
  6. 16 Jul, 2019 2 commits
  7. 15 Jul, 2019 2 commits
  8. 11 Jul, 2019 5 commits
  9. 09 Jul, 2019 1 commit
  10. 08 Jul, 2019 2 commits
  11. 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
  12. 02 Jul, 2019 3 commits
  13. 28 Jun, 2019 4 commits
    • Toby Boyd's avatar
      Add FP16 end-to-end tests (#7122) · 58a3de6c
      Toby Boyd authored
      58a3de6c
    • nnigania's avatar
      NCF CTL Perf optimization to convert gradients from sparse to dense (#7102) · 44ff121d
      nnigania authored
      * borrowing a tf1.x optimization which converts gradients from sparse to dense for better perf
      
      * cleanup after code review
      44ff121d
    • saberkun's avatar
      Merged commit includes the following changes: (#7119) · 5afa9569
      saberkun authored
      * Merged commit includes the following changes:
      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
      
      --
      254874613  by hongkuny<hongkuny@google.com>:
      
          Update glue tasks enum to match directory name
      
      --
      254866171  by taylorrobie<taylorrobie@google.com>:
      
          Internal change
      
      254785517  by zongweiz<zongweiz@google.com>:
      
          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: 255493073
      
      * Update README.md
      5afa9569
    • 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
  14. 25 Jun, 2019 1 commit
  15. 24 Jun, 2019 2 commits
  16. 22 Jun, 2019 1 commit