Skip to content

[BUG] Took too long to update 1MB file #5400

@jason95054

Description

@jason95054
  1. Select "文件对话"
  2. "上传知识文件"
  3. Select a 1MB Excel xls file
  4. Click "开始上传"

It would take 25 minutes to update such a file.
After using cProfile, it was found "{method 'acquire' of '_thread.lock' objects}" used 1594.980 seconds.

环境信息 / Environment Information

  • Langchain-Chatchat 版本 :0.3.1
  • 使用的 LLM 模型:DeepSeek-R1-Distill-Qwen-1.5B
  • 使用的 Embedding 模型: bge-large-zh-v1.5
  • 使用的向量库类型 : faiss
  • 操作系统及版本 / Operating system and version: Ubuntu 24.04
  • Python 版本 / Python version: 3.9
  • 推理使用的硬件: GPU

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions