mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
This PR excises opcheck's dependency on torch.testing._internal.common_utils, (which comes with dependencies on expecttest and hypothesis). We do this by moving what we need to torch.testing._utils and adding a test for it. Fixes #126870, #126871 Test Plan: - new tests Pull Request resolved: https://github.com/pytorch/pytorch/pull/127292 Approved by: https://github.com/williamwen42 ghstack dependencies: #127291
4 lines
186 B
Python
4 lines
186 B
Python
from torch._C import FileCheck as FileCheck
|
|
from . import _utils
|
|
from ._comparison import assert_allclose, assert_close as assert_close
|
|
from ._creation import make_tensor as make_tensor
|