Skip to content

Commit 7102e9a

Browse files
authored
GPU pipelines minor fix (#19)
1 parent 2b3cc41 commit 7102e9a

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

examples/calc_x/calc_agent_dev.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ def dev_task_loader() -> DevTaskLoader:
2828

2929

3030
if __name__ == "__main__":
31-
Trainer(n_workers=2, dev=True, max_tasks=2).fit(CalcAgent(), "http://localhost:9999/", dev_task_loader())
31+
Trainer(n_workers=1, dev=True, max_tasks=2).fit(CalcAgent(), "http://localhost:9999/", dev_task_loader())

scripts/restart_ray.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/bash
22

3-
ray stop --force
3+
set -ex
4+
5+
ray stop -v --force --grace-period 60
6+
ps aux
47
env RAY_DEBUG=legacy HYDRA_FULL_ERROR=1 VLLM_USE_V1=1 ray start --head --dashboard-host=0.0.0.0

scripts/setup_latest_gpu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ python -m pip install --upgrade --no-cache-dir pip
44

55
pip install --no-cache-dir packaging ninja numpy pandas ipython ipykernel gdown wheel setuptools
66
# This has to be pinned for VLLM to work.
7-
pip install --no-cache-dir torch==2.7.0 torchvision==0.22.0 torchaudio==2.7.0 --index-url https://download.pytorch.org/whl/cu128
7+
pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128
88
pip install --no-cache-dir flash-attn --no-build-isolation
99
pip install --no-cache-dir vllm
1010

scripts/setup_stable_gpu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ python -m pip install --upgrade pip
44

55
pip install --no-cache-dir packaging ninja numpy pandas ipython ipykernel gdown wheel setuptools
66
pip install --no-cache-dir torch==2.7.0 torchvision==0.22.0 torchaudio==2.7.0 --index-url https://download.pytorch.org/whl/cu128
7+
pip install --no-cache-dir transformers==4.53.3
78
pip install --no-cache-dir flash-attn==2.8.1 --no-build-isolation
89
pip install --no-cache-dir vllm==0.9.2
910

0 commit comments

Comments
 (0)