Diffuserlite.github.io
No description available
Install / Use
/learn @diffuserlite/Diffuserlite.github.ioREADME
DiffuserLite
Code for the paper "DiffuserLite: Towards Real-time Diffusion Planning".
Installation
- Create and activate conda environment
$ conda create -n diffuserlite python==3.9
$ conda activate diffuserlite
- Install dependencies
$ conda install pytorch==2.2.2 torchvision==0.17.2 pytorch-cuda=12.1 -c pytorch -c nvidia
$ git clone https://github.com/diffuserlite/diffuserlite.github.io.git
$ cd diffuserlite.github.io
$ pip install -e .
- Install D4RL
$ sudo apt-get install libosmesa6-dev libgl1-mesa-glx libglfw3 libglew-dev patchelf
$ cd <PATH_TO_D4RL_INSTALL_DIR>
$ git clone https://github.com/Farama-Foundation/D4RL.git
$ cd D4RL
$ pip install -e .
Running the code
Train and evaluate DiffuserLite on D4RL-MuJoCo benchmark tasks
# DiffuserLite-R1
$ python pipelines/diffuserlite_d4rl_mujoco.py task=halfcheetah-medium-v2 mode=training
$ python pipelines/diffuserlite_d4rl_mujoco.py task=halfcheetah-medium-v2 mode=inference
# Reflow for DiffuserLite-R2
$ python pipelines/diffuserlite_d4rl_mujoco.py task=halfcheetah-medium-v2 mode=prepare_dataset
$ python pipelines/diffuserlite_d4rl_mujoco.py task=halfcheetah-medium-v2 mode=reflow
$ python pipelines/diffuserlite_d4rl_mujoco.py task=halfcheetah-medium-v2 mode=inference test_model=R2
Please see configs/diffuserlite for more configuration options and usage on other tasks.
Related Skills
node-connect
341.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
