Skip to content

Commit

Permalink
disable caching
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed May 24, 2024
1 parent 6d0c4b8 commit 16c6bd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/utils/test_task_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from typing import TYPE_CHECKING, Any, Dict, Tuple, Union
from unittest import TestCase

from datasets import DatasetDict
from datasets import DatasetDict, disable_caching
from transformers import AutoConfig, AutoFeatureExtractor, AutoTokenizer

from optimum.utils.preprocessing import TaskProcessorsManager
Expand Down Expand Up @@ -55,6 +55,8 @@
},
}

disable_caching() # trying to not saturate disk storage in CI


# Taken from https://pynative.com/python-generate-random-string/
def get_random_string(length: int) -> str:
Expand Down

0 comments on commit 16c6bd3

Please sign in to comment.