python-docs-samples icon indicating copy to clipboard operation
python-docs-samples copied to clipboard

feat: add code samples for model optimizer

Open yan283 opened this issue 8 months ago • 5 comments

Add a code sample for model-optimizer using Vertex AI API

Checklist

yan283 avatar Apr 09 '25 07:04 yan283

Here is the summary of changes.

You are about to add 1 region tag.

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • [ ] Refresh this comment

snippet-bot[bot] avatar Apr 09 '25 07:04 snippet-bot[bot]

~We aren't adding new samples for Generative AI with Vertex AI SDK, unless the feature only works with the Vertex AI SDK. Closing this PR as #13296 covers this feature with the Gen AI SDK.~

UPDATE: Not all features work with the Gen AI SDK yet, so we're keeping this PR open.

holtskinner avatar Apr 09 '25 17:04 holtskinner

Note: I think that with https://github.com/googleapis/python-genai/releases/tag/v1.11.0 for the Gen AI SDK, all of the missing features for Model Optimizer were added in. So we might not need this PR for the Vertex AI SDK

holtskinner avatar Apr 17 '25 15:04 holtskinner

+1 to Holt's comment.

msampathkumar avatar May 21 '25 15:05 msampathkumar

@yan283 - Looking for your response. Please check reviews added.

msampathkumar avatar Jun 11 '25 13:06 msampathkumar