You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-1Lines changed: 24 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,34 @@ This project makes running the InstructLab large language model (LLM) fine-tunin
21
21
* NOTE: v3 is not compatible with RHOAI
22
22
*[SDG taxonomy tree] to utilize for Synthetic Data Generation (SDG)
23
23
* An OpenShift AI 2.19 or newer installation, with:
24
-
* Training Operator, ModelRegistry, KServe, and Data Science Pipelines components installed via the DataScienceCluster
24
+
* Training Operator, Model Registry, KServe, and Data Science Pipelines components installed via the DataScienceCluster
25
25
* See docs on [Installing RHOAI components via DSC]
26
26
* For [Model Registry] you will need:
27
27
* Model Registry API URL
28
28
* Model Registry Name
29
+
* The `pipeline-runner-dspa``ServiceAccount` must be assigned the `registry-user-<model registry name>` role in
30
+
the `rhoai-model-registries` namespace. If not, the Model Registry prerequisites check in the pipeline will fail
31
+
with a `403` HTTP error.
32
+
***Using the UI**: Follow the instructions at [Managing model registry permissions](https://docs.redhat.com/en/documentation/red_hat_openshift_ai_self-managed/2.20/html/managing_model_registries/managing-model-registry-permissions_managing-model-registries).
33
+
***Using the CLI**: For example, for a model registry named `my-model-registry` and the Data Science
34
+
Pipelines namespace of `my-pipelines-namespace`, the `RoleBinding` would look as follows:
35
+
36
+
```yaml
37
+
apiVersion: rbac.authorization.k8s.io/v1
38
+
kind: RoleBinding
39
+
metadata:
40
+
name: dsp-permissions
41
+
namespace: rhoai-model-registries
42
+
roleRef:
43
+
apiGroup: rbac.authorization.k8s.io
44
+
kind: Role
45
+
name: registry-user-my-model-registry
46
+
subjects:
47
+
- kind: ServiceAccount
48
+
name: pipeline-runner-dspa
49
+
namespace: my-pipelines-namespace
50
+
```
51
+
29
52
* A data science project/namespace, in this document this will be referred to as `<data-science-project-name/namespace>`
30
53
* The Data Science Project should have a [Data Science Pipelines Server Configured]
0 commit comments