pytorch_open_registration_example icon indicating copy to clipboard operation
pytorch_open_registration_example copied to clipboard

register vs rename privateuse1_backend

Open artyom-beilis opened this issue 3 years ago • 0 comments

I notices in the code you use register_privateuse1_backend('foo') while in nighly it didn't work but torch.utils.rename_privateuse1_backend('foo') this works.

Is it going to be the future API?

I've updated my OpenCL backend https://github.com/artyom-beilis/pytorch_dlprim/tree/true_out_of_tree_support to use it with nighly version of pytorch and ohhh it so simplified backend instalation! Just few commands and it is good to go!

artyom-beilis avatar Oct 27 '22 06:10 artyom-beilis