mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-05 08:24:57 +08:00
Enable JIT tests on Windows (#27029)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/27029 Reviewed By: eellison Differential Revision: D20458664 Pulled By: jamesr66a fbshipit-source-id: 22be918543703869f471e89b3478423198351bf3
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1af6002321
commit
24c9e61e79
@ -98,7 +98,7 @@ bool loadPythonClasses() {
|
||||
}
|
||||
} // anonymous namespace
|
||||
|
||||
#if !defined(_WIN32) && !defined(__HIP_PLATFORM_HCC__)
|
||||
#if !defined(__HIP_PLATFORM_HCC__)
|
||||
TORCH_API void runJITCPPTests(bool runCuda);
|
||||
#endif
|
||||
|
||||
@ -305,7 +305,7 @@ void initJITBindings(PyObject* module) {
|
||||
.def(
|
||||
"_jit_pass_create_autodiff_subgraphs",
|
||||
[](std::shared_ptr<Graph> graph) { CreateAutodiffSubgraphs(graph); })
|
||||
#if defined(BUILDING_TESTS) && !defined(_WIN32) && !defined(__HIP_PLATFORM_HCC__)
|
||||
#if defined(BUILDING_TESTS) && !defined(__HIP_PLATFORM_HCC__)
|
||||
.def(
|
||||
"_jit_run_cpp_tests",
|
||||
[](bool runCuda) {
|
||||
|
||||
Reference in New Issue
Block a user