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

bump transformers to 4.47.0 #213

Merged
merged 4 commits into from
Dec 6, 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
2 changes: 1 addition & 1 deletion aana/tests/deployments/test_hf_blip2_deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class TestHFBlip2Deployment:
"""Test HuggingFace BLIP2 deployment."""

@pytest.mark.asyncio
@pytest.mark.parametrize("image_name", ["Starry_Night.jpeg"])
@pytest.mark.parametrize("image_name", ["Starry_Night.jpeg", "Seated_Man.png"])
async def test_methods(self, setup_deployment, image_name):
"""Test HuggingFace BLIP2 methods."""
deployment_name, handle_name, _ = setup_deployment
Expand Down
1 change: 1 addition & 0 deletions aana/tests/deployments/test_hf_pipeline_deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
ray_actor_options={"num_gpus": 1},
user_config=HfPipelineConfig(
model_id="Salesforce/blip2-opt-2.7b",
task = "image-to-text",
model_kwargs={
"quantization_config": BitsAndBytesConfig(
load_in_8bit=False, load_in_4bit=True
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"a man sitting at a table in front of a plant"
Binary file added aana/tests/files/images/Seated_Man.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading