Skip to content
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

[flamingo] Update preproc imports #5160

Merged
merged 1 commit into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from executorch.extension.llm.custom_ops import preprocess_custom_ops # noqa

from torch.export import Dim, ExportedProgram
from torchtune.models.clip.inference._transforms import _CLIPImageTransform
from torchtune.models.clip.inference._transform import _CLIPImageTransform


def get_example_inputs() -> Tuple[torch.Tensor, torch.Tensor, torch.Tensor]:
Expand Down
2 changes: 1 addition & 1 deletion examples/models/flamingo/preprocess/test_preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from parameterized import parameterized
from PIL import Image

from torchtune.models.clip.inference._transforms import (
from torchtune.models.clip.inference._transform import (
_CLIPImageTransform,
CLIPImageTransform,
)
Expand Down
Loading