Illegal instruction error is caused by PyTorch.
According to this, PyTorch 2.5.1 works in Docker
https://github.com/pytorch/pytorch/issues/146803
There are other suggestions here:
https://github.com/ultralytics/ultralyt ... 2308503942
https://github.com/ultralytics/ultralyt ... 3835917509
According to this, PyTorch 2.5.1 works in Docker
https://github.com/pytorch/pytorch/issues/146803
Code:
pip uninstall torch torchvision -ypip install torch==2.5.1 torchvisionhttps://github.com/ultralytics/ultralyt ... 2308503942
https://github.com/ultralytics/ultralyt ... 3835917509
Statistics: Posted by Y-T-G — Fri Feb 27, 2026 5:27 am