Getting the issue on Linux with torchvision nightly CPU (no CUDA) installed via:
conda install -c pytorch-nightly torchvision cpuonly
Message:
UserWarning: Failed to load image Python extension: /home/azureuser/miniconda3/envs/pytorch-0/lib/python3.9/site-packages/torchvision/image.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKSs
Demangling the symbol name, it becomes torch::jit::parseSchemaOrName(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
Should I file a GitHub issue?