The provided output of numpy.show_config() reveals that NumPy is utilizing ATLAS for its linear algebra operations. To limit the number of threads specifically for matrix multiplication, we need to target ATLAS's threading configuration.
Before executing your script, set the following environment flags:
If the above flags do not resolve the issue, it is worth investigating if other libraries are introducing multithreading. Explore setting environment flags for those libraries as well, such as:
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3