116 Commits

Author SHA1 Message Date
dependabot[bot]
831cf980dc build(deps): bump lukemathwalker/cargo-chef (#9272)
Bumps lukemathwalker/cargo-chef from latest-rust-1.95.0-bookworm to latest-rust-1.96.0-bookworm.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-version: latest-rust-1.96.0-bookworm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-03 14:58:26 +02:00
Roman Titov
12489860e9 Bump mold version used in Dockerfile to 2.41.0 (#9176) 2026-06-03 14:47:41 +02:00
dependabot[bot]
b4304b20ca build(deps): bump lukemathwalker/cargo-chef (#8737)
Bumps lukemathwalker/cargo-chef from latest-rust-1.94.1-bookworm to latest-rust-1.95.0-bookworm.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-version: latest-rust-1.95.0-bookworm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-08 13:47:16 +02:00
dependabot[bot]
b44f028e25 build(deps): bump lukemathwalker/cargo-chef (#8548)
Bumps lukemathwalker/cargo-chef from latest-rust-1.94.0-bookworm to latest-rust-1.94.1-bookworm.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-version: latest-rust-1.94.1-bookworm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-08 13:45:42 +02:00
dependabot[bot]
996cc0ed20 build(deps): bump lukemathwalker/cargo-chef (#8330)
Bumps lukemathwalker/cargo-chef from latest-rust-1.93.1-bookworm to latest-rust-1.94.0-bookworm.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-version: latest-rust-1.94.0-bookworm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-26 17:43:01 +01:00
dependabot[bot]
959c53ff13 build(deps): bump lukemathwalker/cargo-chef (#8144)
Bumps lukemathwalker/cargo-chef from latest-rust-1.93.0-bookworm to latest-rust-1.93.1-bookworm.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-version: latest-rust-1.93.1-bookworm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-17 11:01:05 +01:00
dependabot[bot]
fe8ed09048 build(deps): bump lukemathwalker/cargo-chef (#7989)
Bumps lukemathwalker/cargo-chef from latest-rust-1.92.0-bookworm to latest-rust-1.93.0-bookworm.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-version: latest-rust-1.93.0-bookworm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-09 23:30:08 +01:00
Roman Titov
7715a54f5d Cleanup Dockerfile (#7814) 2026-02-09 22:27:38 +01:00
dependabot[bot]
ccde19711d build(deps): bump lukemathwalker/cargo-chef (#7768)
Bumps lukemathwalker/cargo-chef from latest-rust-1.91.1-bookworm to latest-rust-1.92.0-bookworm.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-version: latest-rust-1.92.0-bookworm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-18 17:28:50 +01:00
dependabot[bot]
de2f73af93 build(deps): bump lukemathwalker/cargo-chef (#7554)
Bumps lukemathwalker/cargo-chef from latest-rust-1.90-bookworm to latest-rust-1.91.1-bookworm.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-version: latest-rust-1.91.1-bookworm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-25 11:15:15 +01:00
Ivan Boldyrev
494880b090 Docker build parameters (#7370)
* Add ARG `TARGET_CPU` to Dockerfile

* Add ARG `JEMALLOC_SYS_WITH_LG_PAGE` to Dockerfile

It allows redefining jemalloc's page size for image targeting specific
ARM machines.

Refs #3831.

* Document Docker build parameters
2025-11-14 12:28:14 +01:00
Tim Visée
48203e414e Downgrade cargo-chef base image to fix runtime error on NVIDIA GPU image (#7334)
* Downgrade cargo-chef base image to fix runtime error on NVIDIA GPU image

* Add link to pull request
2025-09-30 11:28:29 +02:00
dependabot[bot]
fbc06d15e9 build(deps): bump lukemathwalker/cargo-chef (#7281)
Bumps lukemathwalker/cargo-chef from latest-rust-1.89.0 to latest-rust-1.90.0.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-version: latest-rust-1.90.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-29 11:31:34 +02:00
Bastian Hofmann
b9962d14b5 Generate SBOM during Docker build (#7111) 2025-08-26 13:18:15 +02:00
dependabot[bot]
ddfc55ab27 build(deps): bump debian from 12-slim to 13-slim (#7081)
Bumps debian from 12-slim to 13-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-version: 13-slim
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-26 13:17:20 +02:00
Sid-Ahmed
d9a6329429 fix(core): optimize OCI Layers (#7005)
* fix(core): optimize OCI Layers

Signed-off-by: Sid Ahmed Djellali <s.djellali@cyberdian.fr>

* fix(core): optimize OCI Layers

Signed-off-by: Sid Ahmed Djellali <s.djellali@cyberdian.fr>

* fix(core): optimize OCI Layers

Signed-off-by: Sid Ahmed Djellali <s.djellali@cyberdian.fr>

---------

Signed-off-by: Sid Ahmed Djellali <s.djellali@cyberdian.fr>
Co-authored-by: Sid Ahmed DJELLALI <s.djellali@cyberdian.fr>
2025-08-26 13:15:41 +02:00
dependabot[bot]
cc37c9c421 build(deps): bump lukemathwalker/cargo-chef (#7019)
Bumps lukemathwalker/cargo-chef from latest-rust-1.88.0 to latest-rust-1.89.0.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-version: latest-rust-1.89.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-14 14:28:09 +02:00
tellet-q
b33e741229 Hardcode the link (#6985)
* Hardcode the link

* Fix image build
2025-08-11 13:16:52 +02:00
dependabot[bot]
cb33df0e1a build(deps): bump lukemathwalker/cargo-chef (#6822)
Bumps lukemathwalker/cargo-chef from latest-rust-1.87.0 to latest-rust-1.88.0.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-version: latest-rust-1.88.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-17 13:48:47 +02:00
dependabot[bot]
c316cade02 build(deps): bump lukemathwalker/cargo-chef (#6554)
Bumps lukemathwalker/cargo-chef from latest-rust-1.86.0 to latest-rust-1.87.0.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-version: latest-rust-1.87.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-22 23:18:59 +02:00
dependabot[bot]
10f4021003 build(deps): bump lukemathwalker/cargo-chef (#6336) 2025-04-20 23:53:46 +02:00
dependabot[bot]
11ce89d790 build(deps): bump lukemathwalker/cargo-chef (#6246) 2025-03-31 16:19:30 +02:00
dependabot[bot]
14c849c47a build(deps): bump lukemathwalker/cargo-chef (#6053)
Bumps lukemathwalker/cargo-chef from latest-rust-1.84.1 to latest-rust-1.85.0.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-21 11:38:38 +01:00
dependabot[bot]
9293084d5c build(deps): bump lukemathwalker/cargo-chef (#5939) 2025-02-11 14:40:39 +01:00
Roman Titov
a0167a65b7 Upgrade mold in the Dockerfile to 2.36.0 (#5811)
* Upgrade mold in the Dockerfile to 2.36.0

* Trigger CI 🙄
2025-01-16 10:51:55 +01:00
Arnaud Gourlay
a190778a67 Remove unecessary docker build dependency (#5791) 2025-01-16 10:50:41 +01:00
dependabot[bot]
67b446684b build(deps): bump lukemathwalker/cargo-chef (#5789)
Bumps lukemathwalker/cargo-chef from latest-rust-1.83.0 to latest-rust-1.84.0.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-16 10:50:32 +01:00
Arnaud Gourlay
7f79b14802 Update rocksdb 0.23.0 (#5765)
* Update Rocksdb 0.23.0

* make it work
2025-01-16 10:49:27 +01:00
dependabot[bot]
1be90a5f58 build(deps): bump nvidia/opengl (#5616)
Bumps nvidia/opengl from 1.0-glvnd-devel-ubuntu22.04 to 1.2-glvnd-devel-ubuntu22.04.

---
updated-dependencies:
- dependency-name: nvidia/opengl
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-08 14:02:06 +01:00
dependabot[bot]
0a6493939c build(deps): bump lukemathwalker/cargo-chef (#5615)
Bumps lukemathwalker/cargo-chef from latest-rust-1.82.0 to latest-rust-1.83.0.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-08 14:01:34 +01:00
Ivan Pleshkov
8c9f6849cd Add GPU support into Dockerfile (#5584)
* gpu hnsw

add gpu indexing flag

add gpu vector storage time measurement

add chmod flag

build hnsw using gpu

scoring speedup

move gl_GlobalInvocationID to mains

glslc with o flag

fix tests

use gpu atomics instead of multiple runs

enable atomics

add timers

profile search

let shader work while points collection

use generations for visited flags

add gpu init timer

avoid entries download

remove gpu call timers for a while

rename to combined graph builder

move gpu graph builder

restore levels in link access

restore links_map

add gpu start condition

use graph builder links memory

remove mut's

list point ids before processing

download-upload links using methods only

cpu graph builder as separate struct

add cpu threads count

parallel cpu build

single threaded cpu preprocess

try to fix glove accuracy

unsafe Send and Sync for gpu builder

copy graph layers builder instead of moving

remove obsolete mut

fix build

move builders to arc

fix bfb deadlock

move uneccessary clear

run cpu and gpu in separate threads

many vectors storage buffers

debug gpu vector storage

fix vector storage upload bug

add cpu ful graph build

don't use non-ready links for point

try to resolve conflicts while upsert

add indexing unit test for measurements

add test

utilize cpu more efficient

dont clear bhaep

debug gpu runs

try to use vec4 instead of mat4

dump scores count

estimate gpu usage

print usage per run

start using working groups

build shaders for vulkan v1.3

start shaders subgroup

vk instance version 1.3

subgroup vector storage

fix test

nearest heap

nearest heap test

are you happy fmt

add assert to nearest heap test

are you happy fmt

gpu visited flags

start candidates heap

candidates heap push

debug nearest heap

remove subgroupExclusiveMin

fix build

are you happy clippy

remove links dependency from nearest heap

provide input count to nearest test

are you happy fmt

provide ef to shader

are you happy fmt

get subgroup size

move compiled shaders

are you happy fmt

fix workgroups count for vector storage compute test

return true subgroup size

do nearest heap on gpu with partial sorting

remove tmp shader

unite scores and indices

are you happy fmt

gpu nearest sorting

are you happy fmt

fix nearest heap test

links test with subgroups

gpu candidates start

fix candidates sorting

are you happy fmt

fix candidates test on m1 chip

move obsolete and test shaders

start new gpu search context

search context test

fix links uploading

debug hnsw searh on level test

fix gpu hnsw search on level test

move test initialization to separate function

gpu greedy search shader test

test heuristic shader

gpu greedy search test

gpu test heuristic

move greedy search into searcher

start insertion shader

find hnsw patch on gpu

fix gpu patches test

start gpu graph builder

equivalency test

fix layers check

add timers

are you happy fmt

quality test and fix multithreaded bug

debug tests

are you happy fmt

fix levels count and clear links

fix equivalency test

remove obsolete solution

trivial gpu indexing integration

gpu config and skip conflicts for large hnsw

glsl generic vector storage element type

gpu generic vector storage

enable vulkan features for f16 and u8

force_half_precision option

add force f16 test

fix u8 and f16 unit tests

apply generic shaders in hnsw construction

remove conflicts check; start cpu utilization

cpu prebuild

upload first point links to gpu

mark all points in cpu graph as ready

multithreaded cpu and gpu

fix equivalency test

remove cpu links copy

parallel patches clearing

fix multithreaded env

external layers source

more logs to debug cpu+gpu syncronization

clear gpu processed points count

remove some temp logs

fix cpu stop condition bug

new insert vector shader

greedy search returns only ids

download whole layer links

apply new links on gpu directly

update win shader script

parallel links loading

provide memory amount as setting and estimate groups count

start bq

gpu bq test

fix tests

shaders invocations refactor

revert max groups settings

gix build after rebase

fix bug after rebase

upload links to gpu in cpu thread

fix greedy search iteration

atomic checker for conflicts

dump graph changes for debugging

move iterator to separate file

start combined builder refactor

start cpu builder as separate struct

separate gpu and cpu construction

fix tests

fix atomics count bug

upload links to gpu as separate fn

glue cpu and gpu

gpu thread

link points on cpu while gpu is busy

fix gpu bq scoring test

use xor instead of calc it

reallocate with less groups if not enough gpu memory

update compiled shaders

don't use llvm gpu emulator

debug panic if no gpu

remove tmp debug dumping

dockerfile for gpu

customize candidates count

fix gpu storage size

runtime shader compilation

dim as define

nearest heap params as macro

candidates and links capacities as macro

parallel bitonic sort

use bubble sort too

nearest heap as shared

limited shared candidates heap

combine buble and bitonic sorts

one-argumented similarity

cache vector for scoring

dont check candidates overflow

do greedy before search

visited hashtable

Revert "visited hashtable"

This reverts commit 7540d04d3859d02f17908c874927d18076f3eb8e.

use less flushes

bulk sum calculation

Revert "bulk sum calculation"

This reverts commit 6ef78ceb8d6ba7d9bf2077804548df162052c749.

load vector in one read

Revert "load vector in one read"

This reverts commit ea980d0399b90f44638590d40fdbfb1d6ffa9504.

fix build after rebase

fix build after rebase

sq support

simplify bq uploading using constructed quantization

metrics

alignment depends on subgroup size

are you happy fmt

exact flag

use lazy static for device access

remove prints

test reallocation factor

visited flags capacity as a compile time constant

build gpu hnsw for payload blocks

add dynamically sized subgroup size support

fix build

update rust version for nvidia docker

dynamically sized subgroups

start device filter

test device filter

are you happy clippy

devices manager

provide device instead of flag, better locking

partial cpu permit release

free cpus when gpu enabled

use cpu is waiting is disabled

create device only when gpu is enabled

cpu permit release all cases

parallel indices count

provide queue index

small refactor of shader builder

are you happy fmt

quantization params as separate struct

pq refactor

fmt

remove upload_mapped_ptr from gpu buffer

refactor gpu buffer

check buffer range

buffer refactor

refactor pipeline

move shader compiler to instance

refactor context

more refactor

no unwraps in gpu crate

clippy

apply pr changes

are you happy fmt

dont use shaderc in segment

more gpu tests

pq bq tests

provide bq option

fix bq for small dim

bind pq buffers

pq more complex test

cover all storage types by tests

test multi and vectors as iterator

multivectors upload data

multivectors shader

fix multivector tests

refactor shader builder

move storage tests into separate file

move quantization to separate file

refactor gpu vector storage creation

refactor gpu quantization api

dont convert to float when unnecessary

more comments

small upload vectors refactor

fix build after rebase

fix tests after rebase

different vk queue priorities capacity

vectors upload stopper

amd dockerfile

fix build after rebase

parent ec4d42e7f6
author Ivan Pleshkov <pleshkov.ivan@gmail.com> 1692111338 +0200
committer Ivan Pleshkov <pleshkov.ivan@gmail.com> 1732698560 +0100

gpu hnsw

add gpu indexing flag

add gpu vector storage time measurement

add chmod flag

build hnsw using gpu

scoring speedup

move gl_GlobalInvocationID to mains

glslc with o flag

fix tests

use gpu atomics instead of multiple runs

enable atomics

add timers

profile search

let shader work while points collection

use generations for visited flags

add gpu init timer

avoid entries download

remove gpu call timers for a while

rename to combined graph builder

move gpu graph builder

restore levels in link access

restore links_map

add gpu start condition

use graph builder links memory

remove mut's

list point ids before processing

download-upload links using methods only

cpu graph builder as separate struct

add cpu threads count

parallel cpu build

single threaded cpu preprocess

try to fix glove accuracy

unsafe Send and Sync for gpu builder

copy graph layers builder instead of moving

remove obsolete mut

fix build

move builders to arc

fix bfb deadlock

move uneccessary clear

run cpu and gpu in separate threads

many vectors storage buffers

debug gpu vector storage

fix vector storage upload bug

add cpu ful graph build

don't use non-ready links for point

try to resolve conflicts while upsert

add indexing unit test for measurements

add test

utilize cpu more efficient

dont clear bhaep

debug gpu runs

try to use vec4 instead of mat4

dump scores count

estimate gpu usage

print usage per run

start using working groups

build shaders for vulkan v1.3

start shaders subgroup

vk instance version 1.3

subgroup vector storage

fix test

nearest heap

nearest heap test

are you happy fmt

add assert to nearest heap test

are you happy fmt

gpu visited flags

start candidates heap

candidates heap push

debug nearest heap

remove subgroupExclusiveMin

fix build

are you happy clippy

remove links dependency from nearest heap

provide input count to nearest test

are you happy fmt

provide ef to shader

are you happy fmt

get subgroup size

move compiled shaders

are you happy fmt

fix workgroups count for vector storage compute test

return true subgroup size

do nearest heap on gpu with partial sorting

remove tmp shader

unite scores and indices

are you happy fmt

gpu nearest sorting

are you happy fmt

fix nearest heap test

links test with subgroups

gpu candidates start

fix candidates sorting

are you happy fmt

fix candidates test on m1 chip

move obsolete and test shaders

start new gpu search context

search context test

fix links uploading

debug hnsw searh on level test

fix gpu hnsw search on level test

move test initialization to separate function

gpu greedy search shader test

test heuristic shader

gpu greedy search test

gpu test heuristic

move greedy search into searcher

start insertion shader

find hnsw patch on gpu

fix gpu patches test

start gpu graph builder

equivalency test

fix layers check

add timers

are you happy fmt

quality test and fix multithreaded bug

debug tests

are you happy fmt

fix levels count and clear links

fix equivalency test

remove obsolete solution

trivial gpu indexing integration

gpu config and skip conflicts for large hnsw

glsl generic vector storage element type

gpu generic vector storage

enable vulkan features for f16 and u8

force_half_precision option

add force f16 test

fix u8 and f16 unit tests

apply generic shaders in hnsw construction

remove conflicts check; start cpu utilization

cpu prebuild

upload first point links to gpu

mark all points in cpu graph as ready

multithreaded cpu and gpu

fix equivalency test

remove cpu links copy

parallel patches clearing

fix multithreaded env

external layers source

more logs to debug cpu+gpu syncronization

clear gpu processed points count

remove some temp logs

fix cpu stop condition bug

new insert vector shader

greedy search returns only ids

download whole layer links

apply new links on gpu directly

update win shader script

parallel links loading

provide memory amount as setting and estimate groups count

start bq

gpu bq test

fix tests

shaders invocations refactor

revert max groups settings

gix build after rebase

fix bug after rebase

upload links to gpu in cpu thread

fix greedy search iteration

atomic checker for conflicts

dump graph changes for debugging

move iterator to separate file

start combined builder refactor

start cpu builder as separate struct

separate gpu and cpu construction

fix tests

fix atomics count bug

upload links to gpu as separate fn

glue cpu and gpu

gpu thread

link points on cpu while gpu is busy

fix gpu bq scoring test

use xor instead of calc it

reallocate with less groups if not enough gpu memory

update compiled shaders

don't use llvm gpu emulator

debug panic if no gpu

remove tmp debug dumping

dockerfile for gpu

customize candidates count

fix gpu storage size

runtime shader compilation

dim as define

nearest heap params as macro

candidates and links capacities as macro

parallel bitonic sort

use bubble sort too

nearest heap as shared

limited shared candidates heap

combine buble and bitonic sorts

one-argumented similarity

cache vector for scoring

dont check candidates overflow

do greedy before search

visited hashtable

Revert "visited hashtable"

This reverts commit 7540d04d3859d02f17908c874927d18076f3eb8e.

use less flushes

bulk sum calculation

Revert "bulk sum calculation"

This reverts commit 6ef78ceb8d6ba7d9bf2077804548df162052c749.

load vector in one read

Revert "load vector in one read"

This reverts commit ea980d0399b90f44638590d40fdbfb1d6ffa9504.

fix build after rebase

fix build after rebase

sq support

simplify bq uploading using constructed quantization

metrics

alignment depends on subgroup size

are you happy fmt

exact flag

use lazy static for device access

remove prints

test reallocation factor

visited flags capacity as a compile time constant

build gpu hnsw for payload blocks

add dynamically sized subgroup size support

fix build

update rust version for nvidia docker

dynamically sized subgroups

start device filter

test device filter

are you happy clippy

devices manager

provide device instead of flag, better locking

partial cpu permit release

free cpus when gpu enabled

use cpu is waiting is disabled

create device only when gpu is enabled

cpu permit release all cases

parallel indices count

provide queue index

small refactor of shader builder

are you happy fmt

quantization params as separate struct

pq refactor

fmt

remove upload_mapped_ptr from gpu buffer

refactor gpu buffer

check buffer range

buffer refactor

refactor pipeline

move shader compiler to instance

refactor context

more refactor

no unwraps in gpu crate

clippy

apply pr changes

are you happy fmt

dont use shaderc in segment

more gpu tests

pq bq tests

provide bq option

fix bq for small dim

bind pq buffers

pq more complex test

cover all storage types by tests

test multi and vectors as iterator

multivectors upload data

multivectors shader

fix multivector tests

refactor shader builder

move storage tests into separate file

move quantization to separate file

refactor gpu vector storage creation

refactor gpu quantization api

dont convert to float when unnecessary

more comments

small upload vectors refactor

fix build after rebase

fix tests after rebase

different vk queue priorities capacity

experiment with heaps

reverse candidates heap

scan only half of candidates

avoid heap code duplication

call subgroup elect inside bheap

united nearest and candidates heaps

remove cands and nearest heaps shaders

fix tests

start linear implementation

remove nearest and candidates entities

visited flags with id remap

simplify cpu side

move hnsw search shader into tests

simplify

simplify gpu links

test visited flags remap

remove GpuSearchContextGroupAllocation

stopper and allow integrated flag

add timeout comment

refactor batched points

refactor links and device manager

are you happy clippy

fix build after rebase

fix build after rebase

remove temp files

create gpu vectors in segment constructor

clean up

clean up

refactor gpu feature

refactor gpu construction in hnsw.rs

provide gpu device

remove pub

simplify main graph

renames

telemetry and settings refactor

update cargo lock

remove env_logger from deps

update openapi

gpu hnsw unit test

rename test

log device name while indexing

* are you happy clippy

* are you happy clippy

* dockerfile with amd and nvidia gpu support

* add gpu arg to stages

* clear after rebase

* Apply suggestions from code review

Co-authored-by: Roman Titov <ffuugoo@users.noreply.github.com>

* review remarks

* fix CI

* cnahge arg to env

---------

Co-authored-by: Roman Titov <ffuugoo@users.noreply.github.com>
2024-12-09 12:29:17 +01:00
dependabot[bot]
1473470de0 build(deps): bump lukemathwalker/cargo-chef (#5282)
Bumps lukemathwalker/cargo-chef from latest-rust-1.81.0 to latest-rust-1.82.0.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-08 11:10:59 +01:00
dependabot[bot]
68b8ffba7c build(deps): bump lukemathwalker/cargo-chef (#5046)
Bumps lukemathwalker/cargo-chef from latest-rust-1.80.1 to latest-rust-1.81.0.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 15:27:15 +02:00
dependabot[bot]
fe49040ff3 build(deps): bump lukemathwalker/cargo-chef (#4877)
Bumps lukemathwalker/cargo-chef from latest-rust-1.80.0 to latest-rust-1.80.1.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 00:56:27 +02:00
dependabot[bot]
cd7fbaa0c1 build(deps): bump lukemathwalker/cargo-chef (#4776) 2024-08-09 18:15:43 +02:00
dependabot[bot]
43df08ce83 Bump lukemathwalker/cargo-chef (#4483)
Bumps lukemathwalker/cargo-chef from latest-rust-1.78.0 to latest-rust-1.79.0.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-21 23:39:13 +02:00
Roman Titov
8258c42359 Dockerfile updates (#4414) 2024-06-11 13:15:58 +02:00
dependabot[bot]
02f1dcbcb8 Bump lukemathwalker/cargo-chef (#4181)
Bumps lukemathwalker/cargo-chef from latest-rust-1.77.2 to latest-rust-1.78.0.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-09 14:26:17 +02:00
dependabot[bot]
dfb8f55b1f Bump lukemathwalker/cargo-chef (#4039)
Bumps lukemathwalker/cargo-chef from latest-rust-1.77.1 to latest-rust-1.77.2.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 10:33:26 +02:00
dependabot[bot]
e03b5d0bd6 Bump lukemathwalker/cargo-chef (#3986)
Bumps lukemathwalker/cargo-chef from latest-rust-1.77.0 to latest-rust-1.77.1.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 10:30:36 +02:00
dependabot[bot]
779ed94050 Bump lukemathwalker/cargo-chef (#3909)
Bumps lukemathwalker/cargo-chef from latest-rust-1.76.0 to latest-rust-1.77.0.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 10:27:32 +02:00
Kumar Shivendu
ad6b4b2532 fix: Include git commit id while building docker image if possible (#3640)
* feat: Print commit id in dev container build workflow

* fix: Keep .git while building Qdrant binary in docker

* fix: Remove redundant printing of git commit id

* fix: Copy only git files first

* fix: Docker build should have commit id if present

* refactor: Use fewer lines of code

* feat: Use git commit id from build arg

* refactor: Use cleaner code

* Fix string reference issue

* fix: Dont print info log if commit is not set

* fix: Include git commit id in release containers

---------

Co-authored-by: timvisee <tim@visee.me>
2024-03-05 17:09:58 +01:00
dependabot[bot]
dfa3be4d07 Bump lukemathwalker/cargo-chef (#3603)
Bumps lukemathwalker/cargo-chef from latest-rust-1.75.0 to latest-rust-1.76.0.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 17:06:43 +01:00
Matt Busche
5f53a007b7 Only install the main packages (#3462)
* Only install the main packages

and ignore recommended packages

Fix consistency with `AS` for alias

* install all packages

* don't worry about deleting sources

Co-authored-by: Tim Visée <tim+github@visee.me>

---------

Co-authored-by: Tim Visée <tim+github@visee.me>
2024-03-05 16:55:40 +01:00
Andrey Vasnetsov
e59280f1bb Revert "fix: Include git commit id while building docker image if possible" (#3468) 2024-03-05 16:52:57 +01:00
Kumar Shivendu
de5d120197 fix: Include git commit id while building docker image if possible (#3419)
* feat: Print commit id in dev container build workflow

* fix: Keep .git while building Qdrant binary in docker

* fix: Remove redundant printing of git commit id

* fix: Copy only git files first

* fix: Docker build should have commit id if present

* refactor: Use fewer lines of code
2024-03-05 16:52:51 +01:00
dependabot[bot]
9779106cc4 Bump lukemathwalker/cargo-chef (#3306)
Bumps lukemathwalker/cargo-chef from latest-rust-1.74.1 to latest-rust-1.75.0.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-05 16:43:56 +01:00
dependabot[bot]
c58c07dd19 Bump lukemathwalker/cargo-chef (#3208)
Bumps lukemathwalker/cargo-chef from latest-rust-1.74.0 to latest-rust-1.74.1.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 19:26:32 +00:00
Tim Visée
5d43689069 Bump Rust to v1.74.0 (#3032) 2023-12-06 17:04:52 +01:00
Roman Titov
a32b128cea Update mold in the Dockerfile to 2.3.2 (#2990)
* Update `mold` in the Dockerfile to 2.3.2

* Use absolute paths when creating `storage`/`snapshots` directories...

...for unpriveleged Docker container builds
2023-12-06 17:02:01 +01:00