Skip to content

Commit 52f5bca

Browse files
authored
Merge branch 'main' into support-disconnected-llama-stack
2 parents 9e0f417 + d261697 commit 52f5bca

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+3444
-972
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ dependencies = [
7373
"marshmallow>=4.0",
7474
"pytest-html>=4.1.1",
7575
"fire",
76-
"llama_stack_client>=0.6.0,<0.7",
76+
"llama_stack_client>=0.7.1,<0.8",
7777
"pytest-xdist==3.8.0",
7878
"dictdiffer>=0.9.0",
7979
"pytest>=9.0.0",

tests/model_explainability/evalhub/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def evalhub_cr(
2525
client=admin_client,
2626
name="evalhub",
2727
namespace=model_namespace.name,
28+
database={"type": "sqlite"},
2829
wait_for_resource=True,
2930
) as evalhub:
3031
yield evalhub

tests/model_explainability/evalhub/constants.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,26 @@
33
EVALHUB_CONTAINER_PORT: int = 8080
44
EVALHUB_HEALTH_PATH: str = "/api/v1/health"
55
EVALHUB_PROVIDERS_PATH: str = "/api/v1/evaluations/providers"
6+
EVALHUB_JOBS_PATH: str = "/api/v1/evaluations/jobs"
67
EVALHUB_HEALTH_STATUS_HEALTHY: str = "healthy"
78

89
EVALHUB_APP_LABEL: str = "eval-hub"
10+
EVALHUB_CONTAINER_NAME: str = "evalhub"
11+
EVALHUB_COMPONENT_LABEL: str = "api"
912

1013
# CRD details
1114
EVALHUB_API_GROUP: str = "trustyai.opendatahub.io"
1215
EVALHUB_API_VERSION: str = "v1alpha1"
1316
EVALHUB_KIND: str = "EvalHub"
1417
EVALHUB_PLURAL: str = "evalhubs"
18+
19+
# Multi-tenancy
20+
EVALHUB_TENANT_LABEL_KEY: str = "evalhub.trustyai.opendatahub.io/tenant"
21+
EVALHUB_COLLECTIONS_PATH: str = "/api/v1/evaluations/collections"
22+
EVALHUB_PROVIDERS_ACCESS_CLUSTERROLE: str = "trustyai-service-operator-evalhub-providers-access"
23+
EVALHUB_MT_CR_NAME: str = "evalhub-mt"
24+
EVALHUB_VLLM_EMULATOR_PORT: int = 8000
25+
26+
# ClusterRole names (kustomize namePrefix applied by operator install)
27+
EVALHUB_JOBS_WRITER_CLUSTERROLE: str = "trustyai-service-operator-evalhub-jobs-writer"
28+
EVALHUB_JOB_CONFIG_CLUSTERROLE: str = "trustyai-service-operator-evalhub-job-config"

tests/model_explainability/evalhub/multitenancy/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)