FWIW we are building/using lantern to wrap all torch api into a C compatible. It’s not stable at all, but contributions are welcome!

  
      
      GitHub
  
  
    

mlverse/lantern 2

Contribute to mlverse/lantern development by creating an account on GitHub.