-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cherry pick] Refine param conversion logic in layer.to #38058
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…dle#35881) * cherry-pick 32842
…s/Mac (PaddlePaddle#35897) ATT, cherry-pick PaddlePaddle#35690
…ERTIES TIMEOUT (PaddlePaddle#35863) (PaddlePaddle#35898) Increase test_imperative_auto_mixed_precision PROPERTIES TIMEOUT from 120s to 300s.
…r python3.6 (PaddlePaddle#35862) (PaddlePaddle#35900) fix bug of module paddle has no attribute fluid for python3.6.
…void many compiling warnings. (PaddlePaddle#35839) (PaddlePaddle#35868) Cherry-pick PaddlePaddle#35839
) Co-authored-by: joanna.wozna.intel <[email protected]>
…#35926) * Pass compat of conv_transpose_bias_mkldnn_fuse_pass * Fix a bug of strided_slice op, about the axes parameter access memory out of bounds * Fix a bug of transpose op, about accessing memory out of bounds of the perm param * op:transpose_op supports bool type
…ase/2.2 (PaddlePaddle#36015) 解决Windows中CUDA11.2编译出错的问题。 cherry-pick PaddlePaddle#35941
* update xpu version
Add basic Cost Model, it uses executor to run program and profile it to get op time. This is an early basic version, we will add more functions in the future.
…PaddlePaddle#35909) (PaddlePaddle#36038) This PR implements the kernel of "eigvals" OP with the Lapack library, which has a better performance than the previous Eigen library.
…dle#35934) (cherry picked from commit 347b182)
…ddle#35927) 1、Split function GradScaler::minimize() to GradScaler::step() + GradScaler::update() 2、Add GradScaler::unscale_(optimizer)
* fix pad tuple * fix format
* add randperm_op_npu * fix test_set_value_op_npu
…Paddle#36056) This PR supports linalg.solve calculation for linear algorithm module of Paddle. One may call paddle.linalg.solve to use it.
…e API PaddlePaddle#36024 [cherry-pick] Add function comments and instructions to the Primitive API
) This PR added det and slogdet API to release/2.2 It is cherry-pick from PaddlePaddle#34992 and PaddlePaddle#36013
…dlePaddle#35916) (PaddlePaddle#36091) cherry-pick PaddlePaddle#35916,CPU前向计算将Eigen替换为Lapack,修改linalg暴露规则
…) (PaddlePaddle#36094) When users use gumbel_softmax, they can use paddle.seed() in python for fixed seed.
…ad) is inplace var (PaddlePaddle#37420) (PaddlePaddle#37488) fix inplace bug,Cherry pick PR PaddlePaddle#37420
目前的fused_attention_op不支持attn_mask=None的输入,本PR对此进行了补充,并补充了相应的单测逻辑。
…Paddle#37546) * fix data parallel when VOCAB var in program * fix ci coverage
) (PaddlePaddle#37570) * fix. test=develop * fix. test=develop * fix. test=develop * fix. test=develop * fix. test=develop * [heterps]bug fix for _run_from_dataset * fix heter_server.cc * fix launch_utils.py * fix heter_section_worker.cc * fix. test=develop * fix. test=develop
slice_grad op在选择kernel过程中出现错误,问题原因是在获取use_mkldnn属性时,map中未找到该键值,所以抛出out_of_range异常 本PR在map获取use_mkldnn属性数据前增加了是否存在该键值的判断逻辑,从而避免出现上述异常
…addlePaddle#37566) (PaddlePaddle#37608) cherry-pick of PR PaddlePaddle#37566: Based on PaddlePaddle#37411, this PR: Continue to fix the bugs when bias add is none in static graph for fused_attention op. Polish and improve the unittests in test_fused_attention_op_api.py.
cherry-pick PaddlePaddle#37536 修复pass_desc.proto在编译时产生依赖问题。
…le#37589) * fix dropout static when axis != None * update dropout test * add dropout test * fix test * Update test_dropout_op.py * Update test_dropout_op.py * fix testcase * fix testcase * Update test_dropout_op.py * fix testcase * fix testcase * optimize perf * add new test * fix testcase
* py2 to py3 bug and iface fix for pslib (PaddlePaddle#36102) * avoid setting logging.basicConfig (PaddlePaddle#37031)
…zed op (PaddlePaddle#37878) (PaddlePaddle#37899) Fix cflags D_GLIBCXX_USE_CXX11_ABI takes no effect problem in customized op
PaddlePaddle#37898) Fix default behavior if block=None in static mode (PaddlePaddle#37827)
…#37912) Polish for zip in dy2stat
…int, this convert is wrong (PaddlePaddle#37929) (PaddlePaddle#38033) Co-authored-by: feng_shuai <[email protected]>
* remove additional warnning in layer.to * remove additional warnning in layer.to * remove additional warnning in layer.to * remove additional warnning in layer.to * remove additional warnning in layer.to
* refine layer to * delete comment * refine logic * refine code * refine pure_fp16_init * refine comment
Thanks for your contribution! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR types
Bug fixes
PR changes
APIs
Describe
cherry pick 的pr包括:
Remove additional warnning in layer.to (#36700)
Refine param conversion logic in layer.to (#36862)
Fix Layer.to() of device bug (#37156)