-
Notifications
You must be signed in to change notification settings - Fork 125
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
Windows not supported? #32
Comments
"from multiprocessing.context import ForkProcess" this line of code doesn't seem to be in our repo. Can you provide a more detailed error message? Our model also supports running on Windows, and this error looks like an issue with your Python environment. |
Here is the complete output when I run
To help replicate the issue I created a batch file to do the install clean and create its own venv. Run this install.bat from any empty directory to do the install. Triton is removed as it does not work with Windows.
And this batch file run.bat to run it once installed.
|
I modified the code, you can try it now |
OK, that got past the ForkProcess error. It now gives this error at startup as rm is not a Windows command.
It does still start the UI after that though.
|
If you are running on Windows, you can try changing “rm ”to “del” |
Yes, running on Windows. Once that change is made and the UI is launched, clicking the examples still gives these errors...
|
The reason for this fix request is that is that users have requested that I added support for MagicTime into Visions of Chaos. I can automate the install, but having you edit your code to support windows (with the rm vs del) would make things easier, and allow MagicTime to be installed easily on any Windows PC. I could just auto-edit the code for del when the user finishes the install, but it would be good to have a fix for the examples failing when clicked. Thanks if you could have a look and fix that. |
thanks for your interest. You can try changing os.system(f"rm -rf gradio_cached_examples/") to os.system(f"rmdir /s /q gradio_cached_examples"), and keep the other codes unchanged. Theoretically, it can be adapted to Windows after modification. |
OK, we may have some language issues. Also, the examples fail. Click any of the lower examples in the gradio GUI and you get the errors I posted above. |
I don’t have a Windows machine with a GPU to debug right now, so I may need to fix this later. |
OK, I won;t bother with it for now then. |
Thank you for your understanding and attention, I will definitely fix this problem
…________________________________
发件人: SoftologyPro ***@***.***>
发送时间: 2024年7月5日 10:43
收件人: PKU-YuanGroup/MagicTime ***@***.***>
抄送: Shenghai Yuan ***@***.***>; Comment ***@***.***>
主题: Re: [PKU-YuanGroup/MagicTime] Windows not supported? (Issue #32)
OK, I won;t bother with it for now then.
If you do make the change (and fix the other bug) in the future let me know and I will add it to Visions of Chaos for Windows users.
―
Reply to this email directly, view it on GitHub<#32 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BBTMABSBL5VHLVEYQ3U7GGTZKYB37AVCNFSM6AAAAABIX3QK36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBZHA4TKMBUGU>.
You are receiving this because you commented.Message ID: ***@***.***>
|
ForkProcess only on Unix? Any chance you can patch it for Windows compatibility too?
The text was updated successfully, but these errors were encountered: