Skip to content

Conversation

@fangfangssj
Copy link
Contributor

@fangfangssj fangfangssj commented Nov 20, 2025

PR Category

Feature Enhancement

Description

添加高频子图序列提取后端,调用详情查看test/typical_sequence_decomposer_test.sh
先运行typical_sequence_split_points获得分割点,再传入range_decomposer_backend切分
支持链式切分的验证

@paddle-bot
Copy link

paddle-bot bot commented Nov 20, 2025

Thanks for your contribution!

@paddle-bot paddle-bot bot added the contributor External developers label Nov 20, 2025
@lixinqi
Copy link
Collaborator

lixinqi commented Nov 20, 2025

PR Category

Feature Enhancement

Description

添加高频子图序列提取脚本 下图为windows为10时,测试的结果 7870033a7f099a57518fc22885e62ac6

这个图里的用法不是真实情况。应该是一下子塞入 resnet18 和 resnet34,综合两个计算图的情况来抽取高频子图

@lixinqi
Copy link
Collaborator

lixinqi commented Nov 20, 2025

todo things:

  1. Refactor test/split_points.py according to aforementioned comments.
  2. call naive decomposer for each model_path and split_points. see test/naive_graph_decomposer_test.sh for details
  3. draw ES plot by RangeDecomposerValidator

except subprocess.CalledProcessError as e:
print(f" [Error] Process failed: {e}")
except Exception as e:
print(f" [Error] Unexpected: {e}")
Copy link
Collaborator

Choose a reason for hiding this comment

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

这个函数的末尾应该直接调用RangeDecomposerValidator,然后绘制ES图像。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

增加到测试的bash脚本中了

@fangfangssj fangfangssj changed the title Add high-frequency subgraph sequence extraction script 【Hackathon 9th Sprint No.8】Add RangeDecomposerBackend Nov 28, 2025
@fangfangssj
Copy link
Contributor Author

fangfangssj commented Nov 28, 2025

运行typical_sequence_decomposer_test.sh脚本的测试结果
验证ES图像
ES_result

@lixinqi lixinqi merged commit 47424a2 into PaddlePaddle:develop Nov 28, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants