# FastAPI-DLS

FastAPI-DLS is a minimal self-hosted Delegated License Service (DLS) for NVIDIA GPUs that manages GPU licensing locally without requiring an internet connection, supporting NVIDIA NLS 2.0.1, 2.1.0, and 3.1.0 for. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/1213/fastapi-dls

## Description

FastAPI-DLS is a minimal self-hosted Delegated License Service (DLS) for NVIDIA GPUs that manages GPU licensing locally without requiring an internet connection, supporting NVIDIA NLS 2.0.1, 2.1.0, and 3.1.0 for homelab environments.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

28/100 (Low), based on 4 of 4 factors.
- Maintained: 0 (last commit 1104 days ago)
- Popular: 23 (13 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 100 (256 MB minimum RAM, runs on ARM)

## Links

- Official website: https://git.collinwebdesigns.de/oscar.krause/fastapi-dls
- Docker Hub: https://hub.docker.com/r/collinwebdesigns/fastapi-dls
- Unraid: https://ca.unraid.net/apps/fastapi-dls-0fecc401m4gkek?q=FastAPI-DLS
- GitHub: https://github.com/starpsp/fastapi-dls

## Common questions

### How do I start FastAPI-DLS as a service and apply configuration?

Start it with systemctl start fastapi-dls.service and enable autostart with systemctl enable fastapi-dls.service. Then edit /etc/fastapi-dls/env as needed.

### Does using FastAPI-DLS affect NVIDIA license compliance?

Using FastAPI-DLS can circumvent NVIDIA’s license server. A Proxmox forum post warns that this may breach licensing conditions.

### Does FastAPI-DLS eliminate the low-resolution headless display issue on Tesla P4?

The source does not confirm that it removes the issue. It reports a headless Tesla P4 can remain stuck at low resolution, with limits even using grid license workarounds.

### Does the service require Uvicorn to run?

Install Uvicorn before starting the app. Without it, the FastAPI app cannot start or respond to requests.

---
Source: Our Local Host (https://ourlocalhost.com/app/1213/fastapi-dls), the self-hosted and open-source app directory.
