The root of the annoyance is not using libtorch. 
I’m assuming here you want state dicts (rather than, say, JIT models).
But so PyTorch’s save function is implemented in torch/serialization.py and for storage (Tensor doesn’t store it’s own memory, but delegates to a TensorStorage), these will be deserialized by the code in torch/csrc/generic/serialization.cpp.
Maybe the quickest way is is to look beyond pure PyTorch and store in some more common format, e.g. form numpy (don’t know if there is good C++ support for those) or hdf5.
Best regards
Thomas