Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] add examples of scalability plots from virgo #287

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 37 additions & 2 deletions docs/tutorials/distrib-ml/torch_scaling_test.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,41 @@ PyTorch scaling test
:end-before: Below follows an example of


Below follows an example of scalability plot generated by ``itwinai scalability-report``:
Plots of the scalability metrics
-----------------------------

.. image:: ../../../tutorials/distributed-ml/torch-scaling-test/img/report.png
We have the following scalability metrics available:

- Absolute wall-clock time comparison
- Relative wall-clock time speedup
- Communication vs. Computation time
- GPU Utilization (%)
- Power Consumption (Watt)

Some examples of these scalability metrics on the Virgo use case with one, two and four
nodes respectively can be seen below:

Absolute Wall-Clock Time Comparison
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. image:: ../../../tutorials/distributed-ml/torch-scaling-test/img/absolute-time.png

Relative Wall-Clock Time Speedup
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. image:: ../../../tutorials/distributed-ml/torch-scaling-test/img/relative-speedup.png

Communication vs Computation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. image:: ../../../tutorials/distributed-ml/torch-scaling-test/img/comp-vs-comm.png

GPU Utilization
~~~~~~~~~~~~~~~~

.. image:: ../../../tutorials/distributed-ml/torch-scaling-test/img/gpu-utilization.png

Power Consumption
~~~~~~~~~~~~~~~~~

.. image:: ../../../tutorials/distributed-ml/torch-scaling-test/img/energy-consumption.png
4 changes: 0 additions & 4 deletions tutorials/distributed-ml/torch-scaling-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,3 @@ To see the full list of possible arguments, type:
```bash
itwinai generate-scalability-plot --help
```

Below follows an example of scalability plot generated by `itwinai scalability-report`:

![report](img/report.png)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading