8000 Remove dynamo suported check for Windows. by stellaraccident · Pull Request #111313 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

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

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rebase
  • Loading branch information
nirvedhmeshram committed Feb 8, 2024
commit a957bb9fb06c3ba223a8b3389665cd9821f70ba0
4 changes: 4 additions & 0 deletions torch/_dynamo/backends/inductor.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# mypy: ignore-errors

import sys
from torch._dynamo import register_backend


@register_backend
def inductor(*args, **kwargs):
if sys.platform == "win32":
raise RuntimeError("Windows not yet supported for inductor")

# do import here to avoid loading inductor into memory when it is not used
from torch._inductor.compile_fx import compile_fx

Expand Down
0