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
The PyTorch team has recently released a guide [1] to making custom C++ ops compatible with torch.compile. Although the API is still at an early stage, we can start exploring whether we can make custom ops in PyG's optional libraries, such as pyg-lib, and giving feedbacks to PyTorch as necessary.
Currently, we handle the imcompatibility issue by falling back to (slow) equivalent operations written in pure PyTorch where possible (like this previously or like this in PyG 2.5.0+)
…om operators (#329)
Part of pyg-team/pytorch_geometric#8890.
This PR reorders import statements (in order to let the decorator
`torch.library.register_fake` in future PRs) find pyg-lib's custom
operators. This PR also includes minor clean up.
🚀 The feature, motivation and pitch
The PyTorch team has recently released a guide [1] to making custom C++ ops compatible with
torch.compile
. Although the API is still at an early stage, we can start exploring whether we can make custom ops in PyG's optional libraries, such aspyg-lib
, and giving feedbacks to PyTorch as necessary.Currently, we handle the imcompatibility issue by falling back to (slow) equivalent operations written in pure PyTorch where possible (like this previously or like this in PyG 2.5.0+)
Refs:
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: