Skip to content

Commit 9000691

Browse files
committed
Removes caching from the retrieving evaluation config.
1 parent 993f1db commit 9000691

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ads/aqua/config/config.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,15 @@
33
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
44

55

6-
from datetime import datetime, timedelta
76
from typing import Optional
87

9-
from cachetools import TTLCache, cached
10-
118
from ads.aqua.common.entities import ContainerSpec
129
from ads.aqua.common.utils import get_container_config
1310
from ads.aqua.config.evaluation.evaluation_service_config import EvaluationServiceConfig
1411

1512
DEFAULT_EVALUATION_CONTAINER = "odsc-llm-evaluate"
1613

1714

18-
@cached(cache=TTLCache(maxsize=1, ttl=timedelta(hours=1), timer=datetime.now))
1915
def evaluation_service_config(
2016
container: Optional[str] = DEFAULT_EVALUATION_CONTAINER,
2117
) -> EvaluationServiceConfig:

0 commit comments

Comments
 (0)