Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
be49893
Add parameterized PINN example
gjbex Aug 14, 2026
e20e5ff
Add maintainer and material language info
gjbex Aug 14, 2026
261f6f1
Extend tensor notebook
gjbex Aug 14, 2026
0bd7b8f
Remove environment defintions
gjbex Aug 14, 2026
03ebcdf
Add output
gjbex Aug 17, 2026
0e943e0
Remove stray material
gjbex Aug 18, 2026
2457950
Add hyperparameter optimization PINN example
gjbex Aug 18, 2026
faba0dd
Remove hyperopt examples
gjbex Aug 18, 2026
7a4d76e
Fix typo
gjbex Aug 18, 2026
1f62da4
Remove EuroCC logo
gjbex Aug 18, 2026
cc56a01
Clean up PINN examples by reducing dependencies
gjbex Aug 18, 2026
2bda92b
Add PowerPoint backup file to gitignore
gjbex Aug 18, 2026
eddddee
Move Keras environment files into source code directory
gjbex Aug 18, 2026
98c5d2f
Add ipywidget to environment
gjbex Aug 18, 2026
26af60f
Evaluate notebooks
gjbex Aug 18, 2026
2702cfe
Fix section names
gjbex Aug 18, 2026
0bb3432
Add presentation on multiple GPU usage
gjbex Aug 18, 2026
8b2d609
Add notebook on cross-validation
gjbex Aug 18, 2026
bfea82c
Set full experiment to false for participants
gjbex Aug 18, 2026
6277476
Add alternative presentation
gjbex Sep 1, 2026
146acf3
Add CPU offload slides
gjbex Sep 1, 2026
a65a5a8
Add slides on memory usage
gjbex Sep 1, 2026
b8372d9
Add slides on communication patterns
gjbex Sep 1, 2026
6861c00
Add slide on ZeRO levels versus FSDP
gjbex Sep 2, 2026
a396b55
Replace old presentation
gjbex Sep 2, 2026
9d4b3f0
Add Pytorch DDP example
gjbex Sep 2, 2026
2d61e3e
Add FSDP and PyTorch Lightning equivalents
gjbex Sep 3, 2026
ce05e38
Add data sharding bug hands-on
gjbex Sep 3, 2026
e91ea97
Add hands-on exercises
gjbex Sep 4, 2026
4b93a84
Move PyTorch framework choice slide to main slide deck
gjbex Sep 8, 2026
851c5f8
Add PowerPoint backup file to gitignore
gjbex Sep 8, 2026
bd4fd28
Modernize matplotlib API calls
gjbex Oct 14, 2026
d37bd56
Add distance distribution of vectors with normal distirbution
gjbex Oct 14, 2026
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,7 @@ venv.bak/

# direnv configuration file
.envrc

# PowerPoint checkpoint files
/~$machine_learning_with_python.pptx
/~$multi_gpu_machine_learning.pptx
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,15 @@ For information on the training, see the website

1. [`machine_learning_with_python.pptx`](machine_learning_with_python.pptx): PowerPoint
presentation used for the training.
1. ['multi_gpu_machine_learning.pptx'](multi_gpu_machine_learning.pptx): PowerPoint presentation used for the
multi-GPU session of the training.
1. [`hands-on`](hands-on): Jupyter notebooks for hands-on sessions.
1. [`source-code`](source-code): sample code written to develop the slides and
illustrate concepts.
1. [`environment.yml`](environment.yml): CPU-only conda environment for the
core teaching material, intended to be cross-platform.
1. [`environment_gpu.yml`](environment_gpu.yml): GPU-enabled conda environment
for the instructor laptop, using its validated CUDA configuration.
1. [`environment_keras.yml`](environment_keras.yml): CPU-only Linux conda
environment for the legacy Keras examples.
1. [`environment_keras_gpu.yml`](environment_keras_gpu.yml): Linux/NVIDIA conda
environment for running the legacy Keras examples with GPU acceleration.
1. [`machine_learning_with_python_linux64_conda_specs.txt`](machine_learning_with_python_linux64_conda_specs.txt):
conda environment specification file specific for 64-bit Linux to precisely
reproduce the environment on which the code was developed.
Expand Down
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ dependencies:

# Model interpretation and parameter-optimization examples.
- lime
- hyperopt
- bayesian-optimization
- optuna

# Notebook and visualization stack used by the core teaching material.
- jupyterlab
- ipywidgets
- matplotlib
- bokeh
10 changes: 7 additions & 3 deletions environment_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ dependencies:
- torchvision=0.28
- cuda-version=12.9

# Keep the teaching stack aligned with the CPU environment.
# Core numerical and machine-learning stack.
- numpy
- scipy
- pandas
- scikit-learn

# Model interpretation and parameter-optimization examples.
- lime
- hyperopt
- bayesian-optimization
- optuna

# Notebook and visualization stack used by the core teaching material.
- jupyterlab
- ipywidgets
- matplotlib
- bokeh
Binary file modified machine_learning_with_python.pptx
Binary file not shown.
Binary file added multi_gpu_machine_learning.pptx
Binary file not shown.
5 changes: 2 additions & 3 deletions source-code/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ to create it. There is some material not covered in the presentation as well.
* [`pytorch`](pytorch): illustration of using PyTorch for machine learning.
* [`pytorch-lightning/`](pytorch-lightning/): illustration of using PyTorch
Lightning for machine learning.
* [`parameter-optimization`](parameter-optimization): example of parameter
optimization kusing hyperopt, although the examples do not optimize
hyperparameters in machine learning, that would be very similar.
* [`parameter-optimization`](parameter-optimization): methodology-first Optuna
examples, from a minimal study to a realistic PINN case study.
* [`scikit-learn`](scikit-learn): examples of scikit-learn for machine
learning, examples are provided forsupervised (regression and classification)
and unsupervised (clustering) learnign, as well as dimensionality reduction
Expand Down
342 changes: 304 additions & 38 deletions source-code/curse_of_dimensionality.ipynb

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions source-code/keras/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ machine learning tasks.
1. `mnist_cnn.pbs`: example PBS script to exectute the `mnist_cnn.ipynb`
notebook in batch as a job.
1. `Flatland`: machine learning adventures in Flatland.
1. [`environment_keras.yml`](environment_keras.yml): CPU-only Linux conda
environment for the legacy Keras examples.
1. [`environment_keras_gpu.yml`](environment_keras_gpu.yml): Linux/NVIDIA conda
environment for running the legacy Keras examples with GPU acceleration.

## References
Excellent [tutorial](https://github.com/leriomaggio/deep-learning-keras-tensorflow).
File renamed without changes.
File renamed without changes.
12 changes: 0 additions & 12 deletions source-code/parameter-optimization/JuliaJobs/Makefile

This file was deleted.

17 changes: 0 additions & 17 deletions source-code/parameter-optimization/JuliaJobs/README.md

This file was deleted.

52 changes: 0 additions & 52 deletions source-code/parameter-optimization/JuliaJobs/julia.pbs

This file was deleted.

94 changes: 0 additions & 94 deletions source-code/parameter-optimization/JuliaJobs/julia_omp.cpp

This file was deleted.

81 changes: 0 additions & 81 deletions source-code/parameter-optimization/JuliaJobs/julia_optimize.py

This file was deleted.

12 changes: 0 additions & 12 deletions source-code/parameter-optimization/JuliaProcesses/Makefile

This file was deleted.

20 changes: 0 additions & 20 deletions source-code/parameter-optimization/JuliaProcesses/README.md

This file was deleted.

Loading
Loading