This is the output:
(attendance-system-py3.10) ┌<▸> ~/g/a/rag └➤ poetry run python advanced_rag_ray.py 2025-02-04 11:02:35,959 INFO worker.py:1841 -- Started a local Ray instance.
🤖 Asistente de Seguridad Cibernética
Escribe 'salir', 'exit' o 'quit' para terminar
(raylet) A worker died or was killed while executing a task by an unexpected system error. To troubleshoot the problem, check the logs for the dead worker. RayTask ID: 2619baf9b75c6e648f726a4ebfb320b0a83b372001000000 Worker ID: 66f4e86c35d5fbf096f8cbe78357879d8517c18e72061ad04ca034ce Node ID: 6935bd66fa68e8ea3ebaab22b63814ace85acd35d33c2de61dbe0a42 Worker IP address: 127.0.0.1 Worker port: 50016 Worker PID: 2335 Worker exit type: SYSTEM_ERROR Worker exit detail: The leased worker has unrecoverable failure. Worker is requested to be destroyed when it is returned. Worker exits with an exit code 1. (setup_rag pid=2335) (setup_rag pid=2335) [red]Error durante la configuración inicial:[/red] (setup_rag pid=2335) ray::create_vectorstore() (pid=2337, ip=127.0.0.1) (setup_rag pid=2335) File "/Users/aironman/Library/Caches/pypoetry/virtualenvs/attendance-system-SYPtwedO-py3.10/lib/python3.10/site-packages/ray/cloudpickle/cloudpickle.py", line 1479, in dumps (setup_rag pid=2335) cp.dump(obj) (setup_rag pid=2335) File "/Users/aironman/Library/Caches/pypoetry/virtualenvs/attendance-system-SYPtwedO-py3.10/lib/python3.10/site-packages/ray/cloudpickle/cloudpickle.py", line 1245, in dump (setup_rag pid=2335) return super().dump(obj) (setup_rag pid=2335) TypeError: cannot pickle '_thread.RLock' object (setup_rag pid=2337) (setup_rag pid=2337) ray::create_vectorstore() (pid=2333, ip=127.0.0.1) (setup_rag pid=2333) (setup_rag pid=2333) ray::create_vectorstore() (pid=2334, ip=127.0.0.1)
Error inicial: The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information. (raylet) A worker died or was killed while executing a task by an unexpected system error. To troubleshoot the problem, check the logs for the dead worker. RayTask ID: 0b2734bc6c745e0cfaec1fa0d041a67168aa411201000000 Worker ID: 9dec5fe838c6aaf19809054c3b8fded9785bd1ca9400f9f8eaad9e2b Node ID: 6935bd66fa68e8ea3ebaab22b63814ace85acd35d33c2de61dbe0a42 Worker IP address: 127.0.0.1 Worker port: 50033 Worker PID: 2334 Worker exit type: SYSTEM_ERROR Worker exit detail: The leased worker has unrecoverable failure. Worker is requested to be destroyed when it is returned. Worker exits with an exit code 1. [repeated 3x across cluster] (Ray deduplicates logs by default. Set RAY_DEDUP_LOGS=0 to disable log deduplication, or see https://docs.ray.io/en/master/ray-observability/user-guides/configure-logging.html#log-deduplication for more options.) (setup_rag pid=2333) [red]Error durante la configuración inicial:[/red] [repeated 2x across cluster] (setup_rag pid=2333) File "/Users/aironman/Library/Caches/pypoetry/virtualenvs/attendance-system-SYPtwedO-py3.10/lib/python3.10/site-packages/ray/cloudpickle/cloudpickle.py", line 1479, in dumps [repeated 2x across cluster] (setup_rag pid=2333) cp.dump(obj) [repeated 2x across cluster] (setup_rag pid=2333) File "/Users/aironman/Library/Caches/pypoetry/virtualenvs/attendance-system-SYPtwedO-py3.10/lib/python3.10/site-packages/ray/cloudpickle/cloudpickle.py", line 1245, in dump [repeated 2x across cluster] (setup_rag pid=2333) return super().dump(obj) [repeated 2x across cluster] (setup_rag pid=2333) TypeError: cannot pickle '_thread.RLock' object [repeated 2x across cluster] (setup_rag pid=2334) (setup_rag pid=2334) ray::create_vectorstore() (pid=2332, ip=127.0.0.1) (setup_rag pid=2334) [red]Error durante la configuración inicial:[/red] (setup_rag pid=2334) File "/Users/aironman/Library/Caches/pypoetry/virtualenvs/attendance-system-SYPtwedO-py3.10/lib/python3.10/site-packages/ray/cloudpickle/cloudpickle.py", line 1479, in dumps (setup_rag pid=2334) cp.dump(obj) (setup_rag pid=2334) File "/Users/aironman/Library/Caches/pypoetry/virtualenvs/attendance-system-SYPtwedO-py3.10/lib/python3.10/site-packages/ray/cloudpickle/cloudpickle.py", line 1245, in dump (setup_rag pid=2334) return super().dump(obj) (setup_rag pid=2334) TypeError: cannot pickle '_thread.RLock' object (attendance-system-py3.10) ┌<▪> ~/g/a/rag └➤