Skip to content

Commit 6b3bdd1

Browse files
efiksfacebook-github-bot
authored andcommitted
Adding NUMA support for pytorch (#3926)
Summary: X-link: facebookresearch/FBGEMM#1014 X-link: pytorch/pytorch#150597 Add entry point and environment variable to control NUMA binding / assigment for distributed pytorch runs (training). Differential Revision: D72321369
1 parent 8f606de commit 6b3bdd1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: fbgemm_gpu/test/sparse/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import fbgemm_gpu
1717
import torch
1818
from hypothesis import HealthCheck, settings
19-
from torch._utils_internal import get_file_path_2 # @manual=//caffe2:utils_internal
19+
from torch._utils_internal import get_file_path_2 # @manual=//caffe2:_utils_internal
2020
from torch.testing._internal.optests import generate_opcheck_tests
2121

2222
# pyre-fixme[16]: Module `fbgemm_gpu` has no attribute `open_source`.

Diff for: fbgemm_gpu/test/test_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def decorator(test_class: unittest.TestCase) -> unittest.TestCase:
141141
if not has_optests():
142142
return test_class
143143
import torch.testing._internal.optests as optests
144-
from torch._utils_internal import ( # @manual=//caffe2:utils_internal
144+
from torch._utils_internal import ( # @manual=//caffe2:_utils_internal
145145
get_file_path_2,
146146
)
147147

0 commit comments

Comments
 (0)