Build lib upon major version of libtorch

We are building a library upon libtorch. I am wondering if it’s ok that we build the library upon torch 2.2.0 and run such library upon torch 2.2.x(such as 2.2.1, 2.2.2). Namely, we build upon the major version of torch(such as 2.0, 2.1, 2.2) and run upon any following minor versions(such as 2.0.x, 2.1.x, 2.2,x). Is it ok to assume no API/symbol change between minor versions?

PyTorch does not follow semantic versioning. There could be API changes between minor versions as well (thought we try very hard not to introduce such changes)