Skip to content

Commit

Permalink
increase loader cache
Browse files Browse the repository at this point in the history
Signed-off-by: dafnapension <[email protected]>
  • Loading branch information
dafnapension committed Jan 22, 2025
1 parent a375de0 commit 6080c1e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion performance/bluebench_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def profiler_generate_benchmark_dataset(
with settings.context(
disable_hf_datasets_cache=False,
allow_unverified_code=True,
mock_inference_mode=True,
):
stream = benchmark_recipe()[split]

Expand Down
2 changes: 1 addition & 1 deletion src/unitxt/settings_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def __getattr__(self, key):
settings.data_classification_policy = None
settings.mock_inference_mode = (bool, False)
settings.disable_hf_datasets_cache = (bool, True)
settings.loader_cache_size = (int, 1)
settings.loader_cache_size = (int, 25)
settings.task_data_as_text = (bool, True)
settings.default_provider = "watsonx"
settings.default_format = None
Expand Down

0 comments on commit 6080c1e

Please sign in to comment.