Skip to content

Commit 1550f84

Browse files
committed
added 5 create headers for troubleshooting docs
1 parent de99021 commit 1550f84

File tree

1 file changed

+56
-35
lines changed

1 file changed

+56
-35
lines changed

ai-quick-actions/troubleshooting-tips.md

+56-35
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,20 @@
77
- [Troubleshooting Model Deployment](#troubleshooting-model-deployment)
88
- [Authorization Issues](#authorization-issues)
99
- [Types of Authorization Errors](#types-of-authorization-errors)
10-
- [List Model Deployment](#list-model-deployment)
10+
- [Create Model](#create-model)
1111
- [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)
1218
- [List Log Groups](#list-log-groups)
1319
- [List Data Science Private Endpoints](#list-data-science-private-endpoints)
1420
- [Get Namespace](#get-namespace)
21+
- [Put Object](#put-object)
1522
- [List Buckets](#list-buckets)
1623
- [Update Model](#update-model)
17-
- [Create Model](#create-model)
18-
- [List Model Version Sets](#list-model-version-sets)
1924
- [Evaluation and Fine Tuning](#evaluation-and-fine-tuning)
2025
- [Logs](#logs)
2126
- [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
4449
## Types of Authorization Errors
4550
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:
4651

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.
5054
```
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>
5260
```
61+
1. The AQUA UI currently does not support adding freeform tags. Use the AQUA CLI to register a model with freeform tags.
5362

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+
```
5466
#### List Models
5567
Authorization error related to listing, creating, or registering models, ensure that policy below is in place.
5668
```
5769
Allow dynamic-group <Your dynamic group> to manage data-science-models in compartment <your-compartment-name>
5870
```
5971

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+
6098
#### List Log Groups
6199
The dropdown for log group or log does not show anything and gives authorization error, ensure policy below is in place.
62100
```
@@ -74,6 +112,15 @@ If the UI is unable to fetch namespace or list object storage buckets ensure pol
74112
Allow dynamic-group <Your dynamic group> to read buckets in compartment <your-compartment-name>
75113
Allow dynamic-group <Your dynamic group> to read objectstorage-namespaces in compartment <your-compartment-name>
76114
```
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+
77124
#### List Buckets
78125
If the UI is unable to list buckets, ensure the following:
79126
- 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
88135
Allow dynamic-group <Your dynamic group> to use tag-namespaces in tenancy
89136
```
90137

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-
112138
#### Evaluation and Fine Tuning
113139
1. Unable to fetch model details for fine tuned models
114140
```
115141
Allow dynamic-group <Your dynamic group> to manage data-science-models in compartment <your-compartment-name>
116142
```
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 -
123144
```
124145
Allow dynamic-group <Your dynamic group> to read resource-availability in compartment <your-compartment-name>
125146
```
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 -
127148
```
128149
Allow dynamic-group <Your dynamic group> to use virtual-network-family in compartment <your-compartment-name>
129150
```

0 commit comments

Comments
 (0)