README.md 448 Bytes
Newer Older
1
2
### Demo for Distributed Sampler

3
First we need to change the `--ip` in `run_trainer.sh` and `run_sampler.sh` for your own environemnt.
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

Then we need to start trainer node:

```
./run_trainer.sh
```

When you see the message:

```
[04:48:20] .../socket_communicator.cc:68: Bind to 127.0.0.1:2049
[04:48:20] .../socket_communicator.cc:74: Listen on 127.0.0.1:2049, wait sender connect ...
```

then, you can start sampler:

```
./run_sampler.sh
```