How can one load a multi-head model from 3.0.0b4 in devel version? #4347
-
By using these code:
I can load my DPA-2.3.0 multitask-finetuned model by using deepmd-kit 3.0.0b4, but in the devel branch of deepmd-kit. error will occur:
But the frozen model from deepmd-kit 3.0.0b4 can still be read-in and be used for evaluation, so the compability should be maintained, but why can't multi-head model be load ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This PR involves breaking change: #4300 fyi @njzjz @wanghan-iapcm |
Beta Was this translation helpful? Give feedback.
-
There is no guarantees of backwards compatibility across versions for the checkpoint file. |
Beta Was this translation helpful? Give feedback.
This PR involves breaking change: #4300 fyi @njzjz @wanghan-iapcm