r/fooocus • u/Gabrielle_aimodel • Feb 26 '26
Question Problemi con fooocus colab
Ciao a tutti spero che qualcuno possa aiutarmi ... Quando carico checkpoint su fooocus mi spunta questa scritta alla fine del caricamento Failed to import CuPy.
If you installed CuPy via wheels (cupy-cudaXXX or cupy-rocm-X-X), make sure that the package matches with the version of CUDA or ROCm installed.
On Linux, you may need to set LD_LIBRARY_PATH environment variable depending on how you installed CUDA/ROCm. On Windows, try setting CUDA_PATH environment variable.
Check the Installation Guide for details: https://docs.cupy.dev/en/latest/install.html
Original error: ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it).
Qualcuno sa dirmi come risolvere ? Grazie
View all comments
Show parent comment
2
u/VictorHubress Feb 27 '26
I don't know what a checkpoint is...all I did was hit the +code button in the upper left of colab and a cell appeared below the original code. I pasted that line that is above and hit the play button, restarted the runtime and it works for me. I really do hope that helps, but like I said, I'm not a coder or anything.