You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I am trying to trace a module on XPU, a warning is raised in training:
/**/lib/python3.11/site-packages/torch/nn/modules/module.py:1541: UserWarning: The grad mode is detected as torch.no_grad() is NOT enabled. In this mode on XPU, please expect NO graph and fusion optimization will be applied.
(Triggered internally at /build/intel-pytorch-extension/csrc/gpu/jit/fusion_pass.cpp:829.)
May I ask why are operator fusions disabled in grad mode in 568869c?
I don't think it is well-explained anywhere in the commit notes.
Thank you
The text was updated successfully, but these errors were encountered:
Describe the issue
When I am trying to trace a module on XPU, a warning is raised in training:
May I ask why are operator fusions disabled in grad mode in 568869c?
I don't think it is well-explained anywhere in the commit notes.
Thank you
The text was updated successfully, but these errors were encountered: