diff --git a/README.md b/README.md
index fc135d4951..18d2e2e994 100644
--- a/README.md
+++ b/README.md
@@ -77,7 +77,7 @@ This repository periodically synchronizes all official Kubeflow components from
| KServe | applications/kserve/kserve | [v0.15.2](https://github.com/kserve/kserve/releases/tag/v0.15.2/install/v0.15.2) | 600m | 1200Mi | 0GB |
| KServe Models Web Application | applications/kserve/models-web-app | [v0.15.0](https://github.com/kserve/models-web-app/tree/v0.15.0/config) | 6m | 259Mi | 0GB |
| Kubeflow Pipelines | applications/pipeline/upstream | [2.15.0](https://github.com/kubeflow/pipelines/tree/2.15.0/manifests/kustomize) | 970m | 3552Mi | 35GB |
-| Kubeflow Model Registry | applications/model-registry/upstream | [v0.3.4](https://github.com/kubeflow/model-registry/tree/v0.3.4/manifests/kustomize) | 510m | 2112Mi | 20GB |
+| Kubeflow Model Registry | applications/model-registry/upstream | [v0.3.5](https://github.com/kubeflow/model-registry/tree/v0.3.5/manifests/kustomize) | 510m | 2112Mi | 20GB |
| Spark Operator | applications/spark/spark-operator | [2.4.0](https://github.com/kubeflow/spark-operator/tree/v2.4.0) | 9m | 41Mi | 0GB |
| Istio | common/istio | [1.28.0](https://github.com/istio/istio/releases/tag/1.28.0) | 750m | 2364Mi | 0GB |
| Knative | common/knative/knative-serving
common/knative/knative-eventing | [v1.20.0](https://github.com/knative/serving/releases/tag/knative-v1.20.0)
[v1.20.0](https://github.com/knative/eventing/releases/tag/knative-v1.20.0) | 1450m | 1038Mi | 0GB |
diff --git a/applications/model-registry/upstream/base/kustomization.yaml b/applications/model-registry/upstream/base/kustomization.yaml
index 9e4fdbb238..e5ca7045c1 100644
--- a/applications/model-registry/upstream/base/kustomization.yaml
+++ b/applications/model-registry/upstream/base/kustomization.yaml
@@ -8,4 +8,4 @@ resources:
images:
- name: ghcr.io/kubeflow/model-registry/server
newName: ghcr.io/kubeflow/model-registry/server
- newTag: v0.3.4
+ newTag: v0.3.5
diff --git a/applications/model-registry/upstream/options/catalog/base/hf-sources-example.yaml b/applications/model-registry/upstream/options/catalog/base/hf-sources-example.yaml
index 2a9134b469..dc3fb7af1e 100644
--- a/applications/model-registry/upstream/options/catalog/base/hf-sources-example.yaml
+++ b/applications/model-registry/upstream/options/catalog/base/hf-sources-example.yaml
@@ -5,22 +5,71 @@ catalogs:
enabled: true
properties:
yamlCatalogPath: sample-catalog.yaml
- - name: Red Hat Ecosystem Catalog
- id: rhec
- type: rhec
+ # Basic Hugging Face Hub configuration with specific models
+ - name: Hugging Face Hub - Specific Models
+ id: hf-specific
+ type: hf
enabled: true
properties:
- models:
- - repository: rhelai1/modelcar-granite-7b-starter
- - name: HuggingFace Hub
- id: huggingface
+ # Name of the environment variable containing the Hugging Face API key.
+ # The API key value itself should be stored in a Kubernetes Secret and
+ # exposed as an environment variable in the pod/deployment configuration.
+ # Default environment variable name is "HF_API_KEY"
+ apiKeyEnvVar: "HF_API_KEY"
+ includedModels:
+ - "meta-llama/Llama-3.2-1B"
+ - "microsoft/phi-2"
+ - "huggingface/CodeBERTa-small-v1"
+ excludedModels:
+ - "some-org/*"
+
+ # Example using allowedOrganization to restrict to Meta LLaMA models
+ # This automatically prefixes model patterns with "meta-llama/"
+ - name: Meta LLaMA Models Only
+ id: hf-meta-llama
type: hf
- enabled: true
+ enabled: false # disabled by default
+ properties:
+ apiKeyEnvVar: "HF_API_KEY"
+ allowedOrganization: "meta-llama"
+ includedModels:
+ # These patterns will be automatically prefixed with "meta-llama/"
+ - "*" # Expands to all models: meta-llama/*
+ - "Llama-3*" # Expands to: meta-llama/Llama-3*
+ - "CodeLlama-*" # Expands to: meta-llama/CodeLlama-*
+ excludedModels:
+ - "*-4bit" # Excludes: meta-llama/*-4bit
+ - "*-GGUF" # Excludes: meta-llama/*-GGUF
+
+ # Example using wildcard patterns without organization restriction
+ - name: Microsoft Models
+ id: hf-microsoft
+ type: hf
+ enabled: false # disabled by default
+ properties:
+ apiKeyEnvVar: "HF_API_KEY"
+ includedModels:
+ # Full wildcard patterns (organization/model)
+ - "microsoft/phi-*" # All phi variants
+ - "microsoft/DialoGPT-*" # All DialoGPT variants
+ excludedModels:
+ - "*-base" # Exclude base models
+ - "*-uncensored" # Exclude uncensored variants
+
+ # Example combining specific models with wildcard patterns
+ - name: Mixed Model Selection
+ id: hf-mixed
+ type: hf
+ enabled: false # disabled by default
properties:
- # HuggingFace API key - should be stored in a Kubernetes secret
- # and referenced here, or set via environment variable
- apiKey: "${HUGGINGFACE_API_KEY}"
- # Optional: Custom HuggingFace URL (defaults to https://huggingface.co)
- url: "https://huggingface.co"
- # Optional: Limit the number of models to fetch (defaults to 100)
- modelLimit: 200
+ apiKeyEnvVar: "HF_API_KEY"
+ includedModels:
+ # Specific models
+ - "huggingface/CodeBERTa-small-v1"
+ - "microsoft/DialoGPT-medium"
+ # Wildcard patterns
+ - "microsoft/phi-3*" # All phi-3 variants
+ - "huggingface/CodeBERTa-*" # All CodeBERTa variants
+ excludedModels:
+ - "*-base" # Exclude base models
+ - "*-draft" # Exclude draft models
\ No newline at end of file
diff --git a/applications/model-registry/upstream/options/catalog/base/kustomization.yaml b/applications/model-registry/upstream/options/catalog/base/kustomization.yaml
index 03ff29baab..f12ecd06be 100644
--- a/applications/model-registry/upstream/options/catalog/base/kustomization.yaml
+++ b/applications/model-registry/upstream/options/catalog/base/kustomization.yaml
@@ -30,4 +30,4 @@ secretGenerator:
images:
- name: ghcr.io/kubeflow/model-registry/server
newName: ghcr.io/kubeflow/model-registry/server
- newTag: v0.3.4
+ newTag: v0.3.5
diff --git a/applications/model-registry/upstream/options/csi/kustomization.yaml b/applications/model-registry/upstream/options/csi/kustomization.yaml
index 3f46c53cda..f88f7faeab 100644
--- a/applications/model-registry/upstream/options/csi/kustomization.yaml
+++ b/applications/model-registry/upstream/options/csi/kustomization.yaml
@@ -7,4 +7,4 @@ resources:
images:
- name: ghcr.io/kubeflow/model-registry/storage-initializer
newName: ghcr.io/kubeflow/model-registry/storage-initializer
- newTag: v0.3.4
+ newTag: v0.3.5
diff --git a/applications/model-registry/upstream/options/ui/base/kustomization.yaml b/applications/model-registry/upstream/options/ui/base/kustomization.yaml
index 9bc374d821..69ec6d0692 100644
--- a/applications/model-registry/upstream/options/ui/base/kustomization.yaml
+++ b/applications/model-registry/upstream/options/ui/base/kustomization.yaml
@@ -10,4 +10,4 @@ resources:
images:
- name: model-registry-ui
newName: ghcr.io/kubeflow/model-registry/ui
- newTag: v0.3.4
+ newTag: v0.3.5