-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathpytest.ini
More file actions
44 lines (37 loc) · 1.9 KB
/
Copy pathpytest.ini
File metadata and controls
44 lines (37 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[pytest]
pythonpath = tests extras/tests extras/python
testpaths = tests extras/tests
python_files = test_*.py
markers =
ci : mandatory tests to pass CI
full_ci : extended tests to pass CI
fpga_ci : mandatory FPGA tests to pass CI
astra_machina_sl_ci: mandatory Astra Machina SL tests to pass CI
alternative_engines : Engines tests used to compare performance against Torq
add_mul_sub : Keras Add/Multiply/Subtract operation tests
conv : Keras Conv2D operation tests
conv_transpose : Keras Conv2DTranspose operation tests
depthwise : Keras DepthwiseConv2D operation tests
fc : Keras Dense (Fully Connected) operation tests
mean : Keras Mean/ReduceMean operation tests
pointwise : Keras pointwise operation tests
pooling : Keras Pooling operation tests
activation : Keras activation function tests (Sigmoid/Tanh/ReLU)
softmax : Keras Softmax operation tests
transpose : Keras Transpose operation tests
int8 : Tests using int8 quantization
int16 : Tests using int16 quantization
xfail_known : Known failing tests (expected to fail, won't break CI)
tflite_layer_test: Tests derived from TFlite input models
layer: Tests for a single layer extracted from a larger model
full_model: Tests for a full model in test modules that split tests by layer
conv_sweep: Opt-in parametric convolution geometry sweep (heavy; excluded by default, run with -m conv_sweep)
# Timeout configuration (requires pytest-timeout: pip install pytest-timeout)
# Uncomment to enable automatic timeout for all tests (default: 300 seconds = 5 minutes)
# timeout = 20
# timeout_method = thread
# Uncomment to enable parallel execution by default (requires pytest-xdist)
# addopts = -p torq.testing -n auto
# conv_sweep is opt-in and heavy: excluded by default; run it with `-m conv_sweep`
# (an explicit `-m` on the command line overrides this default).
addopts = -p torq.testing -m "not conv_sweep"