milvus/pkg
Yinzuo Jiang 5a06faca39
feat: fp32 vector to fp16/bf16 vector conversion for RESTful API (#37556)
RESTful API. The influenced API are as follows:

- Handler. insert
- HandlerV1. insert/upsert
- HandlerV2. insert/upsert/search

We do not modify search API in Handler/HandlerV1 because they do not
support fp16/bf16 vectors.

module github.com/milvus-io/milvus/pkg:

Add `Float32ArrayToBFloat16Bytes()`, `Float32ArrayToFloat16Bytes()` and
`Float32ArrayToBytes()`. These method will be used in GoSDK in the
future.

issue: #37448

Signed-off-by: Yinzuo Jiang <yinzuo.jiang@zilliz.com>
Signed-off-by: Yinzuo Jiang <jiangyinzuo@foxmail.com>
2024-11-24 17:46:33 +08:00
..
common enhance: [GoSDK] support Doc-in-doc-out APIs (#37590) 2024-11-12 10:58:28 +08:00
config fix: Store default value if ErrKeyNotFound is returned (#37691) 2024-11-15 10:24:32 +08:00
eventlog fix: fix make generate-mockery panic with go1.22 (#36830) 2024-10-17 12:11:31 +08:00
kv fix: fix make generate-mockery panic with go1.22 (#36830) 2024-10-17 12:11:31 +08:00
log enhance: improve log encoding performance on proxy nodes (#36123) 2024-09-11 14:51:07 +08:00
metrics enhance: Add thread watcher to provide actual thread num (#37905) 2024-11-22 10:20:33 +08:00
mocks fix: fix make generate-mockery panic with go1.22 (#36830) 2024-10-17 12:11:31 +08:00
mq fix: Move init kafka pool into once (#37786) 2024-11-18 21:24:48 +08:00
streaming enhance: refactor the consumer grpc proto for reusing grpc stream for multi-consumer (#37564) 2024-11-11 17:24:29 +08:00
tracer fix: Fix tracing config update logic (#35928) 2024-09-05 14:27:04 +08:00
util feat: fp32 vector to fp16/bf16 vector conversion for RESTful API (#37556) 2024-11-24 17:46:33 +08:00
.mockery_pkg.yaml enhance: support single pchannel level transaction (#35289) 2024-08-19 21:22:56 +08:00
go.mod enhance: RBAC new grant/revoke privilege (#37785) 2024-11-21 22:20:34 +08:00
go.sum enhance: RBAC new grant/revoke privilege (#37785) 2024-11-21 22:20:34 +08:00
Makefile enhance: Update Makefile to generate mockery (#35517) 2024-08-16 18:44:53 +08:00
rules.go Add back gocritic linter and fix related issues (#27289) 2023-09-22 10:05:26 +08:00