pytorch / pytorch/pytorch

pytorch can not load libtorch trained pt pth model ,

Open
#166,686 2 comments 0 reactions 0 assignees View on GitHub
module: serialization triaged
Dominant language
Python
Stars
103k
Forks
29.5k
PR merge metrics
PR metrics pending

Description

### 🐛 Describe the bug

HI,

I have use cpp libtorch pre trained torch model , but want to load cpp model use python model ,but failed ,can not regcognize ! I know could use onnx transfer them ,but I do not want to use ,because I need to retrain the model .
why not to make cpp and python torch is the same config setting ! this is gap ,please solve it

### Versions

hh

cc @mruberry @mikaylagawarecki

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.