[Solved] mindspore Error: cannot allocate memory in static TLS block

preface

Use other packages in mindscore to report errors

OSError: /home/ma-user/miniconda3/envs/MindSpore-python3.7-aarch64/lib/python3.7/site-packages/torch/lib/libgomp-d22c30c5.so.1: cannot allocate memory in static TLS block

Solution:

Modify the import order of packages and put other packages in front

Similar Posts: