Giter Site home page Giter Site logo

dl_inference's Introduction

dl_inference

개요

  • FastAPI를 이용하여 딥러닝 모델 서빙 api를 요청할 수 있는 서버 구축
  • Dockerfile을 이용해 빌드하여 컨테이너 환경에서 실행 시킬 수 있는 형태로 구축

세부 구현 사항

Directory structure

dl_inderence
├──📁logs
├──📁model_store -> torchserver를 위한 .mar file 저장
├──📁Transformer_model -> .mar file을 만들기 위한 transformer 모델 저장공간
├──📁configs -> Transformer 모델을 다운로드 받기위한 config 파일 및 handler
├── Dockerfile
├── model_down_register.sh -> 서빙하기 위한 모델을 다운받는 script
├── model_register.sh -> 모델을 torchserve에 등록하는 script
├── main.py # fastapi server
├── utils.py
├── requirements.txt
└── README.md

설치 명령어

git clone https://github.com/sml8648/dl_inference.git
cd dl_inference
docker build . -t inference_server
docker run --name inference_server -d -p 8000:8000 inference_server
docker exec -i inference_server bash ./model_register.sh

dl_inference's People

Contributors

sml8648 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.