The error message is displayed when MoXing is used to copy data for a training job.
The possible causes are as follows:
# Configure the number of processes. os.environ['MOX_FILE_LARGE_FILE_TASK_NUM']=1 import moxing as mox # Copy files. mox.file.copy_parallel(src_url=your_src_dir, dst_url=your_target_dir, threads=0, is_processing=False)
When creating a training job, you can use the environment variable _PARTIAL_MAXIMUM_SIZE to configure the threshold (in bytes) for downloading large files in multiple parts. If the size of a file exceeds the threshold, the file will be downloaded in multiple parts concurrently.
Before creating a training job, use the ModelArts development environment to debug the training code to maximally eliminate errors in code migration.