You can check if cudnn is being used by typing torch.backends.cudnn.is_acceptable(torch.cuda.FloatTensor(1)) in your python interpreter.
For checking if the library was linked against OpenBlas or MKL, type ldd libTH.so, where libTH.so is the library file that was compiled.