GithubHelp home page GithubHelp logo

Comments (3)

PawelPeczek-Roboflow avatar PawelPeczek-Roboflow commented on August 17, 2024 1

Hi there - this is most likely due to verification of library version against the newest release which happens at first import.
Maybe you see something like that in logs:

[06/20/24 10:31:39] WARNING  Your inference package version 0.11.2 is out of date! Please  __init__.py:35
                             upgrade to version 0.12.1 of inference for the latest
                             features and bug fixes by running `pip install --upgrade
                             inference`.

To prevent version check set DISABLE_VERSION_CHECK=True

There may also be the case that we require plenty of dependent libraries and the library is big itself. We have docker image with inference server that can be hosted in AWS lambda, from our experience it works well, without timeouts as u described - so maybe that's an option to consider. If u could provide more details about deployment you created I am happy to help investigating the issue.

from inference.

AJamesPhillips avatar AJamesPhillips commented on August 17, 2024

We've removed the library and replaced it with a call to the API so we're ok now thank you.
The inference-sdk version was 0.11.2 so yes it could have been the version check adding to the time. I'm not sure. I don't remember seeing that message otherwise I would have followed it so perhaps it was just getting swallowed by the logs somehow.

I'll close this now as it's no longer an active issue for us. Thank you for you help and response though. Much appreciated! :)

from inference.

PawelPeczek-Roboflow avatar PawelPeczek-Roboflow commented on August 17, 2024

👍

from inference.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.