Yetien

This project is deprecated

new: https://github.com/Jianxuan-Li/yetien-model-grpc-server

Overview

This project is the ASR model server with a gRPC server

information about the project:

  • Group number: 6
  • Group name: Yeti
  • Group members: Jianxuan Li, Dongpeng Dai, Jiffy Kuriakose
  • Project name: Yetien
  • Mentor name: Michael Stacey
  • Project website: https://yetien.com/

Technical details

Design

Flow chart

Technologies used

  • Python
  • gRPC
  • Docker
  • Kubernetes
  • AWS S3
  • Redis

Development

System: Windows(WSL2) / Linux / Mac

Prerequisites: Docker installed

  1. Clone the repo
  2. Run ./dev up to start the development and enter the development container
  3. In the dev-container, run poetry install to install the dependencies
  4. In the dev-container, run ./dev run or poetry run python ./run.py to start the model server
  5. Run ./dev down to stop the development

Test

  1. Run ./dev up to start the development and enter the development container
  2. In the dev-container, run ./dev test to run the tests

Staging

  1. Run ./dev staging to build the staging image and start the staging container
  2. Run ./dev staging-down to stop the staging container

connect to development models

https://asr.yetien.com/docs#/

  • save username and password into environment variables:

e.g. in ~/.bashrc or ~/.zshrc add:

export YETIEN_DEV_MODEL_1_USER=xxxx
export YETIEN_DEV_MODEL_1_PWD=xxxx
export YETIEN_DEV_MODEL_2_USER=xxxx
export YETIEN_DEV_MODEL_2_PWD=xxxx
// ... once we have more models