Skip to content

使用Npu训练完模型转换为静态图没有.pdmodel文件 #1658

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
OvO616 opened this issue Apr 3, 2025 · 1 comment
Open

使用Npu训练完模型转换为静态图没有.pdmodel文件 #1658

OvO616 opened this issue Apr 3, 2025 · 1 comment
Assignees

Comments

@OvO616
Copy link

OvO616 commented Apr 3, 2025

使用昇腾910B,paddlenlp训练完模型之后,使用paddle.jit.to_static以及paddle.jit.save函数,保存模型之后没有.pdmodel文件,只有.pdiparams文件和一个.json文件,我该如何使用paddle_infer.Config这个函数呢

@OvO616
Copy link
Author

OvO616 commented Apr 7, 2025

芯片型号 昇腾 910B 架构是arm64架构 CANN版本 | CANN 8.0.RC1 使用如下安装的paddlecustom https://github.com/PaddlePaddle/PaddleCustomDevice/blob/develop/backends/npu/README_cn.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants