File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,20 @@ function distributed_minGPT-ddp() {
58
58
uv run bash run_example.sh mingpt/main.py || error " minGPT example failed"
59
59
}
60
60
61
+ function distributed_rpc_ddp_rpc() {
62
+ uv run main.py || error " ddp_rpc example failed"
63
+ }
64
+
65
+ function distributed_rpc_rnn() {
66
+ uv run main.py || error " rpc_rnn example failed"
67
+ }
68
+
61
69
function run_all() {
62
70
run distributed/tensor_parallelism
63
71
run distributed/ddp
64
72
run distributed/minGPT-ddp
73
+ run distributed/rpc/ddp_rpc
74
+ run distributed/rpc/rnn
65
75
}
66
76
67
77
# by default, run all examples
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ function run() {
48
48
if start $EXAMPLE ; then
49
49
# drop trailing slash (occurs due to auto completion in bash interactive mode)
50
50
# replace slashes with underscores: this allows to call nested examples
51
- EXAMPLE_FN=$( echo $EXAMPLE | sed " s@/\$ @@" | sed ' s@/@_@' )
51
+ EXAMPLE_FN=$( echo $EXAMPLE | sed " s@/\$ @@" | sed ' s@/@_@g ' )
52
52
$EXAMPLE_FN
53
53
fi
54
54
stop $EXAMPLE
You can’t perform that action at this time.
0 commit comments