Issue 1:
Per pytorch_windows_vs2019_py36_cuda10.1_test2:

[ RUN ] MetaprogrammingTest.FilterMap_onlyCopiesIfNecessary
..\c10\test\util\Metaprogramming_test.cpp(176): error: Expected equality of these values:
2
result[0].move_count
Which is: 3
..\c10\test\util\Metaprogramming_test.cpp(178): error: Expected equality of these values:
1
result[1].move_count
Which is: 2
..\c10\test\util\Metaprogramming_test.cpp(180): error: Expected equality of these values:
2
result[2].move_count
Which is: 3
[ FAILED ] MetaprogrammingTest.FilterMap_onlyCopiesIfNecessary (0 ms)
[ RUN ] MetaprogrammingTest.FilterMap_onlyMovesIfNecessary_1
..\c10\test\util\Metaprogramming_test.cpp(194): error: Expected equality of these values:
1
result[0].move_count
Which is: 2
..\c10\test\util\Metaprogramming_test.cpp(196): error: Expected equality of these values:
1
result[1].move_count
Which is: 2
[ FAILED ] MetaprogrammingTest.FilterMap_onlyMovesIfNecessary_1 (0 ms)

cc @peterjc123

Issue 2:
https://ci.pytorch.org/jenkins/job/pytorch-builds/job/pytorch-win-ws2016-cuda9-cudnn7-py3-test2/44313/console

https://ci.pytorch.org/jenkins/job/pytorch-builds/job/pytorch-win-ws2016-cuda9-cudnn7-py3-test2/44309/console

Running "C:\Jenkins\workspace\pytorch-builds\pytorch-win-ws2016-cuda9-cudnn7-py3-test2\build\win_tmp\build\torch\test\c10_Metaprogramming_test.exe"
Running main() from ..\third_party\googletest\googletest\src\gtest_main.cc
[==========] Running 14 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 14 tests from MetaprogrammingTest
[ RUN ] MetaprogrammingTest.ExtractArgByFilteredIndex
[ OK ] MetaprogrammingTest.ExtractArgByFilteredIndex (0 ms)
[ RUN ] MetaprogrammingTest.ExtractArgByFilteredIndex_singleInput
[ OK ] MetaprogrammingTest.ExtractArgByFilteredIndex_singleInput (0 ms)
[ RUN ] MetaprogrammingTest.ExtractArgByFilteredIndex_movableOnly
[ OK ] MetaprogrammingTest.ExtractArgByFilteredIndex_movableOnly (0 ms)
[ RUN ] MetaprogrammingTest.ExtractArgByFilteredIndex_onlyCopiesIfNecessary
[ OK ] MetaprogrammingTest.ExtractArgByFilteredIndex_onlyCopiesIfNecessary (0 ms)
[ RUN ] MetaprogrammingTest.ExtractArgByFilteredIndex_onlyMovesIfNecessary
[ OK ] MetaprogrammingTest.ExtractArgByFilteredIndex_onlyMovesIfNecessary (0 ms)
[ RUN ] MetaprogrammingTest.ExtractArgByFilteredIndex_keepsLValueReferencesIntact
[ OK ] MetaprogrammingTest.ExtractArgByFilteredIndex_keepsLValueReferencesIntact (0 ms)
[ RUN ] MetaprogrammingTest.FilterMap
[ OK ] MetaprogrammingTest.FilterMap (0 ms)
[ RUN ] MetaprogrammingTest.FilterMap_emptyInput
[ OK ] MetaprogrammingTest.FilterMap_emptyInput (0 ms)
[ RUN ] MetaprogrammingTest.FilterMap_emptyOutput
[ OK ] MetaprogrammingTest.FilterMap_emptyOutput (0 ms)
[ RUN ] MetaprogrammingTest.FilterMap_movableOnly_byRValue
[ OK ] MetaprogrammingTest.FilterMap_movableOnly_byRValue (0 ms)
[ RUN ] MetaprogrammingTest.FilterMap_movableOnly_byValue
[ OK ] MetaprogrammingTest.FilterMap_movableOnly_byValue (0 ms)
[ RUN ] MetaprogrammingTest.FilterMap_onlyCopiesIfNecessary
..\c10\test\util\Metaprogramming_test.cpp(176): error: Expected equality of these values:
2
result[0].move_count
Which is: 3
..\c10\test\util\Metaprogramming_test.cpp(178): error: Expected equality of these values:
1
result[1].move_count
Which is: 2
..\c10\test\util\Metaprogramming_test.cpp(180): error: Expected equality of these values:
2
result[2].move_count
Which is: 3
[ FAILED ] MetaprogrammingTest.FilterMap_onlyCopiesIfNecessary (1 ms)
[ RUN ] MetaprogrammingTest.FilterMap_onlyMovesIfNecessary_1
..\c10\test\util\Metaprogramming_test.cpp(194): error: Expected equality of these values:
1
result[0].move_count
Which is: 2
..\c10\test\util\Metaprogramming_test.cpp(196): error: Expected equality of these values:
1
result[1].move_count
Which is: 2
[ FAILED ] MetaprogrammingTest.FilterMap_onlyMovesIfNecessary_1 (0 ms)
[ RUN ] MetaprogrammingTest.FilterMap_onlyMovesIfNecessary_2
[ OK ] MetaprogrammingTest.FilterMap_onlyMovesIfNecessary_2 (0 ms)
[----------] 14 tests from MetaprogrammingTest (1 ms total)

[----------] Global test environment tear-down
[==========] 14 tests from 1 test case ran. (1 ms total)
[ PASSED ] 12 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] MetaprogrammingTest.FilterMap_onlyCopiesIfNecessary
[ FAILED ] MetaprogrammingTest.FilterMap_onlyMovesIfNecessary_1

2 FAILED TESTS

Running "C:\Jenkins\workspace\pytorch-builds\pytorch-win-ws2016-cuda9-cudnn7-py3-test2\build\win_tmp\build\torch\test\module_test.exe"
Running main() from ..\third_party\googletest\googletest\src\gtest_main.cc
[==========] Running 2 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 2 tests from ModuleTest
[ RUN ] ModuleTest.StaticModule
unknown file: error: C++ exception with description "[enforce fail at ..\caffe2\core\module.cc:46] !HasModule(name). On Windows, LoadModule is currently not supported yet and you should use static linking for any module that you intend to use.
(no backtrace available)" thrown in the test body.
[ FAILED ] ModuleTest.StaticModule (0 ms)
[ RUN ] ModuleTest.DynamicModule
[E ..\caffe2\core\operator.cc:203] Cannot find operator schema for Caffe2ModuleTestDynamicDummy. Will skip schema checking.
..\caffe2\core\module_test.cc(68): error: Expected equality of these values:
modules.count(name)
Which is: 0
1
..\caffe2\core\module_test.cc(69): error: Value of: HasModule(name)
Actual: false
Expected: true
[E ..\caffe2\core\operator.cc:203] Cannot find operator schema for Caffe2ModuleTestDynamicDummy. Will skip schema checking.
unknown file: error: C++ exception with description "[enforce fail at ..\caffe2\core\operator.cc:273] op. Cannot create operator of type 'Caffe2ModuleTestDynamicDummy' on the device 'CPU'. Verify that implementation for the corresponding device exist. It might also happen if the binary is not linked with the operator implementation code. If Python frontend is used it might happen if dyndep.InitOpsLibrary call is missing. Operator def: type: "Caffe2ModuleTestDynamicDummy"
(no backtrace available)" thrown in the test body.
[ FAILED ] ModuleTest.DynamicModule (1 ms)
[----------] 2 tests from ModuleTest (2 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 1 test case ran. (2 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] ModuleTest.StaticModule
[ FAILED ] ModuleTest.DynamicModule

cc @peterjc123