Add python version and cuda-specific folder to store extensions (#60592)
Summary:
See https://github.com/pytorch/pytorch/issues/55267
Pull Request resolved: https://github.com/pytorch/pytorch/pull/60592
Reviewed By: albanD
Differential Revision: D29353368
Pulled By: ezyang
fbshipit-source-id: 1fbcd021f1030132c0f950f33ce4a3a2fef351e0