Thanks for the answer!
Hmm, cuModuleLoad seemingly accepts PTX and is part of the driver api.  As long as torch would provide the cuModuleLoad + functionality for launching the kernels I think a single ptx would be all that is needed, independent of user configuration. I might well be missing something though.
Thanks though, my main question was if there was something already existing that provides functionality to simplify this process. Good to know that I’m not missing something