You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,14 @@ After downloading, run `model-server` like this:
96
96
97
97
For general local setups, we provide ready-to-use build-and-launch shells for three platforms. You can modify the environment variables inside the scripts, or override them directly with `export`. See [robot_server/README.md](robot_server/README.md) for details.
98
98
99
+
For example, from the repository root on Linux with CUDA:
Copy file name to clipboardExpand all lines: robot_server/README.md
+45-4Lines changed: 45 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,17 @@ the Python/C++ clients. The server keeps one robot policy model loaded
9
9
in-process and returns an action chunk for each prediction request. There are
10
10
two main ways to use it.
11
11
12
+
Before building from source, initialize the submodules and apply the repository
13
+
patches from the project root:
14
+
15
+
```bash
16
+
git submodule update --init --recursive
17
+
./tools/apply_patches.sh
18
+
```
19
+
20
+
Source builds require CMake 3.16 or newer and a C/C++ compiler. CUDA builds also
21
+
require the CUDA Toolkit and a working `nvcc`.
22
+
12
23
## Method 1: One-Command Build and Run
13
24
14
25
We provide one-command build-and-run scripts for several mainstream platforms
@@ -21,6 +32,9 @@ under `robot_server/shell`. After running a script, the corresponding
21
32
| CPU |`robot_server/shell/launch_robot_server_mac_cpu.sh`|`robot_server/shell/launch_robot_server_linux_cpu.sh`|`robot_server/shell/launch_robot_server_windows_cpu.bat`|
22
33
| Metal |`robot_server/shell/launch_robot_server_mac_metal.sh`| - | - |
23
34
35
+
The Linux CUDA script supports SmolVLA, pi0, and StarVLA. The other launch
36
+
scripts currently support SmolVLA and pi0.
37
+
24
38
### Set Variables
25
39
26
40
Before running a script, configure the variables below as needed.
`ROBOT_CPP_BUILD_STARVLA=ON` when `MODEL_TYPE=starvla`.
117
+
77
118
### Troubleshooting
78
119
79
120
-`Tell CMake where to find the compiler by setting either the environment variable "CUDACXX" or the CMake cache entry CMAKE_CUDA_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.`
| CUDA | - |`robot_server/shell/launch_robot_server_linux_cuda.sh`|`robot_server/shell/launch_robot_server_windows_cuda.bat`|
16
27
| CPU |`robot_server/shell/launch_robot_server_mac_cpu.sh`|`robot_server/shell/launch_robot_server_linux_cpu.sh`|`robot_server/shell/launch_robot_server_windows_cpu.bat`|
17
28
| Metal |`robot_server/shell/launch_robot_server_mac_metal.sh`| - | - |
18
29
30
+
Linux CUDA 脚本支持 SmolVLA、pi0 和 StarVLA;其他启动脚本当前支持 SmolVLA 和 pi0。
0 commit comments