mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-01 02:02:10 +08:00
Updated docs on halfvec performance [skip ci]
This commit is contained in:
12
README.md
12
README.md
@@ -423,7 +423,7 @@ CREATE TABLE items (embedding vector(3), category_id int) PARTITION BY LIST(cate
|
||||
|
||||
*Unreleased*
|
||||
|
||||
Note: Half vectors require [compiler support](#halfvec-performance) to be performant
|
||||
Note: Half vectors currently require AArch64 to be performant
|
||||
|
||||
Use the `halfvec` type to store half-precision vectors
|
||||
|
||||
@@ -957,16 +957,6 @@ To compile for portability, use:
|
||||
make OPTFLAGS=""
|
||||
```
|
||||
|
||||
### Halfvec Performance
|
||||
|
||||
For best performance, make sure Postgres was compiled with a compiler that supports the `_Float16` type (since the same compiler will be used for extensions).
|
||||
|
||||
Compiler | x86-64 | aarch64
|
||||
--- | --- | ---
|
||||
GCC | 12+ | 7+
|
||||
Clang | 15+ | 6+
|
||||
Apple Clang | 14.3+ | 10+
|
||||
|
||||
## Installation Notes - Windows
|
||||
|
||||
### Missing Header
|
||||
|
||||
Reference in New Issue
Block a user