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
[pytorch-vulkan] aten::.rand_like #108086
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/108086
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Merge Blocking SEVsThere is 1 active merge blocking SEVs. Please view them below:
If you must merge, use ❌ 1 New FailureAs of commit 524d037 with merge base 64ad16a (): NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D48710273 |
This pull request was exported from Phabricator. Differential Revision: D48710273 |
Summary: Pull Request resolved: pytorch#108086 Before implementing `aten::.randn_like` as requested (T152843033), I think it worth to extend `aten::rand_like` from existing `aten::uniform`, since they're so similar. Test Plan: ``` [ttingchulin@6945.od /data/sandcastle/boxes/fbsource (rand_like)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck run fbcode/mode/dev-nosan //xplat/caffe2:pt_vulkan_api_test_bin -- --gtest_filter="*<test>*" eg. -- --gtest_filter="*rand_like*" [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from VulkanAPITest [ RUN ] VulkanAPITest.rand_like [ OK ] VulkanAPITest.rand_like (136 ms) [----------] 1 test from VulkanAPITest (136 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (136 ms total) [ PASSED ] 1 test. [ttingchulin@6945.od /data/sandcastle/boxes/fbsource (rand_like)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck run fbcode/mode/dev-nosan //xplat/caffe2:pt_vulkan_api_test_bin -- --gtest_filter="*<test>*" eg. -- --gtest_filter="*uniform*" Building: finished in 0.1 sec (100%) 329/329 jobs, 0/329 updated Total time: 0.1 sec BUILD SUCCEEDED Running main() from xplat/third-party/gmock/googletest-1.12.1/googletest/src/gtest_main.cc Note: Google Test filter = *uniform* [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from VulkanAPITest [ RUN ] VulkanAPITest.uniform [ OK ] VulkanAPITest.uniform (131 ms) [----------] 1 test from VulkanAPITest (131 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (131 ms total) [ PASSED ] 1 test. [ttingchulin@6945.od /data/sandcastle/boxes/fbsource (rand_like)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck run fbcode/mode/dev-nosan //xplat/caffe2:pt_vulkan_api_test_bin ALL PASS ``` Differential Revision: D48710273 fbshipit-source-id: ed59704e54b3ba09e5b2592a7d2c00f3208edd7a
4d8e3bc
to
a45a790
Compare
This pull request was exported from Phabricator. Differential Revision: D48710273 |
a45a790
to
06f56f6
Compare
Summary: Pull Request resolved: pytorch#108086 Before implementing `aten::.randn_like` as requested (T152843033), I think it worth to extend `aten::rand_like` from existing `aten::uniform`, since they're so similar. Test Plan: ``` [ttingchulin@6945.od /data/sandcastle/boxes/fbsource (rand_like)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck run fbcode/mode/dev-nosan //xplat/caffe2:pt_vulkan_api_test_bin -- --gtest_filter="*<test>*" eg. -- --gtest_filter="*rand_like*" [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from VulkanAPITest [ RUN ] VulkanAPITest.rand_like [ OK ] VulkanAPITest.rand_like (136 ms) [----------] 1 test from VulkanAPITest (136 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (136 ms total) [ PASSED ] 1 test. [ttingchulin@6945.od /data/sandcastle/boxes/fbsource (rand_like)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck run fbcode/mode/dev-nosan //xplat/caffe2:pt_vulkan_api_test_bin -- --gtest_filter="*<test>*" eg. -- --gtest_filter="*uniform*" Building: finished in 0.1 sec (100%) 329/329 jobs, 0/329 updated Total time: 0.1 sec BUILD SUCCEEDED Running main() from xplat/third-party/gmock/googletest-1.12.1/googletest/src/gtest_main.cc Note: Google Test filter = *uniform* [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from VulkanAPITest [ RUN ] VulkanAPITest.uniform [ OK ] VulkanAPITest.uniform (131 ms) [----------] 1 test from VulkanAPITest (131 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (131 ms total) [ PASSED ] 1 test. [ttingchulin@6945.od /data/sandcastle/boxes/fbsource (rand_like)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck run fbcode/mode/dev-nosan //xplat/caffe2:pt_vulkan_api_test_bin ALL PASS ``` Differential Revision: D48710273 fbshipit-source-id: 9f74b7b0ad9aee5753f0b2efba7a90520a1348a4
This pull request was exported from Phabricator. Differential Revision: D48710273 |
06f56f6
to
62ae53a
Compare
Summary: Pull Request resolved: pytorch#108086 Before implementing `aten::.randn_like` as requested (T152843033), I think it worth to extend `aten::rand_like` from existing `aten::uniform`, since they're so similar. Test Plan: ``` [ttingchulin@6945.od /data/sandcastle/boxes/fbsource (rand_like)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck run fbcode/mode/dev-nosan //xplat/caffe2:pt_vulkan_api_test_bin -- --gtest_filter="*<test>*" eg. -- --gtest_filter="*rand_like*" [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from VulkanAPITest [ RUN ] VulkanAPITest.rand_like [ OK ] VulkanAPITest.rand_like (136 ms) [----------] 1 test from VulkanAPITest (136 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (136 ms total) [ PASSED ] 1 test. [ttingchulin@6945.od /data/sandcastle/boxes/fbsource (rand_like)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck run fbcode/mode/dev-nosan //xplat/caffe2:pt_vulkan_api_test_bin -- --gtest_filter="*<test>*" eg. -- --gtest_filter="*uniform*" Building: finished in 0.1 sec (100%) 329/329 jobs, 0/329 updated Total time: 0.1 sec BUILD SUCCEEDED Running main() from xplat/third-party/gmock/googletest-1.12.1/googletest/src/gtest_main.cc Note: Google Test filter = *uniform* [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from VulkanAPITest [ RUN ] VulkanAPITest.uniform [ OK ] VulkanAPITest.uniform (131 ms) [----------] 1 test from VulkanAPITest (131 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (131 ms total) [ PASSED ] 1 test. [ttingchulin@6945.od /data/sandcastle/boxes/fbsource (rand_like)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck run fbcode/mode/dev-nosan //xplat/caffe2:pt_vulkan_api_test_bin ALL PASS ``` Differential Revision: D48710273 fbshipit-source-id: 385e2d4c54cca8149f0b5fbf126b705b96cca032
This pull request was exported from Phabricator. Differential Revision: D48710273 |
62ae53a
to
2f3e97b
Compare
Summary: Pull Request resolved: pytorch#108086 Before implementing `aten::.randn_like` as requested (T152843033), I think it worth to extend `aten::rand_like` from existing `aten::uniform`, since they're so similar. Test Plan: ``` [ttingchulin@6945.od /data/sandcastle/boxes/fbsource (rand_like)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck run fbcode/mode/dev-nosan //xplat/caffe2:pt_vulkan_api_test_bin -- --gtest_filter="*<test>*" eg. -- --gtest_filter="*rand_like*" [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from VulkanAPITest [ RUN ] VulkanAPITest.rand_like [ OK ] VulkanAPITest.rand_like (136 ms) [----------] 1 test from VulkanAPITest (136 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (136 ms total) [ PASSED ] 1 test. [ttingchulin@6945.od /data/sandcastle/boxes/fbsource (rand_like)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck run fbcode/mode/dev-nosan //xplat/caffe2:pt_vulkan_api_test_bin -- --gtest_filter="*<test>*" eg. -- --gtest_filter="*uniform*" Building: finished in 0.1 sec (100%) 329/329 jobs, 0/329 updated Total time: 0.1 sec BUILD SUCCEEDED Running main() from xplat/third-party/gmock/googletest-1.12.1/googletest/src/gtest_main.cc Note: Google Test filter = *uniform* [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from VulkanAPITest [ RUN ] VulkanAPITest.uniform [ OK ] VulkanAPITest.uniform (131 ms) [----------] 1 test from VulkanAPITest (131 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (131 ms total) [ PASSED ] 1 test. [ttingchulin@6945.od /data/sandcastle/boxes/fbsource (rand_like)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck run fbcode/mode/dev-nosan //xplat/caffe2:pt_vulkan_api_test_bin ALL PASS ``` Differential Revision: D48710273 fbshipit-source-id: 727362de12416d3935a9fdf958616472bee134b8
Summary: Before implementing `aten::.randn_like` as requested (T152843033), I think it worth to extend `aten::rand_like` from existing `aten::uniform`, since they're so similar. Test Plan: ``` [ttingchulin@6945.od /data/sandcastle/boxes/fbsource (rand_like)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck run fbcode/mode/dev-nosan //xplat/caffe2:pt_vulkan_api_test_bin -- --gtest_filter="*<test>*" eg. -- --gtest_filter="*rand_like*" [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from VulkanAPITest [ RUN ] VulkanAPITest.rand_like [ OK ] VulkanAPITest.rand_like (136 ms) [----------] 1 test from VulkanAPITest (136 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (136 ms total) [ PASSED ] 1 test. [ttingchulin@6945.od /data/sandcastle/boxes/fbsource (rand_like)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck run fbcode/mode/dev-nosan //xplat/caffe2:pt_vulkan_api_test_bin -- --gtest_filter="*<test>*" eg. -- --gtest_filter="*uniform*" Building: finished in 0.1 sec (100%) 329/329 jobs, 0/329 updated Total time: 0.1 sec BUILD SUCCEEDED Running main() from xplat/third-party/gmock/googletest-1.12.1/googletest/src/gtest_main.cc Note: Google Test filter = *uniform* [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from VulkanAPITest [ RUN ] VulkanAPITest.uniform [ OK ] VulkanAPITest.uniform (131 ms) [----------] 1 test from VulkanAPITest (131 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (131 ms total) [ PASSED ] 1 test. [ttingchulin@6945.od /data/sandcastle/boxes/fbsource (rand_like)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck run fbcode/mode/dev-nosan //xplat/caffe2:pt_vulkan_api_test_bin ALL PASS ``` Reviewed By: yipjustin Differential Revision: D48710273
This pull request was exported from Phabricator. Differential Revision: D48710273 |
2f3e97b
to
524d037
Compare
This pull request was exported from Phabricator. Differential Revision: D48710273 |
@pytorchbot merge (Initiating merge automatically since Phabricator Diff has merged) |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Summary: Before implementing
aten::.randn_like
as requested (T152843033), I think it worth to extendaten::rand_like
from existingaten::uniform
, since they're so similar.Test Plan:
Differential Revision: D48710273