pytorch / text

Models, data loaders and abstractions for language processing, powered by PyTorch
https://pytorch.org/text
BSD 3-Clause "New" or "Revised" License
3.49k stars 813 forks source link

libtorch <torch.h> is not found #2193

Open ali2210 opened 1 year ago

ali2210 commented 1 year ago

I am working on personal application and rust bert module is require. So I follow documentation https://crates.io/crates/rust-bert When I compile my rust code my machine suffered panic attack error So i try to resolve and searched about error . Few suggestions I got that add cmake with libtorch and recompile the code add cmake But all vain error remain persist

Os = deepin linux arch = x86 family = linux device = cpu

Kindly help me to resolve this issue

Originally posted by @ali2210 in https://github.com/pytorch/pytorch/issues/33088#issuecomment-1653316215