HKUDS / LightRAG

"LightRAG: Simple and Fast Retrieval-Augmented Generation"
https://arxiv.org/abs/2410.05779
MIT License
9.28k stars 1.14k forks source link

Lots of RuntimeError: Event loop is closed #209

Open XenonAesir opened 2 weeks ago

XenonAesir commented 2 weeks ago

Running lightrag_ollama_demo.py with gemma:2b orlightrag_openai_compatible_demo.py with qwen2.5-3b-instruct wil cast a lot of this:

Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000024507A5AB90>
Traceback (most recent call last):
  File "C:\Environment\anaconda3\envs\lightrag\lib\asyncio\proactor_events.py", line 116, in __del__
    self.close()
  File "C:\Environment\anaconda3\envs\lightrag\lib\asyncio\proactor_events.py", line 108, in close
    self._loop.call_soon(self._call_connection_lost, None)
  File "C:\Environment\anaconda3\envs\lightrag\lib\asyncio\base_events.py", line 745, in call_soon
    self._check_closed()
  File "C:\Environment\anaconda3\envs\lightrag\lib\asyncio\base_events.py", line 510, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

And some type of outputs will disappear, such as "global", "hybrid"

moonmoonbird811 commented 1 week ago

hi buddy, have you solved your issue?