mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-04-28 11:49:51 +00:00
Some checks failed
Book-CI / test (push) Has been cancelled
Book-CI / test-1 (push) Has been cancelled
Book-CI / test-2 (push) Has been cancelled
Deploy / deploy (macos-latest) (push) Has been cancelled
Deploy / deploy (ubuntu-latest) (push) Has been cancelled
Deploy / deploy (windows-latest) (push) Has been cancelled
27 lines
602 B
INI
27 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
|