### What this PR does / why we need it?
This patch enables the doc build for vllm-ascend
- Add sphinx build for vllm-ascend
- Enable readthedocs for vllm-ascend
- Fix CI:
- exclude vllm-empty/tests/mistral_tool_use to skip `You need to agree
to share your contact information to access this model` which introduce
in
314cfade02
- Install test req to fix
https://github.com/vllm-project/vllm-ascend/actions/runs/13304112758/job/37151690770:
```
vllm-empty/tests/mistral_tool_use/conftest.py:4: in <module>
import pytest_asyncio
E ModuleNotFoundError: No module named 'pytest_asyncio'
```
- exclude docs PR
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
1. test locally:
```bash
# Install dependencies.
pip install -r requirements-docs.txt
# Build the docs and preview
make clean; make html; python -m http.server -d build/html/
```
Launch browser and open http://localhost:8000/.
2. CI passed with preview:
https://vllm-ascend--55.org.readthedocs.build/en/55/
Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
54 lines
1.7 KiB
INI
54 lines
1.7 KiB
INI
[pytest]
|
|
minversion = 6.0
|
|
norecursedirs =
|
|
vllm-empty/tests/prefix_caching
|
|
vllm-empty/tests/weight_loading
|
|
vllm-empty/tests/samplers
|
|
vllm-empty/tests/kernels
|
|
vllm-empty/tests/quantization
|
|
vllm-empty/tests/tool_use
|
|
vllm-empty/tests/runai_model_streamer
|
|
vllm-empty/tests/kv_transfer
|
|
vllm-empty/tests/plugins
|
|
vllm-empty/tests/plugins_tests
|
|
vllm-empty/tests/prompt_adapter
|
|
vllm-empty/tests/compile
|
|
vllm-empty/tests/lora
|
|
vllm-empty/tests/models
|
|
vllm-empty/tests/mistral_tool_use
|
|
vllm-empty/tests/multimodal
|
|
vllm-empty/tests/standalone_tests
|
|
vllm-empty/tests/async_engine
|
|
vllm-empty/tests/mq_llm_engine
|
|
vllm-empty/tests/tokenization
|
|
vllm-empty/tests/core
|
|
vllm-empty/tests/tracing
|
|
vllm-empty/tests/engine
|
|
vllm-empty/tests/tensorizer_loader
|
|
vllm-empty/tests/entrypoints
|
|
vllm-empty/tests/model_executor
|
|
vllm-empty/tests/encoder_decoder
|
|
vllm-empty/tests/v1
|
|
vllm-empty/tests/spec_decode
|
|
vllm-empty/tests/multi_step
|
|
vllm-empty/tests/vllm_test_utils
|
|
vllm-empty/tests/tpu
|
|
vllm-empty/tests/distributed
|
|
vllm-empty/tests/basic_correctness
|
|
vllm-empty/tests/worker
|
|
vllm-empty/tests/metrics
|
|
vllm-empty/tests/neuron
|
|
|
|
addopts = --ignore=vllm-empty/tests/test_utils.py
|
|
--ignore=vllm-empty/tests/test_config.py
|
|
--ignore=vllm-empty/tests/test_scalartype.py
|
|
--ignore=vllm-empty/tests/test_embedded_commit.py
|
|
--ignore=vllm-empty/tests/test_inputs.py
|
|
--ignore=vllm-empty/tests/test_sharded_state_loader.py
|
|
--ignore=vllm-empty/tests/test_logger.py
|
|
--ignore=vllm-empty/tests/test_logits_processor.py
|
|
--ignore=vllm-empty/tests/test_regression.py
|
|
|
|
testpaths =
|
|
vllm-empty/tests
|