PaddlePaddle / Paddle

PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)
http://www.paddlepaddle.org/
Apache License 2.0
22.28k stars 5.61k forks source link

静态图如何转动态图权重 #67873

Open bixiaopeng0 opened 2 months ago

bixiaopeng0 commented 2 months ago

请提出你的问题 Please ask your question

如题

westfish commented 2 months ago

可以参考这个https://github.com/PaddlePaddle/PaddleNLP/blob/develop/paddlenlp/transformers/ernie/static_to_dygraph_params/match_static_to_dygraph.py