Skip to content

[CI] Set test dependency on "transformers" package with pytest.importorskip#12528

Merged
lhutton1 merged 1 commit intoapache:mainfrom
leandron:transformers_skip
Aug 22, 2022
Merged

[CI] Set test dependency on "transformers" package with pytest.importorskip#12528
lhutton1 merged 1 commit intoapache:mainfrom
leandron:transformers_skip

Conversation

@leandron
Copy link
Copy Markdown
Contributor

@leandron leandron commented Aug 22, 2022

test_meta_schedule_integration_extract_from_bert_base depends on the transformers package, which is not currently installed in our Docker images.

When running this test currently, it fails with an ImportError. This patch makes this dependency explicit and will make the test to be skipped when the dependency is not installed.

test_meta_schedule_integration_extract_from_bert_base is part of the integration tests, which is currently only running on AArch64 and CPU image (both not at the moment with torch installed in the live CI system), so this is another issue to be understood/fixed.

cc @Mousius @NicolaLancellotti @areusch @ashutosh-arm @driazati @gigiblender

…orskip

test_meta_schedule_integration_extract_from_bert_base depends on
the "transformers" package, which is not currently installed in
our Docker images.

When running this test currently, it fails with an ImportError.
This patch makes this dependency explicit and will make the test
to be skipped when the dependency is not installed.

test_meta_schedule_integration_extract_from_bert_base is part of
the integration tests, which is currently only running on AArch64
and CPU image (both not at the moment with torch installed in the
live CI system), so this is another issue to be understood/fixed.

Change-Id: I564cf8f40f5b2e970e5888829bcfb21a294e0570
Copy link
Copy Markdown
Contributor

@NicolaLancellotti NicolaLancellotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Copy Markdown
Contributor

@lhutton1 lhutton1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@lhutton1 lhutton1 merged commit 3896756 into apache:main Aug 22, 2022
@lhutton1
Copy link
Copy Markdown
Contributor

Thanks @leandron, @NicolaLancellotti!

xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
…orskip (apache#12528)

`test_meta_schedule_integration_extract_from_bert_base` depends on the `transformers` package, which is not currently installed in our Docker images.

When running this test currently, it fails with an ImportError. This patch makes this dependency explicit and will make the test to be skipped when the dependency is not installed.

`test_meta_schedule_integration_extract_from_bert_base` is part of the integration tests, which is currently only running on AArch64 and CPU image (both not at the moment with torch installed in the live CI system), so this is another issue to be understood/fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants