Skip to content

Add a loop test for onnxified net#32935

Closed
yinghai wants to merge 1 commit intopytorch:masterfrom
yinghai:export-D19631971
Closed

Add a loop test for onnxified net#32935
yinghai wants to merge 1 commit intopytorch:masterfrom
yinghai:export-D19631971

Conversation

@yinghai
Copy link
Contributor

@yinghai yinghai commented Feb 3, 2020

Summary: Mock away the content of onnxified net with some low cost ops so that we can still mimic the input/output transfer while doing minimal work on the card.

Test Plan:

buck run glow/fb/test:sparsenn_test -- --gtest_filter='SparseNNTest.vanillaC2' --onnxifi_debug_mode --onnxifi_loop_test_mode --nocaffe2_predictor_use_memonger

Differential Revision: D19631971

Summary: Mock away the content of onnxified net with some low cost ops so that we can still mimic the input/output transfer while doing minimal work on the card.

Test Plan:
```
buck run glow/fb/test:sparsenn_test -- --gtest_filter='SparseNNTest.vanillaC2' --onnxifi_debug_mode --onnxifi_loop_test_mode --nocaffe2_predictor_use_memonger
```

Differential Revision: D19631971

fbshipit-source-id: a83295ecb6b4225d5eebbe52e9637a3aeef3d1a5
@facebook-github-bot
Copy link
Contributor

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

@kostmo
Copy link
Member

kostmo commented Feb 3, 2020

💊 CircleCI build failures summary and remediations

As of commit 91f3646:

  • 5/5 failures introduced in this PR

Detailed failure analysis

One may explore the probable reasons each build failed interactively on the Dr. CI website.

🕵️ 5 new failures recognized by patterns

The following build failures do not appear to be due to upstream breakage:

See CircleCI build pytorch_linux_xenial_py3_5_build (1/5)

Step: "Should run job" (full log | pattern match details)

/home/circleci/workspace/.circleci/scripts/should_run_job.sh: line 25: circleci: command not found
+ '[' -z pytorch-linux-xenial-py3.5-build ']' 
+ '[' -e /home/circleci/workspace/.circleci/scripts/COMMIT_MSG ']' 
+ '[' -n https://github.com/pytorch/pytorch/pull/32935 ']' 
+ [[ pull/32935 != \c\i\-\a\l\l\/* ]] 
+ [[ pull/32935 != \n\i\g\h\t\l\y ]] 
+ [[ pull/32935 != \p\o\s\t\n\i\g\h\t\l\y ]] 
+ '[' -e /home/circleci/workspace/.circleci/scripts/should_run_job.py ']' 
+ python /home/circleci/workspace/.circleci/scripts/should_run_job.py pytorch-linux-xenial-py3.5-build 
Rejecting pytorch-linux-xenial-py3.5-build 
+ circleci step halt 
/home/circleci/workspace/.circleci/scripts/should_run_job.sh: line 25: circleci: command not found 

See CircleCI build pytorch_parallelnative_linux_xenial_py3_6_gcc5_4_build (2/5)

Step: "Should run job" (full log | pattern match details)

/home/circleci/workspace/.circleci/scripts/should_run_job.sh: line 25: circleci: command not found
+ '[' -z pytorch-parallelnative-linux-xenial-py3.6-gcc5.4-build ']' 
+ '[' -e /home/circleci/workspace/.circleci/scripts/COMMIT_MSG ']' 
+ '[' -n https://github.com/pytorch/pytorch/pull/32935 ']' 
+ [[ pull/32935 != \c\i\-\a\l\l\/* ]] 
+ [[ pull/32935 != \n\i\g\h\t\l\y ]] 
+ [[ pull/32935 != \p\o\s\t\n\i\g\h\t\l\y ]] 
+ '[' -e /home/circleci/workspace/.circleci/scripts/should_run_job.py ']' 
+ python /home/circleci/workspace/.circleci/scripts/should_run_job.py pytorch-parallelnative-linux-xenial-py3.6-gcc5.4-build 
Rejecting pytorch-parallelnative-linux-xenial-py3.6-gcc5.4-build 
+ circleci step halt 
/home/circleci/workspace/.circleci/scripts/should_run_job.sh: line 25: circleci: command not found 

See CircleCI build pytorch_paralleltbb_linux_xenial_py3_6_gcc5_4_build (3/5)

Step: "Should run job" (full log | pattern match details)

/home/circleci/workspace/.circleci/scripts/should_run_job.sh: line 25: circleci: command not found
+ '[' -z pytorch-paralleltbb-linux-xenial-py3.6-gcc5.4-build ']' 
+ '[' -e /home/circleci/workspace/.circleci/scripts/COMMIT_MSG ']' 
+ '[' -n https://github.com/pytorch/pytorch/pull/32935 ']' 
+ [[ pull/32935 != \c\i\-\a\l\l\/* ]] 
+ [[ pull/32935 != \n\i\g\h\t\l\y ]] 
+ [[ pull/32935 != \p\o\s\t\n\i\g\h\t\l\y ]] 
+ '[' -e /home/circleci/workspace/.circleci/scripts/should_run_job.py ']' 
+ python /home/circleci/workspace/.circleci/scripts/should_run_job.py pytorch-paralleltbb-linux-xenial-py3.6-gcc5.4-build 
Rejecting pytorch-paralleltbb-linux-xenial-py3.6-gcc5.4-build 
+ circleci step halt 
/home/circleci/workspace/.circleci/scripts/should_run_job.sh: line 25: circleci: command not found 

See CircleCI build binary_linux_manywheel_3_7m_cu100_devtoolset7_test (4/5)

Step: "Should run job" (full log | pattern match details)

/home/circleci/workspace/.circleci/scripts/should_run_job.sh: line 25: circleci: command not found
+ '[' -z 'manywheel 3.7m cu100 devtoolset7' ']' 
+ '[' -e /home/circleci/workspace/.circleci/scripts/COMMIT_MSG ']' 
+ '[' -n https://github.com/pytorch/pytorch/pull/32935 ']' 
+ [[ pull/32935 != \c\i\-\a\l\l\/* ]] 
+ [[ pull/32935 != \n\i\g\h\t\l\y ]] 
+ [[ pull/32935 != \p\o\s\t\n\i\g\h\t\l\y ]] 
+ '[' -e /home/circleci/workspace/.circleci/scripts/should_run_job.py ']' 
+ python /home/circleci/workspace/.circleci/scripts/should_run_job.py 'manywheel 3.7m cu100 devtoolset7' 
Rejecting manywheel 3.7m cu100 devtoolset7 
+ circleci step halt 
/home/circleci/workspace/.circleci/scripts/should_run_job.sh: line 25: circleci: command not found 

See CircleCI build binary_linux_conda_2_7_cpu_devtoolset7_test (5/5)

Step: "Should run job" (full log | pattern match details)

/home/circleci/workspace/.circleci/scripts/should_run_job.sh: line 25: circleci: command not found
+ '[' -z 'conda 2.7 cpu devtoolset7' ']' 
+ '[' -e /home/circleci/workspace/.circleci/scripts/COMMIT_MSG ']' 
+ '[' -n https://github.com/pytorch/pytorch/pull/32935 ']' 
+ [[ pull/32935 != \c\i\-\a\l\l\/* ]] 
+ [[ pull/32935 != \n\i\g\h\t\l\y ]] 
+ [[ pull/32935 != \p\o\s\t\n\i\g\h\t\l\y ]] 
+ '[' -e /home/circleci/workspace/.circleci/scripts/should_run_job.py ']' 
+ python /home/circleci/workspace/.circleci/scripts/should_run_job.py 'conda 2.7 cpu devtoolset7' 
Rejecting conda 2.7 cpu devtoolset7 
+ circleci step halt 
/home/circleci/workspace/.circleci/scripts/should_run_job.sh: line 25: circleci: command not found 

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in b4b1b10.

BowenBao pushed a commit to BowenBao/pytorch that referenced this pull request Feb 12, 2020
Summary:
Pull Request resolved: pytorch#32935

Mock away the content of onnxified net with some low cost ops so that we can still mimic the input/output transfer while doing minimal work on the card.

Test Plan:
```
buck run glow/fb/test:sparsenn_test -- --gtest_filter='SparseNNTest.vanillaC2' --onnxifi_debug_mode --onnxifi_loop_test_mode --nocaffe2_predictor_use_memonger
```

Differential Revision: D19631971

fbshipit-source-id: f970c55ccb410702f479255eeb750e01e3f8c2ae
ttumiel pushed a commit to ttumiel/pytorch that referenced this pull request Mar 4, 2020
Summary:
Pull Request resolved: pytorch#32935

Mock away the content of onnxified net with some low cost ops so that we can still mimic the input/output transfer while doing minimal work on the card.

Test Plan:
```
buck run glow/fb/test:sparsenn_test -- --gtest_filter='SparseNNTest.vanillaC2' --onnxifi_debug_mode --onnxifi_loop_test_mode --nocaffe2_predictor_use_memonger
```

Differential Revision: D19631971

fbshipit-source-id: f970c55ccb410702f479255eeb750e01e3f8c2ae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants