Skip to content
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

timeout crash after add a long table with # #24

Open
navr32 opened this issue Jan 11, 2025 · 0 comments
Open

timeout crash after add a long table with # #24

navr32 opened this issue Jan 11, 2025 · 0 comments

Comments

@navr32
Copy link

navr32 commented Jan 11, 2025

I just come to done some new test.
I have add data in the index with the # and past the data..the table is 8 columns 1800 lines size in csv text style.
The rag says the data have been indexed but when i try to do a retrieval with cg:
this come :


_queue.Empty:
Traceback:
File "/home/test/aidev/neuml_rag/rag/rag.py", line 702, in <module>
    app.run()
File "/home/test/aidev/neuml_rag/rag/rag.py", line 669, in run
    response = st.write_stream(response)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/test/aidev/neuml_rag/neuml_virt/lib/python3.12/site-packages/streamlit/runtime/metrics_util.py", line 409, in wrapped_func
    result = non_optional_func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/test/aidev/neuml_rag/neuml_virt/lib/python3.12/site-packages/streamlit/elements/write.py", line 187, in write_stream
    for chunk in stream:  # type: ignore
                 ^^^^^^
File "/home/test/aidev/neuml_rag/neuml_virt/lib/python3.12/site-packages/txtai/pipeline/llm/huggingface.py", line 29, in stream
    yield from self.llm(texts, maxlength=maxlength, stream=stream, stop=stop, **kwargs)
File "/home/test/aidev/neuml_rag/neuml_virt/lib/python3.12/site-packages/txtai/pipeline/llm/huggingface.py", line 209, in __iter__
    yield from self.stream
File "/home/test/aidev/neuml_rag/neuml_virt/lib/python3.12/site-packages/transformers/generation/streamers.py", line 223, in __next__
    value = self.text_queue.get(timeout=self.timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/queue.py", line 179, in get
    raise Empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant