On this page

Show all

Help Center/ ModelArts/ FAQs/ Training Jobs/ Functional Consulting/ How Do I Install MoXing for a Custom Image of a Training Job?

How Do I Install MoXing for a Custom Image of a Training Job?

Updated on 2024-06-11 GMT+08:00

To prevent automatic installation of MoXing from affecting the package environment in the custom image, manually install MoXing for the custom image. The MoXing installation package is stored in the /home/ma-user/modelarts/package/ directory after the job is started. Before using MoXing, run the following code to install it:

import os
os.system("pip install /home/ma-user/modelarts/package/moxing_framework-*.whl")
NOTE:

This case applies only to the training environment.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback