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

properly fix and RUN_SLOW #33965

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

properly fix and RUN_SLOW #33965

wants to merge 1 commit into from

Conversation

ArthurZucker
Copy link
Collaborator

@ArthurZucker ArthurZucker commented Oct 4, 2024

What does this PR do?

I think I am a bit tired 😅 fixes #33929 again

 RUN_SLOW=1 pytest tests/models/siglip -k test_inference_interpolate_pos_encoding                                              20s py312 22:53:02
=============================================================================== test session starts ===============================================================================
platform darwin -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0
rootdir: /Users/arthurzucker/Work/transformers
configfile: pyproject.toml
collected 606 items / 605 deselected / 1 selected                                                                                                                                 

tests/models/siglip/test_modeling_siglip.py .                                                                                                                               [100%]

================================================================================ warnings summary =================================================================================
src/transformers/deepspeed.py:24
  /Users/arthurzucker/Work/transformers/src/transformers/deepspeed.py:24: FutureWarning: transformers.deepspeed module is deprecated and will be removed in a future version. Please import deepspeed modules directly from transformers.integrations
    warnings.warn(

../../.pyenv/versions/3.12.3/envs/py312/lib/python3.12/site-packages/google/protobuf/internal/well_known_types.py:91
  /Users/arthurzucker/.pyenv/versions/3.12.3/envs/py312/lib/python3.12/site-packages/google/protobuf/internal/well_known_types.py:91: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
    _EPOCH_DATETIME_NAIVE = datetime.datetime.utcfromtimestamp(0)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================================================== 1 passed, 605 deselected, 2 warnings in 5.02s

@ArthurZucker ArthurZucker marked this pull request as ready for review October 4, 2024 20:55
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

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.

PaliGemma (and probably SigLIP) inference broken in latest transformers version
2 participants