- 05 2月, 2021 1 次提交
-
-
由 Zhen Wang 提交于
* Use correct master weights in AdamW. * Just modify the master weight. * Update for CI Coverage.
-
- 25 1月, 2021 1 次提交
-
-
由 yingshengBD 提交于
post quantize support insert fake_quantize_dequantize node before the OPs that will be used in VIS's faceid models (#30659) test=develop
-
- 20 1月, 2021 2 次提交
- 18 1月, 2021 2 次提交
- 13 1月, 2021 4 次提交
-
-
由 cc 提交于
* skip quantizing ops in cpu inference, test=develop
-
由 Bai Yifan 提交于
-
由 huangxu96 提交于
-
由 huangxu96 提交于
* Implemented AddQuantDequantPass in imperative quantization. * Supported LeakyReLU Quantization * For meeting coverage rate. * Changed the file name of test of AddQuantDequant * Implemented more Quantized NoWeightLayers. * Fix the loss cannot align problem between static and dynamic model quantization, add swish as supported quantized layer in imperative quantization. * remove noweight_list * support 2.0 API such as Pool2D and ReLu
-
- 12 1月, 2021 1 次提交
-
-
由 tangwei12 提交于
* add sparse embedding & load vars for 2.0 Change-Id: I36b59ed5f015189dc9d9d2e34a9357722d369f1b * fix hdfs gloo Change-Id: Ia84d579053720ad804183e54c9a04b4f031c79c6 * fix gloo hdfs Change-Id: I5ab982fd483cddc10adcdef0b8aa83aca976cb9e * move loadvar/sparse embedding from incubute to static Change-Id: I57081d3545ad2efab78c72420d2162c0eacaf3a0
-
- 08 1月, 2021 2 次提交
-
-
由 Zhen Wang 提交于
* add cast ops before and after unsupported fp16 ops. * Keep partial net in FP32 pattern. * Support check_finite_and_unscale and update_loss_scaling for FP16 calculation mode. * Add fp16 support for adam op. * add multi precision attr for adam. * Fix the bug of test_multi_precision_fp16_train UT. * Code format for CI. * Fix the redefine error about MPTypeTrait on windows. * fix bugs of the _create_accumulators func in Momentum. * fix bug when inserting post cast op. * Add the update_loss_scaling op in allow_set of UnusedVarCheck. * Update for ci coverage. * Add some doc for OptimizerWithMixedPrecision. * Fix the code style. * Imporve the doc of `amp_init`. * Change for fp16 testing if users have the infer program defined in separate way.
-
由 guofei 提交于
* Quantization supports 2.0 APIs * Fix the error of save_quantized_model
-
- 07 1月, 2021 1 次提交
-
-
由 wangchaochaohu 提交于
-
- 05 1月, 2021 2 次提交
- 30 12月, 2020 1 次提交
-
-
由 cc 提交于
* Support quantizing program_desc, test=develop
-
- 29 12月, 2020 1 次提交
-
-
由 guofei 提交于
* Fix unittest:test_imperative_skip_out
-
- 28 12月, 2020 1 次提交
-
-
由 XiaoguangHu 提交于
* rm check_import_scipy, rm chunk_eval and mean_iou in paddle.metric.__init__.py * Revert "rm check_import_scipy, rm chunk_eval and mean_iou in paddle.metric.__init__.py" This reverts commit 179ba8c2b22bc31fe8d8a126e31820792cbd0f4e. * delete paddle.metric.chunk_eval and paddle.metric.mean_iou * delete paddle.nn.clip and paddle.nn.clip_by_norm * delete paddle.nn.functional.activation.hard_sigmoid and paddle.nn.functional.activation.hard_swish * delete paddle.nn.Pool2D, paddle.nn.BilinearTensorProduct, paddle.nn.RowConv, paddle.nn.functional.row_conv * fix extension import error * fix unittest for row_conv and Pool2D
-
- 22 12月, 2020 1 次提交
-
-
由 cc 提交于
-
- 21 12月, 2020 2 次提交
- 16 12月, 2020 1 次提交
-
-
由 huangxu96 提交于
* add static.amp into setup.pu.in * add unittest for api
-
- 15 12月, 2020 1 次提交
-
-
由 huangxu96 提交于
* add alias for fluid.contrib.mixed_precision
-
- 11 12月, 2020 1 次提交
-
-
由 Wojciech Uss 提交于
-
- 09 12月, 2020 1 次提交
-
-
由 Aurelius84 提交于
-
- 08 12月, 2020 1 次提交
-
-
由 LoveAn 提交于
-
- 02 12月, 2020 2 次提交
-
-
由 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.
-
由 furnace 提交于
* add fp16 for layer_norm op * revert layernorm api * fix forward * fix forward * fix backward for layernorm with fp16 * fix unit test for layernorm with fp16 * fix with_mkldnn compile error for layernorm with fp16 * 1. revert to PADDLE_ENFORCE_NOT_NULL, 2. change static_cast<float> to static_cast<U> * fix with_mkldnn compile error for layernorm with fp16 * fix with_mkldnn compile error for layernorm with fp16 Co-authored-by: Nzhiqiu <chenqiuliang@baidu.com>
-
- 01 12月, 2020 1 次提交
-
-
由 Leo Chen 提交于
-
- 30 11月, 2020 2 次提交
-
-
由 WangXi 提交于
-
由 Wojciech Uss 提交于
-
- 27 11月, 2020 1 次提交
-
-
由 guofei 提交于
* Optimiz the unittest test_imperative_out_scale test=develop
-
- 26 11月, 2020 1 次提交
-
-
由 Aurelius84 提交于
-
- 25 11月, 2020 1 次提交
-
-
由 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.
-
- 24 11月, 2020 1 次提交
-
-
由 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 '''
-
- 23 11月, 2020 1 次提交
-
-
由 furnace 提交于
* refactor momentum op to combine weight_decay (scale op and sum op)
-
- 18 11月, 2020 3 次提交
-
-
由 Chen Weihang 提交于
* add debuging code * change seed & add debug message
-
由 Bai Yifan 提交于
* support user-defined quant and preprocess
-
由 Leo Chen 提交于
* add matmtl_v2 to amp list * support dygraph
-