## The problem
Issue cohere-ai/cohere-python#593 (closed, 7 comments): **SDK Version(s) & bug reproducer** ```python import time t = time.time() import cohere print(time.time() - t) print(cohere.__version__) ``` ``` 10.188275575637817 5.11.0 ``` ``` 0.7559852600097656 5.10.0 ``` This also significantly impacts import time of packages that depend on cohere, such as [instructor-ai/instructor](https://github.com/instructor-ai/instructor).
## What to do
Importing cohere pulled in AWS dependencies and pushed import time from about 1 second to about 10. As of 5.11.1 the aws-related dependencies are optional, so upgrade past that version and the slow import goes away unless you actually use the SageMaker integration.