- compute_nodes() 的 current_running_jobs 纳入运行中的评测任务(eval_tasks) 与已加载的推理模型(compare_tasks 持久化状态 + 内存标记兜底), 多节点时 GPU 被评测/推理占用不再显示 0/1 - gpus() 直接按 eval_tasks / compare_tasks 派生 GPU busy/reserved 状态, 修复 gpu_id=0 时 or -1 导致匹配失败;删除评测后 GPU 不再残留 busy - 评测不再复用 mark_inference_loaded 内存标记,GPU 占用由任务数据驱动 - requirements.txt 补充 pytest / ruff(此前仅声明在 pyproject dev 可选依赖) Co-Authored-By: Claude <noreply@anthropic.com>
26 lines
472 B
Plaintext
26 lines
472 B
Plaintext
fastapi>=0.111.0
|
|
uvicorn[standard]>=0.30.0
|
|
python-multipart>=0.0.9
|
|
pydantic>=2.7.0
|
|
sqlalchemy>=2.0.30
|
|
psycopg[binary]>=3.2.1
|
|
psycopg-pool>=3.2.1
|
|
alembic>=1.13.1
|
|
redis>=5.0.4
|
|
httpx>=0.27.0
|
|
PyJWT>=2.8.0
|
|
passlib[bcrypt]>=1.7.4
|
|
python-dotenv>=1.0.1
|
|
pypdf[crypto]>=5.0.0
|
|
python-docx>=1.1.2
|
|
openpyxl>=3.1.5
|
|
python-pptx>=1.0.2
|
|
llama-index-core==0.14.23
|
|
llama-index-embeddings-huggingface==0.6.1
|
|
docling==2.115.0
|
|
tiktoken>=0.7.0
|
|
|
|
# 测试与代码检查
|
|
pytest>=8.2.0
|
|
ruff>=0.5.0
|