microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.56k stars 2.91k forks source link

SystemError : 13 for transformers optimizer #12745

Open mengniwang95 opened 2 years ago

mengniwang95 commented 2 years ago

Describe the bug I used docker to run onnxruntime transformers optimizer and met this error, but I can successfully run it on my local ubuntu machine. Could you give any suggestion? image

To Reproduce docker file: https://github.com/VincyZhang/neural-compressor/tree/letong_performance/docker code: https://github.com/VincyZhang/neural-compressor/blob/letong_performance/examples/onnxrt/language_translation/bert/quantization/ptq/main.py how to prepare model and run: https://github.com/VincyZhang/neural-compressor/tree/letong_performance/examples/onnxrt/language_translation/bert/quantization/ptq

tianleiwu commented 2 years ago

System Error 13 (Permission denied). It is caused by permission settings (like read or execution permission on some file or directory).