mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 19:08:30 +08:00
8d4d0c07e3
Former-commit-id: c064f5c924b24857c114178f3ab310ae67d553c2 |
||
---|---|---|
cpp | ||
install | ||
pyengine | ||
.dockerignore | ||
.gitignore | ||
Dockerfile | ||
environment.yaml | ||
README.md | ||
requirements.txt |
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