From a8b76c390f97fe25689073157f2c2f0fa49cf995 Mon Sep 17 00:00:00 2001 From: Jonathan Buttner <56361221+jonathan-buttner@users.noreply.github.com> Date: Wed, 20 Sep 2023 11:40:11 -0400 Subject: [PATCH] Setting chunk size to 1mb (#605) --- eland/ml/pytorch/_pytorch_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eland/ml/pytorch/_pytorch_model.py b/eland/ml/pytorch/_pytorch_model.py index de1b550..35b0554 100644 --- a/eland/ml/pytorch/_pytorch_model.py +++ b/eland/ml/pytorch/_pytorch_model.py @@ -42,7 +42,7 @@ if TYPE_CHECKING: from elasticsearch._sync.client.utils import _quote -DEFAULT_CHUNK_SIZE = 4 * 1024 * 1024 # 4MB +DEFAULT_CHUNK_SIZE = 1024 * 1024 # 1MB DEFAULT_TIMEOUT = "60s"