Commit Graph

118 Commits

Author SHA1 Message Date
dependabot[bot]
ecabd813a6 build(deps): bump lukemathwalker/cargo-chef (#9819)
Bumps lukemathwalker/cargo-chef from latest-rust-1.96.1-bookworm to latest-rust-1.97.0-bookworm.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-version: latest-rust-1.97.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-07-14 07:55:43 +02:00
dependabot[bot]
18e06d7f48 build(deps): bump lukemathwalker/cargo-chef (#9698)
Bumps lukemathwalker/cargo-chef from latest-rust-1.96.0-bookworm to latest-rust-1.96.1-bookworm.

---
updated-dependencies:
- dependency-name: lukemathwalker/cargo-chef
  dependency-version: latest-rust-1.96.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-07-06 15:40:14 -04:00
dependabot[bot]
06c13a8216 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 11:08:24 +02:00
Roman Titov
1680f1725c Bump mold version used in Dockerfile to 2.41.0 (#9176) 2026-05-26 13:16:01 +02:00
dependabot[bot]
54dda041f1 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-04-20 22:07:11 -04:00
dependabot[bot]
edaae2ca89 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-03-31 09:39:10 +02:00
dependabot[bot]
8f38828c13 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-10 09:34:05 +01:00
dependabot[bot]
d0ae4b031d 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 02:20:25 +00:00
dependabot[bot]
d3c90b3f42 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-01-27 09:41:27 +01:00
Roman Titov
b6c6c204f1 Cleanup Dockerfile (#7814) 2025-12-22 17:25:15 +01:00
dependabot[bot]
642723c795 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-16 12:35:24 +01:00
dependabot[bot]
88fd3c1de6 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-18 11:19:26 +01:00
Ivan Boldyrev
4a732a105d 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-10-10 16:35:45 +07:00
Tim Visée
73300e813f 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:27:49 +02:00
dependabot[bot]
ced65392b8 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-23 09:52:22 +02:00
Bastian Hofmann
49c25a9cc5 Generate SBOM during Docker build (#7111) 2025-08-21 13:25:23 +02:00
dependabot[bot]
3d9da28423 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-19 09:46:06 +02:00
Sid-Ahmed
fed67b7942 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-14 16:16:18 +02:00
dependabot[bot]
da4d52e409 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-12 07:29:35 +02:00
tellet-q
9597a8bee1 Hardcode the link (#6985)
* Hardcode the link

* Fix image build
2025-08-06 11:24:16 +02:00
dependabot[bot]
3f6c889040 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-08 09:46:58 +02:00
dependabot[bot]
33b3703510 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-20 09:27:19 +02:00
dependabot[bot]
39c6a7421b build(deps): bump lukemathwalker/cargo-chef (#6336) 2025-04-07 22:03:02 +00:00
dependabot[bot]
cf511dbf4f build(deps): bump lukemathwalker/cargo-chef (#6246) 2025-03-24 20:42:32 +00:00
dependabot[bot]
9e9f773a5a 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-02-25 09:04:15 +01:00
dependabot[bot]
14d180c7bf build(deps): bump lukemathwalker/cargo-chef (#5939) 2025-02-04 00:48:48 +00:00
Roman Titov
5f906f698d Upgrade mold in the Dockerfile to 2.36.0 (#5811)
* Upgrade mold in the Dockerfile to 2.36.0

* Trigger CI 🙄
2025-01-15 16:49:53 +01:00
Arnaud Gourlay
e80ffa1003 Remove unecessary docker build dependency (#5791) 2025-01-14 11:31:48 +01:00
dependabot[bot]
93d1ff22d4 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-14 10:52:50 +01:00
Arnaud Gourlay
821afded47 Update rocksdb 0.23.0 (#5765)
* Update Rocksdb 0.23.0

* make it work
2025-01-10 11:48:06 +01:00
dependabot[bot]
670ac56897 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>
2024-12-10 08:55:31 +01:00
dependabot[bot]
4ace49ef06 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>
2024-12-10 00:27:34 +01:00
Ivan Pleshkov
9e167f3ca4 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:00:12 +01:00
dependabot[bot]
5e49688620 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-10-22 08:42:46 +02:00
dependabot[bot]
a76b755767 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-10 06:53:25 +02:00
dependabot[bot]
a035938c1f 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-13 09:54:54 +02:00
dependabot[bot]
d5823cfe5b build(deps): bump lukemathwalker/cargo-chef (#4776) 2024-07-30 14:55:48 +00:00
dependabot[bot]
425de5d27e 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-18 07:52:31 +02:00
Roman Titov
535f4e206c Dockerfile updates (#4414) 2024-06-07 23:24:17 +02:00
dependabot[bot]
81549cd479 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-07 08:09:46 +02:00
dependabot[bot]
84b57f51e1 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-16 06:14:05 +02:00
dependabot[bot]
158e32dc67 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-09 16:23:57 +02:00
dependabot[bot]
8b15035e94 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-03-26 09:56:51 +01:00
Kumar Shivendu
cf9f5aab98 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-02-22 21:26:44 +05:30
dependabot[bot]
700e0510a1 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-02-13 08:17:30 +01:00
Matt Busche
8696e73ce2 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-01-30 09:37:30 +01:00
Andrey Vasnetsov
5afe7defc4 Revert "fix: Include git commit id while building docker image if possible" (#3468) 2024-01-26 00:29:20 +01:00
Kumar Shivendu
85a08adcb8 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-01-25 23:24:19 +05:30
dependabot[bot]
b5df126686 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-01-02 13:19:38 +01:00
dependabot[bot]
73dc6255b6 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-13 11:50:48 +00:00