__init__.py 444 字节
Newer Older
N
v0.1.0  
niuyazhe 已提交
1
import os
2
import torch
N
v0.1.0  
niuyazhe 已提交
3 4

__TITLE__ = 'DI-engine'
N
v0.2.0  
niuyazhe 已提交
5
__VERSION__ = 'v0.2.0'
N
v0.1.0  
niuyazhe 已提交
6 7 8 9 10 11 12 13
__DESCRIPTION__ = 'Decision AI Engine'
__AUTHOR__ = "OpenDILab Contributors"
__AUTHOR_EMAIL__ = "opendilab.contact@gmail.com"
__version__ = __VERSION__

enable_hpc_rl = False
enable_linklink = os.environ.get('ENABLE_LINKLINK', 'false').lower() == 'true'
enable_numba = True
14 15 16 17


def torch_gt_131():
    return int("".join(list(filter(str.isdigit, torch.__version__)))) >= 131