NVIDIA / aistore

AIStore: scalable storage for AI applications
https://aistore.nvidia.com
MIT License
1.23k stars 164 forks source link

Python API recursive PUT #118

Closed austinmw closed 1 year ago

austinmw commented 1 year ago

Hi, what is the Python API analogous command to the following?

# put the downloaded dataset in the created AIS bucket
! ais object put -r -y <path_to_dataset> ais://caltech256/
alex-aizman commented 1 year ago

Doesn't exist yet. We are currently working to uplift the entire Python-based API/SDK.

Separately, there's also something called promote that may happen to be useful (but again, with no Python support yet):

austinmw commented 1 year ago

Okay, thanks for your response!

aaronnw commented 1 year ago

Put and Promote are both included in the Python SDK now (v1.1.1). You can see examples here: https://github.com/NVIDIA/aistore/blob/master/python/examples/sdk/uploading-objects.ipynb and docs specifically for recursive put here: https://github.com/NVIDIA/aistore/blob/master/docs/python_sdk.md#put_files