troubleshooting

Common problems

Fixes for the most common DeepLM Ops problems.

Start with docker exec dlm-ops dlm-ops doctor. It prints diagnostics without secrets, and it says which engine is in use and which GPUs the model can see.

The installer stopped

It prints what went wrong and what to do. The common cases are in Install DeepLM Ops. You can run the same command again: it picks up where it left off.

I cannot pull the image

The image is public, so no login is needed. Check that your internet connection works and that you can reach ghcr.io, and that the tag is exactly 0.2.0-rc.4. If Docker says the request is unauthorized or access is denied, the image may not be public yet. Tell the DeepLM team.

It never says "model ready"

The first start downloads the model once (2.55 GiB), so it can take a while. Watch progress with docker logs dlm-ops. If the download fails, check the network or proxy (HTTPS_PROXY). An interrupted download resumes by itself, and the partial file is kept for the next start.

If docker ps shows (unhealthy), the web server is up but the model could not start, for example because the file is missing with downloads off. The logs and the web page give the reason.

"That login link did not work" means the link is from an earlier start, because every start makes a new token. Use the last link in docker logs dlm-ops, and check that it was not cut off when you copied it. Run docker restart dlm-ops for a fresh link.

"Too many sign-in attempts" means wait the time it shows. On a shared machine, someone else may be guessing, so use a password file. See Security model.

Port 8090 is already in use

The error reads "port is already allocated". Something else uses 8090, so publish another host port:

bash
-p 127.0.0.1:8091:8090 -e DLM_OPS_PUBLIC_URL=http://127.0.0.1:8091

The model runs on the CPU although I have a GPU

  • Did you pass --gpus all? Put it right after docker run -d.
  • could not select device driver "" with capabilities: [[gpu]] means the NVIDIA Container Toolkit is missing. Install it and restart Docker.
  • With less than 4,608 MiB free on the GPU, the CPU is used on purpose. The Local GPUs page shows what is using the GPU.
  • DeepLM Ops picks the device when the model starts, so run docker restart dlm-ops once the cause is fixed.

See Use an NVIDIA GPU.

Answers are slow

On the CPU, generation runs at roughly 20 to 25 tokens per second on 8 modern cores, against about 62 on a laptop RTX 4060. Give Docker more CPUs, set DLM_OPS_THREADS, or use a GPU. Each question has a time budget of 240 seconds on the CPU and 90 seconds on a GPU. After that the assistant answers with what it has.

A page says "This panel could not be loaded (HTTP 503)"

The reading did not finish within 15 seconds. Either nvidia-smi is hanging, which can mean a GPU or driver fault, or the cluster's login node is slow. The page keeps the last good reading and tries again. Run nvidia-smi on the host. If it hangs there too, the driver needs fixing or the machine needs a restart.

On a Mac

From 0.2.0, the model runs on the Mac's GPU through Docker Model Runner. If it runs on the CPU instead, or Docker Model Runner does not answer, turn it on and check that Docker Desktop is 4.71 or later. See Install on macOS.

Permission denied on a mounted file

The container runs as uid 1000. Make the host path readable by uid 1000, and writable if it holds state, or use the named volume.

The answers are about a sample cluster

You started the container with demo after the image name, which connects it to a recorded cluster. Run the command without it. See Demo mode vs a real cluster.