pytorch/torch/utils
Xuehai Pan b005ec62b9 [BE] Remove dependency on six and future (#94709)
Remove the Python 2 and 3 compatibility library [six](https://pypi.org/project/six) and [future](https://pypi.org/project/future) and `torch._six`. We only support Python 3.8+ now. It's time to retire them.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/94709
Approved by: https://github.com/malfet, https://github.com/Skylion007
2023-02-14 09:14:14 +00:00
..
_sympy Dockerize lint jobs (#94255) 2023-02-11 21:56:19 +00:00
backcompat [BE]: pyupgrade Python to 3.8 - imports and object inheritance only (#94308) 2023-02-07 21:10:56 +00:00
benchmark [BE] Apply almost all remaining flake8-comprehension checks (#94676) 2023-02-12 01:01:25 +00:00
bottleneck
data [BE] Remove dependency on six and future (#94709) 2023-02-14 09:14:14 +00:00
hipify [BE] [2/3] Rewrite super() calls in functorch and torch (#94588) 2023-02-10 21:16:33 +00:00
jit
model_dump Set min supported Python version to 3.8 (#93155) 2023-01-29 18:28:46 +00:00
tensorboard [BE] [2/3] Rewrite super() calls in functorch and torch (#94588) 2023-02-10 21:16:33 +00:00
__init__.py
_contextlib.py Reland "Add torch.utils.device_mode" (#91796) 2023-01-09 20:57:12 +00:00
_cpp_extension_versioner.py [BE]: pyupgrade Python to 3.8 - imports and object inheritance only (#94308) 2023-02-07 21:10:56 +00:00
_crash_handler.py
_cuda_trace.py [BE] Import Literal, Protocol, and Final from standard library typing as of Python 3.8+ (#94490) 2023-02-09 19:17:49 +00:00
_device.py Reland "Add torch.utils.device_mode" (#91796) 2023-01-09 20:57:12 +00:00
_foreach_utils.py [foreach] guard default support on native tensors only (#92923) 2023-01-26 04:52:58 +00:00
_freeze.py [BE] Prefer dash over underscore in command-line options (#94505) 2023-02-09 20:16:49 +00:00
_mode_utils.py
_python_dispatch.py Revert "[Modes] Add assert that the mode isn't already on the stack (#90770)" 2023-01-12 16:44:29 +00:00
_pytree.py Implement SymBool (#92149) 2023-01-21 02:21:56 +00:00
_stats.py Fast path binary ops in fake tensor (#94047) 2023-02-07 18:34:24 +00:00
_traceback.py Add utility report_compile_source_on_error (#91069) 2023-01-11 22:54:46 +00:00
_zip.py [BE] Prefer dash over underscore in command-line options (#94505) 2023-02-09 20:16:49 +00:00
backend_registration.py Enable xdoctest runner in CI for real this time (#83816) 2022-12-29 05:32:42 +00:00
bundled_inputs.py
checkpoint.py [BE] Apply almost all remaining flake8-comprehension checks (#94676) 2023-02-12 01:01:25 +00:00
collect_env.py Apply some safe comprehension optimizations (#94323) 2023-02-07 23:53:46 +00:00
cpp_backtrace.py
cpp_extension.py Revert "Update Cutlass to v2.11 (#94188)" 2023-02-13 19:03:36 +00:00
dlpack.py
file_baton.py
hooks.py [BE]: pyupgrade Python to 3.8 - imports and object inheritance only (#94308) 2023-02-07 21:10:56 +00:00
mkldnn.py [BE] [2/3] Rewrite super() calls in functorch and torch (#94588) 2023-02-10 21:16:33 +00:00
mobile_optimizer.py [Reland] Clean Up MobileOptimizerType Rewrite Flags Public API and Documentation (#92081) 2023-01-14 17:06:00 +00:00
model_zoo.py
show_pickle.py [BE]: pyupgrade Python to 3.8 - imports and object inheritance only (#94308) 2023-02-07 21:10:56 +00:00
throughput_benchmark.py [BE]: pyupgrade Python to 3.8 - imports and object inheritance only (#94308) 2023-02-07 21:10:56 +00:00
weak.py Deeply rework WeakIdKeyDictionary (#90825) 2022-12-15 08:43:08 +00:00