Updated on 2023-09-28 GMT+08:00

Notebook Base Images

Presetting Images

The images preset in ModelArts DevEnviron include:

  • Typical preset packages: AI engines based on standard Conda, data analysis software packages such as Pandas and Numpy, and tool software such as CUDA and CUDNN are included to meet your needs.
  • Preset Conda environments: A Conda environment and basic Conda Python (excluding any AI engine) are created for each preset image. The following figure shows the Conda environment for a preset MindSpore image.

    Select a Conda environment based on whether MindSpore is used for debugging.

  • Notebook: a web application that enables you to code on the GUI and combine the code, mathematical equations, and visualized content into a document.
  • JupyterLab plug-ins: enable flavor changing and instance stopping to improve user experience. After a notebook instance is stopped, its CPUs and memory are no longer billed.
  • Remote SSH: allows you to remotely start and debug a notebook instance from a local PC.
  • Images preset in ModelArts DevEnviron: After these preset images support function development, the custom images created based on these preset images can be directly used for ModelArts training jobs.

A ModelArts preset image is started as user ma-user. The default working directory of an accessed notebook instance is /home/ma-user/work.

Create an instance and mount the persistent storage to /home/ma-user/work. The data stored only in the work directory is retained after the instance is stopped and restarted. When you use a development environment, store the data for persistence in /home/ma-user/work.

Creating a Notebook Instance Using a Preset Image

Select a preset image when creating a notebook instance. You can access and use the instance right after it is created.

  1. Log in to the ModelArts management console. In the navigation pane on the left, choose DevEnviron > Notebook to access the new-version Notebook page.
  2. Click Create. On the Create Notebook page, select a public image, configure other parameters, and submit the creation request. For details about the parameters, see Creating a Notebook Instance.
  3. After the status of the notebook instance changes to Running, access the notebook to use the created image.