Skip to content

no module torch._six #106

@zstreet87

Description

@zstreet87

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions