Notebooks
F
FastAI
Distributed App Examples

Distributed App Examples

colabmachine-learninggpuexamplesdeep-learningnotebooksPythonnbsfastaipytorch

Notebook Launcher examples

A quick(ish) test of most of the main applications people use, taken from fastbook, and ran with Accelerate across multiple GPUs through notebook_launcher

[ ]

:::{.callout-important}

Before running, ensure that Accelerate has been configured through either accelerate config in the command line or by running write_basic_config

:::

[ ]

Image Classification

[ ]
Launching training on 2 GPUs.
Training Learner...

Image Segmentation

[ ]
Launching training on 2 GPUs.
/opt/conda/lib/python3.7/site-packages/torch/_tensor.py:1142: UserWarning: __floordiv__ is deprecated, and its behavior will change in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values. To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor').
  ret = func(*args, **kwargs)
/opt/conda/lib/python3.7/site-packages/torch/_tensor.py:1142: UserWarning: __floordiv__ is deprecated, and its behavior will change in a future version of pytorch. It currently rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values. To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor').
  ret = func(*args, **kwargs)
Training Learner...

Text Classification

[ ]
Launching training on 2 GPUs.
Training Learner...

Tabular

[ ]
Launching training on 2 GPUs.
Training Learner...

Collab Filtering

[ ]
Launching training on 2 GPUs.
Training Learner...

Keypoints

[ ]
Launching training on 2 GPUs.
Training Learner...

fin -

[ ]