- 08 Aug, 2019 1 commit
-
-
Reed authored
Also, do Transformer inference in fp16, as well as training, when --dtype=fp16. In TF 2, layers now cannot run in multiple different dtypes, so we must use the same dtype for training and inference.
-
- 07 Aug, 2019 1 commit
-
-
Hongkun Yu authored
262039434 by A. Unique TensorFlower<gardener@tensorflow.org>: Internal change 262024241 by hongkuny<hongkuny@google.com>: Adds __init__.py -- 262021128 by isaprykin<isaprykin@google.com>: Internal change PiperOrigin-RevId: 262039434
-
- 06 Aug, 2019 1 commit
-
-
Toby Boyd authored
-
- 05 Aug, 2019 1 commit
-
-
Igor authored
* Fix the ValueError: Error when checking model input on the new codepath Fixes the following error: File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/engine/training.py", line 2428, in _standardize_user_data exception_prefix='input') File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/engine/training_utils.py", line 530, in standardize_input_data str(len(data)) + ' arrays: ' + str(data)[:200] + '...') ValueError: Error when checking model input: the list of Numpy arrays that you are passing to your model is not the size the model expected. Expected to see 2 array(s), but instead got the following list of 1 arrays: [<tf.Tensor 'cond_8/Identity:0' shape=(None, None) dtype=int64>].. Tested and reproduced by running trasformer_main_test (thanks to whoever wrote it, phew!) * Remove the unnecessary TODO.
-
- 01 Aug, 2019 1 commit
-
-
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
-
- 24 Jul, 2019 5 commits
-
-
guptapriya authored
-
guptapriya authored
-
guptapriya authored
-
guptapriya authored
-
guptapriya authored
-
- 23 Jul, 2019 1 commit
-
-
Toby Boyd authored
* Add force_run_distributed tests. * Added enable_eager * r/force_run_distributed/force_v2_in_keras_compile * Adding force_v2 tests and FLAGs. * Rename method to avoid conflict. * Add cpu force_v2 tests. * fix lint, wrap line. * change to force_v2_in_keras_compile * Update method name. * Lower mlperf target to 0.736.
-
- 20 Jul, 2019 1 commit
-
-
Zongwei Zhou authored
-
- 11 Jul, 2019 3 commits
- 08 Jul, 2019 1 commit
-
-
Toby Boyd authored
* reduce iterations from 20 to 12. * add fp16 dynamic batch accuracy check. * fix existing lint issue.
-
- 03 Jul, 2019 1 commit
-
-
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
-
- 28 Jun, 2019 1 commit
-
-
Toby Boyd authored
-
- 22 Jun, 2019 1 commit
-
-
Toby Boyd authored
-
- 21 Jun, 2019 2 commits
-
-
guptapriya authored
* trying fake merge call * make metrics optional * Remove extra print
-
Reed authored
-
- 20 Jun, 2019 2 commits
- 19 Jun, 2019 2 commits
-
-
Reed authored
-
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:Reed <reedwm@google.com>
-
- 18 Jun, 2019 1 commit
-
-
Toby Boyd authored
-
- 11 Jun, 2019 1 commit
-
-
saberkun authored
252534787 by hongkuny<hongkuny@google.com>: Transformer vocab fix to strip correctly in py2 -- PiperOrigin-RevId: 252534787
-
- 06 Jun, 2019 3 commits
-
-
Reed authored
-
guptapriya authored
-
saberkun authored
251762562 by hongkuny<hongkuny@google.com>: Fix blue score inconsistency -- PiperOrigin-RevId: 251762562
-
- 05 Jun, 2019 7 commits
-
-
guptapriya authored
-
guptapriya authored
-
guptapriya authored
-
guptapriya authored
-
guptapriya authored
-
guptapriya authored
-
guptapriya authored
-
- 31 May, 2019 2 commits
-
-
Haoyu Zhang authored
-
Haoyu Zhang authored
* Fix various lint errors * Fix logging format
-
- 29 May, 2019 1 commit
-
-
Zhang Xunkai authored
* Make max_length and static_batch configurable. * Fix line length. * Fix incorrect parameters in building eval input. * Improve comments for readability.
-