Skip to content

Commit 3ee545d

Browse files
committed
Fixing Conda referernces.
1 parent 2b99267 commit 3ee545d

File tree

4 files changed

+13
-15
lines changed

4 files changed

+13
-15
lines changed

advanced_source/sharding.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,52 +9,52 @@ tables by explicitly configuring them.
99
Installation
1010
------------
1111

12-
Requirements: - python >= 3.7
12+
Requirements: - Python >= 3.7
1313

1414
We highly recommend CUDA when using torchRec. If using CUDA: - cuda >=
1515
11.0
1616

1717
.. code:: python
1818
# TODO: replace these
19-
# install conda to make installying pytorch with cudatoolkit 11.3 easier.
19+
# install Conda to make installing PyTorch with cudatoolkit 11.3 easier.
2020
!sudo rm Miniconda3-py37_4.9.2-Linux-x86_64.sh Miniconda3-py37_4.9.2-Linux-x86_64.sh.*
2121
!sudo wget https://repo.anaconda.com/miniconda/Miniconda3-py37_4.9.2-Linux-x86_64.sh
2222
!sudo chmod +x Miniconda3-py37_4.9.2-Linux-x86_64.sh
2323
!sudo bash ./Miniconda3-py37_4.9.2-Linux-x86_64.sh -b -f -p /usr/local
2424
2525
.. code:: python
2626
27-
# install pytorch with cudatoolkit 11.3
27+
# install PyTorch with cudatoolkit 11.3
2828
!sudo conda install pytorch cudatoolkit=11.3 -c pytorch-nightly -y
2929
30-
Installing torchRec will also install
30+
Installing TorchRec will also install
3131
`FBGEMM <https://github.com/pytorch/fbgemm>`__, a collection of CUDA
32-
kernels and GPU enabled operations to run
32+
kernels and GPU enabled operations to run.
3333

3434
.. code:: python
3535
3636
# install torchrec
3737
!pip3 install torchrec-nightly
3838
39-
Install multiprocess which works with ipython to for multi-processing
40-
programming within colab
39+
Install `multiprocess`` which works with `iPython` for multi-processing
40+
programming within `Colab``:
4141

4242
.. code:: python
4343
4444
!pip3 install multiprocess
4545
4646
The following steps are needed for the Colab runtime to detect the added
47-
shared libraries. The runtime searches for shared libraries in /usr/lib,
48-
so we copy over the libraries which were installed in /usr/local/lib/.
49-
**This is a very necessary step, only in the colab runtime**.
47+
shared libraries. The runtime searches for shared libraries is in `/usr/lib`,
48+
so we copy over the libraries which were installed in `/usr/local/lib/`.
49+
**This is a very necessary step, only in the Colab runtime**.
5050

5151
.. code:: python
5252
5353
!sudo cp /usr/local/lib/lib* /usr/lib/
5454
5555
**Restart your runtime at this point for the newly installed packages
5656
to be seen.** Run the step below immediately after restarting so that
57-
python knows where to look for packages. **Always run this step after
57+
Python knows where to look for packages. **Always run this step after
5858
restarting the runtime.**
5959

6060
.. code:: python
@@ -71,7 +71,7 @@ Due to the notebook enviroment, we cannot run
7171
can do multiprocessing inside the notebook to mimic the setup. Users
7272
should be responsible for setting up their own
7373
`SPMD <https://en.wikipedia.org/wiki/SPMD>`_ launcher when using
74-
Torchrec. We setup our environment so that torch distributed based
74+
TorchRec. We setup our environment so that torch distributed based
7575
communication backend can work.
7676

7777
.. code:: python

beginner_source/hta_intro_tutorial.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ below.
99

1010
Installing HTA
1111
~~~~~~~~~~~~~~
12-
.. # TODO: replace
1312
We recommend using a Conda environment to install HTA. To install Anaconda, see
1413
`the official Anaconda documentation <https://docs.anaconda.com/anaconda/install/index.html>`_.
1514

intermediate_source/dist_tuto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ for an available MPI implementation. The following steps install the MPI
523523
backend, by installing PyTorch `from
524524
source <https://github.com/pytorch/pytorch#from-source>`__.
525525

526-
.. #TODO: replace
526+
.. #TODO: replace?
527527
1. Create and activate your Anaconda environment, install all the
528528
pre-requisites following `the
529529
guide <https://github.com/pytorch/pytorch#from-source>`__, but do

prototype_source/gpu_quantization_torchao_tutorial.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#
2828
#
2929
# .. code-block:: bash
30-
# TODO: replace
3130
# > conda create -n myenv python=3.10
3231
# > pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121
3332
# > pip install git+https://github.com/facebookresearch/segment-anything.git

0 commit comments

Comments
 (0)