mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-04 23:00:30 +08:00
fix: optimize dataflow indexing and logs (#17737)
This commit is contained in:
@@ -125,7 +125,7 @@ OS = {}
|
||||
GCS = {}
|
||||
|
||||
DOC_MAXIMUM_SIZE: int = 128 * 1024 * 1024
|
||||
DOC_BULK_SIZE: int = 4
|
||||
DOC_BULK_SIZE: int = 32
|
||||
EMBEDDING_BATCH_SIZE: int = 16
|
||||
|
||||
PARALLEL_DEVICES: int = 0
|
||||
@@ -395,7 +395,7 @@ def init_settings():
|
||||
|
||||
global DOC_MAXIMUM_SIZE, DOC_BULK_SIZE, EMBEDDING_BATCH_SIZE
|
||||
DOC_MAXIMUM_SIZE = int(os.environ.get("MAX_CONTENT_LENGTH", 128 * 1024 * 1024))
|
||||
DOC_BULK_SIZE = int(os.environ.get("DOC_BULK_SIZE", 4))
|
||||
DOC_BULK_SIZE = int(os.environ.get("DOC_BULK_SIZE", 32))
|
||||
EMBEDDING_BATCH_SIZE = int(os.environ.get("EMBEDDING_BATCH_SIZE", 16))
|
||||
|
||||
os.environ["DOTNET_SYSTEM_GLOBALIZATION_INVARIANT"] = "1"
|
||||
|
||||
Reference in New Issue
Block a user