Skip to content

timeout crash after add a long table with # #24

Description

@navr32

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions