If you have the whl’s, you can inspect the libtorch.so (or other so’s) in the torch/lib directory: cuobjdump build/lib.linux-x86_64-3.7/torch/lib/libtorch.so  | grep arch | sort | uniq.
Best regards
Thomas