Comments (30)
from milvus.
step to reprocess:
- unzip https://github.com/milvus-io/milvus/files/15369214/unexpected_top_k.zip
- python3 small_data/data_load_small_data.py # load data
- python3 small_data/milvus_small_multi_vector.py # run multi-top-k test
cc @yanliang567 , please check the milvus.txt for the query results.
from milvus.
I did not reproduce the issue on latest milvus 2.4.2 build, I got 50 results as expected.
could you please retry?
/assign @JackTan25
/unassign
from milvus.
@yanliang567 Hi, did you modify the code of mine? is there any error?
from milvus.
@yanliang567 Hi, did you modify the code of mine? is there any error?
I changed the milvus server ip only
from milvus.
milvusdb/milvus:v2.4.0-rc.1 this is the version of mine @yanliang567
from milvus.
Is there any change about milvus multi-vector search between these two versions?
from milvus.
version: '3.5'
services:
etcd:
container_name: milvus-etcd
image: quay.io/coreos/etcd:v3.5.5
environment:
- ETCD_AUTO_COMPACTION_MODE=revision
- ETCD_AUTO_COMPACTION_RETENTION=1000
- ETCD_QUOTA_BACKEND_BYTES=4294967296
- ETCD_SNAPSHOT_COUNT=50000
volumes:
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd
command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd
healthcheck:
test: ["CMD", "etcdctl", "endpoint", "health"]
interval: 30s
timeout: 20s
retries: 3
minio:
container_name: milvus-minio
image: minio/minio:RELEASE.2023-03-20T20-16-18Z
environment:
MINIO_ACCESS_KEY: minioadmin
MINIO_SECRET_KEY: minioadmin
ports:
- "9001:9001"
- "9000:9000"
volumes:
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/minio:/minio_data
command: minio server /minio_data --console-address ":9001"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
standalone:
container_name: milvus-standalone
image: milvusdb/milvus:v2.4.1
command: ["milvus", "run", "standalone"]
security_opt:
- seccomp:unconfined
environment:
ETCD_ENDPOINTS: etcd:2379
MINIO_ADDRESS: minio:9000
volumes:
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/milvus:/var/lib/milvus
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9091/healthz"]
interval: 30s
start_period: 90s
timeout: 20s
retries: 3
ports:
- "19530:19530"
- "9091:9091"
depends_on:
- "etcd"
- "minio"
networks:
default:
name: milvus
This is my docker-compose.yaml file, Is there any problem? before I upgrade milvus from 2.3.5 to 2.4.1, So I run
docker compose down
docker compose up -d
and I will get warning like below:
WARN[0000] /home/tanboyu/cpp_workspace/milvus/docker-compose.yml: `version` is obsolete
I'm not sure whether it will cause this? @yanliang567
from milvus.
@JackTan25
if you can share the scripts you try to reproduce this issue we can double check on it
from milvus.
wget https://raw.githubusercontent.com/milvus-io/milvus/master/scripts/standalone_embed.sh
bash standalone_embed.sh start
It seems I can get only 2.4.0, upper version can't be retrieved.
from milvus.
can we use this script to reproduce on 2.4.2?
from milvus.
can we use this script to reproduce on 2.4.2?
not reproduce on 2.4.2 build, please retry
from milvus.
well, I can't pull the newest 2.4.2, I can get only 2.4.1 or 2.4.0. And I can reproduce on 2.4.1 and 2.4.0. Can you try these two versions?
from milvus.
try update the milvus tag to 2.4-20240515-b2d83d33
from milvus.
try update the milvus tag to 2.4-20240515-b2d83d33
ok, let me check it.
from milvus.
this is my milvus version: milvusdb/milvus:2.4-20240515-b2d83d33. But I can get just only 10 results. That is very strange.
from milvus.
Hi, can I see your 50 results distance, I get 0.xxxx distance, that's very strange.
["['id: 115882, distance: 1.0, entity: {}', 'id: 712697, distance: 0.7491630911827087, entity: {}', 'id: 255111, distance: 0.746990442276001, entity: {}', 'id: 735007, distance: 0.7439651489257812, entity: {}', 'id: 425115, distance: 0.7413135766983032, entity: {}', 'id: 81369, distance: 0.7407634258270264, entity: {}', 'id: 714808, distance: 0.7384312152862549, entity: {}', 'id: 464140, distance: 0.7377769947052002, entity: {}', 'id: 93407, distance: 0.733290433883667, entity: {}', 'id: 265376, distance: 0.7315851449966431, entity: {}']"]
from milvus.
I reinstall milvus like below:
## after download, I modify the tag as 2.4-20240515-b2d83d33context=explore)
wget https://raw.githubusercontent.com/milvus-io/milvus/master/scripts/standalone_embed.sh
bash standalone_embed.sh start
from milvus.
res[0].ids
[667, 608, 620, 111, 339, 7, 372, 567, 971, 183, 709, 177, 853, 357, 738, 904, 580, 47, 497, 309, 141, 153, 723, 673, 134, 302, 829, 181, 566, 299, 494, 555, 610, 703, 449, 506, 322, 161, 296, 632, 742, 469, 649, 521, 232, 346, 959, 317, 324, 157]
res[0].distances
[0.5353243350982666, 0.5318502187728882, 0.5216019153594971, 0.5177504420280457, 0.5133214592933655, 0.49992430210113525, 0.4973728656768799, 0.48816734552383423, 0.4849900007247925, 0.4736632704734802, 0.4726385474205017, 0.47195154428482056, 0.47125494480133057, 0.47053390741348267, 0.4699331521987915, 0.4690789580345154, 0.4685344099998474, 0.46435511112213135, 0.46267831325531006, 0.45821017026901245, 0.4578573703765869, 0.45749562978744507, 0.45422059297561646, 0.45378345251083374, 0.45277297496795654, 0.4502769112586975, 0.4501721262931824, 0.4498910903930664, 0.44975870847702026, 0.44871199131011963, 0.4486366808414459, 0.4457487463951111, 0.4427493214607239, 0.4417317509651184, 0.43927425146102905, 0.43822145462036133, 0.436090350151062, 0.4359341263771057, 0.435463547706604, 0.43288862705230713, 0.4318164587020874, 0.43161338567733765, 0.4314650893211365, 0.43105268478393555, 0.43021082878112793, 0.4291290044784546, 0.4284785985946655, 0.4277331233024597, 0.42639073729515076, 0.42496371269226074]
from milvus.
Does milvus will do some change for the l2 distance internally? In fact ,the dataset's l2 distance should not be 0.0xx, the uint8 of every dimension for the column ssnap,bigann.
from milvus.
I can just get 667 608 620 111 339 7 372 567 971 183
.
from milvus.
did you run on a completed new deployment or on a instance that upgraded from 2.3?
Please offer milvus logs for investigation, For Milvus installed with docker-compose, you can use docker-compose logs > milvus.log to export the logs.
from milvus.
I do bash standalone_embed.sh stop
and bash standalone_embed.sh delete
. And then I run wget https://raw.githubusercontent.com/milvus-io/milvus/master/scripts/standalone_embed.sh
and
bash standalone_embed.sh start
. Does that matter? follow here https://milvus.io/docs/install_standalone-docker.md
I don't follow the docker compose
but the docker
from milvus.
![image](https://private-user-images.githubusercontent.com/60096118/332025699-ed6be884-1db0-45b0-847d-23d06aa19458.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTY0OTY4NTgsIm5iZiI6MTcxNjQ5NjU1OCwicGF0aCI6Ii82MDA5NjExOC8zMzIwMjU2OTktZWQ2YmU4ODQtMWRiMC00NWIwLTg0N2QtMjNkMDZhYTE5NDU4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTIzVDIwMzU1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNkZTI5ZmM1YjI1NzBkN2Q0NjY4NTljOWZjYzg4MGM1NWQxOWY3MDY5Y2EzNTkzZjc1ZDQyNjE0NmRiNzVjYjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.fzJUg5Xwi4wkKeIEt6VBzep_7bEl3qhRojT4hJ-CgLw)
from milvus.
that's okay, as long as you can export the logs
from milvus.
$ docker logs c3b1521e50ea > milvus.log
milvus.log
here is the log, cc @yanliang567
from milvus.
What's the problem from the log?
from milvus.
milvus.log
I got the related logs for the query here, it has only 1200 rows.
from milvus.
I suspect that, I'm in standalone mode and My environment is CentOS7, Intel(R) Xeon(R) CPU E5-2650
[email protected] 12-core processors, 128GB of RAM. How about yours? cc @yanliang567
from milvus.
https://github.com/milvus-io/pymilvus/blob/master/examples/hybrid_search.py We should reference to this file. Let's close this one.
from milvus.
Related Issues (20)
- [Bug]: [CI] Deleted data can be queried HOT 3
- [Bug]: Unit test TestCacheWriter_WithAutoFlush may failed with deadlock HOT 2
- [Enhancement]: Optimize datanode cpu usage under large collection number
- [Bug]: test_compact_during_insert failed HOT 1
- [Bug]: The search vector being too far away can lead to inaccurate result sets. HOT 3
- [Bug]: Too many L0 segments caused query node OOM. HOT 2
- [Bug]: Forgetting to set blob memory size when compaction resulted a huge segment being generated HOT 3
- [Enhancement]: Support Log Service in Milvus
- [Bug]: milvus querynode memory crash, how to locate the cause HOT 13
- [Bug]: wrong operate to drop collection/database etc. with prefix in snapshot HOT 11
- [Bug]: Zero Recall Rate, Very Strange for multi-vector search!!!!!!! HOT 20
- [Feature]: The result of search, order by scalar field. HOT 3
- [Bug]: after reinstalling, the amount of search result data is less than the limit value. HOT 3
- [Bug]: When the cluster was under extremely low pressure, a 6-second slow query occurred. HOT 13
- [Enhancement]: There are errors in some proxy-related metrics
- [Enhancement]: add the includeCurrentMsg param for the Seek method
- [Bug]: fail to drop an index if there are multpile indexes of multiple vector fields HOT 3
- [Bug]: segments belong to dropped partitions are never dropped HOT 1
- [Bug]: "failed to get request info" warn log is too frequent HOT 2
- [Bug]: [cluster-mode] Milvus crash and cannot auto-recover successfully HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from milvus.