energon-0.0.1


توضیحات

EnergonAI: An Inference System for Large Transformer Models
ویژگی مقدار
سیستم عامل POSIX :: Linux
نام فایل energon-0.0.1
نام energon
نسخه کتابخانه 0.0.1
نگهدارنده ['Juncong Moo']
ایمیل نگهدارنده ['juncongmoo@gmail.com']
نویسنده -
ایمیل نویسنده -
آدرس صفحه اصلی https://github.com/hpcaitech/EnergonAI
آدرس اینترنتی https://pypi.org/project/energon/
مجوز Apache Software License 2.0
Energon-AI *************************************************************************************************************************************************** A service framework for large-scale model inference, Energon-AI has the following characteristics: - **Parallelism for Large-scale Models:** With tensor parallel operations, pipeline parallel wrapper, distributed checkpoint loading, and customized CUDA kernel, EnergonAI can enable efficient parallel inference for larges-scale models. - **Pre-built large models:** There are pre-built implementation for popular models, such as OPT. It supports the cache technique for the generation task and distributed parameter loading. - **Engine encapsulation:** There has an abstraction layer called engine. It encapsulates the single instance multiple devices (SIMD) execution with the remote procedure call, making it acts as the single instance single device (SISD) execution. - **An online service system:** Based on FastAPI, users can launch a web service of the distributed infernce quickly. The online service makes special optimizations for the generation task. It adopts both left padding and bucket batching techniques for improving the efficiency. For models trained by `Colossal-AI <https://github.com/hpcaitech/ColossalAI>`__, they can be easily transferred to Energon-AI. For single-device models, they require manual coding works to introduce tensor parallelism and pipeline parallelism. Installation ------------------------------------------------------------------------------------------ .. code:: bash pip install energonai Github Repo --------------------------------------------------------------------------------------- `https://github.com/hpcaitech/EnergonAI <https://github.com/hpcaitech/EnergonAI>`__


نحوه نصب


نصب پکیج whl energon-0.0.1:

    pip install energon-0.0.1.whl


نصب پکیج tar.gz energon-0.0.1:

    pip install energon-0.0.1.tar.gz