Skip to content

Tags: sail-sg/envpool

Tags

v0.8.4

Toggle v0.8.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update dependency (#286)

v0.8.3

Toggle v0.8.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix test (#278)

v0.8.2

Toggle v0.8.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix atari incorrect trunc flag when episodic_life=True (#255)

close #239

v0.8.1

Toggle v0.8.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Create CODE_OF_CONDUCT.md

v0.8.0

Toggle v0.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Procgen Integration (#197)

Procgen library change in https://github.com/Trinkle23897/procgen
- Fix Qt library include error
- Fix globalGameRegistry == nullptr issue by adding another explicit make_* function (thanks to Yukun!)
- Disable auto-reset because envpool has already handled this feature

Changes:
- Add new dependency `qtdeclarative5-dev`, rebuild docker image
- Update pypi wheel from manylinux_2_17_x86_64 to manylinux_2_24_x86_64 because of libstdc++.so.6 symbol
- Add 42 procgen envs
- Refactor `base_path`

Co-authored-by: Jiayi Weng <[email protected]>
Co-authored-by: Leo Guo <[email protected]>

v0.7.0

Toggle v0.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
upgrade dependency and fix clang-tidy error (#229)

v0.6.6

Toggle v0.6.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
improve gym speedup (#210)

## Description

Improved speedup in gym by: 
 - added `max_episode_steps` into the base config in c++
- moved `max_episode_steps` from c++ default config per env into
`registration.py`
 - moved `trunc` computation logics from python to c++

This PR also includes a big refactor of calling test env. We use
`make_dm` / `make_gym` instead of
`envpool_cls(spec_cls(spec_cls.gen_config(...)))`.

## Motivation and Context

The computation of `trunc` in `gym_envpool.py` is shown as a bottleneck
by `py-spy`.

After fix, envpool's speedup in gym improved from ~1.0x to ~1.3x (using
make_gym instead of make_dm for the test below):

```
Namespace(domain='cheetah', seed=0, task='run', total_step=200000)
100%|███████████████████████████████████████████████████████████████████████████████████████████████| 200000/200000 [00:17<00:00, 11301.86it/s]
FPS(dmc) = 11300.15
100%|███████████████████████████████████████████████████████████████████████████████████████████████| 200000/200000 [00:13<00:00, 14408.97it/s]
FPS(envpool) = 14408.43
EnvPool Speedup: 1.28x
```

Co-authored-by: Jiayi Weng <[email protected]>

v0.6.5

Toggle v0.6.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Support Gym 0.26.0 (#205)

Co-authored-by: Jiayi Weng <[email protected]>

v0.6.4

Toggle v0.6.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add Python 3.10 Wheel (#187)

* add py310

* test

* use pyenv instead of github action provided python

* test

* bump version

v0.6.3

Toggle v0.6.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix zero-life reset error in Atari env (#175)

add `info["terminated"]` as an indicator of `env.game_over()`