fix Image.open failure in case "tests/models/prompt_depth_anything/te…#44645
Merged
ydshieh merged 3 commits intohuggingface:mainfrom Mar 27, 2026
Merged
fix Image.open failure in case "tests/models/prompt_depth_anything/te…#44645ydshieh merged 3 commits intohuggingface:mainfrom
ydshieh merged 3 commits intohuggingface:mainfrom
Conversation
…st_modeling_prompt_depth_anything.py::PromptDepthAnythingModelIntegrationTest::test_inference" Signed-off-by: Wang, Yi <yi.a.wang@intel.com>
IlyasMoutawwakil
approved these changes
Mar 13, 2026
Member
IlyasMoutawwakil
left a comment
There was a problem hiding this comment.
thansk ! are there any more cases of this ?
|
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. |
Member
|
it seems there some others, should replace all of them ? @ydshieh |
ydshieh
approved these changes
Mar 26, 2026
Collaborator
ydshieh
left a comment
There was a problem hiding this comment.
Thank you! It seems it depends on CI network environment, but the new approach is the most sure one.
Collaborator
|
would you like push the change for and ?? |
Contributor
|
[For maintainers] Suggested jobs to run (before merge) run-slow: llava_next, prompt_depth_anything, video_llama_3 |
zucchini-nlp
pushed a commit
to zucchini-nlp/transformers
that referenced
this pull request
Mar 27, 2026
* fix Image.open failure in case "tests/models/prompt_depth_anything/test_modeling_prompt_depth_anything.py::PromptDepthAnythingModelIntegrationTest::test_inference" Signed-off-by: Wang, Yi <yi.a.wang@intel.com> * updated Signed-off-by: Wang, Yi <yi.a.wang@intel.com> --------- Signed-off-by: Wang, Yi <yi.a.wang@intel.com> Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
NielsRogge
pushed a commit
to NielsRogge/transformers
that referenced
this pull request
Mar 30, 2026
* fix Image.open failure in case "tests/models/prompt_depth_anything/test_modeling_prompt_depth_anything.py::PromptDepthAnythingModelIntegrationTest::test_inference" Signed-off-by: Wang, Yi <yi.a.wang@intel.com> * updated Signed-off-by: Wang, Yi <yi.a.wang@intel.com> --------- Signed-off-by: Wang, Yi <yi.a.wang@intel.com> Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The root cause of this error is that the content retrieved is not actual image bytes. A common case is that a GitHub blob URL with ?raw=true returns an HTML or redirect page instead of raw image data.