Skip to content

How to fix the error "cannot import name 'custom_fwd' from 'torch.amp‘" in ska.py #13

@zhqshen

Description

@zhqshen

The system report error "cannot import name 'custom_fwd' from 'torch.amp‘" due to the call "from torch.amp import custom_fwd, custom_bwd" in ska.py, so,how to fix thie error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions