News for hackers. Stuff that matters.
Re:PyTorch 2.0 by danieldk on Friday December 02, 2022 @01:13PM (#33834352)
One of the nice things about PyTorch had been that you could do your training in Python then deploy with a pure C++ application.

Or even train in C++ or Rust without much loss in functionality.

Re:PyTorch 2.0 by synergy20 on Friday December 02, 2022 @01:19PM (#33834441)
Rust really has not had any presence in AI training engine yet, it's probably 100% c++.
Re:PyTorch 2.0 by danieldk on Friday December 02, 2022 @04:17PM (#33837047)
I was referring to the libtorch library, which you can use through the tch crate. It is possible to make such rich bindings because so much of Torch is exposed through the C++ API. When more new functionality is moved to Python, it makes it harder to use functionality from the C++ interface and downstream bindings.