[Feature Enhancement] Modify auto_fault_bisearcher#644
Merged
lixinqi merged 1 commit intoPaddlePaddle:developfrom Feb 12, 2026
Merged
[Feature Enhancement] Modify auto_fault_bisearcher#644lixinqi merged 1 commit intoPaddlePaddle:developfrom
lixinqi merged 1 commit intoPaddlePaddle:developfrom
Conversation
|
Thanks for your contribution! |
fangfangssj
commented
Feb 12, 2026
|
|
||
| eval_backend_diff.compare_correctness(ref_out, target_out, eval_args) | ||
| eval_backend_diff.compare_correctness( | ||
| list(flatten_tensor(ref_out)), list(flatten_tensor(target_out)), eval_args |
Contributor
Author
There was a problem hiding this comment.
部分中间结果返回是tuple(tensor),需要展开传入
fangfangssj
commented
Feb 12, 2026
Comment on lines
+14
to
+18
| last_idx, is_broken = history[-1] | ||
| if last_idx == 1 and is_broken: | ||
| return True | ||
| if last_idx == high and not is_broken: | ||
| return True |
fangfangssj
commented
Feb 12, 2026
Comment on lines
+116
to
+118
| save_base = Path(self.config["output_dir"]) / "faulty_test" | ||
| save_base.mkdir(parents=True, exist_ok=True) | ||
| shutil.copytree(test_file, save_base / test_file.name, dirs_exist_ok=True) |
Contributor
Author
There was a problem hiding this comment.
支持将错误/误差算子子图保存到faulty_test目录下
lixinqi
approved these changes
Feb 12, 2026
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
Feature Enhancement
Description