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: ai-quick-actions/troubleshooting-tips.md
+56-35
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,20 @@
7
7
-[Troubleshooting Model Deployment](#troubleshooting-model-deployment)
8
8
-[Authorization Issues](#authorization-issues)
9
9
-[Types of Authorization Errors](#types-of-authorization-errors)
10
-
-[List Model Deployment](#list-model-deployment)
10
+
-[Create Model](#create-model)
11
11
-[List Models](#list-models)
12
+
-[Create Model Deployment](#create-model-deployment)
13
+
-[List Model Deployment](#list-model-deployment)
14
+
-[Create Model Version Sets](#create-model-version-sets)
15
+
-[List Model Version Sets](#list-model-version-sets)
16
+
-[Create Job](#create-job)
17
+
-[Create Job Run](#create-job-run)
12
18
-[List Log Groups](#list-log-groups)
13
19
-[List Data Science Private Endpoints](#list-data-science-private-endpoints)
14
20
-[Get Namespace](#get-namespace)
21
+
-[Put Object](#put-object)
15
22
-[List Buckets](#list-buckets)
16
23
-[Update Model](#update-model)
17
-
-[Create Model](#create-model)
18
-
-[List Model Version Sets](#list-model-version-sets)
19
24
-[Evaluation and Fine Tuning](#evaluation-and-fine-tuning)
20
25
-[Logs](#logs)
21
26
-[Understanding GPU requirement for models](#understanding-gpu-requirement-for-models)
@@ -44,19 +49,52 @@ Authorization issues arise due to missing policy and/or using non-versioned OCI
44
49
## Types of Authorization Errors
45
50
If you see authorization issues after setting up the policies, ensuring that the notebook is in the **same compartment** as the one defined by the dynamic group, and the bucket is versioned, here are the following cases:
46
51
47
-
48
-
#### List Model Deployment
49
-
Authorization error related to listing, creating or managing model deployments, ensure that policy below is in place.
52
+
#### Create Model
53
+
1. AI Quick Actions is not able to reach the object storage location specified when registering the model.
50
54
```
51
-
Allow dynamic-group <Your dynamic group> to manage data-science-model-deployments in compartment <your-compartment-name>
55
+
Allow dynamic-group <Your dynamic group> to manage object-family in compartment <your-compartment-name> where any {target.bucket.name='<your-bucket-name>'}
56
+
```
57
+
1. AI Quick Actions is not able to create model in model catalog, ensure that policy below is in place.
58
+
```
59
+
Allow dynamic-group <Your dynamic group> to manage data-science-models in compartment <your-compartment-name>
52
60
```
61
+
1. The AQUA UI currently does not support adding freeform tags. Use the AQUA CLI to register a model with freeform tags.
53
62
63
+
```
64
+
ads aqua model register --model <model-ocid> --os_path <oss-path> --download_from_hf True --compartment_id ocid1.compartment.xxx --defined_tags '{"key1":"value1", ...}' --freeform_tags '{"key1":"value1", ...}'
65
+
```
54
66
#### List Models
55
67
Authorization error related to listing, creating, or registering models, ensure that policy below is in place.
56
68
```
57
69
Allow dynamic-group <Your dynamic group> to manage data-science-models in compartment <your-compartment-name>
58
70
```
59
71
72
+
#### Create Model Deployment
73
+
#### List Model Deployment
74
+
Authorization error related to creating, listing, or managing model deployments, ensure that policy below is in place.
75
+
```
76
+
Allow dynamic-group <Your dynamic group> to manage data-science-model-deployments in compartment <your-compartment-name>
77
+
```
78
+
79
+
#### Create Model Version Sets
80
+
#### List Model Version Sets
81
+
Unable to create a model version set or not able to fetch model version set information during fine tuning or evaluation step, ensure the policy below is in place.
82
+
```
83
+
Allow dynamic-group <Your dynamic group> to manage data-science-modelversionsets in compartment <your-compartment-name>
84
+
```
85
+
86
+
#### Create Job
87
+
Unable to create a job during evaluation or fine tuning. Ensure the policy below is in place.
88
+
```
89
+
Allow dynamic-group <Your dynamic group> to manage data-science-job-runs in compartment <your-compartment-name>
90
+
```
91
+
92
+
#### Create Job Run
93
+
Unable to create a job run during fine tuning or evaluation. Ensure the policy below is in place.
94
+
```
95
+
Allow dynamic-group aqua-dynamic-group to manage data-science-job-runs in compartment <your-compartment-name>
96
+
```
97
+
60
98
#### List Log Groups
61
99
The dropdown for log group or log does not show anything and gives authorization error, ensure policy below is in place.
62
100
```
@@ -74,6 +112,15 @@ If the UI is unable to fetch namespace or list object storage buckets ensure pol
74
112
Allow dynamic-group <Your dynamic group> to read buckets in compartment <your-compartment-name>
75
113
Allow dynamic-group <Your dynamic group> to read objectstorage-namespaces in compartment <your-compartment-name>
76
114
```
115
+
116
+
#### Put Object
117
+
If an object storage bucket (with Object Versioning enabled) is unable to be accessed, ensure these policies are in place.
118
+
```
119
+
Allow dynamic-group <Your dynamic group> to manage object-family in compartment <your-compartment-name> where any {target.bucket.name='<your-bucket-name>'}
120
+
Allow dynamic-group <Your dynamic group> to read buckets in compartment <your-compartment-name>
121
+
Allow dynamic-group <Your dynamic group> to read objectstorage-namespaces in compartment <your-compartment-name>
122
+
```
123
+
77
124
#### List Buckets
78
125
If the UI is unable to list buckets, ensure the following:
79
126
- If using custom networking, configure NAT gateway and SGW gateway
@@ -88,42 +135,16 @@ When creating a fine-tuned model deployment and an error occurs when submitting
88
135
Allow dynamic-group <Your dynamic group> to use tag-namespaces in tenancy
89
136
```
90
137
91
-
#### Create Model
92
-
1. AI Quick Actions is not able to reach the object storage location specified when registering the model.
93
-
```
94
-
Allow dynamic-group <Your dynamic group> to manage object-family in compartment <your-compartment-name> where any {target.bucket.name='<your-bucket-name>'}
95
-
```
96
-
2. AI Quick Actions is not able to create model in model catalog, ensure that policy below is in place.
97
-
```
98
-
Allow dynamic-group <Your dynamic group> to manage data-science-models in compartment <your-compartment-name>
99
-
```
100
-
3. The AQUA UI currently does not support adding freeform tags. Use the AQUA CLI to register a model with freeform tags.
101
-
102
-
```
103
-
ads aqua model register --model <model-ocid> --os_path <oss-path> --download_from_hf True --compartment_id ocid1.compartment.xxx --defined_tags '{"key1":"value1", ...}' --freeform_tags '{"key1":"value1", ...}'
104
-
```
105
-
106
-
##### List Model Version Sets
107
-
Unable to create a model version set or not able to fetch model version set information during fine tuning or evaluation step -
108
-
```
109
-
Allow dynamic-group <Your dynamic group> to manage data-science-modelversionsets in compartment <your-compartment-name>
110
-
```
111
-
112
138
#### Evaluation and Fine Tuning
113
139
1. Unable to fetch model details for fine tuned models
114
140
```
115
141
Allow dynamic-group <Your dynamic group> to manage data-science-models in compartment <your-compartment-name>
116
142
```
117
-
2. Unable to create finetuning or evaluation jobs - create_job
118
-
```
119
-
Allow dynamic-group <Your dynamic group> to manage data-science-jobs in compartment <your-compartment-name>
120
-
Allow dynamic-group <Your dynamic group> to manage data-science-job-runs in compartment <your-compartment-name>
121
-
```
122
-
3. Unable to fetch resource limits information when selecting instance shape -
143
+
2. Unable to fetch resource limits information when selecting instance shape -
123
144
```
124
145
Allow dynamic-group <Your dynamic group> to read resource-availability in compartment <your-compartment-name>
125
146
```
126
-
4. Unable to list any VCN or subnet while creating Fine Tuning job or Evaluation Job -
147
+
3. Unable to list any VCN or subnet while creating Fine Tuning job or Evaluation Job -
127
148
```
128
149
Allow dynamic-group <Your dynamic group> to use virtual-network-family in compartment <your-compartment-name>
0 commit comments