Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/pi0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ Install FlagScale and robotics dependencies:
```sh
cd FlagScale/
pip install . --verbose
pip install -r requirements/train/robotics/requirements.txt
pip install -r requirements/cuda/base.txt
pip install git+https://github.com/huggingface/transformers.git@fix/lerobot_openpi
```

Install additional dependencies for downloading models/datasets:
Expand Down
3 changes: 2 additions & 1 deletion examples/pi0_5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ Install FlagScale and robotics dependencies:
```sh
cd FlagScale/
pip install . --verbose
pip install -r requirements/train/robotics/requirements.txt
pip install -r requirements/cuda/base.txt
pip install git+https://github.com/huggingface/transformers.git@fix/lerobot_openpi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need transformers if we already have the model implementation in FlagScale? @legitnull

Copy link
Collaborator

@legitnull legitnull Feb 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, we have the modelling for pi0/pi0.5, but it uses a gemma model, which is a different variant than the one in the main branch of transformers.
We could port the change from huggingface/transformers@3676fc8 if time permits

```

Install additional dependencies for downloading models/datasets:
Expand Down
13 changes: 7 additions & 6 deletions examples/robobrain2_5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,21 @@ conda create -n flagscale-inference python=3.12
conda activate flagscale-inference
```

Install FlagScale:
### Install FlagScale

```sh
cd FlagScale/
pip install . --verbose
pip install -r requirements/common.txt
```

### Install vLLM and Transformers
### Install vllm-plugin-FL

Follow Setup in the vllm-plugin-FL [setup guide](https://github.com/flagos-ai/vllm-plugin-FL?tab=readme-ov-file#setup).

### Install Transformers

```sh
git clone https://github.com/flagos-ai/vllm-FL.git
cd vllm-FL
pip install packaging==24.2
pip install --no-build-isolation .
pip install transformers==4.57.0
```

Expand Down
11 changes: 11 additions & 0 deletions requirements/cuda/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,14 @@
torch==2.9.1
torchaudio==2.9.1
torchvision==0.24.1

# for robotics
webdataset==1.0.2
epath==0.7
qwen_vl_utils==0.0.14
diffusers==0.36.0
flask_cors==6.0.2
datasets==4.5.0
draccus==0.11.5
einops==0.8.2
multi-storage-client==0.42.0