Skip to content

deprecated issues #340

Open
Open
@ZhengguoTan

Description

@ZhengguoTan

Dear Denoising-Diffusion-PyTorch Developers,

Thank you for inventing such an excellent tool. I install the tool via pip install denoising_diffusion_pytorch and try to run the example usage code in README. However, the code has several deprecated issues, e.g.

denoising_diffusion_pytorch.py:775: FutureWarning: torch.cuda.amp.autocast(args...) is deprecated. Please use torch.amp.autocast('cuda', args...) instead.

Would you suggest to update the codes manually, or do you have some simpler solution in mind?

Best Regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions