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

Apply static policy correctly to unspec #98983

Closed
wants to merge 29 commits into from

Conversation

voznesenskym
Copy link
Contributor

@voznesenskym voznesenskym commented Apr 12, 2023

@pytorch-bot
Copy link

pytorch-bot bot commented Apr 12, 2023

🔗 Helpful Links

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

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

✅ No Failures

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

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

voznesenskym added a commit that referenced this pull request Apr 12, 2023
ghstack-source-id: 131c0c438720e7ced970d81f80f6d392e490860a
Pull Request resolved: #98983
@ezyang ezyang changed the title Apply static policy correctly to unpsec and _base Apply static policy correctly to unspec and _base Apr 12, 2023
shape_env,
callback,
source=AttrSource(source, "_base"),
dynamic_dims=[DimDynamic.STATIC] * t._base.dim(),
Copy link
Contributor

Choose a reason for hiding this comment

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

Worth a comment here about it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

torch/_dynamo/variables/builder.py Show resolved Hide resolved
@albanD albanD removed their request for review April 12, 2023 23:08
@voznesenskym
Copy link
Contributor Author

CI said no lol, time to look bleh, I bet it's shape_env is None when we are passing some dims in as dynamic static.

cc soumith penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
voznesenskym added a commit that referenced this pull request Apr 13, 2023
ghstack-source-id: 90862f38b31dd7c7cd6113c666191c522e232a30
Pull Request resolved: #98983

Logic for absent shape_env
cc soumith penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
voznesenskym added a commit that referenced this pull request Apr 14, 2023
ghstack-source-id: 8c5c146295ce46a59780db336d8b68e1b8ba1b92
Pull Request resolved: #98983

Logic for absent shape_env

Small test blips
cc soumith penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
voznesenskym added a commit that referenced this pull request Apr 14, 2023
ghstack-source-id: fd947d76d628e1b34fd53855cfcbeda822c915fe
Pull Request resolved: #98983

Logic for absent shape_env

Small test blips

Fixes

Fixes
cc soumith penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
voznesenskym added a commit that referenced this pull request Apr 14, 2023
ghstack-source-id: 5f5744506ec6c410387cd0a9d5343cf32a744da6
Pull Request resolved: #98983

Logic for absent shape_env

Small test blips

Fixes

Fixes

Fix test
cc soumith penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
voznesenskym added a commit that referenced this pull request Apr 14, 2023
ghstack-source-id: 1c0b70def0087597cb98c821f67eb6880d2a0865
Pull Request resolved: #98983

Logic for absent shape_env

Small test blips

Fixes

Fixes

Fix test

ugh
@ezyang
Copy link
Contributor

ezyang commented Apr 14, 2023

CI just looks like frame counts wobbling.

cc soumith penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
voznesenskym added a commit that referenced this pull request Apr 26, 2023
ghstack-source-id: eb4ab55f61c16031e5a732f66e744ce3bd69870b
Pull Request resolved: #98983

Logic for absent shape_env

Small test blips

Fixes

Fixes

Fix test

ugh

test first

Cleaner
cc soumith penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
voznesenskym added a commit that referenced this pull request Apr 26, 2023
ghstack-source-id: 46cab563512141c3cb0cb2f4e34e04672cccae5c
Pull Request resolved: #98983

Logic for absent shape_env

Small test blips

Fixes

Fixes

Fix test

ugh

test first

Cleaner
cc soumith penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
cc soumith penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
cc soumith penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
voznesenskym added a commit that referenced this pull request Apr 30, 2023
ghstack-source-id: c466868d0b39d1eea57fa33d19495cab91361639
Pull Request resolved: #98983

Logic for absent shape_env

Small test blips

Fixes

Fixes

Fix test

ugh

test first

Cleaner
cc soumith penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
voznesenskym added a commit that referenced this pull request May 1, 2023
ghstack-source-id: 2568cc1e4a85abc9673cf01d73d0a648ffb552a2
Pull Request resolved: #98983

Logic for absent shape_env

Small test blips

Fixes

Fixes

Fix test

ugh

test first

Cleaner
cc soumith penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
@ezyang
Copy link
Contributor

ezyang commented May 9, 2023

@pytorchbot merge

ezyang added a commit that referenced this pull request May 9, 2023
ghstack-source-id: 6b2f09368ca9ed9d87e7ff608ea1674213de7721
Pull Request resolved: #98983

Logic for absent shape_env

Small test blips

Fixes

Fixes

Fix test

ugh

test first

Cleaner
@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label May 9, 2023
@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
Copy link
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: .github/workflows/trunk.yml / macos-12-py3-arm64 / test (default, 2, 3, macos-m1-12)

Details for Dev Infra team Raised by workflow job

cc soumith penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire

[ghstack-poisoned]
@ezyang
Copy link
Contributor

ezyang commented May 10, 2023

@pytorchbot merge

ezyang added a commit that referenced this pull request May 10, 2023
ghstack-source-id: 460d1a8bf7dee25e9524d759d8eda42a64f03a9f
Pull Request resolved: #98983

Logic for absent shape_env

Small test blips

Fixes

Fixes

Fix test

ugh

test first

Cleaner
@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

@facebook-github-bot facebook-github-bot deleted the gh/voznesenskym/97/head branch June 8, 2023 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request Merged module: dynamo release notes: fx release notes category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants