!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:
mindspore-ci-bot 2021-05-14 09:14:05 +08:00 committed by Gitee
commit 1d3d1fa53e
1 changed files with 1 additions and 1 deletions

View File

@ -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");