Skip to content

Conversation

@xilzy
Copy link

@xilzy xilzy commented Nov 8, 2025

Description

函数用于将 FX 计算图中的不稳定 API torch._C._linalg.linalg_norm 替换为 PyTorch 官方稳定的 torch.linalg.norm。该方法会遍历所有相关节点并完成替换,随后重新编译计算图,确保模型在编译和运行时只调用稳定接口。
ddf27a6b75b59393de23aadd54995eeb

@paddle-bot
Copy link

paddle-bot bot commented Nov 8, 2025

Thanks for your contribution!

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

lixinqi commented Nov 9, 2025

请先解决冲突

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