mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
This reverts commit a0d026688cd69583d5a4e0c6f3e5fda141a7f4a9. Revert "Always build USE_DISTRIBUTED. (#160449)" This reverts commit d80297a6846f1f2c36fd4f19e22919f2abe8fcea. Pull Request resolved: https://github.com/pytorch/pytorch/pull/162568 Approved by: https://github.com/huydhn
This commit is contained in:
committed by
PyTorch MergeBot
parent
11acfed3ce
commit
dda071587f
@ -7,7 +7,7 @@ import sys
|
||||
from dataclasses import dataclass
|
||||
from multiprocessing.context import SpawnProcess
|
||||
from typing import Any, Optional
|
||||
from unittest import skipIf, skipUnless
|
||||
from unittest import skipUnless
|
||||
from unittest.mock import mock_open, patch
|
||||
|
||||
import torch
|
||||
@ -22,7 +22,7 @@ from torch.numa.binding import (
|
||||
AffinityMode,
|
||||
NumaOptions,
|
||||
)
|
||||
from torch.testing._internal.common_utils import IS_MACOS, run_tests, TestCase
|
||||
from torch.testing._internal.common_utils import run_tests, TestCase
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
@ -680,7 +680,6 @@ class NumaBindingTest(TestCase):
|
||||
set(range(0, 2)),
|
||||
)
|
||||
|
||||
@skipIf(IS_MACOS, "sched_getaffinity doesn't exist")
|
||||
def test_binds_to_node_0_if_node_stored_as_minus_one(self) -> None:
|
||||
self._add_mock_hardware(
|
||||
num_sockets=1,
|
||||
|
Reference in New Issue
Block a user