Skip to content

Commit 2bd8a72

Browse files
committed
Removed outdated steps about running about setup.py
1 parent 96b9c27 commit 2bd8a72

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ If you are starting off with a Jupyter notebook, you can use [this script](https
3131

3232
## Building locally
3333

34-
The tutorial build is very large and requires a GPU. If your machine does not have a GPU device, you can preview your HTML build without actually downloading the data and running the tutorial code:
34+
The tutorial build is very large and requires a GPU. If your machine does not have a GPU device, you can preview your HTML build without actually downloading the data and running the tutorial code:
3535

3636
1. Install required dependencies by running: `pip install -r requirements.txt`.
3737

@@ -40,8 +40,6 @@ The tutorial build is very large and requires a GPU. If your machine does not ha
4040
- If you have a GPU-powered laptop, you can build using `make docs`. This will download the data, execute the tutorials and build the documentation to `docs/` directory. This might take about 60-120 min for systems with GPUs. If you do not have a GPU installed on your system, then see next step.
4141
- You can skip the computationally intensive graph generation by running `make html-noplot` to build basic html documentation to `_build/html`. This way, you can quickly preview your tutorial.
4242

43-
> If you get **ModuleNotFoundError: No module named 'pytorch_sphinx_theme' make: *** [html-noplot] Error 2** from /tutorials/src/pytorch-sphinx-theme or /venv/src/pytorch-sphinx-theme (while using virtualenv), run `python setup.py install`.
44-
4543
## Building a single tutorial
4644

4745
You can build a single tutorial by using the `GALLERY_PATTERN` environment variable. For example to run only `neural_style_transfer_tutorial.py`, run:
@@ -59,8 +57,8 @@ The `GALLERY_PATTERN` variable respects regular expressions.
5957

6058

6159
## About contributing to PyTorch Documentation and Tutorials
62-
* You can find information about contributing to PyTorch documentation in the
63-
PyTorch Repo [README.md](https://github.com/pytorch/pytorch/blob/master/README.md) file.
60+
* You can find information about contributing to PyTorch documentation in the
61+
PyTorch Repo [README.md](https://github.com/pytorch/pytorch/blob/master/README.md) file.
6462
* Additional information can be found in [PyTorch CONTRIBUTING.md](https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md).
6563

6664

0 commit comments

Comments
 (0)