--- a/torch/__init__.py +++ b/torch/__init__.py @@ -1691,7 +1691,7 @@ py_float = float py_int = int # Shared memory manager needs to know the exact location of manager executable -_C._initExtension(_manager_path()) +_C._initExtension(b"/usr/bin/torch_shm_manager") del _manager_path # Appease the type checker: it can't deal with direct setting of globals().