Minor spelling updates (#52149)

Summary:
Add space between 'e.g.' and 'build'
'pacakge'->'package'

Pull Request resolved: https://github.com/pytorch/pytorch/pull/52149

Reviewed By: osalpekar

Differential Revision: D26405824

Pulled By: malfet

fbshipit-source-id: 386390d3f31a9fc268b05902b9dca1deeaf626f9
diff --git a/docs/source/distributed.rst b/docs/source/distributed.rst
index 9ed6354..681ad0c 100644
--- a/docs/source/distributed.rst
+++ b/docs/source/distributed.rst
@@ -55,7 +55,7 @@
 PyTorch distributed package supports Linux (stable), MacOS (stable), and Windows (prototype).
 By default for Linux, the Gloo and NCCL backends are built and included in PyTorch
 distributed (NCCL only when building with CUDA). MPI is an optional backend that can only be
-included if you build PyTorch from source. (e.g.building PyTorch on a host that has MPI
+included if you build PyTorch from source. (e.g. building PyTorch on a host that has MPI
 installed.)
 
 .. warning ::
@@ -275,7 +275,7 @@
 
 The distributed package comes with a distributed key-value store, which can be
 used to share information between processes in the group as well as to
-initialize the distributed pacakge in
+initialize the distributed package in
 :func:`torch.distributed.init_process_group` (by explicitly creating the store
 as an alternative to specifying ``init_method``.) There are 3 choices for
 Key-Value Stores: :class:`~torch.distributed.TCPStore`,