Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: module 'numpy' has no attribute 'bool8' #3672

Open
4 of 5 tasks
jeanjerome opened this issue Oct 12, 2024 · 0 comments
Open
4 of 5 tasks

[Bug]: module 'numpy' has no attribute 'bool8' #3672

jeanjerome opened this issue Oct 12, 2024 · 0 comments
Labels
bug Something isn't working triage This needs an (initial) review

Comments

@jeanjerome
Copy link

Checklist

  • The issue has not been resolved by following the troubleshooting guide
  • The issue exists on a clean installation of Fooocus
  • The issue exists in the current version of Fooocus
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

When I launch Fooocus, the following error appears, the Gradio web interface displays 'Error' and becomes unresponsive, yet image generation still continues and works well. The image can be found on the filesystem, but Gradio no longer displays anything:

Using karras scheduler.
[Fooocus] Preparing task 1/2 ...
[Sampler] refiner_swap_method = joint
[Sampler] sigma_min = 0.0291671771556139, sigma_max = 14.614643096923828
Requested to load SDXL
Loading 1 new model
[Fooocus Model Management] Moving model(s) has taken 2.66 seconds
  0%|                                                                                                                               | 0/30 [00:00<?, ?it/s]Traceback (most recent call last):
  File "/opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages/gradio/routes.py", line 488, in run_predict
    output = await app.get_blocks().process_api(
  File "/opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages/gradio/blocks.py", line 1434, in process_api
    data = self.postprocess_data(fn_index, result["prediction"], state)
  File "/opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages/gradio/blocks.py", line 1326, in postprocess_data
    prediction_value = postprocess_update_dict(
  File "/opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages/gradio/blocks.py", line 460, in postprocess_update_dict
    prediction_value["value"] = block.postprocess(prediction_value["value"])
  File "/Users/jeanjerome/PROJETS/Fooocus/modules/gradio_hijack.py", line 326, in postprocess
    return processing_utils.encode_array_to_base64(y)
  File "/opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages/gradio/processing_utils.py", line 104, in encode_array_to_base64
    pil_image = Image.fromarray(_convert(image_array, np.uint8, force_copy=False))
  File "/opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages/gradio/processing_utils.py", line 260, in _convert
    np.bool8: (False, True),  # type: ignore
  File "/opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages/numpy/__init__.py", line 410, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'bool8'. Did you mean: 'bool'?
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 30/30 [01:07<00:00,  2.26s/it]
Requested to load AutoencoderKL
Loading 1 new model
[Fooocus Model Management] Moving model(s) has taken 0.65 seconds
[Fooocus] Saving image 1/2 to system ...
Image generated with private log at:...

Steps to reproduce the problem

  1. Install with conda (installation process on logs bellow)
  2. Go to Gradio web interface http://127.0.0.1:7865/
  3. Enter image prompt
  4. Click on Generate

What should have happened?

  • No error on numpy
  • gradio should display resulting images

What browsers do you use to access Fooocus?

Google Chrome

Where are you running Fooocus?

Locally

What operating system are you using?

MacOS Sequoia 15.0.1 (24A348)

Console logs

## Installation process and execution

https://pastebin.com/W5cpR4Gw

Additional information

A workaround?

I updated gradio from version 3.41.2 to version 3.42.0 in requirements

(fooocus) Fooocus % pip install -r requirements_versions.txt                       
Requirement already satisfied: torchsde==0.2.6 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 1)) (0.2.6)
Requirement already satisfied: einops==0.8.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 2)) (0.8.0)
Requirement already satisfied: transformers==4.42.4 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 3)) (4.42.4)
Requirement already satisfied: safetensors==0.4.3 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 4)) (0.4.3)
Requirement already satisfied: accelerate==0.32.1 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 5)) (0.32.1)
Collecting pyyaml==6.0.1
  Using cached PyYAML-6.0.1-cp310-cp310-macosx_11_0_arm64.whl (169 kB)
Requirement already satisfied: pillow==10.4.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 7)) (10.4.0)
Requirement already satisfied: scipy==1.14.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 8)) (1.14.0)
Requirement already satisfied: tqdm==4.66.4 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 9)) (4.66.4)
Requirement already satisfied: psutil==6.0.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 10)) (6.0.0)
Requirement already satisfied: pytorch_lightning==2.3.3 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 11)) (2.3.3)
Requirement already satisfied: omegaconf==2.3.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 12)) (2.3.0)
Collecting gradio==3.42.0
  Using cached gradio-3.42.0-py3-none-any.whl (20.1 MB)
Requirement already satisfied: pygit2==1.15.1 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 14)) (1.15.1)
Requirement already satisfied: opencv-contrib-python-headless==4.10.0.84 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 15)) (4.10.0.84)
Requirement already satisfied: httpx==0.27.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 16)) (0.27.0)
Requirement already satisfied: onnxruntime==1.18.1 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 17)) (1.18.1)
Requirement already satisfied: timm==1.0.7 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 18)) (1.0.7)
Collecting numpy==1.26.4
  Using cached numpy-1.26.4-cp310-cp310-macosx_11_0_arm64.whl (14.0 MB)
Requirement already satisfied: tokenizers==0.19.1 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 20)) (0.19.1)
Requirement already satisfied: packaging==24.1 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 21)) (24.1)
Requirement already satisfied: rembg==2.0.57 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 22)) (2.0.57)
Requirement already satisfied: groundingdino-py==0.4.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 23)) (0.4.0)
Requirement already satisfied: segment_anything==1.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from -r requirements_versions.txt (line 24)) (1.0)
Requirement already satisfied: torch>=1.6.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from torchsde==0.2.6->-r requirements_versions.txt (line 1)) (2.6.0.dev20241011)
Requirement already satisfied: trampoline>=0.1.2 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from torchsde==0.2.6->-r requirements_versions.txt (line 1)) (0.1.2)
Requirement already satisfied: huggingface-hub<1.0,>=0.23.2 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from transformers==4.42.4->-r requirements_versions.txt (line 3)) (0.25.2)
Requirement already satisfied: filelock in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from transformers==4.42.4->-r requirements_versions.txt (line 3)) (3.16.1)
Requirement already satisfied: regex!=2019.12.17 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from transformers==4.42.4->-r requirements_versions.txt (line 3)) (2024.9.11)
Requirement already satisfied: requests in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from transformers==4.42.4->-r requirements_versions.txt (line 3)) (2.32.3)
Requirement already satisfied: fsspec[http]>=2022.5.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (2024.9.0)
Requirement already satisfied: torchmetrics>=0.7.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (1.4.3)
Requirement already satisfied: lightning-utilities>=0.10.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (0.11.7)
Requirement already satisfied: typing-extensions>=4.4.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (4.12.2)
Requirement already satisfied: antlr4-python3-runtime==4.9.* in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from omegaconf==2.3.0->-r requirements_versions.txt (line 12)) (4.9.3)
Requirement already satisfied: matplotlib~=3.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (3.9.2)
Requirement already satisfied: pandas<3.0,>=1.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (2.2.3)
Requirement already satisfied: importlib-resources<7.0,>=1.3 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (6.4.5)
Requirement already satisfied: markupsafe~=2.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (2.1.5)
Requirement already satisfied: uvicorn>=0.14.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (0.31.1)
Requirement already satisfied: pydub in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (0.25.1)
Requirement already satisfied: orjson~=3.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (3.10.7)
Requirement already satisfied: ffmpy in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (0.4.0)
Requirement already satisfied: websockets<12.0,>=10.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (11.0.3)
Requirement already satisfied: altair<6.0,>=4.2.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (5.4.1)
Requirement already satisfied: jinja2<4.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (3.1.4)
Requirement already satisfied: fastapi in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (0.115.0)
Requirement already satisfied: gradio-client==0.5.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (0.5.0)
Requirement already satisfied: semantic-version~=2.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (2.10.0)
Requirement already satisfied: aiofiles<24.0,>=22.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (23.2.1)
Requirement already satisfied: python-multipart in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (0.0.12)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from gradio==3.42.0->-r requirements_versions.txt (line 13)) (2.9.2)
Requirement already satisfied: cffi>=1.16.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from pygit2==1.15.1->-r requirements_versions.txt (line 14)) (1.17.1)
Requirement already satisfied: httpcore==1.* in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from httpx==0.27.0->-r requirements_versions.txt (line 16)) (1.0.6)
Requirement already satisfied: sniffio in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from httpx==0.27.0->-r requirements_versions.txt (line 16)) (1.3.1)
Requirement already satisfied: anyio in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from httpx==0.27.0->-r requirements_versions.txt (line 16)) (4.6.0)
Requirement already satisfied: certifi in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from httpx==0.27.0->-r requirements_versions.txt (line 16)) (2024.8.30)
Requirement already satisfied: idna in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from httpx==0.27.0->-r requirements_versions.txt (line 16)) (3.10)
Requirement already satisfied: sympy in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from onnxruntime==1.18.1->-r requirements_versions.txt (line 17)) (1.13.3)
Requirement already satisfied: coloredlogs in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from onnxruntime==1.18.1->-r requirements_versions.txt (line 17)) (15.0.1)
Requirement already satisfied: protobuf in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from onnxruntime==1.18.1->-r requirements_versions.txt (line 17)) (5.28.2)
Requirement already satisfied: flatbuffers in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from onnxruntime==1.18.1->-r requirements_versions.txt (line 17)) (24.3.25)
Requirement already satisfied: torchvision in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from timm==1.0.7->-r requirements_versions.txt (line 18)) (0.20.0.dev20241011)
Requirement already satisfied: scikit-image in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from rembg==2.0.57->-r requirements_versions.txt (line 22)) (0.24.0)
Requirement already satisfied: opencv-python-headless in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from rembg==2.0.57->-r requirements_versions.txt (line 22)) (4.10.0.84)
Requirement already satisfied: jsonschema in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from rembg==2.0.57->-r requirements_versions.txt (line 22)) (4.23.0)
Requirement already satisfied: pooch in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from rembg==2.0.57->-r requirements_versions.txt (line 22)) (1.8.2)
Requirement already satisfied: pymatting in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from rembg==2.0.57->-r requirements_versions.txt (line 22)) (1.1.12)
Requirement already satisfied: yapf in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from groundingdino-py==0.4.0->-r requirements_versions.txt (line 23)) (0.40.2)
Requirement already satisfied: supervision==0.6.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from groundingdino-py==0.4.0->-r requirements_versions.txt (line 23)) (0.6.0)
Requirement already satisfied: opencv-python in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from groundingdino-py==0.4.0->-r requirements_versions.txt (line 23)) (4.10.0.84)
Requirement already satisfied: pycocotools in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from groundingdino-py==0.4.0->-r requirements_versions.txt (line 23)) (2.0.8)
Requirement already satisfied: addict in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from groundingdino-py==0.4.0->-r requirements_versions.txt (line 23)) (2.4.0)
Requirement already satisfied: h11<0.15,>=0.13 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from httpcore==1.*->httpx==0.27.0->-r requirements_versions.txt (line 16)) (0.14.0)
Requirement already satisfied: narwhals>=1.5.2 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from altair<6.0,>=4.2.0->gradio==3.42.0->-r requirements_versions.txt (line 13)) (1.9.3)
Requirement already satisfied: pycparser in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from cffi>=1.16.0->pygit2==1.15.1->-r requirements_versions.txt (line 14)) (2.22)
Requirement already satisfied: aiohttp!=4.0.0a0,!=4.0.0a1 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from fsspec[http]>=2022.5.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (3.10.10)
Requirement already satisfied: referencing>=0.28.4 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from jsonschema->rembg==2.0.57->-r requirements_versions.txt (line 22)) (0.35.1)
Requirement already satisfied: attrs>=22.2.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from jsonschema->rembg==2.0.57->-r requirements_versions.txt (line 22)) (24.2.0)
Requirement already satisfied: rpds-py>=0.7.1 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from jsonschema->rembg==2.0.57->-r requirements_versions.txt (line 22)) (0.20.0)
Requirement already satisfied: jsonschema-specifications>=2023.03.6 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from jsonschema->rembg==2.0.57->-r requirements_versions.txt (line 22)) (2024.10.1)
Requirement already satisfied: setuptools in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from lightning-utilities>=0.10.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (75.1.0)
Requirement already satisfied: pyparsing>=2.3.1 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from matplotlib~=3.0->gradio==3.42.0->-r requirements_versions.txt (line 13)) (3.1.4)
Requirement already satisfied: cycler>=0.10 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from matplotlib~=3.0->gradio==3.42.0->-r requirements_versions.txt (line 13)) (0.12.1)
Requirement already satisfied: python-dateutil>=2.7 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from matplotlib~=3.0->gradio==3.42.0->-r requirements_versions.txt (line 13)) (2.9.0.post0)
Requirement already satisfied: fonttools>=4.22.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from matplotlib~=3.0->gradio==3.42.0->-r requirements_versions.txt (line 13)) (4.54.1)
Requirement already satisfied: kiwisolver>=1.3.1 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from matplotlib~=3.0->gradio==3.42.0->-r requirements_versions.txt (line 13)) (1.4.7)
Requirement already satisfied: contourpy>=1.0.1 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from matplotlib~=3.0->gradio==3.42.0->-r requirements_versions.txt (line 13)) (1.3.0)
Requirement already satisfied: tzdata>=2022.7 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from pandas<3.0,>=1.0->gradio==3.42.0->-r requirements_versions.txt (line 13)) (2024.2)
Requirement already satisfied: pytz>=2020.1 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from pandas<3.0,>=1.0->gradio==3.42.0->-r requirements_versions.txt (line 13)) (2024.2)
Requirement already satisfied: pydantic-core==2.23.4 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4->gradio==3.42.0->-r requirements_versions.txt (line 13)) (2.23.4)
Requirement already satisfied: annotated-types>=0.6.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4->gradio==3.42.0->-r requirements_versions.txt (line 13)) (0.7.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from requests->transformers==4.42.4->-r requirements_versions.txt (line 3)) (3.4.0)
Requirement already satisfied: urllib3<3,>=1.21.1 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from requests->transformers==4.42.4->-r requirements_versions.txt (line 3)) (2.2.3)
Requirement already satisfied: networkx in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from torch>=1.6.0->torchsde==0.2.6->-r requirements_versions.txt (line 1)) (3.4.1)
Collecting sympy
  Using cached sympy-1.13.1-py3-none-any.whl (6.2 MB)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from sympy->onnxruntime==1.18.1->-r requirements_versions.txt (line 17)) (1.3.0)
Requirement already satisfied: click>=7.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from uvicorn>=0.14.0->gradio==3.42.0->-r requirements_versions.txt (line 13)) (8.1.7)
Requirement already satisfied: exceptiongroup>=1.0.2 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from anyio->httpx==0.27.0->-r requirements_versions.txt (line 16)) (1.2.2)
Requirement already satisfied: humanfriendly>=9.1 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from coloredlogs->onnxruntime==1.18.1->-r requirements_versions.txt (line 17)) (10.0)
Requirement already satisfied: starlette<0.39.0,>=0.37.2 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from fastapi->gradio==3.42.0->-r requirements_versions.txt (line 13)) (0.38.6)
Requirement already satisfied: platformdirs>=2.5.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from pooch->rembg==2.0.57->-r requirements_versions.txt (line 22)) (4.3.6)
Requirement already satisfied: numba!=0.49.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from pymatting->rembg==2.0.57->-r requirements_versions.txt (line 22)) (0.60.0)
Requirement already satisfied: lazy-loader>=0.4 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from scikit-image->rembg==2.0.57->-r requirements_versions.txt (line 22)) (0.4)
Requirement already satisfied: tifffile>=2022.8.12 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from scikit-image->rembg==2.0.57->-r requirements_versions.txt (line 22)) (2024.9.20)
Requirement already satisfied: imageio>=2.33 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from scikit-image->rembg==2.0.57->-r requirements_versions.txt (line 22)) (2.35.1)
Requirement already satisfied: tomli>=2.0.1 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from yapf->groundingdino-py==0.4.0->-r requirements_versions.txt (line 23)) (2.0.2)
Requirement already satisfied: importlib-metadata>=6.6.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from yapf->groundingdino-py==0.4.0->-r requirements_versions.txt (line 23)) (8.5.0)
Requirement already satisfied: yarl<2.0,>=1.12.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>=2022.5.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (1.15.0)
Requirement already satisfied: aiohappyeyeballs>=2.3.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>=2022.5.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (2.4.3)
Requirement already satisfied: multidict<7.0,>=4.5 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>=2022.5.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (6.1.0)
Requirement already satisfied: aiosignal>=1.1.2 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>=2022.5.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (1.3.1)
Requirement already satisfied: async-timeout<5.0,>=4.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>=2022.5.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (4.0.3)
Requirement already satisfied: frozenlist>=1.1.1 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>=2022.5.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (1.4.1)
Requirement already satisfied: zipp>=3.20 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from importlib-metadata>=6.6.0->yapf->groundingdino-py==0.4.0->-r requirements_versions.txt (line 23)) (3.20.2)
Requirement already satisfied: llvmlite<0.44,>=0.43.0dev0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from numba!=0.49.0->pymatting->rembg==2.0.57->-r requirements_versions.txt (line 22)) (0.43.0)
Requirement already satisfied: six>=1.5 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib~=3.0->gradio==3.42.0->-r requirements_versions.txt (line 13)) (1.16.0)
Requirement already satisfied: propcache>=0.2.0 in /opt/homebrew/Caskroom/miniconda/base/envs/fooocus/lib/python3.10/site-packages (from yarl<2.0,>=1.12.0->aiohttp!=4.0.0a0,!=4.0.0a1->fsspec[http]>=2022.5.0->pytorch_lightning==2.3.3->-r requirements_versions.txt (line 11)) (0.2.0)
Installing collected packages: sympy, pyyaml, numpy, gradio
  Attempting uninstall: sympy
    Found existing installation: sympy 1.13.3
    Uninstalling sympy-1.13.3:
      Successfully uninstalled sympy-1.13.3
  Attempting uninstall: pyyaml
    Found existing installation: PyYAML 6.0.2
    Uninstalling PyYAML-6.0.2:
      Successfully uninstalled PyYAML-6.0.2
  Attempting uninstall: numpy
    Found existing installation: numpy 2.0.1
    Uninstalling numpy-2.0.1:
      Successfully uninstalled numpy-2.0.1
  Attempting uninstall: gradio
    Found existing installation: gradio 3.41.2
    Uninstalling gradio-3.41.2:
      Successfully uninstalled gradio-3.41.2
Successfully installed gradio-3.42.0 numpy-1.26.4 pyyaml-6.0.1 sympy-1.13.2

And everything worked (simple tests) ✅

@jeanjerome jeanjerome added bug Something isn't working triage This needs an (initial) review labels Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This needs an (initial) review
Projects
None yet
Development

No branches or pull requests

1 participant