*Note:*`requirements.txt` includes `tensorflow`, `tensorflow-datasets``scikit-learn` and `numpy` using for the provided Flower example.
Navigate to `Run` directory:
...
...
@@ -198,7 +197,7 @@ Choose only one in 3 settings:
## Quickstart
### Step 1. Reserve the Hosts in G5K
### Step 0. Reserve the Hosts in G5K
Reserve the required number of hosts (*See the [document of G5K](https://www.grid5000.fr/w/Getting_Started#Reserving_resources_with_OAR:_the_basics) for more details*)
oarsub -I-p"gpu_count>0"-l{"cluster='chifflot'"}/host=4 # lille
oarsub -I-p"gpu_count>0"-l{"cluster='chifflot'"}/host=4,walltime=2 # lille
```
**Remark**: for now only 2 clusters, `chifflot` in Lille and `drac` in Grenoble are available for testing in more than 3 GPU nodes, maximum is 8 (`chifflot`) or 12 (`drac`) nodes.
**Remark**: for now only 1 cluster, `chifflot` in Lille is available for testing (more than 3 GPU nodes and able to set up requirement), maximum is 8 (`chifflot`) nodes. Need to configure cuda for GPU using, check out the quick guide [here](./GPU_cuda.md) or [G5K website](https://www.grid5000.fr/w/GPUs_on_Grid5000).
Make sure your are in`eflwr/Run/`:
```bash
cd Run
```
### Step 1. Install requirements
If you use CPU nodes:
```bash
pip install-r requirements.txt # futher needed for Flower example
```
If you use GPU nodes:
```bash
pip install-r requirement_GPU.txt # futher needed for Flower example
```
*Note:* futher requirement includes `tensorflow` or `tensorflow[and-cuda]` , `tensorflow-datasets``scikit-learn` and `numpy` using for the provided Flower example.
### Step 2. Configure
Two JSON configuration files (e.g. `config_instances_CPU.json` for CPU and `config_instances_GPU.json` for GPU) to specify experiment details includes one or more instances.