magika icon indicating copy to clipboard operation
magika copied to clipboard

Update to numpy 2.0.0

Open Nicba1010 opened this issue 1 year ago • 3 comments

Hi,

I would appreciate an update to numpy 2.0.0, or at least the option to use it. Unless it breaks something badly.

Kindest regards, Roberto

Nicba1010 avatar Jun 25 '24 11:06 Nicba1010

Thanks for the suggestion! We are working on the next release; we will test this new version of numpy and add it if possible.

reyammer avatar Jul 01 '24 13:07 reyammer

Thank you very much :), it's one of my last things to update in a project to be able to move to numpy 2.0.0.

Nicba1010 avatar Jul 01 '24 15:07 Nicba1010

Checked a bit more, unfortunately onnxruntime needs numpy<2.0.0. They are planning to add support later on, but not there yet. "Support for numpy 2.0 will be added in a future release." from https://github.com/Microsoft/onnxruntime/releases/tag/v1.18.1. As soon as they add support, we'll be able to bump numpy version as well.

reyammer avatar Jul 18 '24 10:07 reyammer

Update: It seems that onnxruntime 1.19 added support for numpy 2.0.0, will give it a try. https://github.com/Microsoft/onnxruntime/releases/tag/v1.19.0

reyammer avatar Aug 20 '24 14:08 reyammer