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
@@ -184,6 +188,16 @@ The following applications have been archived. More information can be provided
184
188
185
189
<br>
186
190
191
+
## Benchmarking tools
192
+
To easily run the examples with tested and optimised configurations and to reproduce the performance shown on our [performance results page](https://www.graphcore.ai/performance-results), you can use the examples-utils benchmarking module, which comes with every example when you install its requirements. To use this simple, shared interface for almost any of the examples provided here, locate and look through the example's `benchmarks.yml` file and run:
193
+
194
+
```python
195
+
python3 -m examples_utils benchmark --spec <path to benchmarks.yml file>--benchmark <name of benchmark>
196
+
```
197
+
198
+
For more information on using the examples-utils benchmarking module, please refer to [the README](https://github.com/graphcore/examples-utils/blob/master/examples_utils/benchmarks/README.md).
199
+
200
+
<br>
187
201
188
202
## PopVision™ Tools
189
203
Visualise your code's inner workings with a user-friendly, graphical interface to optimise your machine learning models.
@@ -193,7 +207,8 @@ Visualise your code's inner workings with a user-friendly, graphical interface t
193
207
<br>
194
208
195
209
## Support
196
-
Please note we are not currently accepting pull requests or issues on this repository. If you are actively using this repository and want to report any issues, please raise a ticket through the [Graphcore support portal](https://support.graphcore.ai/).
210
+
If you encounter a problem or want to suggest an improvement to our examples please raise a Github issue or contact us at
Copy file name to clipboardExpand all lines: gnn/cluster_gcn/tensorflow2/README.md
+16-31Lines changed: 16 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,6 +131,22 @@ For example, the following configuration will load the data from or download to
131
131
}
132
132
```
133
133
134
+
## Running and benchmarking
135
+
136
+
To run a tested and optimised configuration and to reproduce the performance shown on our [performance results page](https://www.graphcore.ai/performance-results), please follow the setup instructions in this README to setup the environment, and then use the `examples_utils` module (installed automatically as part of the environment setup) to run one or more benchmarks. For example:
137
+
138
+
```python
139
+
python3 -m examples_utils benchmark --spec <path to benchmarks.yml file>
140
+
```
141
+
142
+
Or to run a specific benchmark in the `benchmarks.yml` file provided:
143
+
144
+
```python
145
+
python3 -m examples_utils benchmark --spec <path to benchmarks.yml file>--benchmark <name of benchmark>
146
+
```
147
+
148
+
For more information on using the examples-utils benchmarking module, please refer to [the README](https://github.com/graphcore/examples-utils/blob/master/examples_utils/benchmarks/README.md).
149
+
134
150
## Run training and validation <aname='training_validation' ></a>
135
151
136
152
```shell
@@ -171,34 +187,3 @@ Note that the `NUM_INSTANCES` should be divisible by `NUM_REPLICAS`
171
187
and it is recommended to use `EPOCHS_PER_EXECUTION` equal to the `NUM_INSTANCES`
172
188
for best balance between accuracy and performance.
173
189
174
-
## Benchmarking
175
-
176
-
To reproduce the benchmarks, please follow the setup instructions in this README to setup the environment, and then from this dir, use the `examples_utils` module to run one or more benchmarks. For example:
For more information on how to use the examples_utils benchmark functionality, please see the <a>benchmarking readme<a href=<https://github.com/graphcore/examples-utils/tree/master/examples_utils/benchmarks>
187
-
188
-
## Profiling
189
-
190
-
Profiling can be done easily via the `examples_utils` module, simply by adding the `--profile` argument when using the `benchmark` submodule (see the <strong>Benchmarking</strong> section above for further details on use). For example:
Will create folders containing popvision profiles in this applications root directory (where the benchmark has to be run from), each folder ending with "_profile".
195
-
196
-
The `--profile` argument works by allowing the `examples_utils` module to update the `POPLAR_ENGINE_OPTIONS` environment variable in the environment the benchmark is being run in, by setting:
0 commit comments