Skip to content
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

fix var order in paddle.jit.save #56510

Merged
merged 2 commits into from
Aug 31, 2023

Conversation

zoooo0820
Copy link
Contributor

@zoooo0820 zoooo0820 commented Aug 21, 2023

PR types

Bug fixes

PR changes

Others

Description

Pcard-67005

  1. 修复 repacle fluid.io.load_inference_model, fluid.io.save_inference_model in fluid with 2.0 version  #55345 中带来的paddle.jit.save阶段多个变量名顺序可能发生变化(与预期输入顺序不一致),从而导致调用paddle.jit.load后的执行阶段中,变量检查报错的问题。
  2. paddle.scale 静态图下的类型检查增加bfloat16/complex64/complex128的类型支持,当前ScaleKernel已支持上述类型。目的是解决paddle.jit.load中自动添加scale时类型检查报错的问题。

@paddle-bot
Copy link

paddle-bot bot commented Aug 21, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

@jeff41404 jeff41404 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jeff41404 jeff41404 merged commit 5043708 into PaddlePaddle:develop Aug 31, 2023
@zoooo0820 zoooo0820 deleted the fix_var_order_in_jit_save branch August 31, 2023 02:59
BeingGod pushed a commit to BeingGod/Paddle that referenced this pull request Sep 9, 2023
* fix var order in paddle.jit.save

* support complex/bfloat16 for scale in static-mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants