Skip to content
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] log, log_softmax #112828

Closed
wants to merge 1 commit into from

Conversation

yipjustin
Copy link
Contributor

Summary: tsia

Test Plan:

[yipjustin@189650.od ~/fbsource (631468db3)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck2 run fbcode/mode/dev-nosan    //xplat/caffe2:pt_vulkan_api_test_bin  -- --gtest_filter="*softmax*"
File changed: fbsource//xplat/caffe2/aten/src/ATen/test/vulkan_api_test.cpp
File changed: fbcode//caffe2/aten/src/ATen/native/vulkan/ops/Softmax.cpp
File changed: fbcode//caffe2/aten/src/ATen/test/vulkan_api_test.cpp
1 additional file change events
Buck UI: https://www.internalfb.com/buck2/d4f62e52-aba9-448a-a181-cf8881affb14
Network: Up: 0B  Down: 0B
Jobs completed: 4. Time elapsed: 0.5s.
BUILD SUCCEEDED
Running main() from third-party/googletest/1.11.0/googletest/googletest/src/gtest_main.cc
Note: Google Test filter = *softmax*
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from VulkanAPITest
[ RUN      ] VulkanAPITest.softmax
[       OK ] VulkanAPITest.softmax (467 ms)
[ RUN      ] VulkanAPITest.log_softmax
[       OK ] VulkanAPITest.log_softmax (95 ms)
[----------] 2 tests from VulkanAPITest (563 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (563 ms total)
[  PASSED  ] 2 tests.

  YOU HAVE 1 DISABLED TEST

[yipjustin@189650.od ~/fbsource (631468db3)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck2 run fbcode/mode/dev-nosan    //xplat/caffe2:pt_vulkan_api_test_bin  -- --gtest_filter="*log*"
Buck UI: https://www.internalfb.com/buck2/e8210eb5-fd56-45f7-bf6c-5024931e778e
Network: Up: 0B  Down: 0B
Jobs completed: 4. Time elapsed: 0.2s.
BUILD SUCCEEDED
Running main() from third-party/googletest/1.11.0/googletest/googletest/src/gtest_main.cc
Note: Google Test filter = *log*
[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 4 tests from VulkanAPITest
[ RUN      ] VulkanAPITest.log_softmax
[       OK ] VulkanAPITest.log_softmax (572 ms)
[ RUN      ] VulkanAPITest.unary_op_log
[       OK ] VulkanAPITest.unary_op_log (0 ms)
[ RUN      ] VulkanAPITest.unary_op_log_
[       OK ] VulkanAPITest.unary_op_log_ (59 ms)
[ RUN      ] VulkanAPITest.querypool_flushed_shader_log
xplat/caffe2/aten/src/ATen/test/vulkan_api_test.cpp:7677: Skipped
QueryPool is not available
[  SKIPPED ] VulkanAPITest.querypool_flushed_shader_log (0 ms)
[----------] 4 tests from VulkanAPITest (633 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test suite ran. (633 ms total)
[  PASSED  ] 3 tests.
[  SKIPPED ] 1 test, listed below:
[  SKIPPED ] VulkanAPITest.querypool_flushed_shader_log

  YOU HAVE 1 DISABLED TEST

Differential Revision: D50961359

Summary: tsia

Test Plan:
```
[yipjustin@189650.od ~/fbsource (631468db3)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck2 run fbcode/mode/dev-nosan    //xplat/caffe2:pt_vulkan_api_test_bin  -- --gtest_filter="*softmax*"
File changed: fbsource//xplat/caffe2/aten/src/ATen/test/vulkan_api_test.cpp
File changed: fbcode//caffe2/aten/src/ATen/native/vulkan/ops/Softmax.cpp
File changed: fbcode//caffe2/aten/src/ATen/test/vulkan_api_test.cpp
1 additional file change events
Buck UI: https://www.internalfb.com/buck2/d4f62e52-aba9-448a-a181-cf8881affb14
Network: Up: 0B  Down: 0B
Jobs completed: 4. Time elapsed: 0.5s.
BUILD SUCCEEDED
Running main() from third-party/googletest/1.11.0/googletest/googletest/src/gtest_main.cc
Note: Google Test filter = *softmax*
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from VulkanAPITest
[ RUN      ] VulkanAPITest.softmax
[       OK ] VulkanAPITest.softmax (467 ms)
[ RUN      ] VulkanAPITest.log_softmax
[       OK ] VulkanAPITest.log_softmax (95 ms)
[----------] 2 tests from VulkanAPITest (563 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (563 ms total)
[  PASSED  ] 2 tests.

  YOU HAVE 1 DISABLED TEST

[yipjustin@189650.od ~/fbsource (631468db3)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck2 run fbcode/mode/dev-nosan    //xplat/caffe2:pt_vulkan_api_test_bin  -- --gtest_filter="*log*"
Buck UI: https://www.internalfb.com/buck2/e8210eb5-fd56-45f7-bf6c-5024931e778e
Network: Up: 0B  Down: 0B
Jobs completed: 4. Time elapsed: 0.2s.
BUILD SUCCEEDED
Running main() from third-party/googletest/1.11.0/googletest/googletest/src/gtest_main.cc
Note: Google Test filter = *log*
[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 4 tests from VulkanAPITest
[ RUN      ] VulkanAPITest.log_softmax
[       OK ] VulkanAPITest.log_softmax (572 ms)
[ RUN      ] VulkanAPITest.unary_op_log
[       OK ] VulkanAPITest.unary_op_log (0 ms)
[ RUN      ] VulkanAPITest.unary_op_log_
[       OK ] VulkanAPITest.unary_op_log_ (59 ms)
[ RUN      ] VulkanAPITest.querypool_flushed_shader_log
xplat/caffe2/aten/src/ATen/test/vulkan_api_test.cpp:7677: Skipped
QueryPool is not available
[  SKIPPED ] VulkanAPITest.querypool_flushed_shader_log (0 ms)
[----------] 4 tests from VulkanAPITest (633 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test suite ran. (633 ms total)
[  PASSED  ] 3 tests.
[  SKIPPED ] 1 test, listed below:
[  SKIPPED ] VulkanAPITest.querypool_flushed_shader_log

  YOU HAVE 1 DISABLED TEST
```

Differential Revision: D50961359
Copy link

pytorch-bot bot commented Nov 3, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/112828

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (3 Unrelated Failures)

As of commit 07820ec with merge base 458e7d0 (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

BROKEN TRUNK - The following jobs failed but was present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added ciflow/periodic Trigger jobs ran periodically on master (periodic.yml) on the PR module: vulkan release notes: vulkan release notes category labels Nov 3, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D50961359

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 4, 2023
@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

xuhancn pushed a commit to xuhancn/pytorch that referenced this pull request Nov 7, 2023
Summary: tsia

Test Plan:
```
[yipjustin@189650.od ~/fbsource (631468db3)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck2 run fbcode/mode/dev-nosan    //xplat/caffe2:pt_vulkan_api_test_bin  -- --gtest_filter="*softmax*"
File changed: fbsource//xplat/caffe2/aten/src/ATen/test/vulkan_api_test.cpp
File changed: fbcode//caffe2/aten/src/ATen/native/vulkan/ops/Softmax.cpp
File changed: fbcode//caffe2/aten/src/ATen/test/vulkan_api_test.cpp
1 additional file change events
Buck UI: https://www.internalfb.com/buck2/d4f62e52-aba9-448a-a181-cf8881affb14
Network: Up: 0B  Down: 0B
Jobs completed: 4. Time elapsed: 0.5s.
BUILD SUCCEEDED
Running main() from third-party/googletest/1.11.0/googletest/googletest/src/gtest_main.cc
Note: Google Test filter = *softmax*
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from VulkanAPITest
[ RUN      ] VulkanAPITest.softmax
[       OK ] VulkanAPITest.softmax (467 ms)
[ RUN      ] VulkanAPITest.log_softmax
[       OK ] VulkanAPITest.log_softmax (95 ms)
[----------] 2 tests from VulkanAPITest (563 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (563 ms total)
[  PASSED  ] 2 tests.

  YOU HAVE 1 DISABLED TEST

[yipjustin@189650.od ~/fbsource (631468db3)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck2 run fbcode/mode/dev-nosan    //xplat/caffe2:pt_vulkan_api_test_bin  -- --gtest_filter="*log*"
Buck UI: https://www.internalfb.com/buck2/e8210eb5-fd56-45f7-bf6c-5024931e778e
Network: Up: 0B  Down: 0B
Jobs completed: 4. Time elapsed: 0.2s.
BUILD SUCCEEDED
Running main() from third-party/googletest/1.11.0/googletest/googletest/src/gtest_main.cc
Note: Google Test filter = *log*
[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 4 tests from VulkanAPITest
[ RUN      ] VulkanAPITest.log_softmax
[       OK ] VulkanAPITest.log_softmax (572 ms)
[ RUN      ] VulkanAPITest.unary_op_log
[       OK ] VulkanAPITest.unary_op_log (0 ms)
[ RUN      ] VulkanAPITest.unary_op_log_
[       OK ] VulkanAPITest.unary_op_log_ (59 ms)
[ RUN      ] VulkanAPITest.querypool_flushed_shader_log
xplat/caffe2/aten/src/ATen/test/vulkan_api_test.cpp:7677: Skipped
QueryPool is not available
[  SKIPPED ] VulkanAPITest.querypool_flushed_shader_log (0 ms)
[----------] 4 tests from VulkanAPITest (633 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test suite ran. (633 ms total)
[  PASSED  ] 3 tests.
[  SKIPPED ] 1 test, listed below:
[  SKIPPED ] VulkanAPITest.querypool_flushed_shader_log

  YOU HAVE 1 DISABLED TEST
```

Differential Revision: D50961359

Pull Request resolved: pytorch#112828
Approved by: https://github.com/manuelcandales
Skylion007 pushed a commit to Skylion007/pytorch that referenced this pull request Nov 14, 2023
Summary: tsia

Test Plan:
```
[yipjustin@189650.od ~/fbsource (631468db3)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck2 run fbcode/mode/dev-nosan    //xplat/caffe2:pt_vulkan_api_test_bin  -- --gtest_filter="*softmax*"
File changed: fbsource//xplat/caffe2/aten/src/ATen/test/vulkan_api_test.cpp
File changed: fbcode//caffe2/aten/src/ATen/native/vulkan/ops/Softmax.cpp
File changed: fbcode//caffe2/aten/src/ATen/test/vulkan_api_test.cpp
1 additional file change events
Buck UI: https://www.internalfb.com/buck2/d4f62e52-aba9-448a-a181-cf8881affb14
Network: Up: 0B  Down: 0B
Jobs completed: 4. Time elapsed: 0.5s.
BUILD SUCCEEDED
Running main() from third-party/googletest/1.11.0/googletest/googletest/src/gtest_main.cc
Note: Google Test filter = *softmax*
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from VulkanAPITest
[ RUN      ] VulkanAPITest.softmax
[       OK ] VulkanAPITest.softmax (467 ms)
[ RUN      ] VulkanAPITest.log_softmax
[       OK ] VulkanAPITest.log_softmax (95 ms)
[----------] 2 tests from VulkanAPITest (563 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (563 ms total)
[  PASSED  ] 2 tests.

  YOU HAVE 1 DISABLED TEST

[yipjustin@189650.od ~/fbsource (631468db3)]$ LD_LIBRARY_PATH=third-party/swiftshader/lib/linux-x64/ buck2 run fbcode/mode/dev-nosan    //xplat/caffe2:pt_vulkan_api_test_bin  -- --gtest_filter="*log*"
Buck UI: https://www.internalfb.com/buck2/e8210eb5-fd56-45f7-bf6c-5024931e778e
Network: Up: 0B  Down: 0B
Jobs completed: 4. Time elapsed: 0.2s.
BUILD SUCCEEDED
Running main() from third-party/googletest/1.11.0/googletest/googletest/src/gtest_main.cc
Note: Google Test filter = *log*
[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 4 tests from VulkanAPITest
[ RUN      ] VulkanAPITest.log_softmax
[       OK ] VulkanAPITest.log_softmax (572 ms)
[ RUN      ] VulkanAPITest.unary_op_log
[       OK ] VulkanAPITest.unary_op_log (0 ms)
[ RUN      ] VulkanAPITest.unary_op_log_
[       OK ] VulkanAPITest.unary_op_log_ (59 ms)
[ RUN      ] VulkanAPITest.querypool_flushed_shader_log
xplat/caffe2/aten/src/ATen/test/vulkan_api_test.cpp:7677: Skipped
QueryPool is not available
[  SKIPPED ] VulkanAPITest.querypool_flushed_shader_log (0 ms)
[----------] 4 tests from VulkanAPITest (633 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test suite ran. (633 ms total)
[  PASSED  ] 3 tests.
[  SKIPPED ] 1 test, listed below:
[  SKIPPED ] VulkanAPITest.querypool_flushed_shader_log

  YOU HAVE 1 DISABLED TEST
```

Differential Revision: D50961359

Pull Request resolved: pytorch#112828
Approved by: https://github.com/manuelcandales
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/periodic Trigger jobs ran periodically on master (periodic.yml) on the PR ciflow/trunk Trigger trunk jobs on your pull request fb-exported Merged module: vulkan release notes: vulkan release notes category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants