From 933061d4f561b9ee54372944eb754086a8f24d0f Mon Sep 17 00:00:00 2001 From: "xingjun.wxj" Date: Thu, 19 Jun 2025 17:02:20 +0800 Subject: [PATCH] set size_threshold_to_enforce_lfs to 1MB --- modelscope/hub/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modelscope/hub/api.py b/modelscope/hub/api.py index a903c648..5c8e855e 100644 --- a/modelscope/hub/api.py +++ b/modelscope/hub/api.py @@ -2237,7 +2237,7 @@ class UploadingCheck: max_file_count: int = 100_000, max_file_count_in_dir: int = 50_000, max_file_size: int = 50 * 1024 ** 3, - size_threshold_to_enforce_lfs: int = 5 * 1024 * 1024, + size_threshold_to_enforce_lfs: int = 1 * 1024 * 1024, normal_file_size_total_limit: int = 500 * 1024 * 1024, ): self.max_file_count = max_file_count