Libtorch load os cpu/gpu

I’m doing a project, deploy the model under linux to windows.
About Project migration, I want to ask a question.
Call libtorch under windows, what are the requirements for the operating system, libtorch version?
For example:
Can I load the trained model under Linux to Windows?
Can be between different pytorch and libtorch, workd it ?