ded0701504
core: auto-cleanup for LeannSearcher/LeannChat (__enter__/__exit__/__del__); ensure server terminate/kill robustness; benchmarks: use searcher.cleanup(); docs: suggest uv run
Andy Lee
2025-08-14 14:29:57 -07:00
e3518a31ed
docs: diskann recompute
Andy Lee
2025-08-14 14:25:50 -07:00
d5f6ca61ed
benchmarks: unify HNSW & DiskANN into one clean script; isolate groups, fixed ports, warm-up, param complexity
Andy Lee
2025-08-14 13:47:53 -07:00
42c8370709
add chunk size in leann build& fix batch size in oai& docs
yichuan520030910320
2025-08-14 13:14:14 -07:00
b13b52e78c
benchmarks: fix and extend HNSW+DiskANN recompute vs no-recompute; docs: add fresh numbers and DiskANN notes
Andy Lee
2025-08-14 12:18:07 -07:00
79ca32e87b
docs: a real example on recompute
Andy Lee
2025-08-14 11:56:10 -07:00
16f4572fe7
cli: use argparse.BooleanOptionalAction for paired flags (--recompute/--compact) across build/search/ask
Andy Lee
2025-08-14 11:22:47 -07:00
2bd557d1cf
hnsw: move pruned/no-recompute assertion into backend; api: drop global assertion; docs: will adjust after benchmarking
Andy Lee
2025-08-14 11:08:34 -07:00
3e162fb177
chore: remove
Andy Lee
2025-08-14 01:24:21 -07:00
b988f0ab5b
cli: unify flags to --recompute/--no-recompute for build/search/ask; docs: update references
Andy Lee
2025-08-14 01:20:14 -07:00
43cb500ed8
merge: finalize compat resolution (delegate to PassageManager; keep relative hints in meta); resolve conflicts
Andy Lee
2025-08-14 01:09:39 -07:00
0361725323
reader: non-destructive portability (relative hints + fallback); fix comments; sky: refine yaml
Andy Lee
2025-08-14 01:05:01 -07:00
fafdf8fcbe
feat(core,diskann): robust embedding server (no-hang) + DiskANN fast mode (graph partition) (#29)
Andy Lee
2025-08-14 01:02:24 -07:00
3f81861cba
feat: auto compact for hnsw when recompute
Andy Lee
2025-08-14 00:09:57 -07:00
8cfd5d6a8a
core: fix lint (remove unused passages_file); keep per-instance reuse only
Andy Lee
2025-08-13 23:51:25 -07:00
10bfe9c980
core: purge dead helpers and comments from EmbeddingServerManager; keep only minimal in-process flow
Andy Lee
2025-08-13 23:41:44 -07:00
a4346ef701
diskann(ci): avoid stdout/stderr FD redirection in CI to prevent aborts from low-level dup2; no-op contextmanager on CI
Andy Lee
2025-08-13 23:15:24 -07:00
6db0a7747d
tests(ci): skip DiskANN branch of README basic example on CI to avoid core dump in constrained runners; HNSW still validated
Andy Lee
2025-08-13 23:07:39 -07:00
b6efe3a726
zmq: set SNDTIMEO=1s and LINGER=0 for REP sockets to avoid send blocking during shutdown; reduces CI hang risk
Andy Lee
2025-08-13 22:52:54 -07:00
0f110dc7b9
core: unify atexit to always call _finalize_process (covers both self-launched and adopted servers)
Andy Lee
2025-08-13 22:42:25 -07:00
dfe60a152f
ci/core: skip compatibility scanning in CI (LEANN_SKIP_COMPAT=1) to avoid slow/hanging process scans; always pick a fresh available port
Andy Lee
2025-08-13 22:39:51 -07:00
6af8101977
core: adopt compatible running server (record PID) and ensure stop_server() can terminate adopted processes; clear server_port on stop
Andy Lee
2025-08-13 22:04:51 -07:00
17e0d7470f
tests: remove minimal conftest to validate atexit/weakref cleanup path
Andy Lee
2025-08-13 21:16:44 -07:00
d6a923f52e
core: add weakref.finalize and atexit-based cleanup in EmbeddingServerManager to ensure server stops on interpreter exit/GC
Andy Lee
2025-08-13 21:05:43 -07:00
d79d0af7b1
tests: fix ruff warnings in minimal conftest
Andy Lee
2025-08-13 21:00:50 -07:00
eb71969d2c
tests: call searcher.cleanup()/chat.cleanup() to ensure background embedding servers terminate after tests
Andy Lee
2025-08-13 18:48:42 -07:00
183e523be9
tests: remove conftest global timeouts/cleanup; keep test suite minimal and rely on simplified CI + robust servers
Andy Lee
2025-08-13 17:46:47 -07:00
f096e62bfa
tests: drop custom ci_timeout decorator and helpers; rely on pytest defaults and simplified CI
Andy Lee
2025-08-13 17:37:43 -07:00
27215dfcce
refactor(hnsw-convert): remove global print override; rely on default flushing in CI
Andy Lee
2025-08-13 17:34:35 -07:00
b8cf7198dd
refactor(diskann): remove redundant graph_partition_simple; keep single partition API (graph_partition)
Andy Lee
2025-08-13 17:31:42 -07:00
317d9e9ed7
chore(ci): remove unused pytest wrapper and debug runner
Andy Lee
2025-08-13 16:59:30 -07:00
751b5f8735
ci: simplify test step to run pytest uniformly across OS; drop ubuntu-22.04 wrapper special-casing
Andy Lee
2025-08-13 16:57:04 -07:00
a7ad0bc3d6
refactor(hnsw-server): remove duplicate legacy ZMQ thread; keep single shutdown-capable server implementation to reduce surface and avoid hangs
Andy Lee
2025-08-13 16:06:39 -07:00
f496621034
fix(hnsw-server): be lenient to nested [[ids]] for both distance and embedding requests to match client expectations; prevents missing ID lookup when wrapper nests the list
Andy Lee
2025-08-13 15:31:36 -07:00
91d4b4fd94
style(hnsw-server): apply ruff-format after robustness changes
Andy Lee
2025-08-13 15:03:54 -07:00
909d3cc6a8
fix(hnsw-server): robust ZMQ responses to prevent size mismatch and segfault in CI
clean-state-investigation
Andy Lee
2025-08-13 14:53:46 -07:00
fa2a775867
docs+sky: simplify SkyPilot flow (auto-build on launch, rsync copy-back); clarify HNSW auto non-compact when no-recompute
Andy Lee
2025-08-13 14:30:14 -07:00