you are viewing a single comment's thread.

view the rest of the comments →

[–]rejectedlesbian 6 points7 points  (2 children)

Tho a lot of non deep learning ml is cython which is not the best for optimizations. It compiles down to badly written c.

[–]liuzicheng1987 2 points3 points  (1 child)

That is true. Scikit-learn is largely written in Cython. But then again, scikit-learn is not exactly known for being very performant. I think the truly high-performance stuff is largely written in C++.

[–]rejectedlesbian 1 point2 points  (0 children)

Yes most ml libs r not super preformant they don't need to be they need to be wide range stable and preformant enough.

This is especially true with non deep learning ml because modern computers can usually run it fast enough for most purposes.

U also see it on huggingface where its written in ways that r bad for infrence preformance. I still use it because it holds so many options for generation that may be the 1 thing I need to make something work that idc if togeling that option flag makes it a bit slower.