roboflow / inference

A fast, easy-to-use, production-ready inference server for computer vision supporting deployment of many popular model architectures and fine-tuned models.
https://inference.roboflow.com
Other
1.12k stars 84 forks source link

Import `sky` only when required because it is slow #494

Closed iurisilvio closed 6 days ago

iurisilvio commented 1 week ago

Description

The sky package is very slow to import and is required only in some cases.

Type of change

Please delete options that are not relevant.

How has this change been tested, please provide a testcase or example of how you tested the change?

You can paste these traces here to check the results. It is almost 30% of the import time.

trace-before.txt trace-after.txt