You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm this is an issue with the Python library and not an underlying OpenAI API
This is an issue with the Python library
Describe the bug
On average, it takes nearly 0.5 seconds to just import openai.
That may sound normal, but consider the case where a bunch of deps are imported and each one of them takes 0.5 seconds to be imported. Startup times of such an application go crazy.
Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
On average, it takes nearly 0.5 seconds to just
import openai
.That may sound normal, but consider the case where a bunch of deps are imported and each one of them takes 0.5 seconds to be imported. Startup times of such an application go crazy.
To Reproduce
Alternatively, run:
python -X importtime -c "import openai"
Code snippets
OS
macOS
Python version
3.11.9
Library version
1.75.0
The text was updated successfully, but these errors were encountered: