-
Notifications
You must be signed in to change notification settings - Fork 260
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
cannot import name 'ForkProcess' from 'multiprocessing.context' #60
Comments
@yhqqxq this needs gradio=4.12, which is updated in latest docker image. |
you run in windows system? |
@zhanchao019 it seems |
@itechmusic |
@yhqqxq before we add new app_windows.py, you can annotate |
Hi @xzqjack , thanks much for looking into this. In app.py , I found "@spaces.GPU(duration=180)" in line 39 and line 60. Please let me know if you want to me do the change. Sorry for ignorance, I am new in the world of diffusion. |
老版本好像是这个 |
hi @Gg811218 , thanks much for the shared code. Is it expected to solve the following issue :
I am still facing the issue after using the new code at Macbook. |
The latest main branch will report this error when starting. How to solve it?
Traceback (most recent call last):
File "G:\AI\ZHB\MuseV\scripts\gradio\app.py", line 7, in
import spaces
File "G:\AI\ZHB\MuseV\env\lib\site-packages\spaces_init_.py", line 10, in
from .zero.decorator import GPU
File "G:\AI\ZHB\MuseV\env\lib\site-packages\spaces\zero\decorator.py", line 21, in
from .wrappers import regular_function_wrapper
File "G:\AI\ZHB\MuseV\env\lib\site-packages\spaces\zero\wrappers.py", line 14, in
from multiprocessing.context import ForkProcess
ImportError: cannot import name 'ForkProcess' from 'multiprocessing.context' (G:\AI\ZHB\MuseV\env\lib\multiprocessing\context.py)
The text was updated successfully, but these errors were encountered: