Skip to content

[ROCM] enable skipped test_api cpp tests#109817

Closed
hongxiayang wants to merge 3 commits intopytorch:mainfrom
hongxiayang:cpp_misc
Closed

[ROCM] enable skipped test_api cpp tests#109817
hongxiayang wants to merge 3 commits intopytorch:mainfrom
hongxiayang:cpp_misc

Conversation

@hongxiayang
Copy link
Copy Markdown
Collaborator

@hongxiayang hongxiayang commented Sep 21, 2023

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot bot commented Sep 21, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit 969b5b6 with merge base b1f1b39 (image):
💚 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 module: rocm AMD GPU support for Pytorch label Sep 21, 2023
@hongxiayang
Copy link
Copy Markdown
Collaborator Author

@pytorchbot label "topic: not user facing"

@hongxiayang
Copy link
Copy Markdown
Collaborator Author

@pytorchbot label ciflow/trunk

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 21, 2023
@hongxiayang hongxiayang changed the title [ROCM] enable skipped lazy and api cpp tests [ROCM] enable skipped test_api cpp tests Sep 25, 2023
@hongxiayang hongxiayang marked this pull request as ready for review September 27, 2023 15:46
@hongxiayang
Copy link
Copy Markdown
Collaborator Author

all rocm tests passed;
(1) InitTest tests:

2023-09-25T20:53:02.0912320Z ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::InitTest::ProducesPyTorchValues_XavierUniform 
2023-09-25T20:53:02.0913240Z [gw0] [ 37%] PASSED [1.0980s] ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::ModulesTest::BatchNorm1d 
2023-09-25T20:53:02.0914084Z ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::ModulesTest::BatchNorm2dStateful 
2023-09-25T20:53:02.0914896Z [gw1] [ 37%] PASSED [0.9872s] ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::InitTest::ProducesPyTorchValues_XavierUniform 
2023-09-25T20:53:02.0915711Z ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::InitTest::ProducesPyTorchValues_XavierNormal 
2023-09-25T20:53:02.0916532Z [gw0] [ 37%] PASSED [0.9621s] ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::ModulesTest::BatchNorm2dStateful 
2023-09-25T20:53:02.0917288Z ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::ModulesTest::BatchNorm2dStateless 
2023-09-25T20:53:02.0918128Z [gw1] [ 37%] PASSED [0.9450s] ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::InitTest::ProducesPyTorchValues_XavierNormal 
2023-09-25T20:53:02.0918930Z ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::InitTest::ProducesPyTorchValues_KaimingNormal 
2023-09-25T20:53:02.0919753Z [gw0] [ 37%] PASSED [0.9538s] ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::ModulesTest::BatchNorm2dStateless 
2023-09-25T20:53:02.0920489Z ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::ModulesTest::BatchNorm2d 
2023-09-25T20:53:02.0921304Z [gw1] [ 37%] PASSED [0.9645s] ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::InitTest::ProducesPyTorchValues_KaimingNormal 
2023-09-25T20:53:02.0922097Z ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::InitTest::ProducesPyTorchValues_KaimingUniform 
2023-09-25T20:53:02.0922907Z [gw0] [ 37%] PASSED [1.0939s] ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::ModulesTest::BatchNorm2d 
2023-09-25T20:53:02.0923650Z ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::ModulesTest::BatchNorm3dStateful 
2023-09-25T20:53:02.0924483Z [gw1] [ 37%] PASSED [0.9616s] ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::InitTest::ProducesPyTorchValues_KaimingUniform 
2023-09-25T20:53:02.0925288Z ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::InitTest::CanInitializeTensorThatRequiresGrad 
2023-09-25T20:53:02.0926121Z [gw0] [ 38%] PASSED [0.9790s] ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::ModulesTest::BatchNorm3dStateful 
2023-09-25T20:53:02.0926878Z ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::ModulesTest::BatchNorm3dStateless 
2023-09-25T20:53:02.0927731Z [gw1] [ 38%] PASSED [1.0401s] ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::InitTest::CanInitializeTensorThatRequiresGrad 
2023-09-25T20:53:02.0928501Z ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::InitTest::CalculateGainWithTanh 

(2) IntegrationTest tests:

2023-09-25T20:53:02.0941351Z ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::IntegrationTest::CartPole 
2023-09-25T20:53:02.0942126Z [gw0] [ 39%] PASSED [1.1081s] ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::ModulesTest::InstanceNorm1d 
..
2023-09-25T20:53:02.0969092Z [gw1] [ 40%] PASSED [18.4347s] ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::IntegrationTest::CartPole 
2023-09-25T20:53:02.0969799Z ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::IntegrationTest::MNIST_CUDA 
..

(3) ParallelTest:

2023-09-25T20:53:02.1797552Z ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::ParallelTest::DataParallelUsesAllAvailableCUDADevices_CUDA 
2023-09-25T20:53:02.1798035Z [gw0] [ 99%] PASSED [1.1544s] ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::OperationTest::Linear_out 
2023-09-25T20:53:02.1798610Z [gw1] [100%] PASSED [1.2784s] ../../../../../opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/bin/test_api::ParallelTest::DataParallelUsesAllAvailableCUDADevices_CUDA 
2023-09-25T20:53:02.1798622Z 

@jithunnair-amd
Copy link
Copy Markdown
Collaborator

jithunnair-amd commented Sep 27, 2023

@kit1980 @malfet CI is clean. Enabling some more cpp_tests for ROCm.

@malfet
Copy link
Copy Markdown
Contributor

malfet commented Sep 27, 2023

@jithunnair-amd do you know how much longer it will take the CI to finish with those tests to add? ROCM runners were queued quite often last week. From https://hud.pytorch.org/metrics
image

@malfet
Copy link
Copy Markdown
Contributor

malfet commented Sep 27, 2023

@pytorchbot merge

@pytorchmergebot
Copy link
Copy Markdown
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

@jithunnair-amd jithunnair-amd added the rocm This tag is for PRs from ROCm team label Dec 13, 2023
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 Merged module: rocm AMD GPU support for Pytorch open source rocm This tag is for PRs from ROCm team topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants