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

Create an API for uploading a model to BucketFS equivalent to the CLI upload_model. #149

Open
ahsimb opened this issue Oct 31, 2023 · 0 comments
Labels
feature New feature or request

Comments

@ahsimb
Copy link
Collaborator

ahsimb commented Oct 31, 2023

At the moment the way to invoke this functionality programmatically is calling three functions like this :

# Create bucketfs location
bucketfs_location = create_bucketfs_location(bfs_service, host_name, bfs_port, bfs_use_https, bfs_user, bfs_password,
    bfs_bucket, bfs_dir)
# Upload the downloaded model files into bucketfs
upload_path = get_model_path(bfs_model_dir, model_name)
upload_model_files_to_bucketfs(model_dir, upload_path, bucketfs_location)

It would be good to combine this into a single call.

@ahsimb ahsimb added the feature New feature or request label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant