Add new dependency library for vulkan tests (#10136)
**Background**: We removed the inline flag of the symbol `torch::jit::GetBackendMetaSerialization()` from and moved it to .cpp in order to make the dynamic registration related to PyTorch serialization work properly. However, after testing, it was found that Vulkan's tests depend on the symbol named `torch::jit::GetBackendMetaSerialization()`, so after the above changes, it is necessary to explicitly link libtorch_cpu (which contains the torch::jit::GetBackendMetaSerialization() symbol) For more information, see [PR](https://github.com/pytorch/pytorch/pull/147095), especially this [comment](https://github.com/pytorch/pytorch/pull/147095#issuecomment-2788206845) cc @SS-JIA @manuelcandales @cbilgin
J
Jiawei Li committed
cb800924b521700592b466b81f2a19ef1bd0e84f
Parent: d60d03e
Committed by GitHub <noreply@github.com>
on 4/17/2025, 5:00:55 PM