Skip to content

Fix variable type mismatch build failure#20437

Closed
GregoryComer wants to merge 1 commit into
pytorch:mainfrom
GregoryComer:fix-uint64_t-end-bytes
Closed

Fix variable type mismatch build failure#20437
GregoryComer wants to merge 1 commit into
pytorch:mainfrom
GregoryComer:fix-uint64_t-end-bytes

Conversation

@GregoryComer

Copy link
Copy Markdown
Member

Summary

Fix a variable type mismatch in two locations - it should be uint64_t, not size_t. This appears to be a regression introduced when adding overflow checks. It compiles on some platforms, but breaks on platforms where uint64_t != size_t. For example, on mac w/ clang, size_t is unsigned long whereas uint64_t is unsigned long long. Both are 64 bits, but it nonetheless fails to compile due to the mismatch.

@pytorch-bot

pytorch-bot Bot commented Jun 23, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

⏳ No Failures, 136 Pending

As of commit 8acc74f with merge base 39c0df6 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 23, 2026
@GregoryComer GregoryComer added the release notes: none Do not include this in the release notes label Jun 23, 2026
@GregoryComer

Copy link
Copy Markdown
Member Author

Closing, as this appears to be a local env issue due to multiple torch installs.

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants