Search before asking
Bug
Running uv run python -c "import time; start = time.time(); from inference import get_model; print(f'Import took: {time.time() - start:.2f}s')" takes 120-150seconds on my machine. I presume this is because of some heavy work being done at import time. Is it possible to disable this?
Environment
Python 3.11 and inference 0.63.1. Happens for me on both MacOS and Linux
Minimal Reproducible Example
uv run python -c "import time; start = time.time(); from inference import get_model; print(f'Import took: {time.time() - start:.2f}s')"
Additional
No response
Are you willing to submit a PR?
Search before asking
Bug
Running
uv run python -c "import time; start = time.time(); from inference import get_model; print(f'Import took: {time.time() - start:.2f}s')"takes 120-150seconds on my machine. I presume this is because of some heavy work being done at import time. Is it possible to disable this?Environment
Python 3.11 and inference 0.63.1. Happens for me on both MacOS and Linux
Minimal Reproducible Example
Additional
No response
Are you willing to submit a PR?