Skip to content

Conversation

@G2uge
Copy link
Contributor

@G2uge G2uge commented Nov 7, 2025

Description

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

@paddle-bot
Copy link

paddle-bot bot commented Nov 7, 2025

Thanks for your contribution!

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

lixinqi commented Nov 10, 2025

#352 请按照这个 pr 的要求改动代码,减少合入冲突。

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants