Skip to content

Conversation

albanD
Copy link
Collaborator

@albanD albanD commented Feb 26, 2024

@albanD albanD requested a review from ezyang February 26, 2024 19:14
@pytorch-bot pytorch-bot bot added the release notes: quantization release notes category label Feb 26, 2024
Copy link

pytorch-bot bot commented Feb 26, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/120632

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (2 Unrelated Failures)

As of commit 337e6b8 with merge base 7b4f70e (image):

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@github-actions github-actions bot added oncall: distributed Add this issue/PR to distributed oncall triage queue module: dynamo ciflow/inductor labels Feb 26, 2024
Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

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

yoloooo

@albanD
Copy link
Collaborator Author

albanD commented Feb 27, 2024

@JackCaoG is there an easy way for me to run this failing xla test on a cpu linux machine?
If not, would it be ok for you to add the following to XLAShardedTensor such that this PR will be a no-op for your Tensor and we can look into why this is happening later?

    #EDIT: added the classmethod here to avoid this weird Dynamo behavior https://github.com/pytorch/pytorch/issues/120799
    @classmethod
    def __torch_function__(cls, func, types, args=(), kwargs=None):
        return super().__torch_function__(func, types, args, kwargs)

@JackCaoG
Copy link
Collaborator

Yea I can add that to XLAShardedTensor and create a pr

@albanD albanD added module: bc-breaking Related to a BC-breaking change release notes: python_frontend python frontend release notes category labels Feb 27, 2024
@github-actions github-actions bot added the release notes: quantization release notes category label Feb 28, 2024
@albanD albanD force-pushed the change_default_function branch from 7365484 to aad5b12 Compare March 7, 2024 19:20
@albanD
Copy link
Collaborator Author

albanD commented Mar 7, 2024

@JackCaoG where I can know if the PR you did is already included in PT trunk? Or anything I should do to make your PR in xla included for this PR?

@JackCaoG
Copy link
Collaborator

JackCaoG commented Mar 8, 2024

You can check https://github.com/pytorch/xla/tree/master/.circleci#coodinating-merges-for-breaking-pytorch-prs for detail but pretty much you can update https://github.com/pytorch/pytorch/blob/main/.github/ci_commit_pins/xla.txt to the head of the pt/xla. I checked that file and it seems like pin was updated today so if you rebase this should just work.

@albanD albanD force-pushed the change_default_function branch from aad5b12 to 337e6b8 Compare March 8, 2024 15:39
@albanD
Copy link
Collaborator Author

albanD commented Mar 8, 2024

@pytorchbot merge

@pytorch-bot pytorch-bot bot added ciflow/trunk Trigger trunk jobs on your pull request topic: bc_breaking labels Mar 8, 2024
@albanD albanD added topic: bc breaking topic category and removed ciflow/trunk Trigger trunk jobs on your pull request labels Mar 8, 2024
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

pianpwk pushed a commit that referenced this pull request Mar 11, 2024
…atch is defined (take 2) (#120632)

This does not introduce a new test but is tested by checking that all the classes we already have still behave as before now that they don't explicitly disable torch_function.

Pull Request resolved: #120632
Approved by: https://github.com/ezyang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/inductor Merged module: bc-breaking Related to a BC-breaking change module: dynamo oncall: distributed Add this issue/PR to distributed oncall triage queue release notes: python_frontend python frontend release notes category release notes: quantization release notes category topic: bc breaking topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants