From c82c2f2b0fd322de5ec4e72e46f18cb5972f5eee Mon Sep 17 00:00:00 2001 From: "Xingjun.Wang" Date: Wed, 11 Jun 2025 14:26:03 +0800 Subject: [PATCH] update max_file_count_in_dir to 50000 (#1367) --- 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 14b00aea..8c3570c5 100644 --- a/modelscope/hub/api.py +++ b/modelscope/hub/api.py @@ -2232,7 +2232,7 @@ class UploadingCheck: def __init__( self, max_file_count: int = 100_000, - max_file_count_in_dir: int = 10_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, normal_file_size_total_limit: int = 500 * 1024 * 1024,