pytorch / pytorch/vision

MKL warning on Python 3.10 unittest linux CI

Open
#7,372 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
17.9k
Forks
7.3k
Avg merge
1d 15h
Merged PRs (30d)
13

Description

Unit-tests on Linux CPU / tests (3.10) / linux-job is failing because import torchvision is causing the following warning:

2023-02-21T17:06:25.6104129Z Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
2023-02-21T17:06:25.6104506Z 	Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.

This is an issue likely due to the way the CI is setup as the issue is not reproducible in different settings e.g. https://github.com/pytorch/vision/issues/7299#issuecomment-1450474688 or https://github.com/pytorch/vision/issues/7299#issuecomment-1447973826

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Unit-tests on Linux CPU / tests (3.10) / linux-job workflow run and compare its CI setup with the settings discussed in issues 7299. Reproduce the import torchvision warning in the Python 3.10 Linux job; done means the warning no longer occurs and the unit-test job passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, linux, numpy, python
Domain
ci-cd, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.