Skip to content

[Test] Add tests that no imports have been added that are not a hard dependency #2356

@patrickvonplaten

Description

@patrickvonplaten

As seen in this PR: #2193 our tests can all pass even if dependencies are added to PRs that are no hard dependencies. The reason for this is that we use torchvision for example testing and thus have it in our docker container, but it's not a hard dependency and therefore at least one test should fail.

=> We should add a new test that verifies this.

Just putting up this issue as a reminder cc @williamberman @patil-suraj @pcuenca

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions