Skip to content

Commit 20f4e76

Browse files
DaGuichlesteve
authored andcommitted
[MRG+1] DOC Note about model serialization on different architectures (scikit-learn#7899)
1 parent 0c7ee83 commit 20f4e76

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/modules/model_persistence.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ additional metadata should be saved along the pickled model:
8181
This should make it possible to check that the cross-validation score is in the
8282
same range as before.
8383

84+
Since a model internal representation may be different on two different
85+
architectures, dumping a model on one architecture and loading it on
86+
another architecture is not supported.
87+
8488
If you want to know more about these issues and explore other possible
8589
serialization methods, please refer to this
8690
`talk by Alex Gaynor <http://pyvideo.org/video/2566/pickles-are-for-delis-not-software>`_.

0 commit comments

Comments
 (0)