Skip to content

Commit

Permalink
Update pjrt.md (pytorch#5941)
Browse files Browse the repository at this point in the history
Update some missing changes from `GPU` to `CUDA`
  • Loading branch information
Liyang90 authored and chunnienc committed Dec 14, 2023
1 parent 6e5cb6c commit d1ce72d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pjrt.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ _New features in PyTorch/XLA r2.0_:
## TL;DR

* To use the PJRT preview runtime, set the `PJRT_DEVICE` environment variable to
`CPU`, `TPU`, or `GPU`
`CPU`, `TPU`, or `CUDA`
* In XRT, all distributed workloads are multiprocess, with one process per
device. On TPU v2 and v3 in PJRT, workloads are multiprocess and multithreaded
(4 processes with 2 threads each), so your workload should be thread-safe. See
Expand Down Expand Up @@ -112,7 +112,7 @@ Sample diff from XRT to PJRT:

## Benefits

* Simple runtime configuration: just set `PJRT_DEVICE` to `TPU`, `CPU`, or `GPU`
* Simple runtime configuration: just set `PJRT_DEVICE` to `TPU`, `CPU`, or `CUDA`
and start using XLA! Or, let PJRT select a device automatically based on your
environment.
* Improved performance: reduced overhead from gRPC means faster end-to-end
Expand Down

0 comments on commit d1ce72d

Please sign in to comment.