Skip to content

Commit d92e735

Browse files
Fix Typos in docs
1 parent abfbb0a commit d92e735

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

docs/developer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ python build/build.py --configure_only
206206
You may pass additional options to `build.py` to configure the build; see the
207207
`jaxlib` build documentation for details.
208208

209-
By default the Bazel build runs the JAX tests using `jaxlib` built form source.
209+
By default the Bazel build runs the JAX tests using `jaxlib` built from source.
210210
To run JAX tests, run:
211211

212212
```

docs/faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ speed of code using JAX:
413413
use 32-bit dtypes in NumPy or enable 64-bit dtypes in JAX (see
414414
`Double (64 bit) precision`_) for a fair comparison.
415415
4. **Transferring data between CPUs and accelerators takes time.** If you only
416-
want to measure the how long it takes to evaluate a function, you may want to
416+
want to measure how long it takes to evaluate a function, you may want to
417417
transfer data to the device on which you want to run it first (see
418418
:ref:`faq-data-placement`).
419419

docs/gpu_performance_tips.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ training on Nvidia GPUs](https://github.com/NVIDIA/JAX-Toolbox/blob/main/rosetta
6969
The default value is False.
7070
* **--xla_gpu_enable_pipelined_collectives** When using pipeline parallelism,
7171
this flag enables overlapping the (i+1)-th layer weight `AllGather` with the
72-
i-th layer computation. It also enables enable overlapping (i+1)-th layer
72+
i-th layer computation. It also enables overlapping (i+1)-th layer
7373
weight `Reduce`/`ReduceScatter` with i-th layer's computation. The default
7474
value is False. **There are some bugs when this flag is turned on.**
7575
* **--xla_gpu_collective_permute_decomposer_threshold** This flag is useful when

docs/jax-101/06-parallelism.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@
326326
"id": "iuHqht-OYqca"
327327
},
328328
"source": [
329-
"The outputs of the inner `jax.pmap(convolve)` never left their devices when being fed into the outer `jax.pmap(convolve)`."
329+
"The outputs of the inner `jax.pmap(convolve)` have never left their devices when being fed into the outer `jax.pmap(convolve)`."
330330
]
331331
},
332332
{

docs/jax-101/06-parallelism.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jax.pmap(convolve)(xs, jax.pmap(convolve)(xs, ws))
125125

126126
+++ {"id": "iuHqht-OYqca"}
127127

128-
The outputs of the inner `jax.pmap(convolve)` never left their devices when being fed into the outer `jax.pmap(convolve)`.
128+
The outputs of the inner `jax.pmap(convolve)` have never left their devices when being fed into the outer `jax.pmap(convolve)`.
129129

130130
+++ {"id": "vEFAJXN2q3dV"}
131131

docs/notebooks/Common_Gotchas_in_JAX.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@
920920
"id": "ORMVVGZJgSVi"
921921
},
922922
"source": [
923-
"Underneath the hood, numpy uses the [Mersenne Twister](https://en.wikipedia.org/wiki/Mersenne_Twister) PRNG to power its pseudorandom functions. The PRNG has a period of $2^{19937}-1$ and at any point can be described by __624 32bit unsigned ints__ and a __position__ indicating how much of this \"entropy\" has been used up."
923+
"Underneath the hood, numpy uses the [Mersenne Twister](https://en.wikipedia.org/wiki/Mersenne_Twister) PRNG to power its pseudorandom functions. The PRNG has a period of $2^{19937}-1$ and at any point can be described by __624 32-bit unsigned ints__ and a __position__ indicating how much of this \"entropy\" has been used up."
924924
]
925925
},
926926
{
@@ -2135,7 +2135,7 @@
21352135
"\n",
21362136
"There are a few ways to do this:\n",
21372137
"\n",
2138-
"1. You can enable 64bit mode by setting the environment variable `JAX_ENABLE_X64=True`.\n",
2138+
"1. You can enable 64-bit mode by setting the environment variable `JAX_ENABLE_X64=True`.\n",
21392139
"\n",
21402140
"2. You can manually set the `jax_enable_x64` configuration flag at startup:\n",
21412141
"\n",

docs/notebooks/Common_Gotchas_in_JAX.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ print(np.random.random())
407407

408408
+++ {"id": "ORMVVGZJgSVi"}
409409

410-
Underneath the hood, numpy uses the [Mersenne Twister](https://en.wikipedia.org/wiki/Mersenne_Twister) PRNG to power its pseudorandom functions. The PRNG has a period of $2^{19937}-1$ and at any point can be described by __624 32bit unsigned ints__ and a __position__ indicating how much of this "entropy" has been used up.
410+
Underneath the hood, numpy uses the [Mersenne Twister](https://en.wikipedia.org/wiki/Mersenne_Twister) PRNG to power its pseudorandom functions. The PRNG has a period of $2^{19937}-1$ and at any point can be described by __624 32-bit unsigned ints__ and a __position__ indicating how much of this "entropy" has been used up.
411411

412412
```{code-cell} ipython3
413413
:id: 7Pyp2ajzfPO2
@@ -1081,7 +1081,7 @@ To use double-precision numbers, you need to set the `jax_enable_x64` configurat
10811081

10821082
There are a few ways to do this:
10831083

1084-
1. You can enable 64bit mode by setting the environment variable `JAX_ENABLE_X64=True`.
1084+
1. You can enable 64-bit mode by setting the environment variable `JAX_ENABLE_X64=True`.
10851085

10861086
2. You can manually set the `jax_enable_x64` configuration flag at startup:
10871087

0 commit comments

Comments
 (0)