Some wrong about libTorch C++ API

I might be wrong in the assumption in a mismatch of torchvision and PyTorch versions.
Could you try to install the nightly binaries and rerun it again, as it should be working based on this.