Only use libtorch 1.10.2 can detect GPU

Very strange thing.
In my device, with cuda 11.1, only libtorch1.10.2 + cu102 can use “torch.devce_count” to detect GPU, higher(1.11.x) or lower version(1.9.x) can’t detect either, what’s the problem?