1. 18 Jul, 2020 1 commit
  2. 09 May, 2020 1 commit
  3. 17 Apr, 2020 1 commit
  4. 14 Apr, 2020 1 commit
  5. 05 Mar, 2020 1 commit
  6. 16 Dec, 2019 1 commit
  7. 26 Nov, 2019 1 commit
  8. 16 Oct, 2019 1 commit
    • Reed Wanderman-Milne's avatar
      Add support for the tf.keras.mixed_precision API in NCF · cb913691
      Reed Wanderman-Milne authored
      To test, I did 50 fp32 runs and 50 fp16 runs. I used the following command:
      
      python ncf_keras_main.py --dataset=ml-20m --num_gpus=1 --train_epochs=10 --clean --batch_size=99000 --learning_rate=0.00382059 --beta1=0.783529 --beta2=0.909003 --epsilon=1.45439e-7 --layers=256,256,128,64 --num_factors=64 --hr_threshold=0.635 --ml_perf --nouse_synthetic_data --data_dir ~/ncf_data_dir_python3 --model_dir ~/tmp_model_dir --keras_use_ctl
      
      For the fp16 runs, I added --dtype=fp16. The average hit-rate for both fp16 and fp32 was 0.6365. I also did 50 runs with the mixed precision graph rewrite, and the average hit-rate was 0.6363. The difference is likely due to noise.
      
      PiperOrigin-RevId: 275059871
      cb913691
  9. 17 Sep, 2019 1 commit
  10. 09 Sep, 2019 1 commit
  11. 04 Sep, 2019 1 commit
  12. 12 Aug, 2019 1 commit
    • Hongjun Choi's avatar
      Merged commit includes the following changes: (#7430) · 03b4a0af
      Hongjun Choi authored
      262988559  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Enable NCF TF 2.0 model to run on TPUStrategy.
      
      --
      262971756  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change
      
      262967691  by hongkuny<hongkuny@google.com>:
      
          Internal
      
      --
      
      PiperOrigin-RevId: 262988559
      03b4a0af
  13. 09 Aug, 2019 1 commit
  14. 29 Jul, 2019 1 commit
    • Hongjun Choi's avatar
      Merged commit includes the following changes: (#7322) · 803f833c
      Hongjun Choi authored
      260228553  by priyag<priyag@google.com>:
      
          Enable transformer and NCF official model tests. Also fix some minor issues so that all tests pass with TF 1 + enable_v2_behavior.
      
      --
      260043210  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Add logic to train NCF model using offline generated data.
      
      --
      259778607  by priyag<priyag@google.com>:
      
          Internal change
      
      259656389  by hongkuny<hongkuny@google.com>:
      
          Internal change
      
      PiperOrigin-RevId: 260228553
      803f833c
  15. 23 Jul, 2019 2 commits
    • Toby Boyd's avatar
      Single execution path tests for ResNet50, ResNet56, NCF, and Shakespeare LSTM. (#7276) · 9d8c9aa4
      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.
      9d8c9aa4
    • Hongjun Choi's avatar
      Merged commit includes the following changes: (#7281) · 64d6c094
      Hongjun Choi authored
      * Merged commit includes the following changes:
      259442882  by hongkuny<hongkuny@google.com>:
      
          Internal
      
      --
      259377621  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Fix NCF serialization/de-serialization logic in NCF input pipeline to use tf.FixedLenFeature instead of raw string/binary decoding.
      
      --
      259373183  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Create binary to generate NCF training/evaluation dataset offline.
      
      --
      259026454  by isaprykin<isaprykin@google.com>:
      
          Internal change
      
      258871624  by hongkuny<hongkuny@google.com>:
      
          Internal change
      
      257285772  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      256202287  by A. Unique TensorFlower<gardener@tensorflow.org>:
      
          Internal change.
      
      --
      254069984  by hongkuny<hongkuny@google.com>:
          Automated rollback of changelist 254060732.
      
      254060732  by yifeif<yifeif@google.com>:
          Automated rollback of changelist 254027750.
      
      254027750  by hongkuny<hongkuny@google.com>:
      
          Internal change
      
      253118910  by hongkuny<hongkuny@google.com>:
      
          Internal change
      
      251906769  by hongkuny<hongkuny@google.com>:
      
          Internal change
      
      251303452  by haoyuzhang<haoyuzhang@google.com>:
      
          Internal change
      
      PiperOrigin-RevId: 259442882
      
      * Update ncf_keras_main.py
      64d6c094
  16. 21 Jun, 2019 1 commit
    • Toby Boyd's avatar
      NCF XLA and Eager tests with a refactor of resnet flags to make this cleaner. (#7067) · a68f65f8
      Toby Boyd authored
      * XLA FP32 and first test
      
      * More XLA benchmarks FP32.
      
      * Add eager to NCF and refactor resnet.
      
      * fix v2_0 calls and more flag refactor.
      
      * Remove extra flag args.
      
      * 90 epoch default
      
      * add return
      
      * remove xla not used by estimator.
      
      * Remove duplicate run_eagerly.
      
      * fix flag defaults.
      
      * Remove fp16_implementation flag option.
      
      * Remove stop early on mlperf test.
      
      * remove unneeded args.
      
      * load flags from keras mains.
      a68f65f8
  17. 13 Jun, 2019 2 commits
  18. 03 Jun, 2019 1 commit
  19. 31 May, 2019 2 commits
  20. 29 May, 2019 1 commit
  21. 28 May, 2019 1 commit
  22. 24 May, 2019 1 commit
  23. 29 Apr, 2019 1 commit
    • Igor's avatar
      Add benchmarks with the --cloning flag to Resnet and NFC. (#6675) · af47736d
      Igor authored
      * Add benchmarks with the --cloning flag to Resnet and NFC.
      
      * Renamed cloning to clone_model_in_keras_dist_strat. Dropped a few tests that aren't essential.
      
      * Fixed up the formatting after re-naming the flag to a much longer  name.  Thanks, lint.
      * Fixed the lint error in nfc_common.py
      af47736d
  24. 20 Apr, 2019 1 commit
    • Shining Sun's avatar
      Remove contrib imports, or move them inline (#6591) · 8ff9eb54
      Shining Sun authored
      * Remove contrib imports, or move them inline
      
      * Use exposed API for FixedLenFeature
      
      * Replace tf.logging with absl logging
      
      * Change GFile to v2 APIs
      
      * replace tf.logging with absl loggin in movielens
      
      * Fixing an import bug
      
      * Change gfile to v2 APIs in code
      
      * Swap to keras optimizer v2
      
      * Bug fix for optimizer
      
      * Change tf.log to tf.keras.backend.log
      
      * Change the loss function to keras loss
      
      * convert another loss to keras loss
      
      * Resolve comments and fix lint
      
      * Add a doc string
      
      * Fix existing tests and add new tests for DS
      
      * Added tests for multi-replica
      
      * Fix lint
      
      * resolve comments
      
      * make estimator run in tf2.0
      
      * use compat v1 loss
      
      * fix lint issue
      8ff9eb54
  25. 01 Mar, 2019 1 commit
    • Shining Sun's avatar
      Keras-fy NCF Model (#6092) · 048e5bff
      Shining Sun authored
      * tmp commit
      
      * tmp commit
      
      * first attempt (without eval)
      
      * Bug fixes
      
      * bug fixes
      
      * training done
      
      * Loss NAN, no eval
      
      * Loss weight problem solved
      
      * resolve the NAN loss problem
      
      * Problem solved. Clean up needed
      
      * Added a todo
      
      * Remove debug prints
      
      * Extract get_optimizer to ncf_common
      
      * Move metrics computation back to neumf; use DS.scope api
      
      * Extract DS.scope code to utils
      
      * lint fixes
      
      * Move obtaining DS above producer.start to avoid race condition
      
      * move pt 1
      
      * move pt 2
      
      * Update the run script
      
      * Wrap keras_model related code into functions
      
      * Update the doc for softmax_logitfy and change the method name
      
      * Resolve PR comments
      
      * working version with: eager, DS, batch and no masks
      
      * Remove git conflict indicator
      
      * move reshape to neumf_model
      
      * working version, not converge
      
      * converged
      
      * fix a test
      
      * more lint fix
      
      * more lint fix
      
      * more lint fixes
      
      * more lint fix
      
      * Removed unused i...
      048e5bff
  26. 08 Jan, 2019 1 commit
  27. 07 Jan, 2019 6 commits
    • Taylor Robie's avatar
      remove references to hash pipeline · d569b531
      Taylor Robie authored
      d569b531
    • Taylor Robie's avatar
      Add bisection based producer for increased scalability, enable fully... · 4fb325da
      Taylor Robie authored
      Add bisection based producer for increased scalability, enable fully deterministic data production, and use the materialized and bisection producer to check each other (via expected output md5's)
      4fb325da
    • Taylor Robie's avatar
      1048ffd5
    • Taylor Robie's avatar
      address PR comments · ec0d43ba
      Taylor Robie authored
      ec0d43ba
    • Taylor Robie's avatar
      remove 'deterministic' · 9d42f797
      Taylor Robie authored
      9d42f797
    • Taylor Robie's avatar
      rough pass at carving out existing NCF pipeline · c5ff4ec7
      Taylor Robie authored
      2nd half of rough replacement pass
      
      fix dataset map functions
      
      reduce bias in sample selection
      
      cache pandas work on a daily basis
      
      cleanup and fix batch check for multi gpu
      
      multi device fix
      
      fix treatment of eval data padding
      
      print data producer
      
      replace epoch overlap with padding and masking
      
      move type and shape info into the producer class and update run.sh with larger batch size hyperparams
      
      remove xla for multi GPU
      
      more cleanup
      
      remove model runner altogether
      
      bug fixes
      
      address subtle pipeline hang and improve producer __repr__
      
      fix crash
      
      fix assert
      
      use popen_helper to create pools
      
      add StreamingFilesDataset and abstract data storage to a separate class
      
      bug fix
      
      fix wait bug and add manual stack trace print
      
      more bug fixes and refactor valid point mask to work with TPU sharding
      
      misc bug fixes and adjust dtypes
      
      address crash from decoding bools
      
      fix remaining dtypes and change record writer pattern since it does not append
      
      fix synthetic data
      
      use TPUStrategy instead of TPUEstimator
      
      minor tweaks around moving to TPUStrategy
      
      cleanup some old code
      
      delint and simplify permutation generation
      
      remove low level tf layer definition, use single table with slice for keras, and misc fixes
      
      missed minor point on removing tf layer definition
      
      fix several bugs from recombinging layer definitions
      
      delint and add docstrings
      
      Update ncf_test.py. Section for identical inputs and different outputs was removed.
      
      update data test to run against the new producer class
      c5ff4ec7
  28. 03 Nov, 2018 1 commit
  29. 01 Nov, 2018 1 commit
  30. 30 Oct, 2018 1 commit
  31. 29 Oct, 2018 1 commit
  32. 26 Oct, 2018 1 commit
    • Reed's avatar
      Split --ml_perf into two flags. (#5615) · 4298c3a3
      Reed authored
      --ml_perf now just changes the model to make it MLPerf compliant. --output_ml_perf_compliance_logging adds the MLPerf compliance logs.
      4298c3a3