Updated on 2024-08-14 GMT+08:00

Upload Scenarios and Entries

JupyterLab provides multiple methods for uploading files.

Methods for Uploading a File

  • For a file that does not exceed 100 MB, directly upload it, and details such as the file size, upload progress, and upload speed are displayed.
  • For a file that exceeds 100 MB but does not exceed 5 GB, upload the file to OBS (an object bucket or a parallel file system), and then download the file from OBS to a notebook instance. After the download is complete, the file is deleted from OBS.
  • For a file that exceeds 5 GB, upload it by calling ModelArts SDK or MoXing.
  • For a file that shares the same name with an existing file in the current directory of a notebook instance, overwrite the existing file or cancel the upload.
  • A maximum of 10 files can be uploaded at a time. The other files are in awaiting upload state. No folders can be uploaded. If a folder is required, compress it into a package, upload the package to notebook, and decompress the package in Terminal.
    unzip xxx.zip # Directly decompress the package in the path where the package is stored.

    For more details, search for the decompression command in mainstream search engines.

  • When multiple files are uploaded in a batch, the total number of files to be uploaded and the number of files that have been uploaded are displayed at the bottom of the JupyterLab window.

Prerequisites

You have used JupyterLab to open a running notebook environment.

Upload Entry 1: Dragging a File to the File Browser Window

Drag the file to the blank area on the left of the JupyterLab window and upload it.

Upload Entry 2: Clicking the File Upload Icon and Uploading a File

Click in the navigation bar on the top of the window. In the displayed dialog box, drag or select a local file and upload it.

Figure 1 File upload icon
Figure 2 File upload page