pinokiofactory / factory

0 stars 0 forks source link

If you are having trouble even getting to install and launch the app, please go to your `~/pinokio/logs/shell/cleaned/fluxgym.git` folder and find the `install.js.0.txt` file, and scroll to the bottom. #19

Open Painter59 opened 1 month ago

Painter59 commented 1 month ago

If you are having trouble even getting to install and launch the app, please go to your ~/pinokio/logs/shell/cleaned/fluxgym.git folder and find the install.js.0.txt file, and scroll to the bottom.

You might see some error messages there. Post those error messages here along with more details on what's happening.

Originally posted by @cocktailpeanut in https://github.com/pinokiofactory/factory/discussions/6

Painter59 commented 1 month ago

Installation was successful. The log ended thus:

Running setup.py install for controlnet_aux ... done Successfully installed PyWavelets-1.7.0 aiofiles-23.2.1 albucore-0.0.15 albumentations-1.4.15 annotated-types-0.7.0 antlr4-python3-runtime-4.9.3 anyio-4.4.0 clean-fid-0.1.35 click-8.1.7 clip-anytorch-2.6.0 contourpy-1.3.0 controlnet_aux-0.0.7 cycler-0.12.1 dctorch-0.1.2 diffusers-0.31.0.dev0 docker-pycreds-0.4.0 eval-type-backport-0.2.0 exceptiongroup-1.2.2 fastapi-0.114.2 ffmpy-0.4.0 flatten_json-0.1.14 fonttools-4.53.1 gitdb-4.0.11 gitpython-3.1.43 gradio-4.44.0 gradio-client-1.3.0 gradio_logsview-0.0.17 h11-0.14.0 hf_transfer-0.1.8 httpcore-1.0.5 httpx-0.27.2 imageio-2.35.1 importlib-resources-6.4.5 invisible-watermark-0.2.0 jsonmerge-1.9.2 k-diffusion-0.1.1.post1 kiwisolver-1.4.7 kornia-0.7.3 kornia-rs-0.1.5 lazy-loader-0.4 lpips-0.1.4 lycoris-lora-1.8.3 matplotlib-3.9.2 ninja-1.11.1.1 omegaconf-2.3.0 open_clip_torch-2.26.1 opencv-python-headless-4.10.0.84 optimum-quanto-0.2.4 orjson-3.10.7 oyaml-1.0 peft-0.12.0 platformdirs-4.3.3 pydantic-2.9.1 pydantic-core-2.23.3 pydub-0.25.1 pyparsing-3.1.4 python-dotenv-1.0.1 python-multipart-0.0.9 python-slugify-8.0.4 pytorch_fid-0.3.0 ruff-0.6.5 scikit-image-0.24.0 scipy-1.14.1 semantic-version-2.10.0 sentry-sdk-2.14.0 setproctitle-1.3.3 shellingham-1.5.4 smmap-5.0.1 sniffio-1.3.1 starlette-0.38.5 text-unidecode-1.3 tifffile-2024.8.30 timm-1.0.9 tomlkit-0.12.0 torch-2.4.1 torchdiffeq-0.2.4 torchsde-0.2.6 torchvision-0.19.1 trampoline-0.1.2 typer-0.12.5 uvicorn-0.30.6 wandb-0.18.0 websockets-12.0

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

(env) (base) C:\pinokio\api\fluxgym.git>

However, when an attempt is made to build a Lora, it quickly exits with the following error:

RuntimeError: use_libuv was requested but PyTorch was build without libuv support

I tried to roll PyTorch back like this:

pip3 uninstall torch torchvision torchaudio pip install torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu118

but still get the same error

6Morpheus6 commented 1 month ago

@Painter59 Did you activate the fluxgym environment before you installed torch? Because this should fix the error.

Painter59 commented 1 month ago

Well I installed everything through Pinokio. I assumed it knows how to install Torch properly. Is that what you mean? I can re-install Torch if I know which version to install and how to activate the environment outside of Pinokio.

6Morpheus6 commented 1 month ago

@Painter59 Sorry for the late reply. Meanwhile the libuv error should be fixed. Please install the latest version of fluxgym and try again. Please let us know if it works now.