mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-03-14 18:37:23 +00:00
28 lines
602 B
INI
28 lines
602 B
INI
[pytest]
|
|
# Test paths
|
|
testpaths = test/per_commit
|
|
|
|
# File and function naming conventions
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
|
|
# Markers for hardware backends
|
|
markers =
|
|
cpu: CPU backend tests (Intel AMX/AVX512/AVX2)
|
|
cuda: CUDA backend tests (NVIDIA GPUs)
|
|
amd: AMD backend tests (ROCm)
|
|
slow: Slow-running tests (>60 seconds)
|
|
requires_model: Tests requiring model files
|
|
|
|
# Output options
|
|
addopts =
|
|
-v
|
|
--tb=short
|
|
--strict-markers
|
|
|
|
# Filter warnings
|
|
filterwarnings =
|
|
ignore::DeprecationWarning
|
|
ignore::PendingDeprecationWarning
|