@almeetb
You have your own dispatchKey. It seems to me that registering setter and getter are the same process.
Please create an issue in pytorch github. You need to provide the follow info:

pytorch versions you are working on.
Sample code on how you add dispatchKey
Sample code on how you register ops
Errors or logs you have

assign label ‘dispatch’ to the issue you created, we will have people answer your question there. thx