Install on Windows
Install the Roboflow Inference Server on Windows with the native installer or with Docker Desktop, on CPU, GPU, or TensorRT.
The Docker examples on this page publish port 9001 on localhost. For clients on another machine, deliberately change the mapping to a reachable host address and configure server access.
Windows installer (x86)
You can run the Roboflow Inference Server on your Windows machine with the native desktop app. Download the latest Windows installer from the latest GitHub release: View the latest release and download installers on GitHub.
Download the latest installer and run it to install Roboflow Inference.
When the install finishes, it offers to launch the Inference Server.
To stop the server, close the terminal window it opens.
To start it again later, find Roboflow Inference in your Start Menu.
Using Docker
First, install Docker Desktop. Then use the CLI to start the container.
pip install inference-cli
inference server startTo access the GPU, make sure you have installed up-to-date NVIDIA drivers and the latest version of WSL 2, and that the WSL 2 backend is configured in Docker. Follow the setup instructions from Docker.
Then use the CLI to start the container:
pip install inference-cli
inference server startManually starting the container
If you want more control over the container settings, start it yourself.
The core CPU Docker image includes support for OpenVINO acceleration on x64 CPUs via onnxruntime. Heavy models like SAM2 may run too slowly (dozens of seconds per image) to be practical; if you need them, use a CUDA-capable GPU.
The primary use cases for CPU inference are processing still images (for example NSFW classification of uploads or document verification) or infrequent sampling of frames from a video (for example occupancy tracking of a parking lot).
To get started with CPU inference, use the roboflow/roboflow-inference-server-cpu:latest container.
The GPU container adds hardware acceleration on cards that support CUDA via NVIDIA-Docker. Make sure you have set up Docker to access the GPU, then add --gpus all to the docker run command:
With the GPU container you can optionally enable TensorRT, NVIDIA's model optimization runtime. It greatly increases your models' speed at the expense of a heavy compilation and optimization step (sometimes 15+ minutes) the first time you load each model.
Enable TensorRT by adding TensorrtExecutionProvider to the ONNXRUNTIME_EXECUTION_PROVIDERS environment variable.
Docker Compose
If you use Docker Compose for your application, the equivalent YAML is:
Next steps
Run a model against your new server.
Install
inference-gpubare metal on Windows if you cannot use Docker.Securing a self-hosted server before you expose it beyond localhost.
Last updated
Was this helpful?