mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 13:44:15 +08:00
[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
This commit is contained in:
committed by
PyTorch MergeBot
parent
39511697d4
commit
b005ec62b9
@ -3,7 +3,7 @@ import textwrap
|
||||
from typing import Optional
|
||||
|
||||
import torch
|
||||
from torch._six import inf
|
||||
from torch import inf
|
||||
|
||||
|
||||
class __PrinterOptions:
|
||||
|
Reference in New Issue
Block a user