diff --git a/python/graphstorm/gconstruct/utils.py b/python/graphstorm/gconstruct/utils.py index d2077f632e..5c09449234 100644 --- a/python/graphstorm/gconstruct/utils.py +++ b/python/graphstorm/gconstruct/utils.py @@ -42,6 +42,8 @@ PICKLE_CROSS_PROCESS_STORAGE = "pickle" EXT_MEMORY_STORAGE = "ext_memory" +multiprocessing.set_start_method("spawn", force=True) + def _is_numeric(arr): """ Check if the input array has the numeric data type. """