File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed
docs/source/user_guide/jobs Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,7 @@ Run a Notebook
33
44The :py:class: `~ads.jobs.NotebookRuntime ` allows you to run a single Jupyter notebook as a job.
55
6- If your notebook needs extra dependencies like custom module or data files, you can use
7- :py:class: `~ads.jobs.PythonRuntime ` or :py:class: `~ads.jobs.GitPythonRuntime ` and set your notebook as the entrypoint.
8-
9- See also:
10-
11- * :doc: `run_python `
12- * :doc: `run_git `
6+ .. include :: ../jobs/toc_local.rst
137
148TensorFlow Example
159==================
@@ -51,3 +45,18 @@ To tag cells in a notebook, see
5145The :py:meth: `~ads.jobs.NotebookRuntime.with_exclude_tag ` take a list of tags as argument
5246Cells with any matching tags are excluded from the job run.
5347In the above example, cells with ``ignore `` or ``remove `` are excluded.
48+
49+ Notebook with Dependencies
50+ ==========================
51+
52+ If your notebook needs extra dependencies like custom module or data files, you can use
53+ :py:class: `~ads.jobs.PythonRuntime ` or :py:class: `~ads.jobs.GitPythonRuntime ` and set your notebook as the entrypoint.
54+
55+ See also:
56+
57+ * :doc: `run_python `
58+ * :doc: `run_git `
59+
60+ Here is an example of running the `minGPT demo notebook <https://github.com/karpathy/minGPT/blob/master/demo.ipynb >`_.
61+
62+ .. include :: ../jobs/tabs/git_notebook.rst
You can’t perform that action at this time.
0 commit comments