File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1818import torch .nn as nn
1919import torch .utils .cpp_extension
2020import torch .utils .data
21- from .checkpoint import (
22- _infer_device_type ,
23- checkpoint ,
24- checkpoint_sequential ,
25- get_device_states ,
26- )
2721from torch ._utils import try_import
2822from torch ._utils_internal import deprecated
2923from torch .testing ._internal .common_cuda import TEST_MULTIGPU
5246from torch .utils .collect_env import get_pretty_env_info
5347from torch .utils .data import DataLoader
5448
49+ from .checkpoint import (
50+ _infer_device_type ,
51+ checkpoint ,
52+ checkpoint_sequential ,
53+ get_device_states ,
54+ )
55+
5556# load_tests from torch.testing._internal.common_utils is used to automatically filter tests for
5657# sharding on sandcastle. This line silences flake warnings
5758load_tests = load_tests # noqa: PLW0127
You can’t perform that action at this time.
0 commit comments