mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Switch off USE_DISTRIBUTED on default for MSVC (#20302)
Summary: Fixes https://github.com/pytorch/pytorch/issues/20250 Pull Request resolved: https://github.com/pytorch/pytorch/pull/20302 Differential Revision: D15277733 Pulled By: ezyang fbshipit-source-id: a8915939d033a04f962908d19bbad840b6234e27
This commit is contained in:
committed by
Facebook Github Bot
parent
2aea5b6335
commit
1e35ef07e9
@ -163,6 +163,8 @@ if (MSVC)
|
||||
string(REGEX REPLACE "/INCREMENTAL" "/INCREMENTAL:NO" ${flag_var} "${${flag_var}}")
|
||||
endif()
|
||||
endforeach(flag_var)
|
||||
# Turning off USE_DISTRIBUTED on default
|
||||
set(USE_DISTRIBUTED OFF)
|
||||
endif(MSVC)
|
||||
|
||||
# Set INTERN_BUILD_MOBILE for all mobile builds. Components that are not
|
||||
|
Reference in New Issue
Block a user