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

[EAGLE-4299] Add flag to download exported Model #337

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

sainivedh
Copy link
Contributor

@sainivedh sainivedh commented Apr 22, 2024

Why

  • Add a option so we can skip the download portion of the operation.
  • Provide some response/feedback to the user that the export task(s) were started successfully.

How

  • Utilise export_dir arg, if given model export after kfp is downloaded else status is returned
>>> from clarifai.client.model import Model
>>> model = Model("url")
>>> model.export() 
                  or
>>> model.export("/export/dir")

Tests

  • Manual Tests

Notes

@sainivedh sainivedh merged commit 008be90 into master Apr 23, 2024
17 checks passed
@sainivedh sainivedh deleted the EAGLE-4299-model-export-download-flag branch April 23, 2024 14:56
@sanjaychelliah sanjaychelliah mentioned this pull request May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants