Skip to content

Conversation

@kumar-shivam-ranjan
Copy link
Contributor

@kumar-shivam-ranjan kumar-shivam-ranjan commented Oct 23, 2024

This PR is intended to add model specific task tag in Model deployment tags while creation of model deployment.
This will reduce number of api calls in client to get the model tags for Model deployment.

Curl command to test:

curl --location 'http://localhost:8888/aqua/deployments' \
--header 'Content-Type: application/json' \
--header 'Cookie: _xsrf=2|e9946301|bf91d5ae9f5db1d274d94b27e85a9e0c|1729063791; username-localhost-8888=2|1:0|10:1729063791|23:username-localhost-8888|196:eyJ1c2VybmFtZSI6ICIwYzE2NDliMGMxZjc0NmViYjdhMmFhNDAyZTVjMGFhOSIsICJuYW1lIjogIkFub255bW91cyBUYXlnZXRlIiwgImRpc3BsYXlfbmFtZSI6ICJBbm9ueW1vdXMgVGF5Z2V0ZSIsICJpbml0aWFscyI6ICJBVCIsICJjb2xvciI6IG51bGx9|620ae24da6b946a64d69e881d8934756fcbb805a109cb7b71561417cdb8bc20d' \
--data '{
    "compartment_id": "ocid1.compartment.oc1...<ocid>",
    "display_name": "gemma-2b-it-md",
    "instance_count": 1,
    "bandwidth_mbps": 10,
    "model_id": "ocid1.datasciencemodel.oc1.iad...<ocid>",
    "instance_shape": "VM.GPU.A10.1"
}'

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 23, 2024
@kumar-shivam-ranjan kumar-shivam-ranjan self-assigned this Oct 23, 2024
@github-actions
Copy link

📌 Cov diff with main:

Coverage-100%

📌 Overall coverage:

Coverage-58.96%

@kumar-shivam-ranjan kumar-shivam-ranjan merged commit 52dfede into main Oct 23, 2024
23 checks passed
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