Skip to content

Conversation

@gplutop7
Copy link
Contributor

@gplutop7 gplutop7 commented Jan 15, 2026

Upstream PyTorch changed how Tensor and Storage lifetimes are managed.
Zombie Tensor and Storage objects no longer exist and invalid subclasses now raise TypeError.
This PR updates XPU tests to match the new PyTorch behavior.

Updated tests in PR:

  • test_as_subclass
  • test_tensor_dead_weak_ref
  • test_storage_dead_weak_ref

disable_e2e
disable_distribute

Copy link
Contributor

@guangyey guangyey left a comment

Choose a reason for hiding this comment

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

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.

4 participants