Make the fuser raise NotImplementedError when unknown device is hit (#54709)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/54709
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Test Plan: Imported from OSS
Reviewed By: eellison
Differential Revision: D27338815
Pulled By: ezyang
fbshipit-source-id: 5cbaf3c19b9b85cc3f171f3b405d0cd98f832e65