Great test! Unfortunately, the environment variable workaround (aka debug trick) for MKL was removed recently with no good replacement in sight. For us it makes AMD CPUs on numpy ~10x slower. We’re currently relying on the latter workaround described here