Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Paddler Docker Compose Example

This example demonstrates how to set up a complete Paddler cluster using Docker Compose.

What's Included

This example sets up:

  • Paddler load balancer - Distributes requests across the agents with web admin panel enabled
  • Two Paddler agents - Each responsible for inference tasks

How to Run

  1. Navigate to the example directory:

    cd example/
  2. Start the cluster:

    docker compose up
  3. Access the services:

  4. Stop the cluster:

    docker compose down

    To remove all data including cached models:

    docker compose down -v

Configuration

GPU Support

To use GPU acceleration with CUDA, follow these steps:

1. Install NVIDIA Container Toolkit

Install the NVIDIA Container Toolkit on your host system by following the official installation guide:

https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html

2. Verify GPU Usage

After starting the containers, you can verify GPU usage with:

nvidia-smi

You should see the Docker containers listed in the GPU processes.