Snippets
Revised by
Alexander Raginsky
031ccd2
Requirements
- 32G memory
- 256G disk
Prerequisites
- docker
- docker-compose
- aws s3 cli
Setup directories and config
mkdir -p /opt/milvus/conf
wget https://bitbucket.org/!api/2.0/snippets/jhn-ngo/zXBqoz/027a763525b9741688f8ce51e151ef72233b9ffc/files/server_config.yaml /opt/milvus/conf
Download embeddings (about 75G)
aws s3 cp --profile wasabi --endpoint-url https://s3.eu-central-1.wasabisys.com --recursive s3://jhn01/milvus_laser_300/db /opt/milvus/
Run API and Milvus
wget https://bitbucket.org/!api/2.0/snippets/jhn-ngo/G9nzpj/4fda6c2e46f8a6d24fb2975eeb58aff8330a35d8/files/docker-compose.yml
docker-compose up
Basic test
curl -XGET http://localhost:5090/recommend/status
You should get list of IDs
You can clone a snippet to your computer for local editing. Learn more.