docs: add mem_limit guidance for CPU users in README

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 23:40:07 +00:00
co-authored by Claude Sonnet 4.6
parent 5345798dc1
commit a281b4b896
+1 -1
View File
@@ -142,7 +142,7 @@ services:
capabilities: [gpu] capabilities: [gpu]
``` ```
> **CPU users (`:cpu` tag):** remove the `deploy.resources` block — no NVIDIA runtime needed. > **CPU users (`:cpu` tag):** remove the `deploy.resources` block — no NVIDIA runtime needed. Add `mem_limit: 2g` to the service to prevent an OOM restart loop on large libraries.
See [compose.yml](compose.yml) for the full annotated example. See [compose.yml](compose.yml) for the full annotated example.