From ab2ffe8a73935cfb5c1f8d625d14c01285fe6f63 Mon Sep 17 00:00:00 2001 From: James Bourbeau Date: Thu, 5 Oct 2023 09:48:21 -0500 Subject: [PATCH] Use threads_per_worker=-1 for Coiled Functions --- arxiv-matplotlib.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arxiv-matplotlib.ipynb b/arxiv-matplotlib.ipynb index 452f6bb..3e3e205 100644 --- a/arxiv-matplotlib.ipynb +++ b/arxiv-matplotlib.ipynb @@ -190,7 +190,7 @@ "@coiled.function(\n", " region=\"us-east-1\", # Local to data. Faster and cheaper.\n", " vm_type=\"m6i.xlarge\",\n", - " threads_per_worker=4,\n", + " threads_per_worker=-1,\n", ")\n", "def extract(filename: str):\n", " \"\"\" Extract and process one directory of arXiv data\n", @@ -495,7 +495,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.0" + "version": "3.11.6" } }, "nbformat": 4,