Coder Social home page Coder Social logo

collaborative-inference's Introduction

collaborative-inference

近年来,由于需要解决的实际问题日益复杂,使得深度学习模型越来越庞大,然而算力支撑开始捉襟见肘。因此,在资源不足、尤其是单机算力受限的情况下,部署深度学习模型进行推理面临着挑战。如果对深度学习模型的并行部分独立打包发送到不同的机器上进行推理,在不考虑传输的前提下,势必会减小单机压力,加快推理速度。而Ray作为一个高性能分布式任务执行框架,我们将并行模块打包注册为Ray的远程任务,可以利用Ray的架构并行执行该部分的推理,所以我们考虑以Ray的编程模式自动打包并重写深度学习并行部分的源码,利用Ray的分布式调度器和分布式对象存储器突破单机算力限制,实现推理加速。

如何基于模型并行的策略,加速深度学习模型推理是近来备受关注的问题。针对含有并行网络结构的复杂深度学习模型,我们开发了一套深度学习模型源码重构软件。该软件可以提取深度学习模型计算图结构,据此对给定的深度学习模型源码进行拆分重构,并将能够并行的部分打入Ray的标签,提交到Ray集群中进行并行推理。

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.