Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

DiffusionModelUNet does not support torchscript #387

Closed as not planned
Closed as not planned
@Can-Zhao

Description

@Can-Zhao

DiffusionModelUNet does not support torchscript

There might be other issues. What I found is:
Type | is not supported for torchscript.

def forward(self, x: torch.Tensor, emb: torch.Tensor | None = None) -> torch.Tensor:

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