Skip to content

The AzureML Inference Server is a python package that allows user to easily expose machine learning models as HTTP Endpoints. The server is included by default in AzureML's pre-built docker images for inference.

License

Notifications You must be signed in to change notification settings

microsoft/azureml-inference-server

Repository files navigation

AzureML Inference Server

The HTTP server is the component that facilitates inferencing to deployed models. Requests made to the HTTP server run user-provided code that interfaces with the user models. This server is used with most images in the Azure ML ecosystem, and is considered the primary component of the base image, as it contains the python assets required for inferencing. This is the Flask server or the Sanic server code. The azureml-inference-server-http python package, wraps the server code and dependencies into a singular package.

Quick Start

  • Clone the azureml-inference-server repository.

  • Install Python 3.12.

  • Install the virtualenv python package with pip install virtualenv.

  • Create a new virtual environment with virtualenv <env name>, for example virtualenv amlinf.

  • Activate the new environment.

    • In Windows, with <env name>/scripts/activate
    • In Linux, with . <env name>/bin/activate
  • Navigate to the root directory.

  • Open a terminal/cmd window and install the package with pip install -e .[dev]

  • Verify the command azmlinfsrv works.

    More Information

Information

Check out the following documents for detailed information.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

About

The AzureML Inference Server is a python package that allows user to easily expose machine learning models as HTTP Endpoints. The server is included by default in AzureML's pre-built docker images for inference.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages