Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding API to fetch list of available shapes for model deployment #1012

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kumar-shivam-ranjan
Copy link
Member

Description

Currently, the AQUA UI for creating model deployments displays a list of all possible shapes for Model Deployment without verifying their availability in the specific region. To improve this, a new API is added to fetch the list of available shapes for Model Deployment in the selected region. The UI should then be updated to display only the shapes that are available for deployment.

Curl command

curl --location 'http://localhost:8888/aqua/modeldeployment/shapes?compartment_id=ocid1.compartment.oc1..aaaaaaaaser65kfcfht7iddoioa4s6xos3vi53d3i7bi3czjkqyluawp2itq' \
--header 'Cookie: _xsrf=2|efc33a10|4ef2f8300816f6158bf10ede03bb22c7|1732136645; username-localhost-8888=2|1:0|10:1732136645|23:username-localhost-8888|188:eyJ1c2VybmFtZSI6ICI5MzI2NzBkZmJiMWU0MTg0ODUwOGFiYzM3NGRkMWE5ZSIsICJuYW1lIjogIkFub255bW91cyBLb3JlIiwgImRpc3BsYXlfbmFtZSI6ICJBbm9ueW1vdXMgS29yZSIsICJpbml0aWFscyI6ICJBSyIsICJjb2xvciI6IG51bGx9|22413c5db97cb5d16982d052a8400d9f5253e07d5a22fa7c1292e71144971f58'

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 20, 2024
Copy link

📌 Cov diff with main:

Coverage-36%

📌 Overall coverage:

Coverage-58.47%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants