Repository: huggingface/transformers
Pull request: Fetch more test data with `hf_hub_download`

# What does this PR do?

I will check if they are ok to download + build the docker images to have these downloaded in images.
But here we go


Changed files:
filename: utils/fetch_hub_objects_for_ci.py
patch: @@ -56,6 +56,118 @@ def url_to_local_path(url, return_url_if_not_found=True):
         _ = datasets.load_dataset("hf-internal-testing/fixtures_image_utils", split="test", revision="refs/pr/1")
         _ = hf_hub_download(repo_id="nateraw/video-demo", filename="archery.mp4", repo_type="dataset")
 
+        hf_hub_download("Narsil/asr_dummy", filename="hindi.ogg", repo_type="dataset")
+        hf_hub_download(repo_id="hf-internal-testing/bool-masked-pos", filename="bool_masked_pos.pt")
+        hf_hub_download(
+            repo_id="hf-internal-testing/fixtures_docvqa",
+            filename="nougat_pdf.png",
+            repo_type="dataset",
+            revision="ec57bf8c8b1653a209c13f6e9ee66b12df0fc2db",
+        )
+        hf_hub_download(
+            repo_id="hf-internal-testing/image-matting-fixtures", filename="image.png", repo_type="dataset"
+        )
+        hf_hub_download(
+            repo_id="hf-internal-testing/image-matting-fixtures", filename="trimap.png", repo_type="dataset"
+        )
+        hf_hub_download(
+            repo_id="hf-internal-testing/spaghetti-video", filename="eating_spaghetti.npy", repo_type="dataset"
+        )
+        hf_hub_download(
+            repo_id="hf-internal-testing/spaghetti-video",
+            filename="eating_spaghetti_32_frames.npy",
+            repo_type="dataset",
+        )
+        hf_hub_download(
+            repo_id="hf-internal-testing/spaghetti-video",
+            filename="eating_spaghetti_8_frames.npy",
+            repo_type="dataset",
+        )
+        hf_hub_download(
+            repo_id="hf-internal-testing/tourism-monthly-batch", filename="train-batch.pt", repo_type="dataset"
+        )
+        hf_hub_download(repo_id="huggyllama/llama-7b", filename="tokenizer.model")
+        hf_hub_download(
+            repo_id="nielsr/audio-spectogram-transformer-checkpoint", filename="sample_audio.flac", repo_type="dataset"
+        )
+        hf_hub_download(repo_id="nielsr/example-pdf", repo_type="dataset", filename="example_pdf.png")
+        hf_hub_download(
+            repo_id="nielsr/test-image",
+            filename="llava_1_6_input_ids.pt",
+            repo_type="dataset",
+        )
+        hf_hub_download(
+            repo_id="nielsr/test-image",
+            filename="llava_1_6_pixel_values.pt",
+            repo_type="dataset",
+        )
+        hf_hub_download(repo_id="nielsr/textvqa-sample", filename="bus.png", repo_type="dataset")
+        hf_hub_download(
+            repo_id="raushan-testing-hf/images_test",
+            filename="emu3_image.npy",
+            repo_type="dataset",
+        )
+        hf_hub_download(repo_id="raushan-testing-hf/images_test", filename="llava_v1_5_radar.jpg", repo_type="dataset")
+        hf_hub_download(repo_id="raushan-testing-hf/videos-test", filename="sample_demo_1.mp4", repo_type="dataset")
+        hf_hub_download(repo_id="raushan-testing-hf/videos-test", filename="video_demo.npy", repo_type="dataset")
+        hf_hub_download(repo_id="raushan-testing-hf/videos-test", filename="video_demo_2.npy", repo_type="dataset")
+        hf_hub_download(
+            repo_id="shumingh/perception_lm_test_images",
+            filename="14496_0.PNG",
+            repo_type="dataset",
+        )
+        hf_hub_download(
+            repo_id="shumingh/perception_lm_test_videos",
+            filename="GUWR5TyiY-M_000012_000022.mp4",
+            repo_type="dataset",
+        )
+        repo_id = "nielsr/image-segmentation-toy-data"
+        hf_hub_download(
+            repo_id="nielsr/image-segmentation-toy-data",
+            filename="instance_segmentation_image_1.png",
+            repo_type="dataset",
+        )
+        hf_hub_download(
+            repo_id="nielsr/image-segmentation-toy-data",
+            filename="instance_segmentation_image_2.png",
+            repo_type="dataset",
+        )
+        hf_hub_download(
+            repo_id="nielsr/image-segmentation-toy-data",
+            filename="instance_segmentation_annotation_1.png",
+            repo_type="dataset",
+        )
+        hf_hub_download(
+            repo_id="nielsr/image-segmentation-toy-data",
+            filename="instance_segmentation_annotation_2.png",
+            repo_type="dataset",
+        )
+        hf_hub_download(
+            repo_id="nielsr/image-segmentation-toy-data",
+            filename="semantic_segmentation_annotation_1.png",
+            repo_type="dataset",
+        )
+        hf_hub_download(
+            repo_id="nielsr/image-segmentation-toy-data",
+            filename="semantic_segmentation_annotation_2.png",
+            repo_type="dataset",
+        )
+        hf_hub_download(
+            repo_id="nielsr/image-segmentation-toy-data",
+            filename="semantic_segmentation_image_1.png",
+            repo_type="dataset",
+        )
+        hf_hub_download(
+            repo_id="nielsr/image-segmentation-toy-data",
+            filename="semantic_segmentation_image_2.png",
+            repo_type="dataset",
+        )
+        hf_hub_download("shi-labs/oneformer_demo", "ade20k_panoptic.json", repo_type="dataset")
+
+        hf_hub_download(
+            repo_id="nielsr/audio-spectogram-transformer-checkpoint", filename="sample_audio.flac", repo_type="dataset"
+        )
+
     # Need to specify the username on the endpoint `hub-ci`, otherwise we get
     # `fatal: could not read Username for 'https://hub-ci.huggingface.co': Success`
     # But this repo. is never used in a test decorated by `is_staging_test`.