-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Remove dynamo suported check for Windows. #111313
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
Remove dynamo suported check for Windows. #111313
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/111313
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 0689a86 with merge base 8da2f81 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Oh this is a good point. I think it mostly reflects that Triton does not work on Windows. We should move the check to the Inductor backend and not put it at the top level for Dynamo. |
Added the check to the inductor backend. I imagine that there are also some tests that can have their Windows excludes removed with this? (took a quick look and it seems reasonable as-is) |
@pytorchbot label "topic: not user facing" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like lints are failing, you should be able to fix with:
make setup_lint
lintrunner -a
Thanks. Applied the lint patch. |
@pytorchbot rebase |
@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here |
Successfully rebased |
b4305b4
to
5129d40
Compare
@pytorchbot merge |
Merge startedYour 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 |
Merge failedReason: 1 jobs have failed, first few of them are: trunk / win-vs2019-cpu-py3 / test (default, 2, 3, windows.4xlarge.nonephemeral) Details for Dev Infra teamRaised by workflow job |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stellaraccident the test failure above looks real
Thanks - can add it to my list to triage. Does anyone know how to trigger these specific tests on presubmit? |
Here is a gist of the output logs https://gist.github.com/nirvedhmeshram/69e1f8499e3c2a8341563df7e4ae6182 |
Can you run the the following code and share the output?
|
looks ok to me
|
@nirvedhmeshram This is weird, as we already put it in the force inline list: And it works well on other platform, not sure why it was wrapped as |
Its because of many places using "/" as seperator in file paths while windows need a different seperator so indeed the kind of fixes done here https://github.com/pytorch/pytorch/pull/109677/files are passing the tests for me. I need to apply the fixes properly and then will push up the fix, hopefully in a few hours. |
That makes sense, but I'm curious why our CI doesn't capture this, since the skip/inline rules are used everywhere. |
I think this is dynamo specific (at least the changes I am making are all in /torch/_dynamo) and dynamo was disabled on windows so it never hit these issues. |
1da4a3f
to
e2513fd
Compare
We've had developers using Dynamo via torch.compile and torch._dynamo.export for months on Windows via SHARK (by just deleting these lines locally). I expect this reflects that some backends do not support Windows yet? If so, could the check be moved to those backends vs blocking all use?
…d which we have disabled
ec13655
to
ee4dd33
Compare
I had to disable |
Rebase of #111313 onto `main`, for CI validation Co-authored-by: Stella Laurenzo <stellaraccident@gmail.com> Pull Request resolved: #115969 Approved by: https://github.com/ezyang
Looking at the CI failure here,
can these decorators simply be added as suggested, or is there more to this failure that isn't being addressed in the logs? |
Closing because we think that #115969 addresses this. |
Rebase of #111313 onto `main`, for CI validation Co-authored-by: Stella Laurenzo <stellaraccident@gmail.com> Pull Request resolved: #115969 Approved by: https://github.com/ezyang
Rebase of #111313 onto `main`, for CI validation Co-authored-by: Stella Laurenzo <stellaraccident@gmail.com> Pull Request resolved: #115969 Approved by: https://github.com/PaliC, https://github.com/thiagocrepaldi
We've had developers using Dynamo via torch.compile and torch._dynamo.export for months on Windows via SHARK (by just deleting these lines locally). The Windows check is moved to just the inductor backend, since it is based on Triton not supporting Windows.
Progress on #90768
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @chenyang78 @aakhundov @kadeng