torch.jit.enable_onednn_fusion(True)

I cannot use torch.jit.enable_onednn_fusion(True). It says AttributeError: module ‘torch._C’ has no attribute ‘_jit_set_llga_enabled’. How can use that?
Pytorch: 1.12.1

Faced the same issue, checked thru and found this PR: https://github.com/pytorch/pytorch/pull/74596

According to “Limitations” description, oneDNN is only enabled for Linux at the moment.