forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes pytorch#93019 Since PyTorch regularly breaks binary compatibility, `torchvision` must be compiled with the exact same version of PyTorch. If not, then importing it may cause mysterious failures at runtime due to binary incompatibility. This fixes the issue by delaying the `make_fallback` call for `torchvision.roi_align` until the operator appears in a graph being lowered, by which point the user must have imported torchvision themself. ghstack-source-id: 052c5d9f87803b4cf31b8fd88f32bdd4f1886122 Pull Request resolved: pytorch#93027
- Loading branch information
1 parent
b399007
commit 51d9bce
Showing
3 changed files
with
20 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters