Make torch xla available on GPU (#29334)
* add USE_TORCH_XLA env * rename torch_tpu to torch_xla * better is_torch_xla_available; fix some fsdp and performance issues * fix format * fix bug when pjrt_device is cpu * fix bug * fix the deprecation handling --------- Co-authored-by: anw90 <ang868@gmail.com> Co-authored-by: wangang.wa <wangang.wa@alibaba-inc.com>
This commit is contained in:
@@ -424,7 +424,7 @@ CUDA_VISIBLE_DEVICES="1" pytest tests/utils/test_logging.py
|
||||
- `require_torch_multi_gpu` - `require_torch` に加えて、少なくとも2つのGPUが必要です。
|
||||
- `require_torch_non_multi_gpu` - `require_torch` に加えて、0または1つのGPUが必要です。
|
||||
- `require_torch_up_to_2_gpus` - `require_torch` に加えて、0、1、または2つのGPUが必要です。
|
||||
- `require_torch_tpu` - `require_torch` に加えて、少なくとも1つのTPUが必要です。
|
||||
- `require_torch_xla` - `require_torch` に加えて、少なくとも1つのTPUが必要です。
|
||||
|
||||
以下の表にGPUの要件を示します:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user