Skip to content

Commit 28daade

Browse files
tomwhitethodson-usgs
authored andcommitted
Update demo notebooks (#525)
* Update demo.ipynb * Add a note about stats.csv to look at actual memory usage to the examples * Remove very old example notebooks since they are out of date
1 parent 32cd39c commit 28daade

File tree

4 files changed

+226
-1604
lines changed

4 files changed

+226
-1604
lines changed

examples/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,20 @@ python matmul-random.py
6666

6767
These will take longer to run as they operate on more data.
6868

69-
The last two examples use `TimelineVisualizationCallback` which produce a plot showing the timeline of events in the task lifecycle.
69+
The last two examples use `TimelineVisualizationCallback` which produce a plot showing the timeline of events in the task lifecycle, and `HistoryCallback` to produce stats about memory usage.
7070
The plots are SVG files and are written in the `history` directory in a directory with a timestamp. Open the latest one with
7171

7272
```shell
7373
open $(ls -d history/compute-* | tail -1)/timeline.svg
7474
```
7575

76+
The memory usage stats are in a CSV file which you can view with
77+
78+
79+
```shell
80+
open $(ls -d history/compute-* | tail -1)/stats.csv
81+
```
82+
7683
## Running the notebook examples
7784

7885
Before running these notebook examples, you will need to install some additional dependencies (besides Cubed).

0 commit comments

Comments
 (0)