Skip to content

fix: mlx: Wrong type annotation for latent_size #52

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2025

Conversation

ASparkOfFire
Copy link
Contributor

Wrong type annotation for latent_size.

Pyright: Argument of type "tuple[Literal[64], Literal[64]]" cannot be assigned to parameter "latent_size" of type "Tuple[int]" in function "generate_image"   "tuple[Literal[64], Literal[64]]" is not assignable to "Tuple[int]"     Tuple size mismatch; expected 1 but received 2

Pyright: Argument of type "tuple[Literal[64], Literal[64]]" cannot be assigned to parameter "latent_size" of type "Tuple[int]" in function "generate_image"
  "tuple[Literal[64], Literal[64]]" is not assignable to "Tuple[int]"
    Tuple size mismatch; expected 1 but received 2
@arda-argmax arda-argmax merged commit 498e5db into argmaxinc:main Apr 11, 2025
1 check passed
@arda-argmax
Copy link
Collaborator

LGTM! Thanks 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants