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 use paddle.incubate.jit.inference(model) errors #9016

Merged
merged 12 commits into from
Sep 6, 2024

Conversation

chang-wenbin
Copy link
Contributor

@chang-wenbin chang-wenbin commented Aug 27, 2024

PR types

Bug fixes

PR changes

Others

Description

这个PR是为了解决Stable Diffusion 3 模型优化中的 Clip 模型上加入 jit.inference 后出现bug。
修复方法和已有的jit.to_static的修复类似
image

Copy link

paddle-bot bot commented Aug 27, 2024

Thanks for your contribution!

Copy link

codecov bot commented Aug 27, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 53.40%. Comparing base (f6fc7ff) to head (7177f43).
Report is 45 commits behind head on develop.

Files with missing lines Patch % Lines
paddlenlp/transformers/utils.py 66.66% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #9016      +/-   ##
===========================================
- Coverage    54.05%   53.40%   -0.66%     
===========================================
  Files          650      652       +2     
  Lines       103884   105401    +1517     
===========================================
+ Hits         56155    56287     +132     
- Misses       47729    49114    +1385     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

JunnYu
JunnYu previously approved these changes Sep 5, 2024
Copy link
Member

@JunnYu JunnYu left a comment

Choose a reason for hiding this comment

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

LGTM

@DrownFish19
Copy link
Collaborator

辛苦把Description再修改一下。

Copy link
Collaborator

@wawltor wawltor left a comment

Choose a reason for hiding this comment

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

LGTM

@wawltor wawltor merged commit 2150ae3 into PaddlePaddle:develop Sep 6, 2024
9 of 12 checks passed
ckl117 pushed a commit to ckl117/PaddleNLP that referenced this pull request Sep 9, 2024
* fix use paddle.incubate.jit.inference(model) errors

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function
Mangodadada pushed a commit to Mangodadada/PaddleNLP that referenced this pull request Sep 10, 2024
* fix use paddle.incubate.jit.inference(model) errors

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function

* fix jit_inference function
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.

5 participants