I figured out a way to do it. I do a fresh build of pytorch as follows:
cd pytorch
export BUILD_BINARY=1
python setup.py build_ext 

An x86 CPU compatible (rather than Android or iOS compatible) binary appears here:
pytorch/build/bin/speed_benchmark_torch
And, I was able to run it successfully on my desktop computer’s CPU.