Go to file
Yu Kun 18f82c0676 merge upstream/branch-0.4.0
Former-commit-id: 6f30324f85ed3f86c359a96b6877affff52a75c0
2019-08-13 15:42:41 +08:00
ci Merge branch 'branch-0.3.1' into branch-0.4.0 2019-08-07 17:30:16 +08:00
cpp merge upstream/branch-0.4.0 2019-08-13 15:42:41 +08:00
docs MS-4 Refactor the code structure 2019-05-26 14:46:38 +08:00
install support base dockerfile and update readme 2019-04-03 16:10:52 +08:00
pyengine Update vector engine 2019-04-10 21:06:48 +08:00
python Merge branch 'branch-0.3.0' of http://192.168.1.105:6060/xuan.yang/vecwise_engine into branch-0.3.0 2019-06-13 17:55:46 +08:00
.dockerignore support base dockerfile and update readme 2019-04-03 16:10:52 +08:00
.gitignore add knowhere 2019-08-08 16:32:17 +08:00
.gitmodules replace knowhere with megasearch/knowhere 2019-07-30 15:18:26 +08:00
CHANGELOGS.md MS-336 scheduler interface 2019-08-13 11:26:21 +08:00
CONTRIBUTING.md MS-4 Refactor the code structure 2019-05-26 14:46:38 +08:00
Dockerfile support base dockerfile and update readme 2019-04-03 16:10:52 +08:00
environment.yaml support base dockerfile and update readme 2019-04-03 16:10:52 +08:00
INSTALL.md MS-4 Refactor the code structure 2019-05-26 14:46:38 +08:00
LICENSE.md MS-4 Refactor the code structure 2019-05-26 14:46:38 +08:00
README.md Update README.md 2019-04-03 16:14:12 +08:00
requirements.txt

Vecwise Engine Dev Guide

Install via Conda

  1. Install Miniconda first

    • bash vecwise_engine/install/miniconda.sh
  2. Create environment

    • conda env create -f vecwise_engine/environment.yaml
  3. Test your installation

Install via Docker

  1. Install nvidia-docker

  2. docker build -t cuda9.0/VecEngine .

  3. docker run -it cuda9.0/VecEngine bash

Create Database

  1. Install MySQL

    • sudo apt-get update
    • sudo apt-get install mariadb-server
  2. Create user and database:

    • create user vecwise;
    • create database vecdata;
    • grant all privileges on vecdata.* to 'vecwise'@'%';
    • flush privileges;
  3. Create table:

    • cd vecwise_engine/pyengine && python manager.py create_all