Skip to content

feat(hub): add upload-artifact utility#514

Open
myesmin wants to merge 1 commit into
kubeflow:mainfrom
myesmin:feat/issue-475-upload-artifact-utility
Open

feat(hub): add upload-artifact utility#514
myesmin wants to merge 1 commit into
kubeflow:mainfrom
myesmin:feat/issue-475-upload-artifact-utility

Conversation

@myesmin
Copy link
Copy Markdown

@myesmin myesmin commented May 28, 2026

Summary

Adds a decoupled upload_artifact utility for uploading model artifacts to S3 or OCI without registering them in a model registry, as described in #475.

  • New kubeflow/hub/storage.py with upload_artifact and standalone S3 upload helper
  • New S3UploadParams and OCIUploadParams Pydantic types in kubeflow/hub/types/
  • Unit tests in kubeflow/hub/storage_test.py
  • Exported from kubeflow.hub

Fixes #475

Test plan

  • uv run pytest -q kubeflow/hub/storage_test.py
  • uv run ruff check / pre-commit on changed hub files

Copilot AI review requested due to automatic review settings May 28, 2026 22:38
@google-oss-prow google-oss-prow Bot requested a review from fege May 28, 2026 22:38
@google-oss-prow
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign tarilabs for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow Bot requested a review from szaher May 28, 2026 22:38
@github-actions
Copy link
Copy Markdown
Contributor

🎉 Welcome to the Kubeflow SDK! 🎉

Thanks for opening your first PR! We're happy to have you as part of our community 🚀

Here's what happens next:

  • If you haven't already, please check out our Contributing Guide for repo-specific guidelines and the Kubeflow Contributor Guide for general community standards
  • Our team will review your PR soon! cc @kubeflow/kubeflow-sdk-team

Join the community:

Feel free to ask questions in the comments if you need any help or clarification!
Thanks again for contributing to Kubeflow! 🙏

Add standalone S3/OCI upload helper and types so artifacts can be uploaded
without coupling to the model registry client.

Signed-off-by: myesmin <myesmin415@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@myesmin myesmin force-pushed the feat/issue-475-upload-artifact-utility branch from 331f03c to 8da6368 Compare May 28, 2026 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add upload-artifact utility to kubeflow sdk

1 participant