Jumanji
EnvPool provides native C++ batched implementations for the public task IDs in
jumanji==1.1.1.
Render Compare
Representative reset-frame renders for all Jumanji tasks. Each panel shows
EnvPool env.render() on the left and the pinned official
jumanji==1.1.1 Matplotlib renderer on the right. The generation script
resets the official oracle first, passes the supported reset-state fields into
EnvPool, and writes the side-by-side comparison image from those synchronized
reset states.
Options
task_id (str): see available tasks below;num_envs (int): how many environments you would like to create;batch_size (int): the expected batch size for return result, default tonum_envs;num_threads (int): the maximum thread number for executing the actualenv.step, default tobatch_size;seed (int | Sequence[int]): the environment seed. When a sequence is provided, it must contain exactly one seed per environment. Default to42;max_episode_steps (int): the maximum number of steps for one episode.
Supported Tasks
BinPack-v2CVRP-v1Cleaner-v0Connector-v2FlatPack-v0Game2048-v1GraphColoring-v1JobShop-v0Knapsack-v1LevelBasedForaging-v0MMST-v0Maze-v0Minesweeper-v0MultiCVRP-v0PacMan-v1RobotWarehouse-v0RubiksCube-partly-scrambled-v0RubiksCube-v0SearchAndRescue-v0SlidingTilePuzzle-v0Snake-v1Sokoban-v0Sudoku-v0Sudoku-very-easy-v0TSP-v1Tetris-v0
Example
import envpool
env = envpool.make_gymnasium("Sokoban-v0", num_envs=8, seed=0)
obs, info = env.reset()