KEMBAR78
Make SymFloat behave symmetrically with float in torch.tensor by ezyang · Pull Request #109513 · pytorch/pytorch · GitHub
Skip to content

Conversation

@ezyang
Copy link
Contributor

@ezyang ezyang commented Sep 18, 2023

Stack from ghstack (oldest at bottom):

Previously, SymFloat would force double precision. That's wrong;
instead, we must respect default dtype.

Signed-off-by: Edward Z. Yang ezyang@meta.com

Previously, SymFloat would force double precision.  That's wrong;
instead, we must respect default dtype.

Test coming (I just want to kick of CI to start.)

Signed-off-by: Edward Z. Yang <ezyang@meta.com>

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Sep 18, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit 0ade1af with merge base faf3de3 (image):
💚 Looks good so far! There are no failures yet. 💚

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

…sor"

Previously, SymFloat would force double precision.  That's wrong;
instead, we must respect default dtype.

Test coming (I just want to kick of CI to start.)

Signed-off-by: Edward Z. Yang <ezyangmeta.com>

[ghstack-poisoned]
ezyang added a commit that referenced this pull request Sep 18, 2023
Previously, SymFloat would force double precision.  That's wrong;
instead, we must respect default dtype.

Test coming (I just want to kick of CI to start.)

Signed-off-by: Edward Z. Yang <ezyangmeta.com>

ghstack-source-id: 584b06e
Pull Request resolved: #109513
@ezyang ezyang added release notes: composability release notes category topic: bug fixes topic category ciflow/trunk Trigger trunk jobs on your pull request labels Sep 18, 2023
@ezyang
Copy link
Contributor Author

ezyang commented Sep 19, 2023

@pytorchbot merge

@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

pytorchmergebot pushed a commit that referenced this pull request Sep 19, 2023
…#109515)

I just ported the C++ torch.tensor implementation to Python, swapping out the inner bits to successively stack tensors together, so that we can trace through `scalar_tensor`.

Signed-off-by: Edward Z. Yang <ezyang@meta.com>

Pull Request resolved: #109515
Approved by: https://github.com/voznesenskym
ghstack dependencies: #109513
@facebook-github-bot facebook-github-bot deleted the gh/ezyang/2354/head branch September 22, 2023 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: composability release notes category topic: bug fixes topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants