Closed Willy-JL closed 2 years ago
numpy
is not required for using the accelerate module, so it should not be a hard install dependency.
It is required if you want to suppress the very annoying Unable to load numpy_formathandler accelerator from OpenGL_accelerate
at every import but actually my proposed fix didn't even work, it still required installing numpy separately before hand
When attempting to install from source using a
requirements.txt
file like thiseven though numpy is specified before, pip will flat out ignore it and install it afterwards, resulting in the accelerate extension being installed without numpy present and in the end you get the infamous and very annoying message
at every
OpenGL
import, without an easy way to hide it.This PR simply adds
numpy
as an install dependency for the accelerate extension to avoid this very annoying issue.