forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Lai, Weijian <laiweijian4@huawei.com> Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
2.6 KiB
2.6 KiB
Error Message "retCode=0x91, [the model stream execute failed]" Displayed in MindSpore Logs
Symptom
When MindSpore is used for training, the following error message is displayed:
[ERROR] RUNTIME(3002)model execute error, retCode=0x91, [the model stream execute failed]
Possible Causes
The speed of reading data cannot keep up with the model iteration speed.
Solution
- Reduce shuffle operations during preprocessing.
dataset = dataset.shuffle(buffer_size=x)
- Disable data preprocessing, which may affect system performance.
NPURunConfig(enable_data_pre_proc=Flase)
Summary and Suggestions
Before creating a training job, use the ModelArts development environment to debug the training code to maximally eliminate errors in code migration.
Parent topic: In-Cloud Migration Adaptation Issues