Git Product home page Git Product logo

fooocus's Introduction

Fooocus

fooocus's People

Contributors

cocktailpeanut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

fooocus's Issues

AssertionError: Torch not compiled with CUDA enabled

Hello, I do not have an NVIDIA GPU in my system, and instead I am using a CPU. However, I encountered an error and I believe that this error stems from the lack of an NVIDIA GPU in my system. I would like to continue using my current CPU for my operations. Below, I am providing the full error message I received and I would appreciate your assistance with this matter.

`Microsoft Windows [Version 10.0.22621.3007]
(c) Microsoft Corporation. Tüm hakları saklıdır.

C:\Users\Bulent\pinokio2\api\fooocus.git\app>C:\Users\Bulent\pinokio2\api\fooocus.git\app\env\Scripts\activate C:\Users\Bulent\pinokio2\api\fooocus.git\app\env && python entry_with_update.py --preset realistic --disable-in-browser
Already up-to-date
Update succeeded.
[System ARGV] ['entry_with_update.py', '--preset', 'realistic', '--disable-in-browser']
Loaded preset: C:\Users\Bulent\pinokio2\api\fooocus.git\app\presets\realistic.json
Python 3.10.13 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:24:38) [MSC v.1916 64 bit (AMD64)]
Fooocus version: 2.1.862
Downloading: "https://huggingface.co/lllyasviel/fav_models/resolve/main/fav/realisticStockPhoto_v10.safetensors" to C:\Users\Bulent\pinokio2\api\fooocus.git\app\models\checkpoints\realisticStockPhoto_v10.safetensors

100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 6.46G/6.46G [1:05:56<00:00, 1.75MB/s]
Downloading: "https://huggingface.co/lllyasviel/fav_models/resolve/main/fav/SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors" to C:\Users\Bulent\pinokio2\api\fooocus.git\app\models\loras\SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors

100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 222M/222M [02:06<00:00, 1.85MB/s]
Microsoft Windows [Version 10.0.22621.3007]
(c) Microsoft Corporation. Tüm hakları saklıdır.

C:\Users\Bulent\pinokio2\api\fooocus.git\app>C:\Users\Bulent\pinokio2\api\fooocus.git\app\env\Scripts\activate C:\Users\Bulent\pinokio2\api\fooocus.git\app\env && python entry_with_update.py --preset realistic --disable-in-browser
Already up-to-date
Update succeeded.
[System ARGV] ['entry_with_update.py', '--preset', 'realistic', '--disable-in-browser']
Loaded preset: C:\Users\Bulent\pinokio2\api\fooocus.git\app\presets\realistic.json
Python 3.10.13 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:24:38) [MSC v.1916 64 bit (AMD64)]
Fooocus version: 2.1.862
Running on local URL: http://127.0.0.1:7865

To create a public link, set share=True in launch().
Exception in thread Thread-2 (worker):
Traceback (most recent call last):
File "C:\Users\Bulent\pinokio2\bin\miniconda\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Users\Bulent\pinokio2\bin\miniconda\lib\threading.py", line 953, in run
self._target(*self._args, **self.kwargs)
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\modules\async_worker.py", line 25, in worker
import modules.default_pipeline as pipeline
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\modules\default_pipeline.py", line 1, in
import modules.core as core
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\modules\core.py", line 1, in
from modules.patch import patch_all
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\modules\patch.py", line 5, in
import ldm_patched.modules.model_base
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\ldm_patched\modules\model_base.py", line 2, in
from ldm_patched.ldm.modules.diffusionmodules.openaimodel import UNetModel
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\ldm_patched\ldm\modules\diffusionmodules\openaimodel.py", line 18, in
from ..attention import SpatialTransformer, SpatialVideoTransformer, default
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\ldm_patched\ldm\modules\attention.py", line 12, in
from .sub_quadratic_attention import efficient_dot_product_attention
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\ldm_patched\ldm\modules\sub_quadratic_attention.py", line 27, in
from ldm_patched.modules import model_management
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\ldm_patched\modules\model_management.py", line 118, in
total_vram = get_total_memory(get_torch_device()) / (1024 * 1024)
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\ldm_patched\modules\model_management.py", line 87, in get_torch_device
return torch.device(torch.cuda.current_device())
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\env\lib\site-packages\torch\cuda_init
.py", line 801, in current_device
lazy_init()
File "C:\Users\Bulent\pinokio2\api\fooocus.git\app\env\lib\site-packages\torch\cuda_init
.py", line 307, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled`

moc os x bug not install

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
<<PINOKIO_SHELL>>eval "$(conda shell.bash hook)" && conda deactivate && conda deactivate && conda deactivate && conda activate base && conda install -y -c conda-forge git git-lfs
Error while loading conda entry point: conda-libmamba-solver (dlopen(/Users//pinokio/bin/miniconda/lib/python3.10/site-packages/libmambapy/bindings.cpython-310-darwin.so, 0x0002): Library not loaded: @rpath/libarchive.19.dylib
Referenced from: /Users/
/pinokio/bin/miniconda/lib/libmamba.2.0.0.dylib
Reason: tried: '/Users//pinokio/bin/miniconda/lib/libarchive.19.dylib' (no such file), '/Users//pinokio/bin/miniconda/lib/python3.10/site-packages/libmambapy/../../../libarchive.19.dylib' (no such file), '/Users//pinokio/bin/miniconda/lib/python3.10/site-packages/libmambapy/../../../libarchive.19.dylib' (no such file), '/Users//pinokio/bin/miniconda/bin/../lib/libarchive.19.dylib' (no such file), '/Users/***/pinokio/bin/miniconda/bin/../lib/libarchive.19.dylib' (no such file), '/usr/local/lib/libarchive.19.dylib' (no such file), '/usr/lib/libarchive.19.dylib' (no such file, not in dyld cache))

CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic

Unable to fully install

After a few minutes trying to install with Pinokio Browser the following appears:

DEPRECATION: ffmpy is being installed using the legacy 'set
up.py install' method, because it does not have a 'pyproject.
toml' and the 'wheel' package is not installed. pip 23.1 will
enforce this behaviour change. A possible replacement is to
enable the '--use-pep517' option. Discussion can be found at
pypa/pip#8559
Running setup.py install for ffmpy ... done
DEPRECATION: antlr4-python3-runtime is being installed usin
g the legacy 'setup.py install' method, because it does not h
ave a 'pyproject.toml' and the 'wheel' package is not install
ed. pip 23.1 will enforce this behaviour change. A possible r
eplacement is to enable the '--use-pep517' option. Discussion
can be found at pypa/pip#8559
Running setup.py install for antlr4-python3-runtime ... don
e
Attempting uninstall: Pillow
Found existing installation: pillow 10.2.0
Uninstalling pillow-10.2.0:
Successfully uninstalled pillow-10.2.0
Attempting uninstall: numpy
Found existing installation: numpy 1.26.3
Uninstalling numpy-1.26.3:
Successfully uninstalled numpy-1.26.3
Successfully installed Pillow-9.2.0 accelerate-0.21.0 aiofile
s-23.2.1 aiohttp-3.9.5 aiosignal-1.3.1 altair-5.3.0 annotated
-types-0.7.0 antlr4-python3-runtime-4.9.3 anyio-4.4.0 async-t
imeout-4.0.3 attrs-23.2.0 boltons-24.0.0 certifi-2024.6.2 cff
i-1.16.0 charset-normalizer-3.3.2 click-8.1.7 colorama-0.4.6
coloredlogs-15.0.1 contourpy-1.2.1 cycler-0.12.1 dnspython-2.
6.1 einops-0.4.1 email_validator-2.1.1 exceptiongroup-1.2.1 f
astapi-0.111.0 fastapi-cli-0.0.4 ffmpy-0.3.2 flatbuffers-24.3
.25 fonttools-4.53.0 frozenlist-1.4.1 gradio-3.41.2 gradio-cl
ient-0.5.0 h11-0.14.0 httpcore-0.17.3 httptools-0.6.1 httpx-0
.24.1 huggingface-hub-0.23.2 humanfriendly-10.0 idna-3.7 impo
rtlib-resources-6.4.0 jsonschema-4.22.0 jsonschema-specificat
ions-2023.12.1 kiwisolver-1.4.5 lightning-utilities-0.11.2 ma
rkdown-it-py-3.0.0 matplotlib-3.9.0 mdurl-0.1.2 multidict-6.0
.5 numpy-1.25.2 omegaconf-2.2.3 onnxruntime-1.16.3 opencv-con
trib-python-4.8.0.74 orjson-3.10.3 packaging-24.0 pandas-2.2.
2 protobuf-5.27.0 psutil-5.9.5 pycparser-2.22 pydantic-2.7.3
pydantic-core-2.18.4 pydub-0.25.1 pygit2-1.12.2 pygments-2.18
.0 pyparsing-3.1.2 pyreadline3-3.4.1 python-dateutil-2.9.0.po
st0 python-dotenv-1.0.1 python-multipart-0.0.9 pytorch_lightn
ing-1.9.4 pytz-2024.1 pyyaml-6.0 referencing-0.35.1 regex-202
4.5.15 requests-2.32.3 rich-13.7.1 rpds-py-0.18.1 safetensors
-0.3.1 scipy-1.9.3 semantic-version-2.10.0 shellingham-1.5.4
six-1.16.0 sniffio-1.3.1 starlette-0.37.2 timm-0.9.2 tokenize
rs-0.13.3 toolz-0.12.1 torchmetrics-1.4.0.post0 torchsde-0.2.
5 tqdm-4.64.1 trampoline-0.1.2 transformers-4.30.2 typer-0.12
.3 tzdata-2024.1 ujson-5.10.0 urllib3-2.2.1 uvicorn-0.30.1 wa
tchfiles-0.22.0 websockets-11.0.3 yarl-1.9.4

[notice] A new release of pip is available: 23.0.1 -> 24.0
[notice] To update, run: python.exe -m pip install --upgrade
pip

(env) C:\Users\carlo\pinokio\api\fooocus.git\app>

And then nothing happens. I'm pretty new to AI Tools, and I've searched a few workarounds on this but none works and I'm unable to keep _Conda open, I enter and after a second something appears in the prompt and then closes. I was trying to update the pip but none of the recomendations seem to work or I cannot get them to fix anything.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.