[Dy2St] Skip prune parameter in dy2st and save#68442
Merged
yuanlehome merged 3 commits intoPaddlePaddle:developfrom Sep 27, 2024
Merged
[Dy2St] Skip prune parameter in dy2st and save#68442yuanlehome merged 3 commits intoPaddlePaddle:developfrom
yuanlehome merged 3 commits intoPaddlePaddle:developfrom
Conversation
| def __init__(self): | ||
| super().__init__() | ||
| self.linear = paddle.nn.Linear(7, 10) | ||
| self.register_buffer("buffer", paddle.randn([5, 1])) |
Contributor
There was a problem hiding this comment.
对self.create_parameters也有效吗
Member
Author
There was a problem hiding this comment.
都有效,结论是 paramter 和 buffer 两者都不剪枝
Contributor
There was a problem hiding this comment.
都有效,结论是 paramter 和 buffer 两者都不剪枝
好的
12 tasks
xiaoguoguo626807
added a commit
that referenced
this pull request
Apr 15, 2025
* fix pir program prune * fix pir program prune * remoce print * no param load
YqGe585
pushed a commit
to YqGe585/Paddle
that referenced
this pull request
May 7, 2025
…ePaddle#72202) * fix pir program prune * fix pir program prune * remoce print * no param load
This file contains hidden or 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
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 Category
Execute Infrastructure
PR Types
Bug fixes
Description
PIR 下不在动转静+save 阶段 prune 参数和 buffer,只会导致 save 的参数多一些
cc @HydrogenSulfate
Pcard-67164