Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Remove unused no_cache parameter
#20
by
albertvillanova
HF staff
- opened
src/backend/run_eval_suite_harness.py
CHANGED
@@ -24,7 +24,6 @@ def run_evaluation(
|
|
24 |
device: str,
|
25 |
local_dir: str,
|
26 |
results_repo: str,
|
27 |
-
no_cache: bool = True,
|
28 |
limit: int = None,
|
29 |
):
|
30 |
"""Runs one evaluation for the current evaluation request file, then pushes the results to the hub.
|
@@ -37,7 +36,6 @@ def run_evaluation(
|
|
37 |
device (str): "cpu" or "cuda:0", depending on what you assigned to the space
|
38 |
local_dir (str): Where to save the results locally
|
39 |
results_repo (str): To which repository to upload the results
|
40 |
-
no_cache (bool, optional): Whether to use a cache or not
|
41 |
limit (int, optional): Whether to use a number of samples only for the evaluation - only for debugging
|
42 |
|
43 |
Returns:
|
|
|
24 |
device: str,
|
25 |
local_dir: str,
|
26 |
results_repo: str,
|
|
|
27 |
limit: int = None,
|
28 |
):
|
29 |
"""Runs one evaluation for the current evaluation request file, then pushes the results to the hub.
|
|
|
36 |
device (str): "cpu" or "cuda:0", depending on what you assigned to the space
|
37 |
local_dir (str): Where to save the results locally
|
38 |
results_repo (str): To which repository to upload the results
|
|
|
39 |
limit (int, optional): Whether to use a number of samples only for the evaluation - only for debugging
|
40 |
|
41 |
Returns:
|
src/backend/run_eval_suite_lighteval.py
CHANGED
@@ -42,7 +42,6 @@ def run_evaluation(
|
|
42 |
instance_size (str): Inference endpoint parameter for running the evaluation
|
43 |
instance_type (str): Inference endpoint parameter for running the evaluation
|
44 |
local_dir (str): Where to save the results locally
|
45 |
-
no_cache (bool, optional): Whether to use a cache or not.
|
46 |
limit (int, optional): Whether to use a number of samples only for the evaluation - only for debugging
|
47 |
"""
|
48 |
|
|
|
42 |
instance_size (str): Inference endpoint parameter for running the evaluation
|
43 |
instance_type (str): Inference endpoint parameter for running the evaluation
|
44 |
local_dir (str): Where to save the results locally
|
|
|
45 |
limit (int, optional): Whether to use a number of samples only for the evaluation - only for debugging
|
46 |
"""
|
47 |
|