Skip to main content

Overview

To simplify the deployment process, we provide Docker images with pre-built environments. You only need to install the GPU driver and download model files to launch demos.

Docker Image

Our official Docker images are available on Docker Hub:

Quick Start

Run the Docker container with GPU support:

Command Breakdown

  • --gpus all: Enable access to all available GPUs
  • --ipc=host: Use host IPC namespace (required for shared memory)
  • --network=host: Use host network stack
  • --rm: Automatically remove the container when it exits
  • --name qwen3vl: Assign a name to the container
  • -it: Run in interactive mode with a terminal

Running Web Demo

For a quick start with the web demo, use the provided script:

Parameters

  • -c: Path to the Qwen3-VL model weights
  • --port: Port number for the web interface (default: 8881)

Using the Container

Once inside the container, you have access to:
  • Pre-installed dependencies (transformers, vLLM, etc.)
  • Python environment configured for Qwen3-VL
  • All required CUDA libraries

Example Usage

After entering the container, you can run inference scripts:
Or start a vLLM server:

Mounting Local Directories

To access local model files or data, mount directories when running the container:

Prerequisites

GPU Driver

Ensure you have the NVIDIA GPU driver installed on your host system:
  • Minimum version: 525.60.13 or later
  • Recommended: Latest stable driver for your GPU

Docker and nvidia-docker

Install Docker and the NVIDIA Container Toolkit:

Troubleshooting

GPU Not Available

If GPUs are not accessible inside the container:
  1. Verify GPU driver installation:
  2. Check Docker runtime:

Out of Memory

If you encounter out-of-memory errors:
  • Reduce batch size in your inference script
  • Use quantized models (FP8, INT8, INT4)
  • Increase --ipc=host shared memory allocation

Next Steps