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

amg _ example.py #106

Open
yang606 opened this issue Dec 15, 2023 · 6 comments
Open

amg _ example.py #106

yang606 opened this issue Dec 15, 2023 · 6 comments

Comments

@yang606
Copy link

yang606 commented Dec 15, 2023

Why is it that when I run amg _ example.py, the result shows RuntimeError : Windows not yet supported for torch.compile?Can it run on the Ubuntu system ?

@cpuhrsch
Copy link
Contributor

Hello @yang606, yes it should work on Ubuntu.

@yang606
Copy link
Author

yang606 commented Dec 15, 2023

So why do I run amg _ example.py and the results show that RuntimeError : Windows not still support for torch.compile ?

@cpuhrsch
Copy link
Contributor

@yang606 - It looks like PyTorch thinks you're trying to run it on Windows. Are you running on the linux subsystem for Windows or somesuch?

@yang606
Copy link
Author

yang606 commented Jan 18, 2024

@yang606 - It looks like PyTorch thinks you're trying to run it on Windows. Are you running on the linux subsystem for Windows or somesuch?

No, I 'm running on Windows11. Thank you for your reply !

@cpuhrsch
Copy link
Contributor

@yang606 - For now we don't have support for torch.compile on Windows (with the default compiler backend), but you could try running on Ubuntu or without torch.compile (but it'll be slower). Sorry for the inconvenience. See https://discuss.pytorch.org/t/windows-support-timeline-for-torch-compile/182268 for more details.

@yang606
Copy link
Author

yang606 commented Jan 18, 2024

@yang606 - For now we don't have support for torch.compile on Windows (with the default compiler backend), but you could try running on Ubuntu or without torch.compile (but it'll be slower). Sorry for the inconvenience. See https://discuss.pytorch.org/t/windows-support-timeline-for-torch-compile/182268 for more details.

Okay. Thank you very much for your suggestion !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants