1. 14 4月, 2023 1 次提交
    • Y
      [AMP] Unify the static amp codes of fp16 and bf16. (#52694) · dfcba7f4
      Yiqun Liu 提交于
      * Unify the static amp codes of fp16 and bf16.
      
      * Polish apis and add unittest.
      
      * Add operator stats collecting tools for program.
      
      * Add the check of number of bloat16 operators in unittest.
      
      * Add warning for operator not supported for amp.
      
      * Add testing of BF16 O1 and O2.
      dfcba7f4
  2. 28 3月, 2023 1 次提交
  3. 30 12月, 2022 1 次提交
  4. 04 6月, 2022 1 次提交
  5. 25 3月, 2022 1 次提交
    • J
      Refactor Dygraph Flags (#40786) · 3085d5e4
      Jiabin Yang 提交于
      * refactor eager flags
      
      * fix flags error when we switch from eager to dygraph
      
      * fix ci problem
      
      * fix ci
      
      * fix ci
      
      * merge develop and fix code style
      
      * merge develop and fix code style
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * fix op test error
      
      * merge develop
      3085d5e4
  6. 02 12月, 2020 1 次提交
    • Z
      Add pure fp16 training with master weights. (#27712) · be3777a5
      Zhen Wang 提交于
      * add the weight decay func for the momentum op
      
      * Add the multi_precision function in Momentum Optimizer.
      
      * Make sure that the initial value of master weights are same with the fp16 weights.
      
      * add static loss scaling.
      
      * add the rescale_grad function in the pure fp16 training.
      
      * use the original momentum updating method.
      
      * Polish some codes, such as variable names.
      
      * add docstring for apis.
      
      * update the var creation details of _create_master_weight.
      
      * not modify codes about imperative momentum updating.
      
      * Fix the error of test_dist_sparse_tensor_load_momentum UT.
      
      * add unit test for multi precision fp16 training.
      
      * add more unit tests for CI.
      
      * Use lower threshold values for allclose comparing in test_multi_precision_fp16_train UT.
      
      * For CI Coverage Checking.
      be3777a5
  7. 08 11月, 2020 1 次提交
    • Y
      exec ut no more than 15s 1 (#28439) · ba075632
      YUNSHEN XIE 提交于
      * disable ut test_parallel_executor_fetch_isolated_var,test=document_fix
      
      * test for limiting ut exec time as 15S
      
      * fix an error caused by cannot find ut
      
      * fix some error
      
      * can not find test_transformer
      
      * fix error caused by ut not run in windows
      
      * fix error caused by Compiler Options
      
      * fix error caused by setting timeout value as 15 in python/paddle/tests/CMakeLists.txt
      
      * setting timeout value to 120s for old ut
      
      * add the timeout value setting
      
      * fix error caused by ut only run in coverage_ci
      
      * add analyzer_transformer_profile_tester
      
      * fix some error
      
      * fix some error
      
      * fix error with inference option
      
      * fix error with inference option setting as ON_INFER
      
      * add some ut to set timeout
      
      * modified some option
      
      * fix error
      
      * fix some timeout error
      
      * fix error
      
      * fix error
      
      * fix timeout for test_analyzer_bfloat16_resnet50
      
      * fix error
      
      * setting timeout properity for some ut
      
      * first pr for new ut timeout as 15S
      ba075632
  8. 27 6月, 2019 1 次提交
  9. 20 4月, 2019 1 次提交
  10. 17 4月, 2019 1 次提交
  11. 16 2月, 2019 1 次提交
    • Z
      resolve #15724 · e5d3d7c6
      Zhang, Guoming 提交于
      1.Remove the code for setting mkldnn environment in the test_calibration.py;
      2.Update the cmake file for MKLDNN environment enabling;
      3.Update the INT8 inference doc.
      
      test=develop
      e5d3d7c6
  12. 23 1月, 2019 1 次提交
    • G
      [V1.3] Add the calibration tool code for int8 inference and focus test. (#15062) · dbdaf15c
      guomingz 提交于
      * Add the calibration tool code for int8 inference and focus test.
      
      * Fix the calibration tool per the review comments.
      
      test=develop
      
      * Update the calibrator doc and remove extra line.
      
      * Fix the invalid is_negative_input attr set on Mobilenet.
      
      * Add the comments and fix the format issue.
      
      test=develop
      
      * Update the CMakelist.txt for Calibration PR.Disable the Calibration UT if not enable MKLDNN.
      
      test=develop
      
      * Update the CMakeList.txt.
      
      test=develop
      
      * Disable the test_calibration case on WIN and MAC.
      
      test=develop
      
      * Add the missing brackets.
      
      test=develop
      
      * Remove the outdated map operator which not supported on Python3.
      
      test=develop
      
      * Fix the style issue.
      
      test=develop
      
      * 1.Update the CMakeList.txt to disable calibration tool ut when the WITH_MKL is not set;
      2.Add the workaround to enable the FLAGS_use_mkldnn for PR_CI(PADDLE).
      
      test=develop
      
      * Fix the typo and format the License header.
      
      test=develop
      
      * 1.Add and Update TODOs per review comments.
      2.Code clean.
      
      test=develop
      dbdaf15c
  13. 13 9月, 2018 1 次提交
  14. 05 9月, 2018 1 次提交
  15. 25 5月, 2018 1 次提交
  16. 15 5月, 2018 1 次提交
  17. 12 5月, 2018 1 次提交
    • J
      [Test-driven] Recognize Digit: update mnist test cases with the new API syntax. (#10507) · 177324b0
      Jeff Wang 提交于
      * Update the mnist test cases with the new API syntax.
      
      * Turn on the tests for MNIST
      
      * delete the test files got merged accidently.
      
      * Enable the mnist tests. ready for test driven development.
      
      * Comment out the infer first
      This is to confirm that the Trainer.train is working
      
      * Add CMake file to include the tests
      
      * Make the train program only return avg_cost for now
      
      * Update the tests to use the latest syntax
      177324b0
  18. 24 2月, 2018 1 次提交
  19. 01 2月, 2018 1 次提交
  20. 31 1月, 2018 1 次提交
  21. 24 1月, 2018 1 次提交
  22. 27 11月, 2017 1 次提交
  23. 14 11月, 2017 2 次提交
  24. 14 9月, 2017 1 次提交
  25. 13 9月, 2017 2 次提交
  26. 12 9月, 2017 1 次提交
  27. 11 9月, 2017 3 次提交
  28. 09 9月, 2017 1 次提交
  29. 08 9月, 2017 1 次提交
  30. 07 9月, 2017 3 次提交
  31. 06 9月, 2017 2 次提交
  32. 05 9月, 2017 1 次提交
  33. 03 9月, 2017 1 次提交