Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pjrt.md #5941

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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