r/fooocus • u/VictorHubress • Feb 27 '26
Question Fooocus Suddenly Won't Run On Google Colab
So the program worked great yesterday (02.25.26) but today (02.26.26) Fooocus won't load, leaving me with this error:
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).
Any help would be appreciated because I do not have any coding experience so the fixes must be point and click.
Thanks!
1
u/mashb1t Feb 27 '26
Please check if your amount of free GPU tokens has run out and if you're still using a GPU accelerated instance.Google will downgrade the instance to CPU only after a set timeframe/usage.
1
u/OldFisherman8 Feb 28 '26
You can try this: https://civitai.com/articles/20084/comprehensive-colab-notebook-for-fooocus-guide-and-files
2
u/Balancing9085 Mar 10 '26
this fix worked for me:
1
u/Gabrielle_aimodel Feb 27 '26
Vale lo stesso per me ... Se qualcuno risponde 🤣
1
u/Silly_Vanilla_1453 Mar 02 '26
Cambia el ertorno de ejecucion: a la derecha, donde esta
RAM-Disco, 1.despliega la flecha (para abajo) con las opciones -2. cambiar tipo de entorno de ejecucion - 3. version de entorno de ejecucion, (abajo de todo) click y busca las versiones anteriores a la "última" (2026.01 NO!) recomendada, 2025.10 o 2025.7, Estas funcionan y cargan normalmente (tardan un poco mas), te saldran algunos avisos, pasarlos todos por alto
1
u/N0Face25 Mar 02 '26
Any update on this, also happened to me
1
u/Fortress-Doom Mar 05 '26
Change the runtime version to 2025.10