Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: min.tian <[email protected]>
  • Loading branch information
alwayslove2013 committed Jan 9, 2025
1 parent 032515f commit 218c639
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions vectordb_bench/backend/assembler.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def assemble_all(
_ = k.init_cls

# sort by dataset size
for k, _ in db2runner:
db2runner[k].sort(key=lambda x: x.ca.dataset.data.size)
for _, runner in db2runner.items():
runner.sort(key=lambda x: x.ca.dataset.data.size)

all_runners = []
all_runners.extend(load_runners)
Expand Down
2 changes: 1 addition & 1 deletion vectordb_bench/backend/clients/milvus/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


class MilvusConfig(DBConfig):
uri: SecretStr = "http://localhost:19530"
uri: SecretStr = "http://10.102.5.190:19530"
user: str | None = None
password: SecretStr | None = None

Expand Down
2 changes: 1 addition & 1 deletion vectordb_bench/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def _clear_running_task(self):

def _run_async(self, conn: Connection) -> bool:
log.info(
f"task submitted: id={self.running_task.run_id}, {self.running_task.task_label}, ",
f"task submitted: id={self.running_task.run_id}, {self.running_task.task_label}, "
f"case number: {len(self.running_task.case_runners)}",
)
global global_result_future
Expand Down

0 comments on commit 218c639

Please sign in to comment.