News for hackers. Stuff that matters.
Re:Llama2.c: inference llama 2 in one file of pure C by DougBTX on Monday July 24, 2023 @02:54AM (#36843959)
This is C++ rather than C, but a substantial portion of PyTorch is written in C++, and they provide a C++ interface:

https://pytorch.org/tutorials/advanced/cpp_frontend.html

In other words, you can absolutely use PyTorch without Python.

There are no comments on this comment yet.