1. 25 11月, 2020 1 次提交
    • H
      Quant nn2.0 (#28764) · 40f54537
      huangxu96 提交于
      * Impelement 2.0 API version Conv2d and Linear layer quantization in imperative mode.
      
      * use cudnn softmax in static Lenet
      
      * Modified ChannelwiseQAT Unittest for 2.0 API.
      
      * For CI python coverage.
      40f54537
  2. 24 11月, 2020 1 次提交
    • L
      Upgrade string literals to raw string (#28989) · 3815d7aa
      Leo Chen 提交于
      * upgrade comment string to raw string
      
      * fix string in
      
      * fix string with ' '
      
      * revert update on comments
      
      * upgrade only necessary
      
      * fix sample code checker
      
      * fix comments with '''
      3815d7aa
  3. 23 11月, 2020 1 次提交
  4. 18 11月, 2020 3 次提交
  5. 16 11月, 2020 1 次提交
  6. 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
  7. 04 11月, 2020 1 次提交
  8. 21 10月, 2020 2 次提交
    • C
      fix test_weight_decay_extend error (#28178) · 5d73bfdb
      Chen Weihang 提交于
      5d73bfdb
    • C
      2.0rc api rename (#28088) · 7c1aa0d6
      cnn 提交于
      * rename manual_seed to seed
      
      * rename xxx1d-->xxx1D, xxx2d-->xxx2D, xxx3d-->xxx3D
      
      * rename manual_seed --> seed
      
      * do not rename .cc, .cu and .h file
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * rename manual_seed --> seed
      
      * disable_static on doc example code
      
      * donot change manual_seed on generator
      
      * add enable_static on sample code
      
      * convert python/paddle/fluid/layers/nn.py to bak
      
      * fix typo
      
      * fix code style
      
      * fix seed to manual_seed when call functions of Generator()
      
      * fix bug
      7c1aa0d6
  9. 14 10月, 2020 1 次提交
  10. 12 10月, 2020 2 次提交
  11. 11 10月, 2020 1 次提交
  12. 09 10月, 2020 1 次提交
  13. 01 10月, 2020 1 次提交
  14. 24 9月, 2020 1 次提交
  15. 23 9月, 2020 2 次提交
  16. 22 9月, 2020 1 次提交
    • P
      Use dygraph mode by default (#27443) · 827ac36f
      pangyoki 提交于
      * default open dygraph mode
      
      * fix CI-Mac
      
      * fix Mac-CI other unittest file
      
      * fix CI-Py3
      
      * fix test_communicator_geo and test_buffer_shared_memory_reuse_pass
      
      * add enable_static to fix CI-Py3
      
      * add enable_static to fix CI-coverage
      
      * delete try except
      827ac36f
  17. 21 9月, 2020 1 次提交
    • H
      Quant op dev (#25932) · 02606d45
      huangxu96 提交于
      * Finished ChannelWiseQuantDequantAbsMaxOp and Passed unittests.
      
      * Finished channel-wise quantize strategy in imperative quantization.
      
      * Added Cuda code of ChannelWiseQuantDequantMaxAbsOP
      Add Cuda code of ChannelWiseQuantDequantMaxAbsOp
      
      * Add quant_axis for channel_wise quant.
      
      * fixed a bug in unnitests, which will not trigger axis = 1 case and cannot meet the coverage rate requirement.
      
      * Added some assert infomation and fixed some coding style mistakes.
      02606d45
  18. 18 9月, 2020 1 次提交
  19. 15 9月, 2020 1 次提交
  20. 14 9月, 2020 1 次提交
    • Z
      Update amp_check_finite_and_scale_op and add an updating_loss_scaling op for... · d708b210
      Zhen Wang 提交于
      Update amp_check_finite_and_scale_op and add an updating_loss_scaling op for static graph amp training. (#26240)
      
      * update amp_check_finite_and_scale_op for static_amp.
      
      * use amp_check_finite_and_scale in static graph amp.
      
      * update grads to zero when grads own infinite values(as for amp_checkout_finite_and_scale op).
      
      * add update_loss_scaling op in cpp.
      
      * add update_loss_scaling_op unit test.
      
      * update the doc of the check_finite_and_unscale op
      
      * Update the process of gradients updating skipping if the gradients have infinite values.
      
      * update the way to zero grads.
      
      * update test_update_loss_scaling_op.py
      
      * add log info when find infinite grads.
      
      * add the unit test for UpdateLossScaling Layer.
      d708b210
  21. 10 9月, 2020 1 次提交
  22. 08 9月, 2020 1 次提交
  23. 07 9月, 2020 1 次提交
    • S
      fix dimensions error for mobilenetv1_KL_quant (#26776) · eb65877c
      Sylwester Fraczek 提交于
      * fix dimensions error for mobilenetv1_KL_quant
      
      fixes AssertionError: The size of weight scales vector (1000) does not match the number of output channels (1024) in the weights tensor fc7_weights.
      
      add mul test
      
      * remove comment
      
      * add third case unit test
      eb65877c
  24. 03 9月, 2020 1 次提交
  25. 02 9月, 2020 1 次提交
  26. 31 8月, 2020 1 次提交
    • Q
      Move hapi to python/paddle root dir. (#26442) · f7fb4c22
      qingqing01 提交于
      * Move hapi form paddle/incubate to paddle
      
      * Remove vision/datasets/utils.py and clean code
      
      * Add sample code for conll05
      
      * Print pull path when saving model
      
      * Fix sample code after paramter_list of SGD is changed to parameters
      
      * Fix bug in wmt16 datase
      f7fb4c22
  27. 28 8月, 2020 2 次提交
    • L
      Refine paddle.manual_seed (#26496) · 844583c8
      Leo Chen 提交于
      * refine manual seed
      
      * fix ci problem
      
      * fix unittests
      
      * fix unittest
      
      * set is_init_py=false in manual_seed
      
      * fix unittest
      
      * fix bernoulli_op
      
      * fix(unittest): change random_seed to manual_seed
      
      * 🐞fix(unittest): fix manual_seed
      
      * trigger ci
      
      * fix test_sentiment
      
      * fix test_imperative_save_load
      
      * fix test_uniform_random_op
      
      * fix test_uniform_random_op
      
      * fix test_jit_save_load
      
      * merge develop
      
      * fix manual_seed
      
      * fix manual_seed
      
      * use global engine
      
      * use shared_ptr
      
      * fix double free
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * fix test bug
      
      * fix test bug
      
      * fix test bug
      
      * fix ci
      844583c8
    • P
      trt int8 support conv2d_transpose (#26636) · e3f8e5cf
      Pei Yang 提交于
      e3f8e5cf
  28. 27 8月, 2020 2 次提交
  29. 25 8月, 2020 1 次提交
  30. 24 8月, 2020 2 次提交
  31. 21 8月, 2020 1 次提交
  32. 19 8月, 2020 1 次提交
    • C
      [Quantization] Conv2d_transpose and mul support channnelwise quantization (#25639) · 3f816bc8
      cc 提交于
      * Conv2d_transpose and mul support channnelwise quantization, test=develop
      * Skip collecting out threshold for output tensor of which the type is not fp32 or fp64, test=develop
      * Fix error in test_user_defined_quantization, test=develop
      * Add depthwise_conv_bn_fuse, test=develop
      * Add conv_transpose_bn_fuse_pass for post_training_quant, test=develop
      3f816bc8