File tree
5 files changed
+32
-6
lines changed- deps
- tests
5 files changed
+32
-6
lines changed- .github/workflows/_build_plugin.yml+9-7
- .github/workflows/_build_torch_with_cuda.yml+11-10
- .github/workflows/_build_torch_xla.yml+10-19
- .github/workflows/_docs.yml+1-1
- .github/workflows/_get_torch_commit.yml-25
- .github/workflows/_test.yml+13-33
- .github/workflows/_test_requiring_torch_cuda.yml+12-30
- .github/workflows/_tpu_ci.yml+8-10
- .github/workflows/build_and_test.yml+8-2
- .github/workflows/setup/action.yml+86
- README.md+16-2
- benchmarks/benchmark_model.py+6-2
- benchmarks/torchbench_model.py+19-6
- docs/fori_loop.md+37-79
- docs/plugins.md+82
- docs/source/index.rst+1-1
- docs/spmd.md-554
- docs/spmd_advanced.md+150
- docs/spmd_basic.md+83
- docs/spmd_distributed_checkpoint.md+125
- examples/decoder_only_model.py+3-2
- experimental/torch_xla2/docs/support_a_new_model.md+157
- experimental/torch_xla2/examples/eager_mode.py+7
- experimental/torch_xla2/examples/torchbench_models/BERT_pytorch.py+49
- experimental/torch_xla2/test/test_ops.py-9
- experimental/torch_xla2/torch_xla2/__init__.py+19-8
- experimental/torch_xla2/torch_xla2/config.py+1
- experimental/torch_xla2/torch_xla2/ops/jaten.py+49
- experimental/torch_xla2/torch_xla2/ops/jtorch.py+2-2
- experimental/torch_xla2/torch_xla2/tensor.py+25-11
- infra/ansible/config/apt.yaml+1
- infra/ansible/config/env.yaml+1-1
- plugins/cpu/README.md+3
- plugins/cpu/pyproject.toml+2-2
- plugins/cuda/README.md+3
- test/debug_tool/test_pt_xla_debug.py+9-10
- test/dynamo/test_dynamo.py+35-5
- test/run_tests.sh+3-2
- test/spmd/test_dynamo_spmd.py+1-48
- test/spmd/test_sharding_strategies.py+2-2
- test/spmd/test_xla_sharding.py+6-4
- test/test_fori_loop_with_while_loop_simple_add_dispatch_in_torch.py-106
- test/test_metrics.py+16-17
- test/test_while_loop.py+116
- test/torch_distributed/test_torch_distributed_bucketed_all_reduce_xla_backend.py+43
- test/tpu/run_tests.sh+1-1
- torch_xla/_internal/tpu.py+2
- torch_xla/core/xla_model.py+56-7
- torch_xla/csrc/init_python_bindings.cpp+20-15
- torch_xla/csrc/runtime/pjrt_registry.cc+3
- torch_xla/distributed/spmd/xla_sharding.py+7-14
- torch_xla/experimental/fori_loop.py+112-45
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
41 | 39 | | |
| 40 | + | |
| 41 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | | - | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
360 | 362 | | |
361 | 363 | | |
362 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
363 | 387 | | |
364 | 388 | | |
365 | 389 | | |
0 commit comments