Remove dynamo suported check for Windows.#111313
Remove dynamo suported check for Windows.#111313stellaraccident wants to merge 14 commits intopytorch:mainfrom
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" |
jansel
left a comment
There was a problem hiding this comment.
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 |
jansel
left a comment
There was a problem hiding this comment.
@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 <[email protected]> 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 <[email protected]> Pull Request resolved: #115969 Approved by: https://github.com/ezyang
Rebase of #111313 onto `main`, for CI validation Co-authored-by: Stella Laurenzo <[email protected]> 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