Skip to content

[ROCM] enable test_aten cpp tests - #106476

Closed
hongxiayang wants to merge 1 commit into
pytorch:mainfrom
hongxiayang:enable_rocm_cpp_test_aten
Closed

hongxiayang wants to merge 1 commit into
pytorch:mainfrom
hongxiayang:enable_rocm_cpp_test_aten

Conversation

@hongxiayang

@hongxiayang hongxiayang commented Aug 2, 2023 •

Copy link
Copy Markdown
Collaborator

This is part of effort to enable missed cpp test for ROCm platform.

In this change, we enabled the test_aten cpp test.
The total number of tests enabled is 214.

Test plan:
Tested in the rocm/pytorch-nightly:latest

jenkins@xxxxx:/tmp/pytorch$ .ci/pytorch/test.sh &> test_aten.out

jenkins@xxxxx:/tmp/pytorch$ grep PASS test_aten.out  |wc -l
214

cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo

@pytorch-bot pytorch-bot Bot added the module: rocm AMD GPU support for Pytorch label Aug 2, 2023
@pytorch-bot

pytorch-bot Bot commented Aug 2, 2023 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 1 New Failure, 1 Unrelated Failure

As of commit bb9eade:

NEW FAILURE - The following job has failed:

UNSTABLE - The following job failed but was likely due to flakiness present on trunk and has been marked as unstable:

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

@jithunnair-amd

Copy link
Copy Markdown
Collaborator

@pytorchbot label "topic: not user facing"

@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label Aug 2, 2023
@hongxiayang
hongxiayang marked this pull request as ready for review August 2, 2023 18:56
@jithunnair-amd
jithunnair-amd marked this pull request as draft August 2, 2023 19:05
@jithunnair-amd

jithunnair-amd commented Aug 2, 2023 •

Copy link
Copy Markdown
Collaborator

@hongxiayang Please keep an eye on the ROCm CI runs, and once you see CI running the tests you intended to enable and running them successfully, please move it out of Draft and we can add reviewers.

@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 Aug 2, 2023
@hongxiayang

Copy link
Copy Markdown
Collaborator Author

@pytorchbot label ciflow/periodic

@pytorch-bot pytorch-bot Bot added the ciflow/periodic Trigger jobs ran periodically on master (periodic.yml) on the PR label Aug 2, 2023
@hongxiayang

Copy link
Copy Markdown
Collaborator Author

The enabled tests are shown in :
https://pipelines.actions.githubusercontent.com/serviceHosts/7d146c05-69c3-4c20-a0e7-818111670117/_apis/pipelines/1/runs/3222241/signedlogcontent/207?urlExpires=2023-08-03T13%3A38%3A56.0936528Z&urlSigningMethod=HMACV1&urlSignature=pZXXaWIVf6B90B6%2BRv6aRP2pkVp0QToVDShWeJW7TfY%3D

Example:

2023-08-03T02:56:24.4806266Z platform linux -- Python 3.8.16, pytest-7.3.2, pluggy-1.2.0 -- /opt/conda/envs/py_3.8/bin/python
2023-08-03T02:56:24.4807194Z cachedir: .pytest_cache
2023-08-03T02:56:24.4808626Z hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/var/lib/jenkins/pytorch/test/.hypothesis/examples')
2023-08-03T02:56:24.4809759Z rootdir: /var/lib/jenkins/pytorch
2023-08-03T02:56:24.4810428Z configfile: pytest.ini
2023-08-03T02:56:24.4812513Z plugins: hypothesis-5.35.1, cpp-2.3.0, flakefinder-1.1.0, shard-0.1.2, xdist-3.3.1, xdoctest-1.1.0, rerunfailures-12.0
2023-08-03T02:56:24.4813651Z created: 3/3 workers
2023-08-03T02:56:24.4814239Z 3 workers [47 items]
2023-08-03T02:56:24.4814614Z 
2023-08-03T02:56:24.4814933Z scheduling tests via LoadScheduling
2023-08-03T02:56:24.4815382Z 
2023-08-03T02:56:24.4815953Z ../build/bin/Dict_test::DictTest::givenEmptyDict_whenCallingEmpty_thenReturnsTrue 
2023-08-03T02:56:24.4817300Z ../build/bin/Dict_test::DictTest::whenInsertingExistingKey_thenReturnsFalseAndIteratorToExistingElement 
2023-08-03T02:56:24.4818692Z ../build/bin/Dict_test::DictTest::givenNonemptyDict_whenCallingSize_thenReturnsNumberOfElements 
2023-08-03T02:56:24.4820088Z [gw1] [  2%] PASSED [0.8585s] ../build/bin/Dict_test::DictTest::givenNonemptyDict_whenCallingSize_thenReturnsNumberOfElements 
2023-08-03T02:56:24.4821389Z ../build/bin/Dict_test::DictTest::givenNonemptyDict_whenCallingClear_thenIsEmpty 
2023-08-03T02:56:24.4822794Z [gw2] [  4%] PASSED [1.1087s] ../build/bin/Dict_test::DictTest::whenInsertingExistingKey_thenReturnsFalseAndIteratorToExistingElement 
2023-08-03T02:56:24.4824270Z [gw0] [  6%] PASSED [1.1096s] ../build/bin/Dict_test::DictTest::givenEmptyDict_whenCallingEmpty_thenReturnsTrue 
2023-08-03T02:56:24.4825515Z ../build/bin/Dict_test::DictTest::whenInsertingExistingKey_thenDoesNotModifyDict 
2023-08-03T02:56:24.4826723Z ../build/bin/Dict_test::DictTest::givenNonemptyDict_whenCallingEmpty_thenReturnsFalse 
2023-08-03T02:56:24.4827968Z [gw1] [  8%] PASSED [0.8801s] ../build/bin/Dict_test::DictTest::givenNonemptyDict_whenCallingClear_thenIsEmpty 
2023-08-03T02:56:24.4829281Z ../build/bin/Dict_test::DictTest::whenInsertingNewKey_thenReturnsTrueAndIteratorToNewElement 
2023-08-03T02:56:24.4830614Z [gw2] [ 10%] PASSED [0.8731s] ../build/bin/Dict_test::DictTest::whenInsertingExistingKey_thenDoesNotModifyDict 
2023-08-03T02:56:24.4831994Z ../build/bin/Dict_test::DictTest::whenInsertOrAssigningNewKey_thenReturnsTrueAndIteratorToNewElement 
2023-08-03T02:56:24.4833383Z [gw0] [ 12%] PASSED [0.9268s] ../build/bin/Dict_test::DictTest::givenNonemptyDict_whenCallingEmpty_thenReturnsFalse 
2023-08-03T02:56:24.4834637Z ../build/bin/Dict_test::DictTest::givenEmptyDict_whenCallingSize_thenReturnsZero 
2023-08-03T02:56:24.4835960Z [gw1] [ 14%] PASSED [0.9024s] ../build/bin/Dict_test::DictTest::whenInsertingNewKey_thenReturnsTrueAndIteratorToNewElement 
2023-08-03T02:56:24.4837471Z ../build/bin/Dict_test::DictTest::whenInsertOrAssigningExistingKey_thenReturnsFalseAndIteratorToChangedElement 
2023-08-03T02:56:24.4838898Z [gw0] [ 17%] PASSED [0.8815s] ../build/bin/Dict_test::DictTest::givenEmptyDict_whenCallingSize_thenReturnsZero 
2023-08-03T02:56:24.4840218Z ../build/bin/Dict_test::DictTest::givenOneElementDict_whenErasingByKey_thenReturnsOneAndDictIsEmpty 
2023-08-03T02:56:24.4841689Z [gw2] [ 19%] PASSED [1.0053s] ../build/bin/Dict_test::DictTest::whenInsertOrAssigningNewKey_thenReturnsTrueAndIteratorToNewElement 
2023-08-03T02:56:24.4843023Z ../build/bin/Dict_test::DictTest::givenConstDict_whenIterating_thenFindsElements 
2023-08-03T02:56:24.4844750Z [gw1] [ 21%] PASSED [0.9019s] ../build/bin/Dict_test::DictTest::whenInsertOrAssigningExistingKey_thenReturnsFalseAndIteratorToChangedElement 
...

@hongxiayang
hongxiayang marked this pull request as ready for review August 3, 2023 13:54
@hongxiayang

Copy link
Copy Markdown
Collaborator Author

by checking the failures, the failed job is not related to this change.

@jithunnair-amd jithunnair-amd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jithunnair-amd

Copy link
Copy Markdown
Collaborator

@malfet @kit1980 Please review and merge

@malfet

malfet commented Aug 7, 2023

Copy link
Copy Markdown
Collaborator

@pytorchbot merge -i

@malfet

malfet commented Aug 7, 2023

Copy link
Copy Markdown
Collaborator

Please note, that linux-focal-rocm5.6-py3.8 / test (default, 3, 3, linux.rocm.gpu, unstable) failed, and I hope you've looked into it

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged while ignoring the following 2 checks: trunk / linux-focal-rocm5.6-py3.8 / test (default, 3, 3, linux.rocm.gpu, unstable), periodic / macos-12-py3-x86-64 / test (default, 1, 4, macos-12)

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

Cyril-Anto pushed a commit to Cyril-Anto/pytorch that referenced this pull request Aug 17, 2023
This is part of effort to enable missed cpp test for ROCm platform.

In this change, we enabled the test_aten cpp test.
The total number of tests enabled is 214.

**Test plan:**
Tested in the rocm/pytorch-nightly:latest

```
jenkins@xxxxx:/tmp/pytorch$ .ci/pytorch/test.sh &> test_aten.out

jenkins@xxxxx:/tmp/pytorch$ grep PASS test_aten.out  |wc -l
214
```

Pull Request resolved: pytorch#106476
Approved by: https://github.com/jithunnair-amd, https://github.com/malfet
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 Merged module: rocm AMD GPU support for Pytorch open source topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants