Skip to content

Commit

Permalink
Fix spelling (#1569)
Browse files Browse the repository at this point in the history
  • Loading branch information
fhunleth authored Jan 12, 2025
1 parent 8235228 commit 7ef59e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions nx/lib/nx.ex
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ defmodule Nx do
config: [nx: [default_backend: EXLA.Backend]]
)
Or by calling `Nx.global_default_backend/1` (less preferrable):
Or by calling `Nx.global_default_backend/1` (less preferable):
Nx.global_default_backend(EXLA.Backend)
Expand Down Expand Up @@ -614,7 +614,7 @@ defmodule Nx do
>
Certain backends and compilers support 8-bit floats. The precision
iomplementation of 8-bit floats may change per backend, so you must
implementation of 8-bit floats may change per backend, so you must
be careful when transferring data across. The binary backend implements
F8E5M2:
Expand Down Expand Up @@ -7684,7 +7684,7 @@ defmodule Nx do
number of indices, while `updates` must have a compatible `{n, ...j}` shape, such that
`i + j = rank(tensor)`.
In case of repeating indices, the result is non-determinstic, since the operation happens
In case of repeating indices, the result is non-deterministic, since the operation happens
in parallel when running on devices such as the GPU.
See also: `indexed_add/3`, `put_slice/3`.
Expand Down
2 changes: 1 addition & 1 deletion nx/lib/nx/backend.ex
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ defmodule Nx.Backend do
First we will attempt to call the optional callback itself
(one of the many callbacks defined below), then we attempt
to call this callback (which is also optional), then we
fallback to the default iomplementation.
fallback to the default implementation.
"""
@callback optional(atom, [term], fun) :: tensor

Expand Down
2 changes: 1 addition & 1 deletion nx/lib/nx/defn.ex
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ defmodule Nx.Defn do
## JIT compilers
The power of `Nx.Defn` is given by its compilers. The default
compiler is `Nx.Defn.Evaluator`, which evalutes the code.
compiler is `Nx.Defn.Evaluator`, which evaluates the code.
You can use `jit/3` to compile a function on the fly using a
different compiler, such as `EXLA`:
Expand Down

0 comments on commit 7ef59e2

Please sign in to comment.