From ebbe43deb6a0463e8597e0de22105519eb59de9e Mon Sep 17 00:00:00 2001 From: "stephane.david" Date: Fri, 19 Jun 2026 16:23:43 +0200 Subject: [PATCH] Add PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True env --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 6eae9e4..acc0ee4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: network_mode: bridge environment: - HF_TOKEN=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 - - PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True + - PYTORCH_ALLOC_CONF=expandable_segments:True,throw_on_cudamalloc_oom:True ipc: host ports: - "8000:8000"