Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pt2] add meta for linalg_ldl_solve #101367

Closed
wants to merge 1 commit into from

Conversation

@pytorch-bot
Copy link

pytorch-bot bot commented May 14, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit 777e564:
💚 Looks good so far! There are no failures yet. 💚

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

nkaretnikov added a commit that referenced this pull request May 14, 2023
ghstack-source-id: 1648d8fe93f0f6f48932540f08ab7a3a6073df59
Pull Request resolved: #101367
@nkaretnikov nkaretnikov requested a review from lezcano May 14, 2023 20:14
@nkaretnikov nkaretnikov added ciflow/trunk Trigger trunk jobs on your pull request topic: not user facing topic category ciflow/inductor keep-going Don't stop on first failure, keep running tests until the end labels May 14, 2023
@nkaretnikov
Copy link
Collaborator Author

Part of this stack because it unlocks tests next to the prev PR in the stack.

device=B.device,
)


Copy link
Collaborator Author

Choose a reason for hiding this comment

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

See TORCH_META_FUNC(linalg_ldl_solve) in core.

check(
LD.dtype == B.dtype,
lambda: f"torch.linalg.ldl_solve: LD dtype {LD.dtype} does not match b dtype {B.dtype}",
)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

linearSolveCheckInputs already has a dtype check

f"torch.linalg.ldl_solve: Expected B to have at least 2 dimensions, "
f"but it has {B.ndim} dimensions instead"
),
)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This ndim check will never be reached because self.size(-2) is already checked in linearSolveCheckInputs

@PaliC PaliC added the ciflow/periodic Trigger jobs ran periodically on master (periodic.yml) on the PR label May 16, 2023
jcaip pushed a commit that referenced this pull request May 23, 2023
@facebook-github-bot facebook-github-bot deleted the gh/nkaretnikov/114/head branch June 8, 2023 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/inductor ciflow/periodic Trigger jobs ran periodically on master (periodic.yml) on the PR ciflow/trunk Trigger trunk jobs on your pull request keep-going Don't stop on first failure, keep running tests until the end Merged open source topic: not user facing topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants