{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "## Environment Checker Utils" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Utilities for collecting/checking `fastai` user environment" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "from fastai.utils import *" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "hide_input": true }, "outputs": [], "source": [ "from fastai.gen_doc.nbdoc import *\n", "from fastai.utils import * " ] }, { "cell_type": "code", "execution_count": null, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

show_install[source][test]

\n", "\n", "> show_install(**`show_nvidia_smi`**:`bool`=***`False`***)\n", "\n", "
×

Tests found for show_install:

To run tests please refer to this guide.

\n", "\n", "Print user's setup information " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(show_install)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "without nvidia-smi printout:\n", "\n", "`python -m fastai.utils.show_install`\n", "\n", "with nvidia-smi printout:\n", "\n", "`python -m fastai.utils.show_install 1`" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "[`show_install`](/utils.collect_env.html#show_install)" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "

check_perf[source][test]

\n", "\n", "> check_perf()\n", "\n", "
×

Tests found for check_perf:

  • pytest -sv tests/test_utils.py::test_check_perf [source]

To run tests please refer to this guide.

\n", "\n", "Suggest how to improve the setup to speed things up " ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "show_doc(check_perf)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "`python -m fastai.utils.check_perf`" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "[`check_perf`](/utils.collect_env.html#check_perf)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Undocumented Methods - Methods moved below this line will intentionally be hidden" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" } }, "nbformat": 4, "nbformat_minor": 2 }