Skip to content

clean unused code in test_auto_recompute.py#75489

Merged
luotao1 merged 1 commit intoPaddlePaddle:developfrom
co63oc:k26
Oct 13, 2025
Merged

clean unused code in test_auto_recompute.py#75489
luotao1 merged 1 commit intoPaddlePaddle:developfrom
co63oc:k26

Conversation

@co63oc
Copy link
Copy Markdown
Contributor

@co63oc co63oc commented Sep 24, 2025

PR Category

User Experience

PR Types

Others

Description

去掉部分的代码中没有验证判断,没有使用

@paddle-bot
Copy link
Copy Markdown

paddle-bot Bot commented Sep 24, 2025

你的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.

@paddle-bot paddle-bot Bot added the contributor External developers label Sep 24, 2025
@co63oc
Copy link
Copy Markdown
Contributor Author

co63oc commented Sep 25, 2025

/re-run all-failed

3 similar comments
@co63oc
Copy link
Copy Markdown
Contributor Author

co63oc commented Sep 25, 2025

/re-run all-failed

@co63oc
Copy link
Copy Markdown
Contributor Author

co63oc commented Sep 26, 2025

/re-run all-failed

@co63oc
Copy link
Copy Markdown
Contributor Author

co63oc commented Sep 26, 2025

/re-run all-failed

@co63oc
Copy link
Copy Markdown
Contributor Author

co63oc commented Sep 29, 2025

/re-run all-failed

@co63oc co63oc changed the title CI测试不review rename test_quant2_int8_mkldnn_pass_deprecated [fluid_ops] clean unused code in test_auto_recompute.py Oct 10, 2025
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Oct 11, 2025
if op_result.is_same(saved_values):
continue
else:
all_used_ops = op_result.all_used_ops()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

这些代码应该和覆盖率有关,不需要删除,虽然有些输出没有用,返回有意义的名称便于读者直接识别返回值含义,不建议都改成 _

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

已修改增加备注

@co63oc
Copy link
Copy Markdown
Contributor Author

co63oc commented Oct 11, 2025

/re-run all-failed

1 similar comment
@co63oc
Copy link
Copy Markdown
Contributor Author

co63oc commented Oct 11, 2025

/re-run all-failed

@luotao1 luotao1 merged commit 0af06ea into PaddlePaddle:develop Oct 13, 2025
82 of 84 checks passed
SigureMo pushed a commit to cattidea/Paddle that referenced this pull request Oct 14, 2025
@co63oc co63oc deleted the k26 branch October 21, 2025 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers HappyOpenSource 快乐开源活动issue与PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants