Query on PyTorch thread-model


Can anyone please give an example of when such a situation (discussed in the Threading wiki) can arise? -

OpenMP does not guarantee that a single per-process intra-op thread pool is going to be used in the application. On the contrary, two different application or inter-op threads may use different OpenMP thread pools for intra-op work.

I want to perform some measurements for such examples.

Thank you!