You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attach a Lightning Studio which is fully reproducible (code, dependencies, environment, etc...) to reproduce this: NA - I cannot reproduce this because it's specific to windows environment.
Previous code leads to this error :
Swagger UI is available at http://0.0.0.0:8000/docs
INFO: Started server process [3324]
INFO: Started server process [3324]
INFO: Waiting for application startup.
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Application startup complete.
Accept failed on a socket
socket: <asyncio.TransportSocket fd=964, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 8000)>
Traceback (most recent call last):
File "c:\Users\F296849\AppData\Local\miniforge3\envs\iris2_win\lib\asyncio\proactor_events.py", line 841, in loop
f = self._proactor.accept(sock)
File "c:\Users\F296849\AppData\Local\miniforge3\envs\iris2_win\lib\asyncio\windows_events.py", line 563, in accept
self._register_with_iocp(listener)
File "c:\Users\F296849\AppData\Local\miniforge3\envs\iris2_win\lib\asyncio\windows_events.py", line 732, in _register_with_iocp
_overlapped.CreateIoCompletionPort(obj.fileno(), self._iocp, 0, 0)
OSError: [WinError 87] Paramètre incorrect
Task exception was never retrieved
future: <Task finished name='Task-7' coro=<IocpProactor.accept.<locals>.accept_coro() done, defined at c:\Users\F296849\AppData\Local\miniforge3\envs\iris2_win\lib\asyncio\windows_events.py:577> exception=OSError(22, 'L’opération d’entrée/sortie a été abandonnée en raison de l’arrêt d’un thread ou à la demande d’une application', None, 995, None)>
Traceback (most recent call last):
File "c:\Users\F296849\AppData\Local\miniforge3\envs\iris2_win\lib\asyncio\windows_events.py", line 580, in accept_coro
await future
OSError: [WinError 995] L’opération d’entrée/sortie a été abandonnée en raison de l’arrêt d’un thread ou à la demande d’une application
Expected behavior
I expect the server to run correctly on windows.
Environment
OS (e.g., Linux): Windows
How you installed PyTorch (conda, pip, source): conda
🐛 Bug
When we create a server with multiple worker on windows, there is an OSError.
To Reproduce
On windows, run the following server :
Attach a Lightning Studio which is fully reproducible (code, dependencies, environment, etc...) to reproduce this: NA - I cannot reproduce this because it's specific to windows environment.
Previous code leads to this error :
Expected behavior
I expect the server to run correctly on windows.
Environment
conda
,pip
, source): condaThe text was updated successfully, but these errors were encountered: