<jupyter_start><jupyter_text>Notebook to validate Gradient setup> Run this notebook to validate that Gradient is set up correctly- toc: true- categories: [colab, setup]<jupyter_code># validate the version of fast.ai
import fastai
fastai.__version__
# validate access to GPUs
!nvidia-smi<jupyter_output>Sat Jul  3 22:40:46 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.36.06    Driver Version: 450.36.06    CUDA Version: 11.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Quadro P4000        On   | 00000000:00:05.0 Off |                  N/A |
| 46%   41C    P0    34W / 105W |    853MiB /  8119MiB |     35%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-------[...]
{'fraction_non_alphanumeric': 0.31063504208110176, 'fraction_numerical': 0.04973221117061974, 'mean_word_length': 0.9150805270863837, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 9, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '64529', 'license': 'Apache-2.0', 'n_tokens_mistral': 377, 'n_tokens_neox': 310, 'n_words': 81, 'path': '_notebooks/2022-03-22-validate-gradient-setup.ipynb', 'repo_name': 'leungadh/coding', 'size': '1307'}