If you install MKL it’s quite close (using Double in pytorch):
$ python example_numpy.py
(with openblas) 3.18742799759 seconds used

$ python example_numpy.py
(with MKL) 2.46531510353 seconds used

$ python example_pytorch.py
2.75312805176 seconds used