PyTorch 2.0 work using upstream TOT showed the title error, which is ultimately from this PR pytorch/pytorch#94709.
File apex/amp/_initialize.py
❱ from torch._six import string_classes
Solution is to cherry pick upstream apex for the fix.
NVIDIA@6943fd2
PyTorch 2.0 work using upstream TOT showed the title error, which is ultimately from this PR pytorch/pytorch#94709.
File
apex/amp/_initialize.py❱ from torch._six import string_classesSolution is to cherry pick upstream apex for the fix.
NVIDIA@6943fd2