Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have noticed how long it takes to import numpy. It made rerunning a script noticably sluggish. Not sure what openai's excuse is, but I assume numpy's slowness is loading some native dlls?


OpenAI I haven't used in years but originally it would import many heavy libraries like I believe scikit-learn, and iirc they only used it for the cosine similarity formula for their embeddings function (lol).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: