Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

increase timeout #390

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions vectordb_bench/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,24 @@ class config:
K_DEFAULT = 100 # default return top k nearest neighbors during search
CUSTOM_CONFIG_DIR = pathlib.Path(__file__).parent.joinpath("custom/custom_case.json")

CAPACITY_TIMEOUT_IN_SECONDS = 24 * 3600 # 24h
LOAD_TIMEOUT_DEFAULT = 2.5 * 3600 # 2.5h
LOAD_TIMEOUT_768D_1M = 2.5 * 3600 # 2.5h
LOAD_TIMEOUT_768D_10M = 25 * 3600 # 25h
LOAD_TIMEOUT_768D_100M = 250 * 3600 # 10.41d
CAPACITY_TIMEOUT_IN_SECONDS = 24 * 3600 # 24h
LOAD_TIMEOUT_DEFAULT = 24 * 3600 # 24h
LOAD_TIMEOUT_768D_1M = 24 * 3600 # 24h
LOAD_TIMEOUT_768D_10M = 240 * 3600 # 10d
LOAD_TIMEOUT_768D_100M = 2400 * 3600 # 100d

LOAD_TIMEOUT_1536D_500K = 2.5 * 3600 # 2.5h
LOAD_TIMEOUT_1536D_5M = 25 * 3600 # 25h
LOAD_TIMEOUT_1536D_500K = 24 * 3600 # 24h
LOAD_TIMEOUT_1536D_5M = 240 * 3600 # 10d

OPTIMIZE_TIMEOUT_DEFAULT = 30 * 60 # 30min
OPTIMIZE_TIMEOUT_768D_1M = 30 * 60 # 30min
OPTIMIZE_TIMEOUT_768D_10M = 5 * 3600 # 5h
OPTIMIZE_TIMEOUT_768D_100M = 50 * 3600 # 50h
OPTIMIZE_TIMEOUT_DEFAULT = 24 * 3600 # 24h
OPTIMIZE_TIMEOUT_768D_1M = 24 * 3600 # 24h
OPTIMIZE_TIMEOUT_768D_10M = 240 * 3600 # 10d
OPTIMIZE_TIMEOUT_768D_100M = 2400 * 3600 # 100d


OPTIMIZE_TIMEOUT_1536D_500K = 15 * 60 # 15min
OPTIMIZE_TIMEOUT_1536D_5M = 2.5 * 3600 # 2.5h
OPTIMIZE_TIMEOUT_1536D_500K = 24 * 3600 # 24h
OPTIMIZE_TIMEOUT_1536D_5M = 240 * 3600 # 10d

def display(self) -> str:
tmp = [
i for i in inspect.getmembers(self)
Expand Down