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

[WIP] Force KJT list inputs to be unbacked ints #107156

Closed
wants to merge 3 commits into from

Conversation

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

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Aug 14, 2023

🔗 Helpful Links

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

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

❌ 68 New Failures, 2 Unrelated Failures

As of commit ce4f67b:

NEW FAILURES - The following jobs have failed:

FLAKY - The following job failed but was likely due to flakiness present on trunk:

UNSTABLE - The following job failed but was likely due to flakiness present on trunk and has been marked as unstable:

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

ezyang added a commit that referenced this pull request Aug 14, 2023
Signed-off-by: Edward Z. Yang <ezyangmeta.com>

ghstack-source-id: 20ccb8b5170763585e3a65d16a581169625fbdd9
Pull Request resolved: #107156
@albanD albanD removed their request for review August 14, 2023 18:38
Signed-off-by: Edward Z. Yang <ezyangmeta.com>

cc voznesenskym penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx ipiszy chenyang78 aakhundov

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

ghstack-source-id: e0ab2b4c20ea4a979b814a2fae7d398e6e67f833
Pull Request resolved: #107156
@ezyang ezyang changed the title WIP [WIP] Force KJT list inputs to be unbacked ints Aug 15, 2023
This is still missing a bunch of stuff

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

cc voznesenskym penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx ipiszy chenyang78 aakhundov

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

ghstack-source-id: c595dfc5fbe53b6f36f2be164a1ea4a2294ce437
Pull Request resolved: #107156
ezyang added a commit that referenced this pull request Aug 15, 2023
Signed-off-by: Edward Z. Yang <ezyangmeta.com>

ghstack-source-id: c595dfc5fbe53b6f36f2be164a1ea4a2294ce437
Pull Request resolved: #107156
ezyang added a commit that referenced this pull request Aug 16, 2023
Signed-off-by: Edward Z. Yang <ezyangmeta.com>

ghstack-source-id: c595dfc5fbe53b6f36f2be164a1ea4a2294ce437
Pull Request resolved: #107156
zhxchen17 added a commit that referenced this pull request Aug 16, 2023
This is extracted from #107156
to model KeyedKaggedTensor as a first class concept in dynamo. We will
add support for pytree later in the diff stack and test it with torchrec.

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:
zhxchen17 added a commit that referenced this pull request Aug 16, 2023
This is extracted from #107156
to model KeyedKaggedTensor as a first class concept in dynamo. We will
add support for pytree later in the diff stack and test it with torchrec.

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:
zhxchen17 added a commit that referenced this pull request Aug 17, 2023
This is extracted from #107156
to model KeyedKaggedTensor as a first class concept in dynamo. We will
add support for pytree later in the diff stack and test it with torchrec.

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:
zhxchen17 added a commit that referenced this pull request Aug 17, 2023
This is extracted from #107156
to model KeyedKaggedTensor as a first class concept in dynamo. We will
add support for pytree later in the diff stack and test it with torchrec.

Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:
pytorchmergebot pushed a commit that referenced this pull request Aug 18, 2023
This is extracted from #107156
to model KeyedKaggedTensor as a first class concept in dynamo.
Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Fixes #ISSUE_NUMBER

Pull Request resolved: #107319
Approved by: https://github.com/ezyang
value, int
):
wrapped_value = shape_env.create_unbacked_symint()
_constrain_range_for_size(wrapped_value)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we use constrain_as_size instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This fails with torch._dynamo.exc.InternalTorchDynamoError: tried to get Int out of SymInt

ezyang added a commit that referenced this pull request Aug 23, 2023
Signed-off-by: Edward Z. Yang <ezyangmeta.com>

ghstack-source-id: c595dfc5fbe53b6f36f2be164a1ea4a2294ce437
Pull Request resolved: #107156
@ezyang ezyang closed this Aug 23, 2023
@ezyang
Copy link
Contributor Author

ezyang commented Aug 23, 2023

updated PR at #107788

@facebook-github-bot facebook-github-bot deleted the gh/ezyang/2300/head branch September 23, 2023 14:22
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.

None yet

2 participants