1. 19 Jul, 2019 1 commit
    • 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
  2. 18 Jul, 2019 7 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
    • Jing Li's avatar
      Update CODEOWNERS (#7251) · 79b87be6
      Jing Li authored
      79b87be6
    • 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
    • Chris Mattmann's avatar
      Fix for #7225: CIFAR-10 eval fails with error TypeError: Input 'predictions'... · 63605b95
      Chris Mattmann authored
      Fix for #7225: CIFAR-10 eval fails with error TypeError: Input 'predictions' of 'InTopKV2' Op has type float16 that contributed by mattmann. (#7227)
      
      63605b95
    • Yongzhe Wang's avatar
      Merged commit includes the following changes: (#7250) · 3b9025d5
      Yongzhe Wang authored
      * Merged commit includes the following changes:
      257930561  by yongzhe:
      
          Mobile LSTD TfLite Client.
      
      --
      257928126  by yongzhe:
      
          Mobile SSD Tflite client.
      
      --
      257921181  by menglong:
      
          Fix discrepancy between pre_bottleneck = {true, false}
      
      --
      257561213  by yongzhe:
      
          File utils.
      
      --
      257449226  by yongzhe:
      
          Mobile SSD Client.
      
      --
      257264654  by yongzhe:
      
          SSD utils.
      
      --
      257235648  by yongzhe:
      
          Proto bazel build rules.
      
      --
      256437262  by Menglong Zhu:
      
          Fix check for FusedBatchNorm op to only verify it as a prefix.
      
      --
      256283755  by yongzhe:
      
          Bazel build and copybara changes.
      
      --
      251947295  by yinxiao:
      
          Add missing interleaved option in checkpoint restore.
      
      --
      251513479  by yongzhe:
      
          Conversion utils.
      
      --
      248783193  by yongzhe:
      
          Branch protos needed for the lstd client.
      
      --
      248200507  by menglong:
      
          Fix proto namespace in example config
      
      --
      
      PiperOrigin-RevId: 257930561
      
      * Delete BUILD
      
      * Merged commit includes the following changes:
      258709909  by yongzhe:
      
          1. Fix a bug that input wasn't copied.
          2. Change the tensor indexing to support graph with postprocessing.
          3. Fix a bug that the quantized lstm states weren't initialized.
      
      --
      258398095  by yongzhe:
      
          Internal change.
      
      --
      
      PiperOrigin-RevId: 258709909
      
      * Adding myself as the code owner
      3b9025d5
    • 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
    • Yongzhe Wang's avatar
      Merged commit includes the following changes: (#7249) · b7221961
      Yongzhe Wang authored
      * Merged commit includes the following changes:
      257930561  by yongzhe:
      
          Mobile LSTD TfLite Client.
      
      --
      257928126  by yongzhe:
      
          Mobile SSD Tflite client.
      
      --
      257921181  by menglong:
      
          Fix discrepancy between pre_bottleneck = {true, false}
      
      --
      257561213  by yongzhe:
      
          File utils.
      
      --
      257449226  by yongzhe:
      
          Mobile SSD Client.
      
      --
      257264654  by yongzhe:
      
          SSD utils.
      
      --
      257235648  by yongzhe:
      
          Proto bazel build rules.
      
      --
      256437262  by Menglong Zhu:
      
          Fix check for FusedBatchNorm op to only verify it as a prefix.
      
      --
      256283755  by yongzhe:
      
          Bazel build and copybara changes.
      
      --
      251947295  by yinxiao:
      
          Add missing interleaved option in checkpoint restore.
      
      --
      251513479  by yongzhe:
      
          Conversion utils.
      
      --
      248783193  by yongzhe:
      
          Branch protos needed for the lstd client.
      
      --
      248200507  by menglong:
      
          Fix proto namespace in example config
      
      --
      
      P...
      b7221961
  3. 16 Jul, 2019 3 commits
    • Hongkun Yu's avatar
      Merged commit includes the following changes: (#7221) · e21dcdd0
      Hongkun Yu authored
      258208153  by hongkuny<hongkuny@google.com>:
      
          Adds run_eagerly option for bert.
      
      --
      
      PiperOrigin-RevId: 258208153
      e21dcdd0
    • nnigania's avatar
      Ncf perf optimizations for CTL and multi GPU (#7206) · 492f8c92
      nnigania authored
      * Ncf perf changes 1)exclude metric layer from CTL train step 2)dataset optimization to fix size of the sample_weights, preventing a costly broadcast during loss calculation for multi-gpu case
      492f8c92
    • yongzhe2160's avatar
      Merged commit includes the following changes: (#7220) · 66d00a87
      yongzhe2160 authored
      * Merged commit includes the following changes:
      257930561  by yongzhe:
      
          Mobile LSTD TfLite Client.
      
      --
      257928126  by yongzhe:
      
          Mobile SSD Tflite client.
      
      --
      257921181  by menglong:
      
          Fix discrepancy between pre_bottleneck = {true, false}
      
      --
      257561213  by yongzhe:
      
          File utils.
      
      --
      257449226  by yongzhe:
      
          Mobile SSD Client.
      
      --
      257264654  by yongzhe:
      
          SSD utils.
      
      --
      257235648  by yongzhe:
      
          Proto bazel build rules.
      
      --
      256437262  by Menglong Zhu:
      
          Fix check for FusedBatchNorm op to only verify it as a prefix.
      
      --
      256283755  by yongzhe:
      
          Bazel build and copybara changes.
      
      --
      251947295  by yinxiao:
      
          Add missing interleaved option in checkpoint restore.
      
      --
      251513479  by yongzhe:
      
          Conversion utils.
      
      --
      248783193  by yongzhe:
      
          Branch protos needed for the lstd client.
      
      --
      248200507  by menglong:
      
          Fix proto namespace in example config
      
      --
      
      PiperOrigin-RevId: 257930561
      
      * Delete BUILD
      66d00a87
  4. 15 Jul, 2019 3 commits
    • Bruce Fontaine's avatar
      Initial implementation of Shakespeare character LSTM. (#7218) · 395f6d2d
      Bruce Fontaine authored
      * Initial implementation of Shakespeare character LSTM.
      
      * Fix import order
      395f6d2d
    • Hongkun Yu's avatar
      Merged commit includes the following changes: (#7209) · dc8c6ce1
      Hongkun Yu authored
      257883986  by hongkuny<hongkuny@google.com>:
      
          Adds tf.summary for bert training
      
      --
      
      PiperOrigin-RevId: 257883986
      dc8c6ce1
    • pkulzc's avatar
      Object detection changes: (#7208) · fe748d4a
      pkulzc authored
      257914648  by lzc:
      
          Internal changes
      
      --
      257525973  by Zhichao Lu:
      
          Fixes bug that silently prevents checkpoints from loading when training w/ eager + functions. Also sets up scripts to run training.
      
      --
      257296614  by Zhichao Lu:
      
          Adding detection_features to model outputs
      
      --
      257234565  by Zhichao Lu:
      
          Fix wrong order of `classes_with_max_scores` in class-agnostic NMS caused by
          sorting in partitioned-NMS.
      
      --
      257232002  by ronnyvotel:
      
          Supporting `filter_nonoverlapping` option in np_box_list_ops.clip_to_window().
      
      --
      257198282  by Zhichao Lu:
      
          Adding the focal loss and l1 loss from the Objects as Points paper.
      
      --
      257089535  by Zhichao Lu:
      
          Create Keras based ssd + resnetv1 + fpn.
      
      --
      257087407  by Zhichao Lu:
      
          Make object_detection/data_decoders Python3-compatible.
      
      --
      257004582  by Zhichao Lu:
      
          Updates _decode_raw_data_into_masks_and_boxes to the latest binary masks-to-string encoding fo...
      fe748d4a
  5. 11 Jul, 2019 5 commits
  6. 10 Jul, 2019 1 commit
  7. 09 Jul, 2019 2 commits
  8. 08 Jul, 2019 5 commits
  9. 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
  10. 02 Jul, 2019 3 commits
  11. 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
  12. 26 Jun, 2019 1 commit
  13. 25 Jun, 2019 1 commit
  14. 24 Jun, 2019 2 commits
  15. 22 Jun, 2019 1 commit
    • George K's avatar
      readme source url and import optimization (#7084) · adc27172
      George K authored
      * restored missing function
      
      * missing import
      
      * missing imports
      
      * updated tutorial link
      
      * recovered _print_download_progress func
      
      * change default train with float16 instead of float32 accuracy
      
      * test disable func call
      
      * redundant function call, currently data is pulled automatically in
      
      * optimized imports
      
      * optimized imports
      adc27172