forked from mindspore-Ecosystem/mindspore
!16381 disable python multi-processing with shared memory until more testing
From: @robingrosman Reviewed-by: @xsmq,@guoqi1024 Signed-off-by: @xsmq
This commit is contained in:
commit
1d3d1fa53e
|
@ -50,7 +50,7 @@ ConfigManager::ConfigManager()
|
|||
num_cpu_threads_(std::thread::hardware_concurrency()),
|
||||
auto_num_workers_num_shards_(1),
|
||||
auto_worker_config_(0),
|
||||
enable_shared_mem_(true) {
|
||||
enable_shared_mem_(false) {
|
||||
num_cpu_threads_ = num_cpu_threads_ > 0 ? num_cpu_threads_ : std::numeric_limits<uint16_t>::max();
|
||||
num_parallel_workers_ = num_parallel_workers_ < num_cpu_threads_ ? num_parallel_workers_ : num_cpu_threads_;
|
||||
auto env_cache_host = std::getenv("MS_CACHE_HOST");
|
||||
|
|
Loading…
Reference in New Issue