Skip to content

Conversation

ezyang
Copy link
Contributor

@ezyang ezyang commented Jan 5, 2024

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

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Jan 5, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 4bdf285 with merge base 6ebb26d (image):
💚 Looks good so far! There are no failures yet. 💚

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

…tor"

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

[ghstack-poisoned]
ezyang added a commit that referenced this pull request Jan 5, 2024
Signed-off-by: Edward Z. Yang <ezyangmeta.com>

ghstack-source-id: 2ffb299
Pull Request resolved: #116810
…tor"

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

[ghstack-poisoned]
ezyang added a commit that referenced this pull request Jan 8, 2024
Signed-off-by: Edward Z. Yang <ezyangmeta.com>

ghstack-source-id: 5b30d17
Pull Request resolved: #116810
…tor"

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

[ghstack-poisoned]
ezyang added a commit that referenced this pull request Jan 9, 2024
Signed-off-by: Edward Z. Yang <ezyangmeta.com>

ghstack-source-id: af815f1
Pull Request resolved: #116810
…tor"

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

[ghstack-poisoned]
…tor"

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

[ghstack-poisoned]
…tor"

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

[ghstack-poisoned]
…tor"

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

[ghstack-poisoned]
Copy link
Contributor

@chenyang78 chenyang78 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

torch.int32: "int",
torch.int16: "short",
torch.int8: "signed char",
torch.uint64: "unsigned long",
Copy link
Contributor

@kadeng kadeng Jan 12, 2024

Choose a reason for hiding this comment

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

Not a blocker, but as far as I know, while in practice (on 64-bit systems) these types have the right bit-size, this is not guaranteed by the standard. Maybe it's better to use C++11 fixed width integer types? ( https://en.cppreference.com/w/cpp/types/integer ).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I don't know why the other usages here weren't using the fixed width types lol

@ezyang
Copy link
Contributor Author

ezyang commented Jan 12, 2024

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jan 12, 2024
@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: This PR needs a release notes: label
If your changes are user facing and intended to be a part of release notes, please use a label starting with release notes:.

If not, please add the topic: not user facing label.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "topic: not user facing"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

Details for Dev Infra team Raised by workflow job

@ezyang
Copy link
Contributor Author

ezyang commented Jan 12, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants