diff --git a/docker/docker-compose-base.yml b/docker/docker-compose-base.yml index 7e3393506..73c1d5415 100644 --- a/docker/docker-compose-base.yml +++ b/docker/docker-compose-base.yml @@ -77,7 +77,7 @@ services: container_name: ragflow-infinity profiles: - infinity - image: infiniflow/infinity:v0.6.0-dev3 + image: infiniflow/infinity:v0.6.0-dev4 volumes: - infinity_data:/var/infinity - ./infinity_conf.toml:/infinity_conf.toml diff --git a/docker/infinity_conf.toml b/docker/infinity_conf.toml index 38e8f460c..cc8a0dcde 100644 --- a/docker/infinity_conf.toml +++ b/docker/infinity_conf.toml @@ -47,20 +47,11 @@ mem_index_capacity = 65536 buffer_manager_size = "8GB" lru_num = 7 temp_dir = "/var/infinity/tmp" -result_cache = "off" -memindex_memory_quota = "4GB" +result_cache = "on" +memindex_memory_quota = "1GB" [wal] wal_dir = "/var/infinity/wal" -full_checkpoint_interval = "30s" -delta_checkpoint_interval = "5s" -# delta_checkpoint_threshold = 1000000000 -wal_compact_threshold = "1GB" - -# flush_at_once: write and flush log each commit -# only_write: write log, OS control when to flush the log, default -# flush_per_second: logs are written after each commit and flushed to disk per second. -wal_flush = "only_write" [resource] resource_dir = "/var/infinity/resource" diff --git a/helm/values.yaml b/helm/values.yaml index b0d311c6e..2894a8559 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -113,7 +113,7 @@ ragflow: infinity: image: repository: infiniflow/infinity - tag: v0.6.0-dev3 + tag: v0.6.0-dev4 storage: className: capacity: 5Gi diff --git a/pyproject.toml b/pyproject.toml index 34121cedf..65297affc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ dependencies = [ "html-text==0.6.2", "httpx==0.27.0", "huggingface-hub>=0.25.0,<0.26.0", - "infinity-sdk==0.6.0-dev3", + "infinity-sdk==0.6.0-dev4", "infinity-emb>=0.0.66,<0.0.67", "itsdangerous==2.1.2", "json-repair==0.35.0", diff --git a/uv.lock b/uv.lock index 7b9cf6b88..3e550fba6 100644 --- a/uv.lock +++ b/uv.lock @@ -2450,7 +2450,7 @@ wheels = [ [[package]] name = "infinity-sdk" -version = "0.6.0.dev3" +version = "0.6.0.dev4" source = { registry = "https://mirrors.aliyun.com/pypi/simple" } dependencies = [ { name = "numpy" }, @@ -2467,7 +2467,7 @@ dependencies = [ { name = "thrift" }, ] wheels = [ - { url = "https://mirrors.aliyun.com/pypi/packages/fc/2c/5d93a6200e8022549d07c2609f89e81b96fe78383409881ca210f16736e1/infinity_sdk-0.6.0.dev3-py3-none-any.whl", hash = "sha256:e9f528446f21debbd1d15d11f42a5da4f38d62ad4537faacfdda6b2d295bf8fd" }, + { url = "https://mirrors.aliyun.com/pypi/packages/d4/cc/645ed8de15952940c7308a788036376583a5fc29fdcf3e4bc75b5ad0c881/infinity_sdk-0.6.0.dev4-py3-none-any.whl", hash = "sha256:f8f4bd8a44e3fae7b4228b5c9e9a16559b4905f50d2d7d0a3d18f39974613e7a" }, ] [[package]] @@ -5060,7 +5060,7 @@ requires-dist = [ { name = "httpx", specifier = "==0.27.0" }, { name = "huggingface-hub", specifier = ">=0.25.0,<0.26.0" }, { name = "infinity-emb", specifier = ">=0.0.66,<0.0.67" }, - { name = "infinity-sdk", specifier = "==0.6.0.dev3" }, + { name = "infinity-sdk", specifier = "==0.6.0.dev4" }, { name = "itsdangerous", specifier = "==2.1.2" }, { name = "json-repair", specifier = "==0.35.0" }, { name = "langfuse", specifier = ">=2.60.0" },