Skip to content

Commit 3cb7fff

Browse files
committed
v0.0.3
1 parent bbf371e commit 3cb7fff

File tree

5 files changed

+44
-26
lines changed

5 files changed

+44
-26
lines changed

CHANGELOG.md

Lines changed: 40 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,54 @@
1-
2023.9.21(v0.0.2)
1+
2023.12.07 (v0.0.3)
2+
- env: MiniGrid env (#110)
3+
- env: Bsuite env (#110)
4+
- env: GoBigger env (#39)
5+
- algo: RND+MuZero (#110)
6+
- algo: Sampled AlphaZero (#141)
7+
- algo: Multi-Agent MuZero/EfficientZero (#39)
8+
- feature: add ctree version of mcts in alphazero (#142)
9+
- feature: upgrade the dependency on gym with gymnasium (#150)
10+
- feature: add agent class to support LightZero's HuggingFace Model Zoo (#163)
11+
- feature: add recent MCTS-related papers in readme (#159)
12+
- feature: add muzero config for connect4 (#107)
13+
- feature: added CONTRIBUTING.md (#119)
14+
- feature: added .gitpod.yml and .gitpod.Dockerfile (#123)
15+
- feature: added contributors subsection in README (#132)
16+
- feature: added CODE_OF_CONDUCT.md (#127)
17+
- polish: refine comments and render_eval configs for various common envs (#154) (#161)
18+
- polish: polish action_type and env_type, fix test.yml, fix unittest (#160)
19+
- polish: update env and algo tutorial doc (#106)
20+
- polish: polish gomoku env (#141)
21+
- polish: add random_policy support for continuous env (#118)
22+
- polish: polish simulation method of ptree_az (#120)
23+
- polish: polish comments of game_segment_to_array
24+
- fix: fix render method for various common envs (#154) (#161)
25+
- fix: fix gumbel muzero collector bug, fix gumbel typo (#144)
26+
- fix: fix assert bug in game_segment.py (#138)
27+
- fix: fix visit_count_distributions name in muzero_evaluator
28+
- fix: fix mcts and alphabeta bot unittest (#120)
29+
- fix: fix typos in ptree_mz.py (#113)
30+
- fix: fix root_sampled_actions_tmp shape bug in sez ptree
31+
- fix: fix policy utils unittest
32+
- fix: fix typo in readme and add a 'back to top' button in readme (#104) (#109) (#111)
33+
- style: add nips2023 paper link
34+
35+
2023.09.21 (v0.0.2)
236
- env: MuJoCo env (#50)
337
- env: 2048 env (#64)
438
- env: Connect4 env (#63)
539
- algo: Gumbel MuZero (#22)
640
- algo: Stochastic MuZero (#64)
7-
- polish: polish mcts and ptree_az (#57) (#61)
8-
- polish: polish readme (#36) (#47) (#51) (#77) (#95) (#96)
9-
- polish: update paper notes (#89) (#91)
10-
- polish: polish model and configs (#26) (#27) (#50)
1141
- feature: add Dockerfile and its usage instructions (#95)
1242
- feature: add doc about how to customize envs and algos (#78)
1343
- feature: add pytorch ddp support (#68)
1444
- feature: add eps greedy and random collect option in train_muzero_entry (#54)
1545
- feature: add atari visualization option (#40)
1646
- feature: add log_buffer_memory_usage utils (#30)
47+
- polish: polish mcts and ptree_az (#57) (#61)
48+
- polish: polish readme (#36) (#47) (#51) (#77) (#95) (#96)
49+
- polish: update paper notes (#89) (#91)
50+
- polish: polish model and configs (#26) (#27) (#50)
1751
- fix: fix priority bug in muzero collector (#74)
1852
- style: update github action (#71) (#72) (#73) (#81) (#83) (#84) (#90)
1953

20-
2023.4.14(v0.0.1)
54+
2023.04.14 (v0.0.1)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
[![Contributors](https://img.shields.io/github/contributors/opendilab/LightZero)](https://github.com/opendilab/LightZero/graphs/contributors)
2828
[![GitHub license](https://img.shields.io/github/license/opendilab/LightZero)](https://github.com/opendilab/LightZero/blob/master/LICENSE)
2929

30-
Updated on 2023.09.21 LightZero-v0.0.2
30+
Updated on 2023.12.07 LightZero-v0.0.3
3131

3232
> LightZero is a lightweight, efficient, and easy-to-understand open-source algorithm toolkit that combines Monte Carlo Tree Search (MCTS) and Deep Reinforcement Learning (RL).
3333

README.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
[![Contributors](https://img.shields.io/github/contributors/opendilab/LightZero)](https://github.com/opendilab/LightZero/graphs/contributors)
2828
[![GitHub license](https://img.shields.io/github/license/opendilab/LightZero)](https://github.com/opendilab/LightZero/blob/master/LICENSE)
2929

30-
Updated on 2023.09.21 LightZero-v0.0.2
30+
最近更新于 2023.12.07 LightZero-v0.0.3
3131

3232
> LightZero 是一个轻量、高效、易懂的 MCTS+RL 开源算法库。
3333

lzero/config/meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
__TITLE__ = "LightZero"
88

99
#: Version of this project.
10-
__VERSION__ = "0.0.2"
10+
__VERSION__ = "0.0.3"
1111

1212
#: Short description of the project, will be included in ``setup.py``.
1313
__DESCRIPTION__ = 'A lightweight and efficient MCTS/AlphaZero/MuZero algorithm toolkits.'

setup.py

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
import numpy as np
1717
from setuptools import find_packages, Extension
18-
# from setuptools.command.build_ext import build_ext
1918
from Cython.Build import cythonize # this line should be after 'from setuptools import find_packages'
2019

2120
here = os.path.abspath(os.path.dirname(__file__))
@@ -25,19 +24,6 @@ def _load_req(file: str):
2524
with open(file, 'r', encoding='utf-8') as f:
2625
return [line.strip() for line in f.readlines() if line.strip()]
2726

28-
29-
# class custom_build_ext(build_ext):
30-
# def build_extensions(self):
31-
# # Override the compiler executables. Importantly, this
32-
# # removes the "default" compiler flags that would
33-
# # otherwise get passed on to the compiler, i.e.,
34-
# # distutils.sysconfig.get_var("CFLAGS").
35-
# self.compiler.set_executable("compiler_so", "g++")
36-
# self.compiler.set_executable("compiler_cxx", "g++")
37-
# self.compiler.set_executable("linker_so", "g++")
38-
# build_ext.build_extensions(self)
39-
40-
4127
requirements = _load_req('requirements.txt')
4228

4329
_REQ_PATTERN = re.compile('^requirements-([a-zA-Z0-9_]+)\\.txt$')
@@ -85,9 +71,8 @@ def find_cython_extensions(path=None):
8571

8672
setup(
8773
name='LightZero',
88-
version='0.0.2',
74+
version='0.0.3',
8975
description='A lightweight and efficient MCTS/AlphaZero/MuZero algorithm toolkits.',
90-
# long_description=readme,
9176
long_description_content_type='text/markdown',
9277
author='opendilab',
9378
author_email='opendilab@pjlab.org.cn',
@@ -115,7 +100,6 @@ def find_cython_extensions(path=None):
115100
linetrace=_LINETRACE,
116101
),
117102
),
118-
# cmdclass={"build_ext": custom_build_ext},
119103
classifiers=[
120104
'Development Status :: 5 - Production/Stable',
121105
"Intended Audience :: Science/Research",

0 commit comments

Comments
 (0)