[misc][core] lazy import outlines (#7831)

This commit is contained in:
youkaichao
2024-08-24 00:51:38 -07:00
committed by GitHub
parent d81abefd2e
commit 7d9ffa2ae1
4 changed files with 64 additions and 7 deletions

View File

@@ -87,7 +87,8 @@ steps:
commands:
- pip install -e ./plugins/vllm_add_dummy_model
- pip install git+https://github.com/EleutherAI/lm-evaluation-harness.git@a4987bba6e9e9b3f22bd3a6c1ecf0abd04fd5622#egg=lm_eval[api]
- pytest -v -s entrypoints/llm
- pytest -v -s entrypoints/llm --ignore=entrypoints/llm/test_lazy_outlines.py
- pytest -v -s entrypoints/llm/test_lazy_outlines.py # it needs a clean process
- pytest -v -s entrypoints/openai
- label: Distributed Tests (4 GPUs) # 10min