- 26 10月, 2021 1 次提交
-
-
由 Li Min 提交于
功能:本PR的目标是提高attention模块的计算性能。 为了减少框架层对op的调度开销,本PR通过在C++层手动实现attention模块,对外提供attention 大op; 为了减少防存开销,本PR采取了两种优化方法: (1)在q,k,v计算时通过共享输入X,将该处的gemm,transpose和bias add从三次调用减少为一次; (2)使用kernel融合优化技术,在不同cuda kernel之间通过寄存器传输数据;
-
- 26 7月, 2021 1 次提交
-
-
由 zhiboniu 提交于
-
- 01 7月, 2021 1 次提交
-
-
由 liu zhengxi 提交于
-
- 29 4月, 2021 1 次提交
-
-
由 zhiboniu 提交于
add __all__=[] to python files not in API public list; import * only support in API public list files (#32643)
-
- 27 4月, 2021 2 次提交
-
-
由 zhiboniu 提交于
* update 2.0 public api in nn * replace Chinese character cause error in ci;synchronization with pr:#32588 to avoid 'ascii' codec in python2 * numbers used in paddle.nn.functional.norm but not imported
-
由 xiemoyuan 提交于
* fixed docs. * Fixed docs. test=document_fix code bak. fixed docs. test=document_fix * Revert to previous version of python/paddle/fluid/backward.py * fixed bugs. * test=document_fix. Fixed examples.
-
- 23 2月, 2021 1 次提交
-
-
由 xiemoyuan 提交于
* Support 'bool' and 'int' for attention mask. * Update docs. * Add unittest for Transformer. * fix bugs.
-
- 01 2月, 2021 1 次提交
-
-
由 xiemoyuan 提交于
* Add cache for Transformer encoder. * Bug fixed. * add unittests for transformer encoder.
-
- 29 12月, 2020 1 次提交
-
-
由 Chen Long 提交于
* fix code bugs * fix code bugs test=document_fix * fix code bugs test=document_fix
-
- 05 12月, 2020 1 次提交
-
-
由 Guo Sheng 提交于
* Fix api docs in RNN, Transformer, layer_norm, WeightNormParamAttr. test=develop * Fix api doc for print in label_smooth. test=develop * Update api docs according to review comments. Add name argument in RNN back. test=develop
-
- 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 '''
-
- 30 9月, 2020 1 次提交
-
-
由 xiemoyuan 提交于
-
- 29 9月, 2020 1 次提交
-
-
由 LiuChiachi 提交于
* add transformer generate square subsequent mask api * add dtype for input, update doc, use -np.inf * add dtype for input, update doc, use -np.inf
-
- 18 9月, 2020 1 次提交
-
-
由 liu zhengxi 提交于
-
- 02 9月, 2020 1 次提交
-
-
由 Guo Sheng 提交于
Fix some code samples in Tranoformer apis. test=develop
-
- 24 8月, 2020 1 次提交
-
-
由 Guo Sheng 提交于
* Add MultiHeadAttention api. test=develop * Add MultiHeadAttention cache type and gen_cache. test=develop * Add TransformerEncoderLayer and TransformerEncoder. test=develop * Add Transformer decoder apis. test=develop * Add Transformer api. test=develop * add unittests for transformer api * add unittests for transformer api * Fix some bugs in Transformer apis. test=develop * add unittests for encoder, decoder and transformer * clean conflicts infor in code * clean Chinese comments * Add TransformerDecoderCell and TransformerBeamSearchDecoder. test=develop * Remove TransformerDecoderCell and TransformerBeamSearchDecoder temporarily. test=develop * Add import for Transformer apis. test=develop * Update usage of weight_attr and Tensor in Transformer api docs. test=develop * Update Transformer apis by renaming MultiheadAttention and cal_kv according to comments. test=develop * Fix MultiHeadAttention in test_transformer_api.py. test=develop Co-authored-by: NLiuChiaChi <709153940@qq.com>
-
- 23 3月, 2020 1 次提交
-
-
由 XiaoguangHu 提交于
-
- 17 9月, 2018 1 次提交
-
-
由 yuyang 提交于
-
- 03 9月, 2018 1 次提交
-
-
由 chengduo 提交于
* fix high level API(Inference) bug * patch the unit tests
-
- 15 8月, 2018 1 次提交
-
-
由 minqiyang 提交于
-
- 26 7月, 2018 1 次提交
-
-
由 minqiyang 提交于
-
- 18 6月, 2018 1 次提交
-
-
由 qiaolongfei 提交于
-
- 09 6月, 2018 1 次提交
-
-
由 Jeff Wang 提交于
* Use for_test=True in the Fluid Trainer to clone the test program * fix typo * Should do the samething to the inferencer
-
- 24 5月, 2018 1 次提交
-
-
由 daminglu 提交于
-
- 18 5月, 2018 1 次提交
-
-
由 qiaolongfei 提交于
-
- 17 5月, 2018 2 次提交
-
-
由 qiaolongfei 提交于
-
由 qiaolongfei 提交于
-
- 16 5月, 2018 1 次提交
-
-
由 daminglu 提交于
-
- 12 5月, 2018 1 次提交
-
-
由 Qiao Longfei 提交于
* add Inference.infer * optimize code * update no_test_word2vec_new_api.py * update trainer * split check_and_get_place * use inference_program to save inference model in Trainer * update demo * update save_inference_model * clean code
-
- 05 5月, 2018 1 次提交
-
-
由 Jeff Wang 提交于
* Load/save the params from the params_path * Switch to use load_persistables and save_persistables * Instaed of setup the executor to run program and scope. Pass the program to the load_persistables
-
- 03 5月, 2018 1 次提交
-
-
由 Helin Wang 提交于
- The trainer and inferencer will load params from disk if param_path argument is not None in their constructor. - Remove params.py, we will expose core.Scope to the user if needed (e.g., for GAN). Currently we will not expose it, unless we clearly know doing so can support GAN. - Add `save_params` to Trainer (a TODO item). - rename "network" to "program"
-
- 02 5月, 2018 4 次提交
-
-
由 Helin Wang 提交于
-
由 Helin Wang 提交于
-
由 Helin Wang 提交于
-
由 Helin Wang 提交于
-
- 12 2月, 2018 1 次提交
-
-
由 qingqing01 提交于
-
- 21 1月, 2018 1 次提交
-
-
由 dzhwinter 提交于
* "fix decode bug" * "follow commnet" * "fix error" * "fix hook bug" * fix based comment * fix copyright * fix based on comment
-
- 15 1月, 2018 1 次提交
-
-
由 dzhwinter 提交于
* add copyright hook * add copyright hook * refine copyright hook * "test copyright hook" * fix check style * fix ci
-
- 12 11月, 2016 1 次提交
-
-
由 qijun 提交于
-
- 28 9月, 2016 1 次提交
-
-
由 Yu Yang 提交于
* Fix lots of trainer_config_helpers bug, and complete unittest for `layers.py`
-