mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
923406da8b
Former-commit-id: f57b0eb2423ee7d99fb58f06a68e828b3273d0f9 |
||
---|---|---|
ci | ||
cpp | ||
docker | ||
docs | ||
install | ||
pyengine | ||
python | ||
.clang-format | ||
.clang-tidy | ||
.clang-tidy-ignore | ||
.dockerignore | ||
.gitignore | ||
CHANGELOGS.md | ||
cmake-format.py | ||
CONTRIBUTING.md | ||
Dockerfile | ||
environment.yaml | ||
INSTALL.md | ||
LICENSE.md | ||
README.md | ||
requirements.txt | ||
run-cmake-format.py |
Vecwise Engine Dev Guide
Install via Conda
-
Install Miniconda first
bash vecwise_engine/install/miniconda.sh
-
Create environment
conda env create -f vecwise_engine/environment.yaml
-
Test your installation
Install via Docker
-
Install nvidia-docker
-
docker build -t cuda9.0/VecEngine .
-
docker run -it cuda9.0/VecEngine bash
Create Database
-
Install MySQL
sudo apt-get update
sudo apt-get install mariadb-server
-
Create user and database:
create user vecwise;
create database vecdata;
grant all privileges on vecdata.* to 'vecwise'@'%';
flush privileges;
-
Create table:
cd vecwise_engine/pyengine && python manager.py create_all