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 model task in MD tags #977

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

kumar-shivam-ranjan
Copy link
Member

@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
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