Skip to content

Commit 45c252b

Browse files
tstatlersvekars
authored andcommitted
Removed outdated steps in README about running about setup.py (#3014)
Co-authored-by: Svetlana Karslioglu <svekars@meta.com>
1 parent 3ba7b3b commit 45c252b

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
@@ -33,7 +33,7 @@ If you are starting off with a Jupyter notebook, you can use [this script](https
3333

3434
## Building locally
3535

36-
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:
36+
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:
3737

3838
1. Install required dependencies by running: `pip install -r requirements.txt`.
3939

@@ -42,8 +42,6 @@ The tutorial build is very large and requires a GPU. If your machine does not ha
4242
- 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.
4343
- 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.
4444

45-
> 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`.
46-
4745
## Building a single tutorial
4846

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

6260

6361
## About contributing to PyTorch Documentation and Tutorials
64-
* You can find information about contributing to PyTorch documentation in the
65-
PyTorch Repo [README.md](https://github.com/pytorch/pytorch/blob/master/README.md) file.
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.
6664
* Additional information can be found in [PyTorch CONTRIBUTING.md](https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md).
6765

6866

0 commit comments

Comments
 (0)