1. 31 Jul, 2018 4 commits
  2. 30 Jul, 2018 2 commits
    • Taylor Robie's avatar
      NCF pipeline refactor (take 2) and initial TPU port. (#4935) · 6518c1c7
      Taylor Robie authored
      * intermediate commit
      
      * ncf now working
      
      * reorder pipeline
      
      * allow batched decode for file backed dataset
      
      * fix bug
      
      * more tweaks
      
      * parallize false negative generation
      
      * shared pool hack
      
      * workers ignore sigint
      
      * intermediate commit
      
      * simplify buffer backed dataset creation to fixed length record approach only. (more cleanup needed)
      
      * more tweaks
      
      * simplify pipeline
      
      * fix misplaced cleanup() calls. (validation works\!)
      
      * more tweaks
      
      * sixify memoryview usage
      
      * more sixification
      
      * fix bug
      
      * add future imports
      
      * break up training input pipeline
      
      * more pipeline tuning
      
      * first pass at moving negative generation to async
      
      * refactor async pipeline to use files instead of ipc
      
      * refactor async pipeline
      
      * move expansion and concatenation from reduce worker to generation workers
      
      * abandon complete async due to interactions with the tensorflow threadpool
      
      * cleanup
      
      * remove performance_comparison.py
      
      * experiment with rough generator + interleave pipeline
      
      * yet more pipeline tuning
      
      * update on-the-fly pipeline
      
      * refactor preprocessing, and move train generation behind a GRPC server
      
      * fix leftover call
      
      * intermediate commit
      
      * intermediate commit
      
      * fix index error in data pipeline, and add logging to train data server
      
      * make sharding more robust to imbalance
      
      * correctly sample with replacement
      
      * file buffers are no longer needed for this branch
      
      * tweak sampling methods
      
      * add README for data pipeline
      
      * fix eval sampling, and vectorize eval metrics
      
      * add spillover and static training batch sizes
      
      * clean up cruft from earlier iterations
      
      * rough delint
      
      * delint 2 / n
      
      * add type annotations
      
      * update run script
      
      * make run.sh a bit nicer
      
      * change embedding initializer to match reference
      
      * rough pass at pure estimator model_fn
      
      * impose static shape hack (revisit later)
      
      * refinements
      
      * fix dir error in run.sh
      
      * add documentation
      
      * add more docs and fix an assert
      
      * old data test is no longer valid. Keeping it around as reference for the new one
      
      * rough draft of data pipeline validation script
      
      * don't rely on shuffle default
      
      * tweaks and documentation
      
      * add separate eval batch size for performance
      
      * initial commit
      
      * terrible hacking
      
      * mini hacks
      
      * missed a bug
      
      * messing about trying to get TPU running
      
      * TFRecords based TPU attempt
      
      * bug fixes
      
      * don't log remotely
      
      * more bug fixes
      
      * TPU tweaks and bug fixes
      
      * more tweaks
      
      * more adjustments
      
      * rework model definition
      
      * tweak data pipeline
      
      * refactor async TFRecords generation
      
      * temp commit to run.sh
      
      * update log behavior
      
      * fix logging bug
      
      * add check for subprocess start to avoid cryptic hangs
      
      * unify deserialize and make it TPU compliant
      
      * delint
      
      * remove gRPC pipeline code
      
      * fix logging bug
      
      * delint and remove old test files
      
      * add unit tests for NCF pipeline
      
      * delint
      
      * clean up run.sh, and add run_tpu.sh
      
      * forgot the most important line
      
      * fix run.sh bugs
      
      * yet more bash debugging
      
      * small tweak to add keras summaries to model_fn
      
      * Clean up sixification issues
      
      * address PR comments
      
      * delinting is never over
      6518c1c7
    • Sundara Tejaswi Digumarti's avatar
      Compute metrics under distributed strategies. (#4942) · a88b89be
      Sundara Tejaswi Digumarti authored
      Removed the conditional over distributed strategies when computing metrics.
      Metrics are now computed even when distributed strategies are used.
      a88b89be
  3. 26 Jul, 2018 1 commit
    • Jiang Yu's avatar
      fix batch_size in transformer_main.py (#4897) · 2d7a0d6a
      Jiang Yu authored
      * fix batch_size in transformer_main.py
      
      fix batch_size in transformer_main.py which causes ResourceExhaustedError: OOM during training Transformer models using models/official/transformer
      
      * small format change
      
      change format from one line to multiple ones in order to pass lint tests
      
      * remove trailing space and add comment
      2d7a0d6a
  4. 21 Jul, 2018 1 commit
  5. 20 Jul, 2018 1 commit
    • Yanhui Liang's avatar
      Add eager for keras benchmark (#4825) · 2689c9ae
      Yanhui Liang authored
      * Add more arguments
      
      * Add eager mode
      
      * Add notes for eager mode
      
      * Address the comments
      
      * Fix argument typos
      
      * Add warning for eager and multi-gpu
      
      * Fix typo
      
      * Fix notes
      
      * Fix pylint
      2689c9ae
  6. 19 Jul, 2018 1 commit
  7. 13 Jul, 2018 2 commits
    • Yanhui Liang's avatar
      Keras model benchmark (#4476) · 937a530a
      Yanhui Liang authored
      * Add callbacks
      
      * Add readme
      
      * update readme
      
      * fix some comments
      
      * Address all comments
      
      * Update docstrings
      
      * Add method docstrings
      
      * Update callbacks
      
      * Add comments on global_step initialization
      
      * Some updates
      
      * Address comments
      937a530a
    • Qianli Scott Zhu's avatar
      Add shorter timeout for GCP util. (#4762) · c020e502
      Qianli Scott Zhu authored
      * Add shorter timeout for GCP util.
      
      * Add comment for change reason and unit for timeout.
      c020e502
  8. 12 Jul, 2018 1 commit
  9. 11 Jul, 2018 1 commit
  10. 10 Jul, 2018 1 commit
  11. 26 Jun, 2018 1 commit
  12. 25 Jun, 2018 2 commits
  13. 22 Jun, 2018 1 commit
  14. 20 Jun, 2018 1 commit
    • Taylor Robie's avatar
      Wide Deep refactor and deep movies (#4506) · 20070ca4
      Taylor Robie authored
      * begin branch
      
      * finish download script
      
      * rename download to dataset
      
      * intermediate commit
      
      * intermediate commit
      
      * misc tweaks
      
      * intermediate commit
      
      * intermediate commit
      
      * intermediate commit
      
      * delint and update census test.
      
      * add movie tests
      
      * delint
      
      * fix py2 issue
      
      * address PR comments
      
      * intermediate commit
      
      * intermediate commit
      
      * intermediate commit
      
      * finish wide deep transition to vanilla movielens
      
      * delint
      
      * intermediate commit
      
      * intermediate commit
      
      * intermediate commit
      
      * intermediate commit
      
      * fix import
      
      * add default ncf csv construction
      
      * change default on download_if_missing
      
      * shard and vectorize example serialization
      
      * fix import
      
      * update ncf data unittests
      
      * delint
      
      * delint
      
      * more delinting
      
      * fix wide-deep movielens serialization
      
      * address PR comments
      
      * add file_io tests
      
      * investigate wide-deep test failure
      
      * remove hard coded path and properly use flags.
      
      * address file_io test PR comments
      
      * missed a hash_bucked_size
      20070ca4
  15. 18 Jun, 2018 1 commit
  16. 12 Jun, 2018 2 commits
    • Katherine Wu's avatar
      Add checklist for official models. Remove file access from flag validator (fix build) (#4492) · bb62f248
      Katherine Wu authored
      * Add checklist for official models. Remove file access from flag validator (causing issues with BUILD)
      
      * spelling
      
      * address PR comments
      bb62f248
    • Katherine Wu's avatar
      Transformer multi gpu, remove multi_gpu flag, distribution helper functions (#4457) · 29c9f985
      Katherine Wu authored
      * Add DistributionStrategy to transformer model
      
      * add num_gpu flag
      
      * Calculate per device batch size for transformer
      
      * remove reference to flags_core
      
      * Add synthetic data option to transformer
      
      * fix typo
      
      * add import back in
      
      * Use hierarchical copy
      
      * address PR comments
      
      * lint
      
      * fix spaces
      
      * group train op together to fix single GPU error
      
      * Fix translate bug (sorted_keys is a dict, not a list)
      
      * Change params to a default dict (translate.py was throwing errors because params didn't have the TPU parameters.)
      
      * Address PR comments. Removed multi gpu flag + more
      
      * fix lint
      
      * fix more lints
      
      * add todo for Synthetic dataset
      
      * Update docs
      29c9f985
  17. 11 Jun, 2018 1 commit
  18. 08 Jun, 2018 1 commit
  19. 07 Jun, 2018 1 commit
  20. 06 Jun, 2018 3 commits
  21. 05 Jun, 2018 2 commits
  22. 04 Jun, 2018 5 commits
    • Qianli Scott Zhu's avatar
      Fix lint error for cloud_lib (#4446) · 7ba78e94
      Qianli Scott Zhu authored
      7ba78e94
    • Taylor Robie's avatar
      add license headers (#4444) · 1e3ca88a
      Taylor Robie authored
      1e3ca88a
    • Taylor Robie's avatar
      add checkpoint links (#4428) · 1f2c317e
      Taylor Robie authored
      1f2c317e
    • Qianli Scott Zhu's avatar
      Update the dataset name for synthetic data. (#4443) · d93d1211
      Qianli Scott Zhu authored
      This will help us differentiate between dataset.
      d93d1211
    • Taylor Robie's avatar
      First pass at a TPU loop for Transformer (#4296) · 2eeb85fe
      Taylor Robie authored
      * port changes from previous branch now that transformer util changes are in master
      
      fix incorrect count
      
      correct (hopefully) treatment of batch_size
      
      set eval_metrics to a dummy function for now
      
      add some comments
      
      start bringing metrics to transformer TPU
      
      resolve logits shape
      
      metrics are now working except for tf.py_func metrics
      
      increase batch_size for tpu, and create summary host call
      
      fix host call
      
      reduce tpu default batch size
      
      further tune batch sizes
      
      add minibatch loss to summary
      
      handle case of single_iteration_train_steps > number points in an epoch
      
      begin to incorporate hooks
      
      add sleep workarounds
      
      disable hooks altogether
      
      generalize host call function and move to newly created tpu utils module
      
      remove all traces of params as an object
      
      switch from  to
      
      address some PR comments, and change the number of data points.
      
      minor tweaks
      
      add tpu dry run for testing, and use matmul for TPU embedding
      
      infeed/outfeed queue issue is fixed. Sleeps are no longer necessary
      
      add some documentation.
      
      cleanup and address PR comments
      
      delint
      
      add accelerator __init__
      
      fix embedding
      
      missed PR comment
      
      address PR comments
      
      fix validator bug
      
      rewrite cloud storage validator, and add oauth dependency to requirements.txt
      
      * delint
      2eeb85fe
  23. 01 Jun, 2018 3 commits
    • Yanhui Liang's avatar
      Fix the hooks test comments (#4427) · 02571056
      Yanhui Liang authored
      02571056
    • Qianli Scott Zhu's avatar
      Add new test ID and test env info to the benchmark run. (#4426) · d2d6ab4c
      Qianli Scott Zhu authored
      * Add new test ID and test env info to the benchmark run.
      
      * Fix test.
      
      * Fix lint
      
      * Address review comment.
      d2d6ab4c
    • Qianli Scott Zhu's avatar
      Record the status for a benchmark run. (#4402) · 47c5642e
      Qianli Scott Zhu authored
      * Update benchmark logger to update the run status.
      
      This is important for streaming upload to bigquery so that the
      dashboard can ignore the 'running' benchmark at the moment since
      its not finished yet.
      
      * Move the run status into a separate table.
      
      Also update the run status in the benchmark uploader and
      BigqueryBenchmarkLogger.
      
      * Insert instead of update for the benchmark status for file logger.
      
      * Address review comments.
      
      Update the logger to have benchmark context, which will update the
      run status accordingly.
      
      * Fix broken tests.
      
      * Move the benchmark logger context to main function.
      
      * Fix tests.
      
      * Update the rest of the models to use the context in main.
      
      * Delint.
      47c5642e
  24. 31 May, 2018 1 commit