Skip to content

Conversation

lucylq
Copy link
Contributor

@lucylq lucylq commented Jun 6, 2023

Summary: aten::zero_: https://pytorch.org/docs/stable/generated/torch.Tensor.zero_.html

Test Plan:
clang-format on zero_.glsl and Zero.cpp

lfq@lfq-mbp fbsource % buck run --target-platforms ovr_config//platform/macos:arm64-fbsource //xplat/caffe2:pt_vulkan_api_test_binAppleMac\#macosx-arm64 -c pt.vulkan_full_precision=1 -- --gtest_filter="*zero*"
Downloaded 0/48 artifacts, 0.00 bytes, 100.0% cache miss (for updated rules)
Building: finished in 40.5 sec (100%) 525/525 jobs, 12/525 updated
  Total time: 40.5 sec
BUILD SUCCEEDED
Running main() from xplat/third-party/gmock/googletest-1.12.1/googletest/src/gtest_main.cc
Note: Google Test filter = *zero*
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from VulkanAPITest
[ RUN      ] VulkanAPITest.zero_
[       OK ] VulkanAPITest.zero_ (59 ms)
[----------] 1 test from VulkanAPITest (59 ms total)

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

Differential Revision: D46403983

@pytorch-bot
Copy link

pytorch-bot bot commented Jun 6, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit 86a9ba4:
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-bot pytorch-bot bot added the release notes: vulkan release notes category label Jun 6, 2023
@facebook-github-bot
Copy link
Contributor

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

@lucylq lucylq force-pushed the export-D46403983 branch from 53040d3 to 3473c48 Compare June 8, 2023 00:25
@facebook-github-bot
Copy link
Contributor

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

@lucylq lucylq force-pushed the export-D46403983 branch from 3473c48 to 443a416 Compare June 8, 2023 00:33
@facebook-github-bot
Copy link
Contributor

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

@lucylq lucylq force-pushed the export-D46403983 branch from 443a416 to 7663b5e Compare June 9, 2023 20:46
@facebook-github-bot
Copy link
Contributor

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

@lucylq lucylq force-pushed the export-D46403983 branch from 7663b5e to 56ef1eb Compare June 9, 2023 20:58
@facebook-github-bot
Copy link
Contributor

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

@SS-JIA SS-JIA self-requested a review June 13, 2023 18:55
@lucylq lucylq force-pushed the export-D46403983 branch from 56ef1eb to 7d4b98d Compare June 13, 2023 22:09
@facebook-github-bot
Copy link
Contributor

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

Summary:
Pull Request resolved: pytorch#103042

aten::zero_: https://pytorch.org/docs/stable/generated/torch.Tensor.zero_.html

Test Plan:
clang-format on zero_.glsl and Zero.cpp

```
lfq@lfq-mbp fbsource % buck run --target-platforms ovr_config//platform/macos:arm64-fbsource //xplat/caffe2:pt_vulkan_api_test_binAppleMac\#macosx-arm64 -c pt.vulkan_full_precision=1 -- --gtest_filter="*zero*"
Downloaded 0/48 artifacts, 0.00 bytes, 100.0% cache miss (for updated rules)
Building: finished in 40.5 sec (100%) 525/525 jobs, 12/525 updated
  Total time: 40.5 sec
BUILD SUCCEEDED
Running main() from xplat/third-party/gmock/googletest-1.12.1/googletest/src/gtest_main.cc
Note: Google Test filter = *zero*
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from VulkanAPITest
[ RUN      ] VulkanAPITest.zero_
[       OK ] VulkanAPITest.zero_ (59 ms)
[----------] 1 test from VulkanAPITest (59 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (59 ms total)
[  PASSED  ] 1 test.
```

Reviewed By: yipjustin, SS-JIA

Differential Revision: D46403983

fbshipit-source-id: 631c5077ad0c2df26f4fd4f86cfff87df2cbc712
@lucylq lucylq force-pushed the export-D46403983 branch from 7d4b98d to 86a9ba4 Compare June 13, 2023 22:18
@facebook-github-bot
Copy link
Contributor

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

@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 Jun 14, 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request fb-exported Merged release notes: vulkan release notes category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants