mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Update (base update)
[ghstack-poisoned]
This commit is contained in:
parent
db08e49d79
commit
ac7fd643ff
3 changed files with 12 additions and 7 deletions
|
|
@ -171,7 +171,7 @@ include_patterns = [
|
|||
'benchmarks/instruction_counts/**/*.py',
|
||||
'tools/**/*.py',
|
||||
'torchgen/**/*.py',
|
||||
'torch/utils/pytree.py',
|
||||
'torch/utils/pytree/__init__.py',
|
||||
'torch/utils/_pytree.py',
|
||||
'torch/utils/_cxx_pytree.py',
|
||||
'torch/utils/benchmark/utils/common.py',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ files =
|
|||
benchmarks/instruction_counts,
|
||||
tools,
|
||||
torch/profiler/_memory_profiler.py,
|
||||
torch/utils/pytree.py,
|
||||
torch/utils/pytree/__init__.py,
|
||||
torch/utils/_pytree.py,
|
||||
torch/utils/_cxx_pytree.py,
|
||||
torch/utils/benchmark/utils/common.py,
|
||||
|
|
|
|||
|
|
@ -77,14 +77,19 @@ __all__ = [
|
|||
"tree_all_only",
|
||||
"tree_any_only",
|
||||
"treespec_pprint",
|
||||
"FlattenFunc",
|
||||
"UnflattenFunc",
|
||||
"FlattenWithKeysFunc",
|
||||
"ToDumpableContextFunc",
|
||||
"FromDumpableContextFunc",
|
||||
]
|
||||
|
||||
|
||||
if _TYPE_CHECKING:
|
||||
__all__ += [
|
||||
"FlattenFunc",
|
||||
"UnflattenFunc",
|
||||
"FlattenWithKeysFunc",
|
||||
"ToDumpableContextFunc",
|
||||
"FromDumpableContextFunc",
|
||||
]
|
||||
|
||||
|
||||
PYTORCH_USE_CXX_PYTREE: bool = _os.getenv("PYTORCH_USE_CXX_PYTREE", "0") not in {
|
||||
"0",
|
||||
"",
|
||||
|
|
|
|||
Loading…
Reference in a new issue