XuanCe: A Comprehensive and Unified Deep Reinforcement Learning Library

Liu, Wenzhang, Cai, Wenzhe, Jiang, Kun, Cheng, Guangran, Wang, Yuanda, Wang, Jiawei, Cao, Jingyu, Xu, Lele, Mu, Chaoxu, Sun, Changyin

arXiv.org Artificial Intelligence 

In this paper, we present XuanCe, a comprehensive and unified deep reinforcement learning (DRL) library designed to be compatible with PyTorch, TensorFlow, and MindSpore. XuanCe offers a wide range of functionalities, including over 40 classical DRL and multi-agent DRL algorithms, with the flexibility to easily incorporate new algorithms and environments. It is a versatile DRL library that supports CPU, GPU, and Ascend, and can be executed on various operating systems such as Ubuntu, Windows, MacOS, and EulerOS. Extensive benchmarks conducted on popular environments including MuJoCo, Atari, and StarCraftII multi-agent challenge demonstrate the library's impressive performance.