"Illegal instruction (core dumped) in first PyTorch tutorial

In fact I was running the tutorial in a terminal on my local VM.

Here’s the beginning of the gdb backtrace. Let me know if you want the whole thing.

(I apologize in advance if this should be in a code-block. I don’t see how to do this.)

Thanks!

[New Thread 0x7fffd736d700 (LWP 14775)]
[New Thread 0x7fffd6b6c700 (LWP 14776)]

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0x7fffd736d700 (LWP 14775)]
0x00007fffe2ceffc1 in void mkldnn::impl::cpu::(anonymous namespace)::kernel_mxn<float, true, false>(int, float const*, long, float const*, long, float*, long, float, float) ()
from /home/goldin/.pyVirtual/lib/python3.6/site-packages/torch/lib/libtorch.so
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.6-13.el7.x86_64 glibc-2.17-222.el7.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-18.el7.x86_64 libcom_err-1.42.9-11.el7.x86_64 libffi-3.0.13-18.el7.x86_64 libgcc-4.8.5-28.el7.x86_64 libselinux-2.5-12.el7.x86_64 libstdc+±4.8.5-28.el7.x86_64 openssl-libs-1.0.2k-12.el7.x86_64 pcre-8.32-17.el7.x86_64 python3-libs-3.6.8-10.el7.x86_64 xz-libs-5.2.2-1.el7.x86_64 zlib-1.2.7-17.el7.x86_64
(gdb) backtrace
#0 0x00007fffe2ceffc1 in void mkldnn::impl::cpu::(anonymous namespace)::kernel_mxn<float, true, false>(int, float const*, long, float const*, long, float*, long, float, float) ()
from /home/goldin/.pyVirtual/lib/python3.6/site-packages/torch/lib/libtorch.so
#1 0x00007fffe2cf02d9 in void mkldnn::impl::cpu::(anonymous namespace)::block_ker<float, true, false>(int, int, int, float const*, long, float const*, long, float*, long, float, float, float*, bool) () from /home/goldin/.pyVirtual/lib/python3.6/site-packages/torch/lib/libtorch.so
#2 0x00007fffe2cf4287 in mkldnn_status_t mkldnn::impl::cpu::ref_gemm(char const*, char const*, int const*, int const*, int const*, float const*, float const*, int const*, float const*, int const*, float const*, float*, int const*, float const*)::{lambda(int)#2}::operator()(int) const ()
from /home/goldin/.pyVirtual/lib/python3.6/site-packages/torch/lib/libtorch.so