-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[vulkan][py] torch.utils.optimize_for_vulkan #44903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
[ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 6426cf4 (more details on the Dr. CI page):
Extra GitHub checks: 1 failed
ci.pytorch.org: 1 failedcodecov.io: 1 failed
This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group. This comment has been revised 36 times. |
Differential Revision: [D23766039](https://our.internmc.facebook.com/intern/diff/D23766039) Testing: ``` python setup.py install ``` ``` import torch from torch.utils.mobile_optimizer import optimize_for_vulkan script_module = torch.jit.load('mobilenet_v2.pt') script_module_vulkan = optimize_for_vulkan(script_module) torch.jit.save(script_module_vulkan, 'mobilenet_v2_vulkan.pt') ``` [ghstack-poisoned]
kimishpatel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Some builds are failing.
Codecov Report
@@ Coverage Diff @@
## gh/IvanKobzarev/78/base #44903 +/- ##
========================================================
Coverage 67.83% 67.83%
========================================================
Files 384 384
Lines 49945 49949 +4
========================================================
+ Hits 33881 33884 +3
- Misses 16064 16065 +1
Continue to review full report at Codecov.
|
Differential Revision: [D23766039](https://our.internmc.facebook.com/intern/diff/D23766039) Testing: ``` USE_VULKAN=1 python setup.py install ``` ``` import torch from torch.utils.mobile_optimizer import optimize_for_mobile script_module = torch.jit.load('mobilenet_v2.pt') script_module_vulkan = optimize_for_mobile(script_module) torch.jit.save(script_module_vulkan, 'mobilenet_v2_vulkan.pt') ``` [ghstack-poisoned]
Differential Revision: [D23766039](https://our.internmc.facebook.com/intern/diff/D23766039) Testing: ``` USE_VULKAN=1 python setup.py install ``` ``` import torch from torch.utils.mobile_optimizer import optimize_for_mobile script_module = torch.jit.load('mobilenet_v2.pt') script_module_vulkan = optimize_for_mobile(script_module) torch.jit.save(script_module_vulkan, 'mobilenet_v2_vulkan.pt') ``` [ghstack-poisoned]
Differential Revision: [D23766039](https://our.internmc.facebook.com/intern/diff/D23766039) Testing: ``` USE_VULKAN=1 python setup.py install ``` ``` import torch from torch.utils.mobile_optimizer import optimize_for_mobile script_module = torch.jit.load('mobilenet_v2.pt') script_module_vulkan = optimize_for_mobile(script_module) torch.jit.save(script_module_vulkan, 'mobilenet_v2_vulkan.pt') ``` [ghstack-poisoned]
Differential Revision: [D23766039](https://our.internmc.facebook.com/intern/diff/D23766039) Testing: ``` USE_VULKAN=1 python setup.py install ``` ``` import torch from torch.utils.mobile_optimizer import optimize_for_mobile script_module = torch.jit.load('mobilenet_v2.pt') script_module_vulkan = optimize_for_mobile(script_module) torch.jit.save(script_module_vulkan, 'mobilenet_v2_vulkan.pt') ``` [ghstack-poisoned]
|
@IvanKobzarev merged this pull request in e9941a5. |
|
@IvanKobzarev @kimishpatel I think this PR is breaking The function signature of this call does not match of the changes with this PR. |
…le.cc to align latest call contract in PR pytorch#44903.
|
@bugra, thanks for pointing this out. @IvanKobzarev, I think you need something like this in |
|
@bugra if this needs revert to fix master, please feel free to revert. |
|
Oh looks like @gunandrose4u already fixed this. Thanks. |
Yes, Sorry I forgot to change it. |
Stack from ghstack:
Differential Revision: D23766039
Testing: