
通用决策智能引擎
DI-engine是基于PyTorch和JAX的开源决策智能引擎。它采用Python优先和异步原生设计,提供任务和中间件抽象,整合环境、策略和模型等决策核心概念。支持DQN、PPO、SAC等多种深度强化学习算法,以及多智能体、模仿学习、离线强化学习等前沿方法。DI-engine致力于标准化决策智能环境和应用,可用于学术研究和原型开发。
Updated on 2024.06.27 DI-engine-v0.5.2
Documentation | 中文文档 | Tutorials | Feature | Task & Middleware | TreeTensor | Roadmap
DI-engine is a generalized decision intelligence engine for PyTorch and JAX.
It provides python-first and asynchronous-native task and middleware abstractions, and modularly integrates several of the most important decision-making concepts: Env, Policy and Model. Based on the above mechanisms, DI-engine supports various deep reinforcement learning algorithms with superior performance, high efficiency, well-organized documentation and unittest:
DI-engine aims to standardize different Decision Intelligence environments and applications, supporting both academic research and prototype applications. Various training pipelines and customized decision AI applications are also supported:
<details open> <summary>(Click to Collapse)</summary>Traditional academic environments
Tutorial courses
Real world decision AI applications
Research paper
Docs and Tutorials
On the low-level end, DI-engine comes with a set of highly re-usable modules, including RL optimization functions, PyTorch utilities and auxiliary tools.
BTW, DI-engine also has some special system optimization and design for efficient and robust large-scale RL training:
<details close> <summary>(Click for Details)</summary>Have fun with exploration and exploitation.
You can simply install DI-engine from PyPI with the following command:
pip install DI-engine
If you use Anaconda or Miniconda, you can install DI-engine from conda-forge through the following command:
conda install -c opendilab di-engine
For more information about installation, you can refer to installation.
And our dockerhub repo can be found here,we prepare base image and env image with common RL environments.
The detailed documentation are hosted on doc | 中文文档.
DI-engine Huggingface Kickoff (colab)
How to migrate a new RL Env | 如何迁移一个新的强化学习环境
[How to customize the neural network