Skip to content

Implement XLAShardedTensor._spec and test#9488

Merged
jeffhataws merged 5 commits intopytorch:masterfrom
aws-cph:aws-cph_dtensor_spec
Jul 24, 2025
Merged

Implement XLAShardedTensor._spec and test#9488
jeffhataws merged 5 commits intopytorch:masterfrom
aws-cph:aws-cph_dtensor_spec

Conversation

@aws-cph
Copy link
Copy Markdown
Contributor

@aws-cph aws-cph commented Jul 17, 2025

Implementing and adding tests for XLAShardedTensor._spec in regards to #9418.

Comment thread torch_xla/distributed/spmd/xla_sharded_tensor.py Outdated
Comment thread torch_xla/distributed/spmd/xla_sharded_tensor.py Outdated
Comment thread torch_xla/distributed/spmd/xla_sharding.py
Comment thread torch_xla/distributed/spmd/xla_sharded_tensor.py Outdated
Comment thread torch_xla/distributed/spmd/xla_sharded_tensor.py Outdated
Comment thread torch_xla/distributed/spmd/xla_sharded_tensor.py
Comment thread torch_xla/distributed/spmd/xla_sharded_tensor.py
Comment thread torch_xla/distributed/spmd/xla_sharded_tensor.py
Comment thread test/spmd/test_xla_dtensor_spec_conversion.py
@aws-cph aws-cph force-pushed the aws-cph_dtensor_spec branch 2 times, most recently from 78a5639 to 4dd06ad Compare July 18, 2025 22:08
Comment thread torch_xla/distributed/spmd/xla_sharded_tensor.py
Comment thread torch_xla/distributed/spmd/xla_sharded_tensor.py Outdated
Comment thread torch_xla/distributed/spmd/xla_sharded_tensor.py Outdated
Comment thread test/spmd/test_xla_dtensor_spec_conversion.py Outdated
Comment thread torch_xla/distributed/spmd/xla_sharding.py
Comment thread torch_xla/distributed/spmd/xla_sharded_tensor.py Outdated
Comment thread torch_xla/distributed/spmd/xla_sharded_tensor.py
Comment thread torch_xla/distributed/spmd/xla_sharded_tensor.py Outdated
@aws-cph aws-cph force-pushed the aws-cph_dtensor_spec branch from 3ab7296 to 16f02a4 Compare July 22, 2025 18:43
@aws-cph aws-cph force-pushed the aws-cph_dtensor_spec branch from 1d2aa97 to 213efc6 Compare July 23, 2025 18:21
Comment thread test/spmd/test_xla_sharding.py Outdated
@aws-cph aws-cph force-pushed the aws-cph_dtensor_spec branch from 213efc6 to 25147a2 Compare July 23, 2025 21:48
@aws-cph aws-cph force-pushed the aws-cph_dtensor_spec branch from 25147a2 to 5a61b1d Compare July 23, 2025 21:49
@aws-cph aws-cph requested a review from bfolie July 23, 2025 21:49
Comment thread test/spmd/test_xla_dtensor_spec_conversion.py
Copy link
Copy Markdown
Collaborator

@bfolie bfolie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall. I have one suggestion about test structure but it's non-blocking

@jeffhataws jeffhataws merged commit ca47198 into pytorch:master Jul 24, 2025
23 of 24 checks passed
@aws-cph aws-cph deleted the aws-cph_dtensor_spec branch July 24, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants