zlacker

[return to "PostgresML is 8-40x faster than Python HTTP microservices"]
1. habibu+Y5[view] [source] 2022-10-20 01:53:54
>>redbel+(OP)
Python is slow for ML. People will take time to realize it. The claim that most of the work is done in GPU -- covers only a small fraction of cases.

For example, in NLP a huge amount of pre and post processing of data is needed outside of the GPU.

◧◩
2. minhaz+6f[view] [source] 2022-10-20 03:33:41
>>habibu+Y5
> Python is slow for ML

The python runtime is slow in general. But anyone using it for ML is not actually using the python runtime to do any of the heavy lifting. All of the popular ML/Ai libraries for python like tensorflow, pytorch, numpy, etc. are just thin python wrappers on top of tens of thousands of lines of C/C++ code. People just use python because it's easy and there's a really good ecosystem of tools and libraries.

[go to top]