Skip to content

Commit

Permalink
fix marks
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderDokuchaev committed Nov 16, 2023
1 parent 4f71bd2 commit f29ecf9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ install-models-hub-torch:


test-torch:
pytest ${COVERAGE_ARGS} tests/torch -m "not weekly and not nightly and not models_hub_test" --junitxml ${JUNITXML_PATH} $(DATA_ARG)
pytest ${COVERAGE_ARGS} tests/torch -m "not weekly and not nightly and not models_hub" --junitxml ${JUNITXML_PATH} $(DATA_ARG)

test-torch-nightly:
pytest ${COVERAGE_ARGS} tests/torch -m nightly --junitxml ${JUNITXML_PATH} $(DATA_ARG)
Expand Down
1 change: 1 addition & 0 deletions tests/torch/models_hub_test/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
from nncf.torch.model_creation import wrap_model


@pytest.mark.models_hub
class BaseTestModel(ABC):
@abstractmethod
def load_model(self, model_name: str):
Expand Down
1 change: 0 additions & 1 deletion tests/torch/models_hub_test/test_timm.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def get_all_models() -> list:
return filter_timm(m_list)


@pytest.mark.models_hub
class TestTimmModel(BaseTestModel):
def load_model(self, model_name: str):
m = timm.create_model(model_name, pretrained=False)
Expand Down

0 comments on commit f29ecf9

Please sign in to comment.