- Python 3.8.19
conda create -n your_env_name python==3.8
- Activate Env
conda activate your_env_name
- install the requirements of dt or
pip install -r requirements.txt
- upgrade torch(
torch==1.2.0+cu121
) and installmamba
from our source
cdmamba
andpip install -e .
- move to subdir and run script respectively.
- Every time you switch to or switch out of the
cu_seqlens
branch, you need to reinstall mambapip install -e .
, this is because thecu_seqlens
branch has modified the C files, so recompilation is necessary.
This repository is based on decision-transformer, Mamba, Mamba-minimal and HiddenMambaAttn. Thanks for their wonderful works.
- add support for
cu_seqlens
. - how to install the env of
atari
and the version ofatari
. - run command of attention, atari, rnn-like dema.
- code of maze navigation.