Synchronizing Files with OBS
If you specify Storage Path during notebook instance creation, your compiled code will be automatically stored in your specified OBS bucket. If code invocation among different .ipynb files is required, you can use the Sync OBS function.
The Sync OBS function is used to synchronize the objects selected in the list of notebook instance files from the OBS bucket to the current container directory ~/work.
Precautions
- The maximum size of files to be synchronized at a time is 500 MB, and the maximum number of files to be synchronized at a time is 1,024.
- The total size of objects to be synchronized cannot exceed 5 GB. For example, if 2 GB files exist in the ~/work container directory, you can use Sync OBS to synchronize a maximum of 3 GB files.
- The Sync OBS function only takes effect on notebook instances for which Storage is OBS. For notebook instances whose Storage is not OBS, all files are read and written in the ~/work container directory.
- Notebook instances created using Ascend resources do not support the Sync OBS function.
Procedure
The Sync OBS function can be used in notebook instances. The following describes how to use the function.
For example, assume that the Untitled2.ipynb file needs to call module in the Untitled3.ipynb file. Select both files and click Sync OBS.
Last Article: Using ModelArts SDKs
Next Article: Using the Convert to Python File Function
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.