title: Local Inference of saved PyTorch models
body: <p>I am interested in performing local (no server or cloud) inference of saved PyTorch models that I can "deploy" (for example, using PyInstaller) to machines that do not have any dependencies. Can someone point me in the correct direction for this? </p>
  
  <p>Thanks in advance.</p>
  
  <p>EDIT:</p>
  
  <p>My goal is to be able create a command-line executable that I can share with collaborators who do not have any idea about Python/programming/Docker/containers and would simply like to infer on the models I send (with the correct data, of course).</p>
  
  <p>EDIT-2:</p>
  
  <p>Requirements from end product:</p>
  
  <ul>
  <li>No "cloud" or remote processing - data privacy is a critical requirement and processing needs to be local on Windows and/or Linux machines using CPU (GPU would be a huge plus but not required)</li>
  <li>No need for user to install anything (no Python/Docker engine/server/etc.) as this needs to be catered to a non-tech audience</li>
  </ul>
  
  <p>Please comment if further clarifications are needed. </p>