Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,12 @@
loader.print_cls_results(co_out)


variants = [ModelVariant.MOBILENET_V1_075_192_HF, ModelVariant.MOBILENET_V1_100_224_HF]
variants = [
ModelVariant.MOBILENET_V1_075_192_HF,

Check warning

Code scanning / flake8

trailing whitespace Warning test

trailing whitespace
pytest.param(
ModelVariant.MOBILENET_V1_100_224_HF, marks=pytest.mark.my_check
),

Check failure

Code scanning / flake8

closing bracket does not match indentation of opening bracket's line Error test

closing bracket does not match indentation of opening bracket's line
]

Check failure

Code scanning / flake8

closing bracket does not match indentation of opening bracket's line Error test

closing bracket does not match indentation of opening bracket's line


@pytest.mark.nightly
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
variants_img_classification = [
ModelVariant.MIT_B0,
ModelVariant.MIT_B1,
ModelVariant.MIT_B2,
pytest.param(
ModelVariant.MIT_B2, marks=pytest.mark.my_check
),

Check failure

Code scanning / flake8

closing bracket does not match indentation of opening bracket's line Error test

closing bracket does not match indentation of opening bracket's line
ModelVariant.MIT_B3,
ModelVariant.MIT_B4,
ModelVariant.MIT_B5,
Expand Down
4 changes: 3 additions & 1 deletion forge/test/models/pytorch/vision/yolo/test_yolo_v10.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
from test.models.pytorch.vision.yolo.model_utils.yolo_utils import YoloWrapper

variants = [
ModelVariant.YOLOV10X,
pytest.param(
ModelVariant.YOLOV10X, marks=pytest.mark.my_check
),

Check failure

Code scanning / flake8

closing bracket does not match indentation of opening bracket's line Error test

closing bracket does not match indentation of opening bracket's line
ModelVariant.YOLOV10N,
]

Expand Down
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ markers =
run_in_pp: marks tests as run_in_pp # deprecated - tests that should run in push pipeline
skip_model_analysis: marks tests as skip_model_analysis
out_of_memory: marks tests as out_of_memory
my_check: testing specific cases

# Where pytest should look for tests
testpaths =
Expand Down
Loading