Skip to content

fix imports: cyclic dependencies and overly-eager importing #23

@avinash2692

Description

@avinash2692

We have several places in our code where we cannot do proper type comparisons or type hinting because we have circular imports (usually with MelleaSession objects: see genslots). Additionally, once again mostly due to sessions, we almost always import the libraries for all backends (most annoyingly torch), even when only one backend is being used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions