DEVAIEXP / image-interrogator

The IMAGE-interrogator for SOTA image captioning
MIT License
77 stars 5 forks source link

Error CUDA is not available + RuntimeError: No GPU found. A GPU is needed for quantization. #14

Closed BenDes21 closed 6 months ago

BenDes21 commented 6 months ago

Hi there, Im sorry in advance I have to open a feature thread for asking help. I correctly installed the script by following the information of this github but Im getting 2 errors when trying to caption an single image with any models 4 bit / fp16 :

Precision : I have cuda 12.2 installed and a RTX 4080 12gb ( around 10 is required for my settings ) and also get The system cannot find the path specified at the start ( the venv folder / path are correctly setup )

_CUDA is not available, using CPU. Warning: this will be very slow! Loading caption model cogvlm-chat-hf... Something went wrong while process captions. Traceback (most recent call last): File "C:\Users\Admin\Documents\Stable diffusion\image-interrogator-1.0.1\image-interrogator.py", line 443, in image_to_prompt validate_reload(caption_model_name, clip_model_name, check_lowvram, device, generate_features, _precision_type, load_4bit, load_8bit) File "C:\Users\Admin\Documents\Stable diffusion\image-interrogator-1.0.1\image-interrogator.py", line 306, in validate_reload load_ci() File "C:\Users\Admin\Documents\Stable diffusion\image-interrogator-1.0.1\image-interrogator.py", line 62, in load_ci ci = Interrogator(config) File "C:\Users\Admin\Documents\Stable diffusion\image-interrogator-1.0.1\clip_interrogator\clip_interrogator.py", line 99, in init self.load_models() File "C:\Users\Admin\Documents\Stable diffusion\image-interrogator-1.0.1\clip_interrogator\clip_interrogator.py", line 103, in load_models self.load_caption_model() File "C:\Users\Admin\Documents\Stable diffusion\image-interrogator-1.0.1\clip_interrogator\clip_interrogator.py", line 207, in load_caption_model self.load_clip_caption_model() File "C:\Users\Admin\Documents\Stable diffusion\image-interrogator-1.0.1\clip_interrogator\clip_interrogator.py", line 173, in load_clip_caption_model caption_model = AutoModelForCausalLM.from_pretrained(self.config.model_path, low_cpu_mem_usage=True, local_files_only=self.config.download_models_to_cache, torch_dtype=self.dtype, trust_remote_code=True, **kwargs) File "C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\models\auto\auto_factory.py", line 561, in from_pretrained return model_class.from_pretrained( File "C:\Users\Admin\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\modeling_utils.py", line 3030, in frompretrained raise RuntimeError("No GPU found. A GPU is needed for quantization.") RuntimeError: No GPU found. A GPU is needed for quantization.

Thanks!

elismasilva commented 6 months ago

I think you have some problem with you torch cuda support. To test if cuda is enabled try this on command prompt:

python in python prompt with >> enter with: import torch torch.cuda.is_available()

if its return True you cuda is ok, if false you need try reinstall, maybe some error during installation. image

BenDes21 commented 6 months ago

I think you have some problem with you torch cuda support. To test if cuda is enabled try this on command prompt:

python in python prompt with >> enter with: import torch torch.cuda.is_available()

if its return True you cuda is ok, if false you need try reinstall, maybe some error during installation. image

cuda is correctly installed, tried llava 7b 4 bit and now get this :

Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████| 4/4 [00:06<00:00, 1.64s/it] Generating caption for images... Batch: 1 | Total Images: 1 The attention mask and the pad token id were not set. As a consequence, you may observe unexpected behavior. Please pass your input's attention_mask to obtain reliable results. Setting pad_token_id to eos_token_id:2 for open-end generation. Something went wrong while process captions. Traceback (most recent call last): File "C:\Users\Admin\Documents\Stable diffusion\image-interrogator\image-interrogator.py", line 448, in image_to_prompt prompt = generate_captions(ci, feature_mode, question_prompt, temperature, top_p, max_new_tokens, check_dataset, dataset_name, [image], check_txt_caption, check_only_caption, test_mode) File "C:\Users\Admin\Documents\Stable diffusion\image-interrogator\util\generate.py", line 78, in generatecaptions filename = f"{images[j].orig_file_name}" AttributeError: 'Image' object has no attribute 'orig_file_name'

:(

elismasilva commented 6 months ago

if you don't install with our installer you will get this error. Do a fresh install with 'install_windows.bat T', and put here output generated in console during installation, if erros occour we can see on console.

elismasilva commented 6 months ago

I just did a new test installing from scratch in another path and everything is working fine.

F:\Projetos\teste>git clone https://github.com/DEVAIEXP/image-interrogator.git
Cloning into 'image-interrogator'...
remote: Enumerating objects: 161, done.
remote: Counting objects: 100% (161/161), done.
Receiving objects:   3% (5/161)0% (102/102), done.
Receiving objects:  87% (141/161)sed 119 (delta 46), pack-reused 0
Receiving objects: 100% (161/161), 862.24 KiB | 13.47 MiB/s, done.
Resolving deltas: 100% (66/66), done.

F:\Projetos\teste>cd image-interrogator

F:\Projetos\teste\image-interrogator>install_windows.bat
Creating python venv dir F:\Projetos\teste\image-interrogator\venv in using python "C:\Users\pelol\.pyenv\pyenv-win\versions\3.10.11\python.exe"
Activating python venv
venv "F:\Projetos\teste\image-interrogator\venv\Scripts\Python.exe"
Cloning LLaVA repository...
Cloning into 'LLaVA'...
remote: Enumerating objects: 2250, done.
remote: Counting objects: 100% (608/608), done.
remote: Compressing objects: 100% (109/109), done.
Receiving objects:  99% (2228/2250)sed 499 (delta 499), pack-reused 1642
Receiving objects: 100% (2250/2250), 13.63 MiB | 30.88 MiB/s, done.
Resolving deltas: 100% (1434/1434), done.
Patching LLaVA...
        1 arquivo(s) copiado(s).
        1 arquivo(s) copiado(s).
Installing LLaVA. This could take a few minutes...
Looking in indexes: https://download.pytorch.org/whl/cu118, https://pypi.ngc.nvidia.com
Collecting torch==2.2.0
  Downloading https://download.pytorch.org/whl/cu118/torch-2.2.0%2Bcu118-cp310-cp310-win_amd64.whl (2704.3 MB)
     ---------------------------------------- 2.7/2.7 GB 36.4 MB/s eta 0:00:00
Collecting torchvision
  Downloading https://download.pytorch.org/whl/cu118/torchvision-0.17.1%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB)
     ---------------------------------------- 4.9/4.9 MB 39.2 MB/s eta 0:00:00
Collecting torchaudio
  Downloading https://download.pytorch.org/whl/cu118/torchaudio-2.2.1%2Bcu118-cp310-cp310-win_amd64.whl (4.0 MB)
     ---------------------------------------- 4.0/4.0 MB 42.1 MB/s eta 0:00:00
Collecting jinja2
  Downloading https://download.pytorch.org/whl/Jinja2-3.1.2-py3-none-any.whl (133 kB)
     ---------------------------------------- 133.1/133.1 kB ? eta 0:00:00
Collecting filelock
  Downloading https://download.pytorch.org/whl/filelock-3.9.0-py3-none-any.whl (9.7 kB)
Collecting sympy
  Downloading https://download.pytorch.org/whl/sympy-1.12-py3-none-any.whl (5.7 MB)
     ---------------------------------------- 5.7/5.7 MB 45.9 MB/s eta 0:00:00
Collecting networkx
  Downloading https://download.pytorch.org/whl/networkx-3.2.1-py3-none-any.whl (1.6 MB)
     ---------------------------------------- 1.6/1.6 MB 52.8 MB/s eta 0:00:00
Collecting fsspec
  Downloading https://download.pytorch.org/whl/fsspec-2023.4.0-py3-none-any.whl (153 kB)
     ---------------------------------------- 154.0/154.0 kB ? eta 0:00:00
Collecting typing-extensions>=4.8.0
  Downloading https://download.pytorch.org/whl/typing_extensions-4.8.0-py3-none-any.whl (31 kB)
Collecting numpy
  Downloading https://download.pytorch.org/whl/numpy-1.26.3-cp310-cp310-win_amd64.whl (15.8 MB)
     ---------------------------------------- 15.8/15.8 MB 36.4 MB/s eta 0:00:00
Collecting pillow!=8.3.*,>=5.3.0
  Downloading https://download.pytorch.org/whl/pillow-10.2.0-cp310-cp310-win_amd64.whl (2.6 MB)
     ---------------------------------------- 2.6/2.6 MB 42.1 MB/s eta 0:00:00
Collecting torchvision
  Downloading https://download.pytorch.org/whl/cu118/torchvision-0.17.0%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB)
     ---------------------------------------- 4.9/4.9 MB 44.9 MB/s eta 0:00:00
Collecting requests
  Downloading https://download.pytorch.org/whl/requests-2.28.1-py3-none-any.whl (62 kB)
     ---------------------------------------- 62.8/62.8 kB ? eta 0:00:00
Collecting torchaudio
  Downloading https://download.pytorch.org/whl/cu118/torchaudio-2.2.0%2Bcu118-cp310-cp310-win_amd64.whl (4.0 MB)
     ---------------------------------------- 4.0/4.0 MB 50.7 MB/s eta 0:00:00
Collecting MarkupSafe>=2.0
  Downloading https://download.pytorch.org/whl/MarkupSafe-2.1.3-cp310-cp310-win_amd64.whl (17 kB)
Collecting idna<4,>=2.5
  Downloading https://download.pytorch.org/whl/idna-3.4-py3-none-any.whl (61 kB)
     ---------------------------------------- 61.5/61.5 kB ? eta 0:00:00
Collecting charset-normalizer<3,>=2
  Downloading https://download.pytorch.org/whl/charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting certifi>=2017.4.17
  Downloading https://download.pytorch.org/whl/certifi-2022.12.7-py3-none-any.whl (155 kB)
     ---------------------------------------- 155.3/155.3 kB ? eta 0:00:00
Collecting urllib3<1.27,>=1.21.1
  Downloading https://download.pytorch.org/whl/urllib3-1.26.13-py2.py3-none-any.whl (140 kB)
     ---------------------------------------- 140.6/140.6 kB ? eta 0:00:00
Collecting mpmath>=0.19
  Downloading https://download.pytorch.org/whl/mpmath-1.3.0-py3-none-any.whl (536 kB)
     ---------------------------------------- 536.2/536.2 kB ? eta 0:00:00
Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, fsspec, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision, torchaudio
Successfully installed MarkupSafe-2.1.3 certifi-2022.12.7 charset-normalizer-2.1.1 filelock-3.9.0 fsspec-2023.4.0 idna-3.4 jinja2-3.1.2 mpmath-1.3.0 networkx-3.2.1 numpy-1.26.3 pillow-10.2.0 requests-2.28.1 sympy-1.12 torch-2.2.0+cu118 torchaudio-2.2.0+cu118 torchvision-0.17.0+cu118 typing-extensions-4.8.0 urllib3-1.26.13
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Obtaining file:///F:/Projetos/teste/image-interrogator/repositories/LLaVA
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Installing backend dependencies ... done
  Preparing editable metadata (pyproject.toml) ... done
Collecting bitsandbytes>=0.41.2
  Downloading bitsandbytes-0.43.0-py3-none-win_amd64.whl (101.6 MB)
     ---------------------------------------- 101.6/101.6 MB 38.4 MB/s eta 0:00:00
Collecting gradio==4.19.2
  Downloading gradio-4.19.2-py3-none-any.whl (16.9 MB)
     ---------------------------------------- 16.9/16.9 MB 38.6 MB/s eta 0:00:00
Collecting scikit-learn==1.2.2
  Downloading scikit_learn-1.2.2-cp310-cp310-win_amd64.whl (8.3 MB)
     ---------------------------------------- 8.3/8.3 MB 44.4 MB/s eta 0:00:00
Collecting peft==0.9.0
  Downloading peft-0.9.0-py3-none-any.whl (190 kB)
     ---------------------------------------- 190.9/190.9 kB ? eta 0:00:00
Collecting gradio-client==0.10.1
  Downloading gradio_client-0.10.1-py3-none-any.whl (307 kB)
     ---------------------------------------- 307.9/307.9 kB ? eta 0:00:00
Collecting fastapi
  Downloading fastapi-0.110.0-py3-none-any.whl (92 kB)
     ---------------------------------------- 92.1/92.1 kB ? eta 0:00:00
Collecting uvicorn
  Downloading uvicorn-0.28.0-py3-none-any.whl (60 kB)
     ---------------------------------------- 60.6/60.6 kB ? eta 0:00:00
Collecting accelerate==0.27.2
  Downloading accelerate-0.27.2-py3-none-any.whl (279 kB)
     ---------------------------------------- 280.0/280.0 kB ? eta 0:00:00
Collecting tokenizers==0.15.0
  Downloading tokenizers-0.15.0-cp310-none-win_amd64.whl (2.2 MB)
     ---------------------------------------- 2.2/2.2 MB 3.9 MB/s eta 0:00:00
Collecting httpx==0.24.1
  Downloading httpx-0.24.1-py3-none-any.whl (75 kB)
     ---------------------------------------- 75.4/75.4 kB ? eta 0:00:00
Requirement already satisfied: numpy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from llava==1.2.0) (1.26.3)
Collecting einops==0.6.1
  Downloading einops-0.6.1-py3-none-any.whl (42 kB)
     ---------------------------------------- 42.2/42.2 kB ? eta 0:00:00
Collecting shortuuid
  Downloading shortuuid-1.0.13-py3-none-any.whl (10 kB)
Requirement already satisfied: torch==2.2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from llava==1.2.0) (2.2.0+cu118)
Collecting timm==0.9.16
  Downloading timm-0.9.16-py3-none-any.whl (2.2 MB)
     ---------------------------------------- 2.2/2.2 MB 72.2 MB/s eta 0:00:00
Collecting einops-exts==0.0.4
  Downloading einops_exts-0.0.4-py3-none-any.whl (3.9 kB)
Collecting sentencepiece==0.1.99
  Downloading sentencepiece-0.1.99-cp310-cp310-win_amd64.whl (977 kB)
     ---------------------------------------- 977.5/977.5 kB 60.5 MB/s eta 0:00:00
Requirement already satisfied: requests in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from llava==1.2.0) (2.28.1)
Collecting transformers==4.37.2
  Downloading transformers-4.37.2-py3-none-any.whl (8.4 MB)
     ---------------------------------------- 8.4/8.4 MB 41.3 MB/s eta 0:00:00
Collecting pydantic==2.6.1
  Downloading pydantic-2.6.1-py3-none-any.whl (394 kB)
     ---------------------------------------- 394.8/394.8 kB ? eta 0:00:00
Requirement already satisfied: torchvision==0.17.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from llava==1.2.0) (0.17.0+cu118)
Collecting markdown2[all]
  Downloading markdown2-2.4.13-py2.py3-none-any.whl (41 kB)
     ---------------------------------------- 41.3/41.3 kB ? eta 0:00:00
Collecting safetensors>=0.3.1
  Downloading safetensors-0.4.2-cp310-none-win_amd64.whl (269 kB)
     ---------------------------------------- 269.5/269.5 kB ? eta 0:00:00
Collecting packaging>=20.0
  Downloading packaging-24.0-py3-none-any.whl (53 kB)
     ---------------------------------------- 53.5/53.5 kB ? eta 0:00:00
Collecting pyyaml
  Downloading PyYAML-6.0.1-cp310-cp310-win_amd64.whl (145 kB)
     ---------------------------------------- 145.3/145.3 kB ? eta 0:00:00
Collecting huggingface-hub
  Downloading huggingface_hub-0.21.4-py3-none-any.whl (346 kB)
     ---------------------------------------- 346.4/346.4 kB ? eta 0:00:00
Collecting psutil
  Downloading psutil-5.9.8-cp37-abi3-win_amd64.whl (255 kB)
     ---------------------------------------- 255.1/255.1 kB ? eta 0:00:00
Collecting python-multipart>=0.0.9
  Downloading python_multipart-0.0.9-py3-none-any.whl (22 kB)
Requirement already satisfied: typing-extensions~=4.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (4.8.0)
Collecting altair<6.0,>=4.2.0
  Downloading altair-5.2.0-py3-none-any.whl (996 kB)
     ---------------------------------------- 996.9/996.9 kB 61.7 MB/s eta 0:00:00
Collecting aiofiles<24.0,>=22.0
  Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)
Collecting pydub
  Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Collecting importlib-resources<7.0,>=1.3
  Downloading importlib_resources-6.3.1-py3-none-any.whl (35 kB)
Collecting ruff>=0.2.2
  Downloading ruff-0.3.3-py3-none-win_amd64.whl (8.4 MB)
     ---------------------------------------- 8.4/8.4 MB 44.7 MB/s eta 0:00:00
Requirement already satisfied: jinja2<4.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (3.1.2)
Collecting tomlkit==0.12.0
  Downloading tomlkit-0.12.0-py3-none-any.whl (37 kB)
Requirement already satisfied: pillow<11.0,>=8.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (10.2.0)
Collecting matplotlib~=3.0
  Downloading matplotlib-3.8.3-cp310-cp310-win_amd64.whl (7.6 MB)
     ---------------------------------------- 7.6/7.6 MB 44.4 MB/s eta 0:00:00
Collecting ffmpy
  Downloading ffmpy-0.3.2.tar.gz (5.5 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: markupsafe~=2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (2.1.3)
Collecting pandas<3.0,>=1.0
  Downloading pandas-2.2.1-cp310-cp310-win_amd64.whl (11.6 MB)
     ---------------------------------------- 11.6/11.6 MB 38.6 MB/s eta 0:00:00
Collecting orjson~=3.0
  Downloading orjson-3.9.15-cp310-none-win_amd64.whl (136 kB)
     ---------------------------------------- 136.0/136.0 kB ? eta 0:00:00
Collecting semantic-version~=2.0
  Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Collecting typer[all]<1.0,>=0.9
  Downloading typer-0.9.0-py3-none-any.whl (45 kB)
     ---------------------------------------- 45.9/45.9 kB ? eta 0:00:00
Requirement already satisfied: fsspec in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio-client==0.10.1->llava==1.2.0) (2023.4.0)
Collecting websockets<12.0,>=10.0
  Downloading websockets-11.0.3-cp310-cp310-win_amd64.whl (124 kB)
     ---------------------------------------- 124.7/124.7 kB ? eta 0:00:00
Collecting sniffio
  Downloading sniffio-1.3.1-py3-none-any.whl (10 kB)
Requirement already satisfied: certifi in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->llava==1.2.0) (2022.12.7)
Requirement already satisfied: idna in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->llava==1.2.0) (3.4)
Collecting httpcore<0.18.0,>=0.15.0
  Downloading httpcore-0.17.3-py3-none-any.whl (74 kB)
     ---------------------------------------- 74.5/74.5 kB ? eta 0:00:00
Collecting tqdm
  Downloading tqdm-4.66.2-py3-none-any.whl (78 kB)
     ---------------------------------------- 78.3/78.3 kB ? eta 0:00:00
Collecting pydantic-core==2.16.2
  Downloading pydantic_core-2.16.2-cp310-none-win_amd64.whl (1.9 MB)
     ---------------------------------------- 1.9/1.9 MB 3.4 MB/s eta 0:00:00
Collecting annotated-types>=0.4.0
  Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB)
Collecting joblib>=1.1.1
  Downloading joblib-1.3.2-py3-none-any.whl (302 kB)
     ---------------------------------------- 302.2/302.2 kB ? eta 0:00:00
Collecting scipy>=1.3.2
  Downloading scipy-1.12.0-cp310-cp310-win_amd64.whl (46.2 MB)
     ---------------------------------------- 46.2/46.2 MB 38.5 MB/s eta 0:00:00
Collecting threadpoolctl>=2.0.0
  Downloading threadpoolctl-3.3.0-py3-none-any.whl (17 kB)
Requirement already satisfied: filelock in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->llava==1.2.0) (3.9.0)
Requirement already satisfied: networkx in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->llava==1.2.0) (3.2.1)
Requirement already satisfied: sympy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->llava==1.2.0) (1.12)
Collecting regex!=2019.12.17
  Downloading regex-2023.12.25-cp310-cp310-win_amd64.whl (269 kB)
     ---------------------------------------- 269.5/269.5 kB ? eta 0:00:00
Collecting h11>=0.8
  Downloading h11-0.14.0-py3-none-any.whl (58 kB)
     ---------------------------------------- 58.3/58.3 kB ? eta 0:00:00
Collecting click>=7.0
  Downloading click-8.1.7-py3-none-any.whl (97 kB)
     ---------------------------------------- 97.9/97.9 kB ? eta 0:00:00
Collecting starlette<0.37.0,>=0.36.3
  Downloading starlette-0.36.3-py3-none-any.whl (71 kB)
     ---------------------------------------- 71.5/71.5 kB ? eta 0:00:00
Collecting pygments>=2.7.3
  Downloading pygments-2.17.2-py3-none-any.whl (1.2 MB)
     ---------------------------------------- 1.2/1.2 MB 73.1 MB/s eta 0:00:00
Collecting wavedrom
  Downloading wavedrom-2.0.3.post3.tar.gz (137 kB)
     ---------------------------------------- 137.7/137.7 kB ? eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: urllib3<1.27,>=1.21.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from requests->llava==1.2.0) (1.26.13)
Requirement already satisfied: charset-normalizer<3,>=2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from requests->llava==1.2.0) (2.1.1)
Collecting toolz
  Downloading toolz-0.12.1-py3-none-any.whl (56 kB)
     ---------------------------------------- 56.1/56.1 kB ? eta 0:00:00
Collecting jsonschema>=3.0
  Downloading jsonschema-4.21.1-py3-none-any.whl (85 kB)
     ---------------------------------------- 85.5/85.5 kB ? eta 0:00:00
Collecting colorama
  Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting anyio<5.0,>=3.0
  Downloading anyio-4.3.0-py3-none-any.whl (85 kB)
     ---------------------------------------- 85.6/85.6 kB ? eta 0:00:00
Collecting fsspec
  Downloading fsspec-2024.3.1-py3-none-any.whl (171 kB)
     ---------------------------------------- 172.0/172.0 kB ? eta 0:00:00
Collecting fonttools>=4.22.0
  Downloading fonttools-4.50.0-cp310-cp310-win_amd64.whl (2.2 MB)
     ---------------------------------------- 2.2/2.2 MB 70.1 MB/s eta 0:00:00
Collecting python-dateutil>=2.7
  Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
     ---------------------------------------- 229.9/229.9 kB ? eta 0:00:00
Collecting cycler>=0.10
  Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)
Collecting pyparsing>=2.3.1
  Downloading pyparsing-3.1.2-py3-none-any.whl (103 kB)
     ---------------------------------------- 103.2/103.2 kB ? eta 0:00:00
Collecting contourpy>=1.0.1
  Downloading contourpy-1.2.0-cp310-cp310-win_amd64.whl (186 kB)
     ---------------------------------------- 186.7/186.7 kB ? eta 0:00:00
Collecting kiwisolver>=1.3.1
  Downloading kiwisolver-1.4.5-cp310-cp310-win_amd64.whl (56 kB)
     ---------------------------------------- 56.1/56.1 kB ? eta 0:00:00
Collecting tzdata>=2022.7
  Downloading tzdata-2024.1-py2.py3-none-any.whl (345 kB)
     ---------------------------------------- 345.4/345.4 kB 20.9 MB/s eta 0:00:00
Collecting pytz>=2020.1
  Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB)
     ---------------------------------------- 505.5/505.5 kB ? eta 0:00:00
Collecting shellingham<2.0.0,>=1.3.0
  Downloading shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)
Collecting rich<14.0.0,>=10.11.0
  Downloading rich-13.7.1-py3-none-any.whl (240 kB)
     ---------------------------------------- 240.7/240.7 kB ? eta 0:00:00
Requirement already satisfied: mpmath>=0.19 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from sympy->torch==2.2.0->llava==1.2.0) (1.3.0)
Collecting svgwrite
  Downloading svgwrite-1.4.3-py3-none-any.whl (67 kB)
     ---------------------------------------- 67.1/67.1 kB ? eta 0:00:00
Collecting six
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting exceptiongroup>=1.0.2
  Downloading exceptiongroup-1.2.0-py3-none-any.whl (16 kB)
Collecting rpds-py>=0.7.1
  Downloading rpds_py-0.18.0-cp310-none-win_amd64.whl (206 kB)
     ---------------------------------------- 206.7/206.7 kB ? eta 0:00:00
Collecting referencing>=0.28.4
  Downloading referencing-0.34.0-py3-none-any.whl (26 kB)
Collecting jsonschema-specifications>=2023.03.6
  Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB)
Collecting attrs>=22.2.0
  Downloading attrs-23.2.0-py3-none-any.whl (60 kB)
     ---------------------------------------- 60.8/60.8 kB ? eta 0:00:00
Collecting markdown-it-py>=2.2.0
  Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
     ---------------------------------------- 87.5/87.5 kB ? eta 0:00:00
Collecting mdurl~=0.1
  Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Building wheels for collected packages: llava
  Building editable for llava (pyproject.toml) ... done
  Created wheel for llava: filename=llava-1.2.0-0.editable-py3-none-any.whl size=16770 sha256=cabcfee8cf750dea50e40bd10dbca734a5f4a8084fe0378ba34b291a016cc457
  Stored in directory: C:\Users\pelol\AppData\Local\Temp\pip-ephem-wheel-cache-_mvcpjlc\wheels\a1\29\b1\217e5ceaff3489ad5024ca90a894d87a72c688b12570476910
Successfully built llava
Installing collected packages: sentencepiece, pytz, pydub, ffmpy, websockets, tzdata, toolz, tomlkit, threadpoolctl, svgwrite, sniffio, six, shortuuid, shellingham, semantic-version, scipy, safetensors, ruff, rpds-py, regex, pyyaml, python-multipart, pyparsing, pygments, pydantic-core, psutil, packaging, orjson, mdurl, markdown2, kiwisolver, joblib, importlib-resources, h11, fsspec, fonttools, exceptiongroup, einops, cycler, contourpy, colorama, attrs, annotated-types, aiofiles, wavedrom, tqdm, scikit-learn, referencing, python-dateutil, pydantic, markdown-it-py, einops-exts, click, anyio, uvicorn, typer, starlette, rich, pandas, matplotlib, jsonschema-specifications, huggingface-hub, httpcore, bitsandbytes, tokenizers, timm, jsonschema, httpx, fastapi, accelerate, transformers, gradio-client, altair, peft, gradio, llava
  DEPRECATION: ffmpy is being installed using the legacy 'setup.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 https://github.com/pypa/pip/issues/8559
  Running setup.py install for ffmpy ... done
  Attempting uninstall: fsspec
    Found existing installation: fsspec 2023.4.0
    Uninstalling fsspec-2023.4.0:
      Successfully uninstalled fsspec-2023.4.0
  DEPRECATION: wavedrom is being installed using the legacy 'setup.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 https://github.com/pypa/pip/issues/8559
  Running setup.py install for wavedrom ... done
Successfully installed accelerate-0.27.2 aiofiles-23.2.1 altair-5.2.0 annotated-types-0.6.0 anyio-4.3.0 attrs-23.2.0 bitsandbytes-0.43.0 click-8.1.7 colorama-0.4.6 contourpy-1.2.0 cycler-0.12.1 einops-0.6.1 einops-exts-0.0.4 exceptiongroup-1.2.0 fastapi-0.110.0 ffmpy-0.3.2 fonttools-4.50.0 fsspec-2024.3.1 gradio-4.19.2 gradio-client-0.10.1 h11-0.14.0 httpcore-0.17.3 httpx-0.24.1 huggingface-hub-0.21.4 importlib-resources-6.3.1 joblib-1.3.2 jsonschema-4.21.1 jsonschema-specifications-2023.12.1 kiwisolver-1.4.5 llava-1.2.0 markdown-it-py-3.0.0 markdown2-2.4.13 matplotlib-3.8.3 mdurl-0.1.2 orjson-3.9.15 packaging-24.0 pandas-2.2.1 peft-0.9.0 psutil-5.9.8 pydantic-2.6.1 pydantic-core-2.16.2 pydub-0.25.1 pygments-2.17.2 pyparsing-3.1.2 python-dateutil-2.9.0.post0 python-multipart-0.0.9 pytz-2024.1 pyyaml-6.0.1 referencing-0.34.0 regex-2023.12.25 rich-13.7.1 rpds-py-0.18.0 ruff-0.3.3 safetensors-0.4.2 scikit-learn-1.2.2 scipy-1.12.0 semantic-version-2.10.0 sentencepiece-0.1.99 shellingham-1.5.4 shortuuid-1.0.13 six-1.16.0 sniffio-1.3.1 starlette-0.36.3 svgwrite-1.4.3 threadpoolctl-3.3.0 timm-0.9.16 tokenizers-0.15.0 tomlkit-0.12.0 toolz-0.12.1 tqdm-4.66.2 transformers-4.37.2 typer-0.9.0 tzdata-2024.1 uvicorn-0.28.0 wavedrom-2.0.3.post3 websockets-11.0.3

[notice] A new release of pip is available: 23.0.1 -> 24.0
[notice] To update, run: python.exe -m pip install --upgrade pip
Installing other requirements. This could take a few minutes...
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Requirement already satisfied: pip in f:\projetos\teste\image-interrogator\venv\lib\site-packages (23.0.1)
Collecting pip
  Downloading pip-24.0-py3-none-any.whl (2.1 MB)
     ---------------------------------------- 2.1/2.1 MB 44.7 MB/s eta 0:00:00
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 23.0.1
    Uninstalling pip-23.0.1:
      Successfully uninstalled pip-23.0.1
Successfully installed pip-24.0
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Requirement already satisfied: transformers==4.37.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 1)) (4.37.2)
Collecting transformers_stream_generator==0.0.4 (from -r requirements.txt (line 2))
  Downloading transformers-stream-generator-0.0.4.tar.gz (12 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: tokenizers==0.15.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 3)) (0.15.0)
Collecting huggingface-hub==0.21.3 (from -r requirements.txt (line 4))
  Downloading huggingface_hub-0.21.3-py3-none-any.whl.metadata (13 kB)
Collecting datasets==2.14.7 (from -r requirements.txt (line 5))
  Downloading datasets-2.14.7-py3-none-any.whl.metadata (19 kB)
Requirement already satisfied: gradio==4.19.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 6)) (4.19.2)
Requirement already satisfied: gradio_client==0.10.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 7)) (0.10.1)
Requirement already satisfied: peft==0.9.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 8)) (0.9.0)
Requirement already satisfied: httpx==0.24.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 9)) (0.24.1)
Requirement already satisfied: einops==0.6.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 10)) (0.6.1)
Requirement already satisfied: einops-exts==0.0.4 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 11)) (0.0.4)
Requirement already satisfied: timm==0.9.16 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 12)) (0.9.16)
Requirement already satisfied: pydantic==2.6.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 13)) (2.6.1)
Requirement already satisfied: pillow==10.2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 14)) (10.2.0)
Requirement already satisfied: scikit-learn==1.2.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 15)) (1.2.2)
Collecting easygui (from -r requirements.txt (line 16))
  Downloading easygui-0.98.3-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting open_clip_torch (from -r requirements.txt (line 17))
  Downloading open_clip_torch-2.24.0-py3-none-any.whl.metadata (30 kB)
Collecting modelscope (from -r requirements.txt (line 18))
  Downloading modelscope-1.13.1-py3-none-any.whl.metadata (33 kB)
Collecting tiktoken==0.6.0 (from -r requirements.txt (line 19))
  Downloading tiktoken-0.6.0-cp310-cp310-win_amd64.whl.metadata (6.8 kB)
Collecting optimum==1.17.1 (from -r requirements.txt (line 20))
  Downloading optimum-1.17.1-py3-none-any.whl.metadata (18 kB)
Requirement already satisfied: filelock in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (3.9.0)
Requirement already satisfied: numpy>=1.17 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (1.26.3)
Requirement already satisfied: packaging>=20.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (24.0)
Requirement already satisfied: pyyaml>=5.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (6.0.1)
Requirement already satisfied: regex!=2019.12.17 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (2023.12.25)
Requirement already satisfied: requests in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (2.28.1)
Requirement already satisfied: safetensors>=0.4.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (0.4.2)
Requirement already satisfied: tqdm>=4.27 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (4.66.2)
Requirement already satisfied: fsspec>=2023.5.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from huggingface-hub==0.21.3->-r requirements.txt (line 4)) (2024.3.1)
Requirement already satisfied: typing-extensions>=3.7.4.3 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from huggingface-hub==0.21.3->-r requirements.txt (line 4)) (4.8.0)
Collecting pyarrow>=8.0.0 (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading pyarrow-15.0.2-cp310-cp310-win_amd64.whl.metadata (3.1 kB)
Collecting pyarrow-hotfix (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading pyarrow_hotfix-0.6-py3-none-any.whl.metadata (3.6 kB)
Collecting dill<0.3.8,>=0.3.0 (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading dill-0.3.7-py3-none-any.whl.metadata (9.9 kB)
Requirement already satisfied: pandas in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from datasets==2.14.7->-r requirements.txt (line 5)) (2.2.1)
Collecting xxhash (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading xxhash-3.4.1-cp310-cp310-win_amd64.whl.metadata (12 kB)
Collecting multiprocess (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading multiprocess-0.70.16-py310-none-any.whl.metadata (7.2 kB)
Collecting fsspec>=2023.5.0 (from huggingface-hub==0.21.3->-r requirements.txt (line 4))
  Downloading fsspec-2023.10.0-py3-none-any.whl.metadata (6.8 kB)
Collecting aiohttp (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading aiohttp-3.9.3-cp310-cp310-win_amd64.whl.metadata (7.6 kB)
Requirement already satisfied: aiofiles<24.0,>=22.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (23.2.1)
Requirement already satisfied: altair<6.0,>=4.2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (5.2.0)
Requirement already satisfied: fastapi in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.110.0)
Requirement already satisfied: ffmpy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.3.2)
Requirement already satisfied: importlib-resources<7.0,>=1.3 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (6.3.1)
Requirement already satisfied: jinja2<4.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (3.1.2)
Requirement already satisfied: markupsafe~=2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (2.1.3)
Requirement already satisfied: matplotlib~=3.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (3.8.3)
Requirement already satisfied: orjson~=3.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (3.9.15)
Requirement already satisfied: pydub in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.25.1)
Requirement already satisfied: python-multipart>=0.0.9 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.0.9)
Requirement already satisfied: ruff>=0.2.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.3.3)
Requirement already satisfied: semantic-version~=2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (2.10.0)
Requirement already satisfied: tomlkit==0.12.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.12.0)
Requirement already satisfied: typer<1.0,>=0.9 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (0.9.0)
Requirement already satisfied: uvicorn>=0.14.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.28.0)
Requirement already satisfied: websockets<12.0,>=10.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio_client==0.10.1->-r requirements.txt (line 7)) (11.0.3)
Requirement already satisfied: psutil in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from peft==0.9.0->-r requirements.txt (line 8)) (5.9.8)
Requirement already satisfied: torch>=1.13.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from peft==0.9.0->-r requirements.txt (line 8)) (2.2.0+cu118)
Requirement already satisfied: accelerate>=0.21.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from peft==0.9.0->-r requirements.txt (line 8)) (0.27.2)
Requirement already satisfied: certifi in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->-r requirements.txt (line 9)) (2022.12.7)
Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->-r requirements.txt (line 9)) (0.17.3)
Requirement already satisfied: idna in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->-r requirements.txt (line 9)) (3.4)
Requirement already satisfied: sniffio in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->-r requirements.txt (line 9)) (1.3.1)
Requirement already satisfied: torchvision in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from timm==0.9.16->-r requirements.txt (line 12)) (0.17.0+cu118)
Requirement already satisfied: annotated-types>=0.4.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from pydantic==2.6.1->-r requirements.txt (line 13)) (0.6.0)
Requirement already satisfied: pydantic-core==2.16.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from pydantic==2.6.1->-r requirements.txt (line 13)) (2.16.2)
Requirement already satisfied: scipy>=1.3.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from scikit-learn==1.2.2->-r requirements.txt (line 15)) (1.12.0)
Requirement already satisfied: joblib>=1.1.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from scikit-learn==1.2.2->-r requirements.txt (line 15)) (1.3.2)
Requirement already satisfied: threadpoolctl>=2.0.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from scikit-learn==1.2.2->-r requirements.txt (line 15)) (3.3.0)
Collecting coloredlogs (from optimum==1.17.1->-r requirements.txt (line 20))
  Downloading coloredlogs-15.0.1-py2.py3-none-any.whl.metadata (12 kB)
Requirement already satisfied: sympy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from optimum==1.17.1->-r requirements.txt (line 20)) (1.12)
Collecting ftfy (from open_clip_torch->-r requirements.txt (line 17))
  Downloading ftfy-6.2.0-py3-none-any.whl.metadata (7.3 kB)
Requirement already satisfied: sentencepiece in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from open_clip_torch->-r requirements.txt (line 17)) (0.1.99)
Collecting protobuf (from open_clip_torch->-r requirements.txt (line 17))
  Downloading protobuf-5.26.0-cp310-abi3-win_amd64.whl.metadata (592 bytes)
Collecting addict (from modelscope->-r requirements.txt (line 18))
  Downloading addict-2.4.0-py3-none-any.whl.metadata (1.0 kB)
Requirement already satisfied: attrs in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (23.2.0)
Collecting gast>=0.2.2 (from modelscope->-r requirements.txt (line 18))
  Downloading gast-0.5.4-py3-none-any.whl.metadata (1.3 kB)
Collecting oss2 (from modelscope->-r requirements.txt (line 18))
  Downloading oss2-2.18.4.tar.gz (278 kB)
     ---------------------------------------- 278.1/278.1 kB ? eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: python-dateutil>=2.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (2.9.0.post0)
Requirement already satisfied: setuptools in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (65.5.0)
Collecting simplejson>=3.3.0 (from modelscope->-r requirements.txt (line 18))
  Downloading simplejson-3.19.2-cp310-cp310-win_amd64.whl.metadata (3.2 kB)
Collecting sortedcontainers>=1.5.9 (from modelscope->-r requirements.txt (line 18))
  Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: urllib3>=1.26 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (1.26.13)
Collecting yapf (from modelscope->-r requirements.txt (line 18))
  Downloading yapf-0.40.2-py3-none-any.whl.metadata (45 kB)
     ---------------------------------------- 45.4/45.4 kB ? eta 0:00:00
Requirement already satisfied: jsonschema>=3.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (4.21.1)
Requirement already satisfied: toolz in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.12.1)
Collecting aiosignal>=1.1.2 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5))
  Downloading aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
Collecting frozenlist>=1.1.1 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5))
  Downloading frozenlist-1.4.1-cp310-cp310-win_amd64.whl.metadata (12 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5))
  Downloading multidict-6.0.5-cp310-cp310-win_amd64.whl.metadata (4.3 kB)
Collecting yarl<2.0,>=1.0 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5))
  Downloading yarl-1.9.4-cp310-cp310-win_amd64.whl.metadata (32 kB)
Collecting async-timeout<5.0,>=4.0 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5))
  Downloading async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
Requirement already satisfied: h11<0.15,>=0.13 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from httpcore<0.18.0,>=0.15.0->httpx==0.24.1->-r requirements.txt (line 9)) (0.14.0)
Requirement already satisfied: anyio<5.0,>=3.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from httpcore<0.18.0,>=0.15.0->httpx==0.24.1->-r requirements.txt (line 9)) (4.3.0)
Requirement already satisfied: contourpy>=1.0.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (1.2.0)
Requirement already satisfied: cycler>=0.10 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (4.50.0)
Requirement already satisfied: kiwisolver>=1.3.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (1.4.5)
Requirement already satisfied: pyparsing>=2.3.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (3.1.2)
Requirement already satisfied: pytz>=2020.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from pandas->datasets==2.14.7->-r requirements.txt (line 5)) (2024.1)
Requirement already satisfied: tzdata>=2022.7 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from pandas->datasets==2.14.7->-r requirements.txt (line 5)) (2024.1)
Requirement already satisfied: six>=1.5 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from python-dateutil>=2.1->modelscope->-r requirements.txt (line 18)) (1.16.0)
Requirement already satisfied: charset-normalizer<3,>=2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from requests->transformers==4.37.2->-r requirements.txt (line 1)) (2.1.1)
Requirement already satisfied: networkx in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->peft==0.9.0->-r requirements.txt (line 8)) (3.2.1)
Requirement already satisfied: colorama in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from tqdm>=4.27->transformers==4.37.2->-r requirements.txt (line 1)) (0.4.6)
Requirement already satisfied: click<9.0.0,>=7.1.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from typer<1.0,>=0.9->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (8.1.7)
Requirement already satisfied: shellingham<2.0.0,>=1.3.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (1.5.4)
Requirement already satisfied: rich<14.0.0,>=10.11.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (13.7.1)
Collecting humanfriendly>=9.1 (from coloredlogs->optimum==1.17.1->-r requirements.txt (line 20))
  Downloading humanfriendly-10.0-py2.py3-none-any.whl.metadata (9.2 kB)
Requirement already satisfied: starlette<0.37.0,>=0.36.3 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from fastapi->gradio==4.19.2->-r requirements.txt (line 6)) (0.36.3)
Collecting wcwidth<0.3.0,>=0.2.12 (from ftfy->open_clip_torch->-r requirements.txt (line 17))
  Downloading wcwidth-0.2.13-py2.py3-none-any.whl.metadata (14 kB)
INFO: pip is looking at multiple versions of multiprocess to determine which version is compatible with other requirements. This could take a while.
Collecting multiprocess (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading multiprocess-0.70.15-py310-none-any.whl.metadata (7.2 kB)
Collecting crcmod>=1.7 (from oss2->modelscope->-r requirements.txt (line 18))
  Downloading crcmod-1.7.tar.gz (89 kB)
     ---------------------------------------- 89.7/89.7 kB ? eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pycryptodome>=3.4.7 (from oss2->modelscope->-r requirements.txt (line 18))
  Downloading pycryptodome-3.20.0-cp35-abi3-win_amd64.whl.metadata (3.4 kB)
Collecting aliyun-python-sdk-kms>=2.4.1 (from oss2->modelscope->-r requirements.txt (line 18))
  Downloading aliyun_python_sdk_kms-2.16.2-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting aliyun-python-sdk-core>=2.13.12 (from oss2->modelscope->-r requirements.txt (line 18))
  Downloading aliyun-python-sdk-core-2.15.0.tar.gz (443 kB)
     ---------------------------------------- 443.1/443.1 kB 28.9 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: mpmath>=0.19 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from sympy->optimum==1.17.1->-r requirements.txt (line 20)) (1.3.0)
Collecting importlib-metadata>=6.6.0 (from yapf->modelscope->-r requirements.txt (line 18))
  Downloading importlib_metadata-7.0.2-py3-none-any.whl.metadata (4.6 kB)
Collecting platformdirs>=3.5.1 (from yapf->modelscope->-r requirements.txt (line 18))
  Downloading platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB)
Collecting tomli>=2.0.1 (from yapf->modelscope->-r requirements.txt (line 18))
  Downloading tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB)
Collecting jmespath<1.0.0,>=0.9.3 (from aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18))
  Downloading jmespath-0.10.0-py2.py3-none-any.whl.metadata (8.0 kB)
Collecting cryptography>=2.6.0 (from aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18))
  Downloading cryptography-42.0.5-cp39-abi3-win_amd64.whl.metadata (5.4 kB)
Requirement already satisfied: exceptiongroup>=1.0.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from anyio<5.0,>=3.0->httpcore<0.18.0,>=0.15.0->httpx==0.24.1->-r requirements.txt (line 9)) (1.2.0)
Collecting pyreadline3 (from humanfriendly>=9.1->coloredlogs->optimum==1.17.1->-r requirements.txt (line 20))
  Downloading pyreadline3-3.4.1-py3-none-any.whl.metadata (2.0 kB)
Collecting zipp>=0.5 (from importlib-metadata>=6.6.0->yapf->modelscope->-r requirements.txt (line 18))
  Downloading zipp-3.18.1-py3-none-any.whl.metadata (3.5 kB)
Requirement already satisfied: jsonschema-specifications>=2023.03.6 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (2023.12.1)
Requirement already satisfied: referencing>=0.28.4 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.34.0)
Requirement already satisfied: rpds-py>=0.7.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.18.0)
Requirement already satisfied: markdown-it-py>=2.2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from rich<14.0.0,>=10.11.0->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from rich<14.0.0,>=10.11.0->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (2.17.2)
Collecting cffi>=1.12 (from cryptography>=2.6.0->aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18))
  Downloading cffi-1.16.0-cp310-cp310-win_amd64.whl.metadata (1.5 kB)
Requirement already satisfied: mdurl~=0.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from markdown-it-py>=2.2.0->rich<14.0.0,>=10.11.0->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (0.1.2)
Collecting pycparser (from cffi>=1.12->cryptography>=2.6.0->aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18))
  Downloading pycparser-2.21-py2.py3-none-any.whl.metadata (1.1 kB)
Downloading huggingface_hub-0.21.3-py3-none-any.whl (346 kB)
   ---------------------------------------- 346.2/346.2 kB ? eta 0:00:00
Downloading datasets-2.14.7-py3-none-any.whl (520 kB)
   ---------------------------------------- 520.4/520.4 kB ? eta 0:00:00
Downloading tiktoken-0.6.0-cp310-cp310-win_amd64.whl (798 kB)
   ---------------------------------------- 798.7/798.7 kB 52.6 MB/s eta 0:00:00
Downloading optimum-1.17.1-py3-none-any.whl (407 kB)
   ---------------------------------------- 407.1/407.1 kB 24.8 MB/s eta 0:00:00
Downloading easygui-0.98.3-py2.py3-none-any.whl (92 kB)
   ---------------------------------------- 92.7/92.7 kB ? eta 0:00:00
Downloading open_clip_torch-2.24.0-py3-none-any.whl (1.5 MB)
   ---------------------------------------- 1.5/1.5 MB 48.0 MB/s eta 0:00:00
Downloading modelscope-1.13.1-py3-none-any.whl (5.6 MB)
   ---------------------------------------- 5.6/5.6 MB 45.1 MB/s eta 0:00:00
Downloading dill-0.3.7-py3-none-any.whl (115 kB)
   ---------------------------------------- 115.3/115.3 kB ? eta 0:00:00
Downloading fsspec-2023.10.0-py3-none-any.whl (166 kB)
   ---------------------------------------- 166.4/166.4 kB ? eta 0:00:00
Downloading aiohttp-3.9.3-cp310-cp310-win_amd64.whl (365 kB)
   ---------------------------------------- 365.2/365.2 kB ? eta 0:00:00
Downloading gast-0.5.4-py3-none-any.whl (19 kB)
Downloading pyarrow-15.0.2-cp310-cp310-win_amd64.whl (24.8 MB)
   ---------------------------------------- 24.8/24.8 MB 38.4 MB/s eta 0:00:00
Downloading simplejson-3.19.2-cp310-cp310-win_amd64.whl (75 kB)
   ---------------------------------------- 75.5/75.5 kB ? eta 0:00:00
Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Downloading addict-2.4.0-py3-none-any.whl (3.8 kB)
Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
   ---------------------------------------- 46.0/46.0 kB ? eta 0:00:00
Downloading ftfy-6.2.0-py3-none-any.whl (54 kB)
   ---------------------------------------- 54.4/54.4 kB ? eta 0:00:00
Downloading multiprocess-0.70.15-py310-none-any.whl (134 kB)
   ---------------------------------------- 134.8/134.8 kB 7.8 MB/s eta 0:00:00
Downloading protobuf-5.26.0-cp310-abi3-win_amd64.whl (420 kB)
   ---------------------------------------- 420.9/420.9 kB ? eta 0:00:00
Downloading pyarrow_hotfix-0.6-py3-none-any.whl (7.9 kB)
Downloading xxhash-3.4.1-cp310-cp310-win_amd64.whl (29 kB)
Downloading yapf-0.40.2-py3-none-any.whl (254 kB)
   ---------------------------------------- 254.7/254.7 kB 15.3 MB/s eta 0:00:00
Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Downloading aliyun_python_sdk_kms-2.16.2-py2.py3-none-any.whl (94 kB)
   ---------------------------------------- 94.0/94.0 kB ? eta 0:00:00
Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Downloading frozenlist-1.4.1-cp310-cp310-win_amd64.whl (50 kB)
   ---------------------------------------- 50.4/50.4 kB ? eta 0:00:00
Downloading humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
   ---------------------------------------- 86.8/86.8 kB ? eta 0:00:00
Downloading importlib_metadata-7.0.2-py3-none-any.whl (24 kB)
Downloading multidict-6.0.5-cp310-cp310-win_amd64.whl (28 kB)
Downloading platformdirs-4.2.0-py3-none-any.whl (17 kB)
Downloading pycryptodome-3.20.0-cp35-abi3-win_amd64.whl (1.8 MB)
   ---------------------------------------- 1.8/1.8 MB 56.4 MB/s eta 0:00:00
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Downloading wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Downloading yarl-1.9.4-cp310-cp310-win_amd64.whl (76 kB)
   ---------------------------------------- 76.4/76.4 kB ? eta 0:00:00
Downloading cryptography-42.0.5-cp39-abi3-win_amd64.whl (2.9 MB)
   ---------------------------------------- 2.9/2.9 MB 45.7 MB/s eta 0:00:00
Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Downloading zipp-3.18.1-py3-none-any.whl (8.2 kB)
Downloading pyreadline3-3.4.1-py3-none-any.whl (95 kB)
   ---------------------------------------- 95.2/95.2 kB ? eta 0:00:00
Downloading cffi-1.16.0-cp310-cp310-win_amd64.whl (181 kB)
   ---------------------------------------- 181.6/181.6 kB ? eta 0:00:00
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
   ---------------------------------------- 118.7/118.7 kB ? eta 0:00:00
Building wheels for collected packages: transformers_stream_generator, oss2, aliyun-python-sdk-core, crcmod
  Building wheel for transformers_stream_generator (pyproject.toml) ... done
  Created wheel for transformers_stream_generator: filename=transformers_stream_generator-0.0.4-py3-none-any.whl size=12340 sha256=28b6f8965ff4e57d02df2474a61384dfc9e310c37fc01e6e57a188f01cc24324
  Stored in directory: C:\Users\pelol\AppData\Local\Temp\pip-ephem-wheel-cache-2hj2oqu8\wheels\47\1d\3c\92d88493ed40c0d9be60a391eb76c9a56e9f9b7542cb789401
  Building wheel for oss2 (pyproject.toml) ... done
  Created wheel for oss2: filename=oss2-2.18.4-py3-none-any.whl size=115998 sha256=9fe294e550a3637b89bedcd292f3a790f91b390bc7f68a565efdbae79d77b991
  Stored in directory: C:\Users\pelol\AppData\Local\Temp\pip-ephem-wheel-cache-2hj2oqu8\wheels\9e\34\68\f21dc0320c699eb02ab90f2f7965d6f60ee793f03ef5e23212
  Building wheel for aliyun-python-sdk-core (pyproject.toml) ... done
  Created wheel for aliyun-python-sdk-core: filename=aliyun_python_sdk_core-2.15.0-py3-none-any.whl size=535323 sha256=8ab4519e3c3b44c3501102a985839826efc6b0b516c6f9bfcfd4845d780332a8
  Stored in directory: C:\Users\pelol\AppData\Local\Temp\pip-ephem-wheel-cache-2hj2oqu8\wheels\b7\28\7c\a888bb3c60c865d014c7ef5017c83fdbc1cb0f601b79c7794a
  Building wheel for crcmod (pyproject.toml) ... done
  Created wheel for crcmod: filename=crcmod-1.7-cp310-cp310-win_amd64.whl size=25153 sha256=27f7303973821fcb2025e52d76e1b0a893e85c2abe6e6317e65adbeee1d8c20e
  Stored in directory: C:\Users\pelol\AppData\Local\Temp\pip-ephem-wheel-cache-2hj2oqu8\wheels\85\4c\07\72215c529bd59d67e3dac29711d7aba1b692f543c808ba9e86
Successfully built transformers_stream_generator oss2 aliyun-python-sdk-core crcmod
Installing collected packages: wcwidth, sortedcontainers, pyreadline3, easygui, crcmod, addict, zipp, xxhash, tomli, simplejson, pycryptodome, pycparser, pyarrow-hotfix, pyarrow, protobuf, platformdirs, multidict, jmespath, humanfriendly, gast, ftfy, fsspec, frozenlist, dill, async-timeout, yarl, tiktoken, multiprocess, importlib-metadata, huggingface-hub, coloredlogs, cffi, aiosignal, yapf, cryptography, aiohttp, aliyun-python-sdk-core, transformers_stream_generator, open_clip_torch, datasets, aliyun-python-sdk-kms, oss2, optimum, modelscope
  Attempting uninstall: fsspec
    Found existing installation: fsspec 2024.3.1
    Uninstalling fsspec-2024.3.1:
      Successfully uninstalled fsspec-2024.3.1
  Attempting uninstall: huggingface-hub
    Found existing installation: huggingface-hub 0.21.4
    Uninstalling huggingface-hub-0.21.4:
      Successfully uninstalled huggingface-hub-0.21.4
Successfully installed addict-2.4.0 aiohttp-3.9.3 aiosignal-1.3.1 aliyun-python-sdk-core-2.15.0 aliyun-python-sdk-kms-2.16.2 async-timeout-4.0.3 cffi-1.16.0 coloredlogs-15.0.1 crcmod-1.7 cryptography-42.0.5 datasets-2.14.7 dill-0.3.7 easygui-0.98.3 frozenlist-1.4.1 fsspec-2023.10.0 ftfy-6.2.0 gast-0.5.4 huggingface-hub-0.21.3 humanfriendly-10.0 importlib-metadata-7.0.2 jmespath-0.10.0 modelscope-1.13.1 multidict-6.0.5 multiprocess-0.70.15 open_clip_torch-2.24.0 optimum-1.17.1 oss2-2.18.4 platformdirs-4.2.0 protobuf-5.26.0 pyarrow-15.0.2 pyarrow-hotfix-0.6 pycparser-2.21 pycryptodome-3.20.0 pyreadline3-3.4.1 simplejson-3.19.2 sortedcontainers-2.4.0 tiktoken-0.6.0 tomli-2.0.1 transformers_stream_generator-0.0.4 wcwidth-0.2.13 xxhash-3.4.1 yapf-0.40.2 yarl-1.9.4 zipp-3.18.1
Found existing installation: bitsandbytes 0.43.0
Uninstalling bitsandbytes-0.43.0:
  Successfully uninstalled bitsandbytes-0.43.0
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting bitsandbytes==0.43.0
  Downloading bitsandbytes-0.43.0-py3-none-win_amd64.whl.metadata (1.9 kB)
Requirement already satisfied: torch in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from bitsandbytes==0.43.0) (2.2.0+cu118)
Requirement already satisfied: numpy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from bitsandbytes==0.43.0) (1.26.3)
Requirement already satisfied: filelock in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (3.9.0)
Requirement already satisfied: typing-extensions>=4.8.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (4.8.0)
Requirement already satisfied: sympy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (1.12)
Requirement already satisfied: networkx in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (3.2.1)
Requirement already satisfied: jinja2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (3.1.2)
Requirement already satisfied: fsspec in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (2023.10.0)
Requirement already satisfied: MarkupSafe>=2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from jinja2->torch->bitsandbytes==0.43.0) (2.1.3)
Requirement already satisfied: mpmath>=0.19 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from sympy->torch->bitsandbytes==0.43.0) (1.3.0)
Downloading bitsandbytes-0.43.0-py3-none-win_amd64.whl (101.6 MB)
   ---------------------------------------- 101.6/101.6 MB 38.4 MB/s eta 0:00:00
Installing collected packages: bitsandbytes
Successfully installed bitsandbytes-0.43.0
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting triton==2.1.0
  Downloading https://huggingface.co/elismasilva/wheels/resolve/main/triton-2.1.0-cp310-cp310-win_amd64.whl (314.1 MB)
     ---------------------------------------- 314.1/314.1 MB 32.7 MB/s eta 0:00:00
Requirement already satisfied: filelock in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from triton==2.1.0) (3.9.0)
Installing collected packages: triton
Successfully installed triton-2.1.0
Looking in indexes: https://download.pytorch.org/whl/cu118, https://pypi.ngc.nvidia.com
Collecting xformers==0.0.24
  Downloading https://download.pytorch.org/whl/cu118/xformers-0.0.24%2Bcu118-cp310-cp310-win_amd64.whl (102.1 MB)
     ---------------------------------------- 102.1/102.1 MB 36.3 MB/s eta 0:00:00
Requirement already satisfied: numpy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from xformers==0.0.24) (1.26.3)
Requirement already satisfied: torch==2.2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from xformers==0.0.24) (2.2.0+cu118)
Requirement already satisfied: filelock in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (3.9.0)
Requirement already satisfied: typing-extensions>=4.8.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (4.8.0)
Requirement already satisfied: sympy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (1.12)
Requirement already satisfied: networkx in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (3.2.1)
Requirement already satisfied: jinja2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (3.1.2)
Requirement already satisfied: fsspec in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (2023.10.0)
Requirement already satisfied: MarkupSafe>=2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from jinja2->torch==2.2.0->xformers==0.0.24) (2.1.3)
Requirement already satisfied: mpmath>=0.19 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from sympy->torch==2.2.0->xformers==0.0.24) (1.3.0)
Installing collected packages: xformers
Successfully installed xformers-0.0.24+cu118
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com, https://huggingface.github.io/autogptq-index/whl/cu118/
Collecting auto-gptq==0.7.1
  Downloading https://huggingface.github.io/autogptq-index/whl/cu118/auto-gptq/auto_gptq-0.7.1%2Bcu118-cp310-cp310-win_amd64.whl (4.7 MB)
     ---------------------------------------- 4.7/4.7 MB 49.4 MB/s eta 0:00:00
Requirement already satisfied: accelerate>=0.26.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (0.27.2)
Requirement already satisfied: datasets in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (2.14.7)
Requirement already satisfied: sentencepiece in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (0.1.99)
Requirement already satisfied: numpy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (1.26.3)
Collecting rouge (from auto-gptq==0.7.1)
  Downloading rouge-1.0.1-py3-none-any.whl.metadata (4.1 kB)
Collecting gekko (from auto-gptq==0.7.1)
  Downloading gekko-1.0.7-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: torch>=1.13.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (2.2.0+cu118)
Requirement already satisfied: safetensors in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (0.4.2)
Requirement already satisfied: transformers>=4.31.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (4.37.2)
Requirement already satisfied: peft>=0.5.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (0.9.0)
Requirement already satisfied: tqdm in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (4.66.2)
Requirement already satisfied: packaging>=20.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from accelerate>=0.26.0->auto-gptq==0.7.1) (24.0)
Requirement already satisfied: psutil in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from accelerate>=0.26.0->auto-gptq==0.7.1) (5.9.8)
Requirement already satisfied: pyyaml in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from accelerate>=0.26.0->auto-gptq==0.7.1) (6.0.1)
Requirement already satisfied: huggingface-hub in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from accelerate>=0.26.0->auto-gptq==0.7.1) (0.21.3)
Requirement already satisfied: filelock in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (3.9.0)
Requirement already satisfied: typing-extensions>=4.8.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (4.8.0)
Requirement already satisfied: sympy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (1.12)
Requirement already satisfied: networkx in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (3.2.1)
Requirement already satisfied: jinja2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (3.1.2)
Requirement already satisfied: fsspec in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (2023.10.0)
Requirement already satisfied: regex!=2019.12.17 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers>=4.31.0->auto-gptq==0.7.1) (2023.12.25)
Requirement already satisfied: requests in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers>=4.31.0->auto-gptq==0.7.1) (2.28.1)
Requirement already satisfied: tokenizers<0.19,>=0.14 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers>=4.31.0->auto-gptq==0.7.1) (0.15.0)
Requirement already satisfied: colorama in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from tqdm->auto-gptq==0.7.1) (0.4.6)
Requirement already satisfied: pyarrow>=8.0.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (15.0.2)
Requirement already satisfied: pyarrow-hotfix in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (0.6)
Requirement already satisfied: dill<0.3.8,>=0.3.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (0.3.7)
Requirement already satisfied: pandas in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (2.2.1)
Requirement already satisfied: xxhash in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (3.4.1)
Requirement already satisfied: multiprocess in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (0.70.15)
Requirement already satisfied: aiohttp in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (3.9.3)
Requirement already satisfied: six in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from rouge->auto-gptq==0.7.1) (1.16.0)
Requirement already satisfied: aiosignal>=1.1.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (1.3.1)
Requirement already satisfied: attrs>=17.3.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (23.2.0)
Requirement already satisfied: frozenlist>=1.1.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (1.4.1)
Requirement already satisfied: multidict<7.0,>=4.5 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (6.0.5)
Requirement already satisfied: yarl<2.0,>=1.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (1.9.4)
Requirement already satisfied: async-timeout<5.0,>=4.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (4.0.3)
Requirement already satisfied: charset-normalizer<3,>=2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from requests->transformers>=4.31.0->auto-gptq==0.7.1) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from requests->transformers>=4.31.0->auto-gptq==0.7.1) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from requests->transformers>=4.31.0->auto-gptq==0.7.1) (1.26.13)
Requirement already satisfied: certifi>=2017.4.17 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from requests->transformers>=4.31.0->auto-gptq==0.7.1) (2022.12.7)
Requirement already satisfied: MarkupSafe>=2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from jinja2->torch>=1.13.0->auto-gptq==0.7.1) (2.1.3)
Requirement already satisfied: python-dateutil>=2.8.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from pandas->datasets->auto-gptq==0.7.1) (2.9.0.post0)
Requirement already satisfied: pytz>=2020.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from pandas->datasets->auto-gptq==0.7.1) (2024.1)
Requirement already satisfied: tzdata>=2022.7 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from pandas->datasets->auto-gptq==0.7.1) (2024.1)
Requirement already satisfied: mpmath>=0.19 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from sympy->torch>=1.13.0->auto-gptq==0.7.1) (1.3.0)
Downloading gekko-1.0.7-py3-none-any.whl (13.1 MB)
   ---------------------------------------- 13.1/13.1 MB 36.2 MB/s eta 0:00:00
Downloading rouge-1.0.1-py3-none-any.whl (13 kB)
Installing collected packages: rouge, gekko, auto-gptq
Successfully installed auto-gptq-0.7.1+cu118 gekko-1.0.7 rouge-1.0.1
Patching PIL...
        1 arquivo(s) copiado(s).
Patching Gradio...
        1 arquivo(s) copiado(s).

All done!. Launch 'start.bat'.
Pressione qualquer tecla para continuar. . .

And after i tested Llava

Precision Type: FP16
Load Mode: 4bit
Device: auto
Optimize for Low VRAM: False
Include image features in the prompt: False
Don't save dataset images: False
Generate individual caption file: True
Generate dataset: False
Dataset Name: Default
Caption Model: llava-v1.5-7b
Max outputs tokens: 2048
Temperature: 0.2
Top p: 0.7
Question prompt: Provide caption for the image in one sentence. Be detailed but precise.
----------------------------------------------------------------------------------------------------
Loading caption model llava-v1.5-7b...
You are using a model of type llava to instantiate a model of type llava_llama. This is not supported for all configurations of models and can yield errors.
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████| 2/2 [00:09<00:00,  4.52s/it]
Generating caption for images... Batch: 1 | Total Images: 1
F:\Projetos\teste\image-interrogator\venv\lib\site-packages\transformers\models\llama\modeling_llama.py:728: UserWarning: 1Torch was not compiled with flash attention. (Triggered internally at ..\aten\src\ATen\native\transformers\cuda\sdp_utils.cpp:263.)
  attn_output = torch.nn.functional.scaled_dot_product_attention(
Saving file...: F:\Projetos\teste\image-interrogator\outputs\images\2024-03-18\Default\ohwx (6).jpg
Generating individual file caption...: F:\Projetos\teste\image-interrogator\outputs\images\2024-03-18\Default\ohwx (6).txt
Saving dataset metadata...
Image process completed!
BenDes21 commented 6 months ago

I just did a new test installing from scratch in another path and everything is working fine.

F:\Projetos\teste>git clone https://github.com/DEVAIEXP/image-interrogator.git
Cloning into 'image-interrogator'...
remote: Enumerating objects: 161, done.
remote: Counting objects: 100% (161/161), done.
Receiving objects:   3% (5/161)0% (102/102), done.
Receiving objects:  87% (141/161)sed 119 (delta 46), pack-reused 0
Receiving objects: 100% (161/161), 862.24 KiB | 13.47 MiB/s, done.
Resolving deltas: 100% (66/66), done.

F:\Projetos\teste>cd image-interrogator

F:\Projetos\teste\image-interrogator>install_windows.bat
Creating python venv dir F:\Projetos\teste\image-interrogator\venv in using python "C:\Users\pelol\.pyenv\pyenv-win\versions\3.10.11\python.exe"
Activating python venv
venv "F:\Projetos\teste\image-interrogator\venv\Scripts\Python.exe"
Cloning LLaVA repository...
Cloning into 'LLaVA'...
remote: Enumerating objects: 2250, done.
remote: Counting objects: 100% (608/608), done.
remote: Compressing objects: 100% (109/109), done.
Receiving objects:  99% (2228/2250)sed 499 (delta 499), pack-reused 1642
Receiving objects: 100% (2250/2250), 13.63 MiB | 30.88 MiB/s, done.
Resolving deltas: 100% (1434/1434), done.
Patching LLaVA...
        1 arquivo(s) copiado(s).
        1 arquivo(s) copiado(s).
Installing LLaVA. This could take a few minutes...
Looking in indexes: https://download.pytorch.org/whl/cu118, https://pypi.ngc.nvidia.com
Collecting torch==2.2.0
  Downloading https://download.pytorch.org/whl/cu118/torch-2.2.0%2Bcu118-cp310-cp310-win_amd64.whl (2704.3 MB)
     ---------------------------------------- 2.7/2.7 GB 36.4 MB/s eta 0:00:00
Collecting torchvision
  Downloading https://download.pytorch.org/whl/cu118/torchvision-0.17.1%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB)
     ---------------------------------------- 4.9/4.9 MB 39.2 MB/s eta 0:00:00
Collecting torchaudio
  Downloading https://download.pytorch.org/whl/cu118/torchaudio-2.2.1%2Bcu118-cp310-cp310-win_amd64.whl (4.0 MB)
     ---------------------------------------- 4.0/4.0 MB 42.1 MB/s eta 0:00:00
Collecting jinja2
  Downloading https://download.pytorch.org/whl/Jinja2-3.1.2-py3-none-any.whl (133 kB)
     ---------------------------------------- 133.1/133.1 kB ? eta 0:00:00
Collecting filelock
  Downloading https://download.pytorch.org/whl/filelock-3.9.0-py3-none-any.whl (9.7 kB)
Collecting sympy
  Downloading https://download.pytorch.org/whl/sympy-1.12-py3-none-any.whl (5.7 MB)
     ---------------------------------------- 5.7/5.7 MB 45.9 MB/s eta 0:00:00
Collecting networkx
  Downloading https://download.pytorch.org/whl/networkx-3.2.1-py3-none-any.whl (1.6 MB)
     ---------------------------------------- 1.6/1.6 MB 52.8 MB/s eta 0:00:00
Collecting fsspec
  Downloading https://download.pytorch.org/whl/fsspec-2023.4.0-py3-none-any.whl (153 kB)
     ---------------------------------------- 154.0/154.0 kB ? eta 0:00:00
Collecting typing-extensions>=4.8.0
  Downloading https://download.pytorch.org/whl/typing_extensions-4.8.0-py3-none-any.whl (31 kB)
Collecting numpy
  Downloading https://download.pytorch.org/whl/numpy-1.26.3-cp310-cp310-win_amd64.whl (15.8 MB)
     ---------------------------------------- 15.8/15.8 MB 36.4 MB/s eta 0:00:00
Collecting pillow!=8.3.*,>=5.3.0
  Downloading https://download.pytorch.org/whl/pillow-10.2.0-cp310-cp310-win_amd64.whl (2.6 MB)
     ---------------------------------------- 2.6/2.6 MB 42.1 MB/s eta 0:00:00
Collecting torchvision
  Downloading https://download.pytorch.org/whl/cu118/torchvision-0.17.0%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB)
     ---------------------------------------- 4.9/4.9 MB 44.9 MB/s eta 0:00:00
Collecting requests
  Downloading https://download.pytorch.org/whl/requests-2.28.1-py3-none-any.whl (62 kB)
     ---------------------------------------- 62.8/62.8 kB ? eta 0:00:00
Collecting torchaudio
  Downloading https://download.pytorch.org/whl/cu118/torchaudio-2.2.0%2Bcu118-cp310-cp310-win_amd64.whl (4.0 MB)
     ---------------------------------------- 4.0/4.0 MB 50.7 MB/s eta 0:00:00
Collecting MarkupSafe>=2.0
  Downloading https://download.pytorch.org/whl/MarkupSafe-2.1.3-cp310-cp310-win_amd64.whl (17 kB)
Collecting idna<4,>=2.5
  Downloading https://download.pytorch.org/whl/idna-3.4-py3-none-any.whl (61 kB)
     ---------------------------------------- 61.5/61.5 kB ? eta 0:00:00
Collecting charset-normalizer<3,>=2
  Downloading https://download.pytorch.org/whl/charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting certifi>=2017.4.17
  Downloading https://download.pytorch.org/whl/certifi-2022.12.7-py3-none-any.whl (155 kB)
     ---------------------------------------- 155.3/155.3 kB ? eta 0:00:00
Collecting urllib3<1.27,>=1.21.1
  Downloading https://download.pytorch.org/whl/urllib3-1.26.13-py2.py3-none-any.whl (140 kB)
     ---------------------------------------- 140.6/140.6 kB ? eta 0:00:00
Collecting mpmath>=0.19
  Downloading https://download.pytorch.org/whl/mpmath-1.3.0-py3-none-any.whl (536 kB)
     ---------------------------------------- 536.2/536.2 kB ? eta 0:00:00
Installing collected packages: mpmath, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, fsspec, filelock, charset-normalizer, certifi, requests, jinja2, torch, torchvision, torchaudio
Successfully installed MarkupSafe-2.1.3 certifi-2022.12.7 charset-normalizer-2.1.1 filelock-3.9.0 fsspec-2023.4.0 idna-3.4 jinja2-3.1.2 mpmath-1.3.0 networkx-3.2.1 numpy-1.26.3 pillow-10.2.0 requests-2.28.1 sympy-1.12 torch-2.2.0+cu118 torchaudio-2.2.0+cu118 torchvision-0.17.0+cu118 typing-extensions-4.8.0 urllib3-1.26.13
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Obtaining file:///F:/Projetos/teste/image-interrogator/repositories/LLaVA
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Installing backend dependencies ... done
  Preparing editable metadata (pyproject.toml) ... done
Collecting bitsandbytes>=0.41.2
  Downloading bitsandbytes-0.43.0-py3-none-win_amd64.whl (101.6 MB)
     ---------------------------------------- 101.6/101.6 MB 38.4 MB/s eta 0:00:00
Collecting gradio==4.19.2
  Downloading gradio-4.19.2-py3-none-any.whl (16.9 MB)
     ---------------------------------------- 16.9/16.9 MB 38.6 MB/s eta 0:00:00
Collecting scikit-learn==1.2.2
  Downloading scikit_learn-1.2.2-cp310-cp310-win_amd64.whl (8.3 MB)
     ---------------------------------------- 8.3/8.3 MB 44.4 MB/s eta 0:00:00
Collecting peft==0.9.0
  Downloading peft-0.9.0-py3-none-any.whl (190 kB)
     ---------------------------------------- 190.9/190.9 kB ? eta 0:00:00
Collecting gradio-client==0.10.1
  Downloading gradio_client-0.10.1-py3-none-any.whl (307 kB)
     ---------------------------------------- 307.9/307.9 kB ? eta 0:00:00
Collecting fastapi
  Downloading fastapi-0.110.0-py3-none-any.whl (92 kB)
     ---------------------------------------- 92.1/92.1 kB ? eta 0:00:00
Collecting uvicorn
  Downloading uvicorn-0.28.0-py3-none-any.whl (60 kB)
     ---------------------------------------- 60.6/60.6 kB ? eta 0:00:00
Collecting accelerate==0.27.2
  Downloading accelerate-0.27.2-py3-none-any.whl (279 kB)
     ---------------------------------------- 280.0/280.0 kB ? eta 0:00:00
Collecting tokenizers==0.15.0
  Downloading tokenizers-0.15.0-cp310-none-win_amd64.whl (2.2 MB)
     ---------------------------------------- 2.2/2.2 MB 3.9 MB/s eta 0:00:00
Collecting httpx==0.24.1
  Downloading httpx-0.24.1-py3-none-any.whl (75 kB)
     ---------------------------------------- 75.4/75.4 kB ? eta 0:00:00
Requirement already satisfied: numpy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from llava==1.2.0) (1.26.3)
Collecting einops==0.6.1
  Downloading einops-0.6.1-py3-none-any.whl (42 kB)
     ---------------------------------------- 42.2/42.2 kB ? eta 0:00:00
Collecting shortuuid
  Downloading shortuuid-1.0.13-py3-none-any.whl (10 kB)
Requirement already satisfied: torch==2.2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from llava==1.2.0) (2.2.0+cu118)
Collecting timm==0.9.16
  Downloading timm-0.9.16-py3-none-any.whl (2.2 MB)
     ---------------------------------------- 2.2/2.2 MB 72.2 MB/s eta 0:00:00
Collecting einops-exts==0.0.4
  Downloading einops_exts-0.0.4-py3-none-any.whl (3.9 kB)
Collecting sentencepiece==0.1.99
  Downloading sentencepiece-0.1.99-cp310-cp310-win_amd64.whl (977 kB)
     ---------------------------------------- 977.5/977.5 kB 60.5 MB/s eta 0:00:00
Requirement already satisfied: requests in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from llava==1.2.0) (2.28.1)
Collecting transformers==4.37.2
  Downloading transformers-4.37.2-py3-none-any.whl (8.4 MB)
     ---------------------------------------- 8.4/8.4 MB 41.3 MB/s eta 0:00:00
Collecting pydantic==2.6.1
  Downloading pydantic-2.6.1-py3-none-any.whl (394 kB)
     ---------------------------------------- 394.8/394.8 kB ? eta 0:00:00
Requirement already satisfied: torchvision==0.17.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from llava==1.2.0) (0.17.0+cu118)
Collecting markdown2[all]
  Downloading markdown2-2.4.13-py2.py3-none-any.whl (41 kB)
     ---------------------------------------- 41.3/41.3 kB ? eta 0:00:00
Collecting safetensors>=0.3.1
  Downloading safetensors-0.4.2-cp310-none-win_amd64.whl (269 kB)
     ---------------------------------------- 269.5/269.5 kB ? eta 0:00:00
Collecting packaging>=20.0
  Downloading packaging-24.0-py3-none-any.whl (53 kB)
     ---------------------------------------- 53.5/53.5 kB ? eta 0:00:00
Collecting pyyaml
  Downloading PyYAML-6.0.1-cp310-cp310-win_amd64.whl (145 kB)
     ---------------------------------------- 145.3/145.3 kB ? eta 0:00:00
Collecting huggingface-hub
  Downloading huggingface_hub-0.21.4-py3-none-any.whl (346 kB)
     ---------------------------------------- 346.4/346.4 kB ? eta 0:00:00
Collecting psutil
  Downloading psutil-5.9.8-cp37-abi3-win_amd64.whl (255 kB)
     ---------------------------------------- 255.1/255.1 kB ? eta 0:00:00
Collecting python-multipart>=0.0.9
  Downloading python_multipart-0.0.9-py3-none-any.whl (22 kB)
Requirement already satisfied: typing-extensions~=4.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (4.8.0)
Collecting altair<6.0,>=4.2.0
  Downloading altair-5.2.0-py3-none-any.whl (996 kB)
     ---------------------------------------- 996.9/996.9 kB 61.7 MB/s eta 0:00:00
Collecting aiofiles<24.0,>=22.0
  Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)
Collecting pydub
  Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Collecting importlib-resources<7.0,>=1.3
  Downloading importlib_resources-6.3.1-py3-none-any.whl (35 kB)
Collecting ruff>=0.2.2
  Downloading ruff-0.3.3-py3-none-win_amd64.whl (8.4 MB)
     ---------------------------------------- 8.4/8.4 MB 44.7 MB/s eta 0:00:00
Requirement already satisfied: jinja2<4.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (3.1.2)
Collecting tomlkit==0.12.0
  Downloading tomlkit-0.12.0-py3-none-any.whl (37 kB)
Requirement already satisfied: pillow<11.0,>=8.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (10.2.0)
Collecting matplotlib~=3.0
  Downloading matplotlib-3.8.3-cp310-cp310-win_amd64.whl (7.6 MB)
     ---------------------------------------- 7.6/7.6 MB 44.4 MB/s eta 0:00:00
Collecting ffmpy
  Downloading ffmpy-0.3.2.tar.gz (5.5 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: markupsafe~=2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (2.1.3)
Collecting pandas<3.0,>=1.0
  Downloading pandas-2.2.1-cp310-cp310-win_amd64.whl (11.6 MB)
     ---------------------------------------- 11.6/11.6 MB 38.6 MB/s eta 0:00:00
Collecting orjson~=3.0
  Downloading orjson-3.9.15-cp310-none-win_amd64.whl (136 kB)
     ---------------------------------------- 136.0/136.0 kB ? eta 0:00:00
Collecting semantic-version~=2.0
  Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Collecting typer[all]<1.0,>=0.9
  Downloading typer-0.9.0-py3-none-any.whl (45 kB)
     ---------------------------------------- 45.9/45.9 kB ? eta 0:00:00
Requirement already satisfied: fsspec in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio-client==0.10.1->llava==1.2.0) (2023.4.0)
Collecting websockets<12.0,>=10.0
  Downloading websockets-11.0.3-cp310-cp310-win_amd64.whl (124 kB)
     ---------------------------------------- 124.7/124.7 kB ? eta 0:00:00
Collecting sniffio
  Downloading sniffio-1.3.1-py3-none-any.whl (10 kB)
Requirement already satisfied: certifi in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->llava==1.2.0) (2022.12.7)
Requirement already satisfied: idna in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->llava==1.2.0) (3.4)
Collecting httpcore<0.18.0,>=0.15.0
  Downloading httpcore-0.17.3-py3-none-any.whl (74 kB)
     ---------------------------------------- 74.5/74.5 kB ? eta 0:00:00
Collecting tqdm
  Downloading tqdm-4.66.2-py3-none-any.whl (78 kB)
     ---------------------------------------- 78.3/78.3 kB ? eta 0:00:00
Collecting pydantic-core==2.16.2
  Downloading pydantic_core-2.16.2-cp310-none-win_amd64.whl (1.9 MB)
     ---------------------------------------- 1.9/1.9 MB 3.4 MB/s eta 0:00:00
Collecting annotated-types>=0.4.0
  Downloading annotated_types-0.6.0-py3-none-any.whl (12 kB)
Collecting joblib>=1.1.1
  Downloading joblib-1.3.2-py3-none-any.whl (302 kB)
     ---------------------------------------- 302.2/302.2 kB ? eta 0:00:00
Collecting scipy>=1.3.2
  Downloading scipy-1.12.0-cp310-cp310-win_amd64.whl (46.2 MB)
     ---------------------------------------- 46.2/46.2 MB 38.5 MB/s eta 0:00:00
Collecting threadpoolctl>=2.0.0
  Downloading threadpoolctl-3.3.0-py3-none-any.whl (17 kB)
Requirement already satisfied: filelock in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->llava==1.2.0) (3.9.0)
Requirement already satisfied: networkx in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->llava==1.2.0) (3.2.1)
Requirement already satisfied: sympy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->llava==1.2.0) (1.12)
Collecting regex!=2019.12.17
  Downloading regex-2023.12.25-cp310-cp310-win_amd64.whl (269 kB)
     ---------------------------------------- 269.5/269.5 kB ? eta 0:00:00
Collecting h11>=0.8
  Downloading h11-0.14.0-py3-none-any.whl (58 kB)
     ---------------------------------------- 58.3/58.3 kB ? eta 0:00:00
Collecting click>=7.0
  Downloading click-8.1.7-py3-none-any.whl (97 kB)
     ---------------------------------------- 97.9/97.9 kB ? eta 0:00:00
Collecting starlette<0.37.0,>=0.36.3
  Downloading starlette-0.36.3-py3-none-any.whl (71 kB)
     ---------------------------------------- 71.5/71.5 kB ? eta 0:00:00
Collecting pygments>=2.7.3
  Downloading pygments-2.17.2-py3-none-any.whl (1.2 MB)
     ---------------------------------------- 1.2/1.2 MB 73.1 MB/s eta 0:00:00
Collecting wavedrom
  Downloading wavedrom-2.0.3.post3.tar.gz (137 kB)
     ---------------------------------------- 137.7/137.7 kB ? eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: urllib3<1.27,>=1.21.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from requests->llava==1.2.0) (1.26.13)
Requirement already satisfied: charset-normalizer<3,>=2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from requests->llava==1.2.0) (2.1.1)
Collecting toolz
  Downloading toolz-0.12.1-py3-none-any.whl (56 kB)
     ---------------------------------------- 56.1/56.1 kB ? eta 0:00:00
Collecting jsonschema>=3.0
  Downloading jsonschema-4.21.1-py3-none-any.whl (85 kB)
     ---------------------------------------- 85.5/85.5 kB ? eta 0:00:00
Collecting colorama
  Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting anyio<5.0,>=3.0
  Downloading anyio-4.3.0-py3-none-any.whl (85 kB)
     ---------------------------------------- 85.6/85.6 kB ? eta 0:00:00
Collecting fsspec
  Downloading fsspec-2024.3.1-py3-none-any.whl (171 kB)
     ---------------------------------------- 172.0/172.0 kB ? eta 0:00:00
Collecting fonttools>=4.22.0
  Downloading fonttools-4.50.0-cp310-cp310-win_amd64.whl (2.2 MB)
     ---------------------------------------- 2.2/2.2 MB 70.1 MB/s eta 0:00:00
Collecting python-dateutil>=2.7
  Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
     ---------------------------------------- 229.9/229.9 kB ? eta 0:00:00
Collecting cycler>=0.10
  Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)
Collecting pyparsing>=2.3.1
  Downloading pyparsing-3.1.2-py3-none-any.whl (103 kB)
     ---------------------------------------- 103.2/103.2 kB ? eta 0:00:00
Collecting contourpy>=1.0.1
  Downloading contourpy-1.2.0-cp310-cp310-win_amd64.whl (186 kB)
     ---------------------------------------- 186.7/186.7 kB ? eta 0:00:00
Collecting kiwisolver>=1.3.1
  Downloading kiwisolver-1.4.5-cp310-cp310-win_amd64.whl (56 kB)
     ---------------------------------------- 56.1/56.1 kB ? eta 0:00:00
Collecting tzdata>=2022.7
  Downloading tzdata-2024.1-py2.py3-none-any.whl (345 kB)
     ---------------------------------------- 345.4/345.4 kB 20.9 MB/s eta 0:00:00
Collecting pytz>=2020.1
  Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB)
     ---------------------------------------- 505.5/505.5 kB ? eta 0:00:00
Collecting shellingham<2.0.0,>=1.3.0
  Downloading shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)
Collecting rich<14.0.0,>=10.11.0
  Downloading rich-13.7.1-py3-none-any.whl (240 kB)
     ---------------------------------------- 240.7/240.7 kB ? eta 0:00:00
Requirement already satisfied: mpmath>=0.19 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from sympy->torch==2.2.0->llava==1.2.0) (1.3.0)
Collecting svgwrite
  Downloading svgwrite-1.4.3-py3-none-any.whl (67 kB)
     ---------------------------------------- 67.1/67.1 kB ? eta 0:00:00
Collecting six
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting exceptiongroup>=1.0.2
  Downloading exceptiongroup-1.2.0-py3-none-any.whl (16 kB)
Collecting rpds-py>=0.7.1
  Downloading rpds_py-0.18.0-cp310-none-win_amd64.whl (206 kB)
     ---------------------------------------- 206.7/206.7 kB ? eta 0:00:00
Collecting referencing>=0.28.4
  Downloading referencing-0.34.0-py3-none-any.whl (26 kB)
Collecting jsonschema-specifications>=2023.03.6
  Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB)
Collecting attrs>=22.2.0
  Downloading attrs-23.2.0-py3-none-any.whl (60 kB)
     ---------------------------------------- 60.8/60.8 kB ? eta 0:00:00
Collecting markdown-it-py>=2.2.0
  Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
     ---------------------------------------- 87.5/87.5 kB ? eta 0:00:00
Collecting mdurl~=0.1
  Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Building wheels for collected packages: llava
  Building editable for llava (pyproject.toml) ... done
  Created wheel for llava: filename=llava-1.2.0-0.editable-py3-none-any.whl size=16770 sha256=cabcfee8cf750dea50e40bd10dbca734a5f4a8084fe0378ba34b291a016cc457
  Stored in directory: C:\Users\pelol\AppData\Local\Temp\pip-ephem-wheel-cache-_mvcpjlc\wheels\a1\29\b1\217e5ceaff3489ad5024ca90a894d87a72c688b12570476910
Successfully built llava
Installing collected packages: sentencepiece, pytz, pydub, ffmpy, websockets, tzdata, toolz, tomlkit, threadpoolctl, svgwrite, sniffio, six, shortuuid, shellingham, semantic-version, scipy, safetensors, ruff, rpds-py, regex, pyyaml, python-multipart, pyparsing, pygments, pydantic-core, psutil, packaging, orjson, mdurl, markdown2, kiwisolver, joblib, importlib-resources, h11, fsspec, fonttools, exceptiongroup, einops, cycler, contourpy, colorama, attrs, annotated-types, aiofiles, wavedrom, tqdm, scikit-learn, referencing, python-dateutil, pydantic, markdown-it-py, einops-exts, click, anyio, uvicorn, typer, starlette, rich, pandas, matplotlib, jsonschema-specifications, huggingface-hub, httpcore, bitsandbytes, tokenizers, timm, jsonschema, httpx, fastapi, accelerate, transformers, gradio-client, altair, peft, gradio, llava
  DEPRECATION: ffmpy is being installed using the legacy 'setup.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 https://github.com/pypa/pip/issues/8559
  Running setup.py install for ffmpy ... done
  Attempting uninstall: fsspec
    Found existing installation: fsspec 2023.4.0
    Uninstalling fsspec-2023.4.0:
      Successfully uninstalled fsspec-2023.4.0
  DEPRECATION: wavedrom is being installed using the legacy 'setup.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 https://github.com/pypa/pip/issues/8559
  Running setup.py install for wavedrom ... done
Successfully installed accelerate-0.27.2 aiofiles-23.2.1 altair-5.2.0 annotated-types-0.6.0 anyio-4.3.0 attrs-23.2.0 bitsandbytes-0.43.0 click-8.1.7 colorama-0.4.6 contourpy-1.2.0 cycler-0.12.1 einops-0.6.1 einops-exts-0.0.4 exceptiongroup-1.2.0 fastapi-0.110.0 ffmpy-0.3.2 fonttools-4.50.0 fsspec-2024.3.1 gradio-4.19.2 gradio-client-0.10.1 h11-0.14.0 httpcore-0.17.3 httpx-0.24.1 huggingface-hub-0.21.4 importlib-resources-6.3.1 joblib-1.3.2 jsonschema-4.21.1 jsonschema-specifications-2023.12.1 kiwisolver-1.4.5 llava-1.2.0 markdown-it-py-3.0.0 markdown2-2.4.13 matplotlib-3.8.3 mdurl-0.1.2 orjson-3.9.15 packaging-24.0 pandas-2.2.1 peft-0.9.0 psutil-5.9.8 pydantic-2.6.1 pydantic-core-2.16.2 pydub-0.25.1 pygments-2.17.2 pyparsing-3.1.2 python-dateutil-2.9.0.post0 python-multipart-0.0.9 pytz-2024.1 pyyaml-6.0.1 referencing-0.34.0 regex-2023.12.25 rich-13.7.1 rpds-py-0.18.0 ruff-0.3.3 safetensors-0.4.2 scikit-learn-1.2.2 scipy-1.12.0 semantic-version-2.10.0 sentencepiece-0.1.99 shellingham-1.5.4 shortuuid-1.0.13 six-1.16.0 sniffio-1.3.1 starlette-0.36.3 svgwrite-1.4.3 threadpoolctl-3.3.0 timm-0.9.16 tokenizers-0.15.0 tomlkit-0.12.0 toolz-0.12.1 tqdm-4.66.2 transformers-4.37.2 typer-0.9.0 tzdata-2024.1 uvicorn-0.28.0 wavedrom-2.0.3.post3 websockets-11.0.3

[notice] A new release of pip is available: 23.0.1 -> 24.0
[notice] To update, run: python.exe -m pip install --upgrade pip
Installing other requirements. This could take a few minutes...
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Requirement already satisfied: pip in f:\projetos\teste\image-interrogator\venv\lib\site-packages (23.0.1)
Collecting pip
  Downloading pip-24.0-py3-none-any.whl (2.1 MB)
     ---------------------------------------- 2.1/2.1 MB 44.7 MB/s eta 0:00:00
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 23.0.1
    Uninstalling pip-23.0.1:
      Successfully uninstalled pip-23.0.1
Successfully installed pip-24.0
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Requirement already satisfied: transformers==4.37.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 1)) (4.37.2)
Collecting transformers_stream_generator==0.0.4 (from -r requirements.txt (line 2))
  Downloading transformers-stream-generator-0.0.4.tar.gz (12 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: tokenizers==0.15.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 3)) (0.15.0)
Collecting huggingface-hub==0.21.3 (from -r requirements.txt (line 4))
  Downloading huggingface_hub-0.21.3-py3-none-any.whl.metadata (13 kB)
Collecting datasets==2.14.7 (from -r requirements.txt (line 5))
  Downloading datasets-2.14.7-py3-none-any.whl.metadata (19 kB)
Requirement already satisfied: gradio==4.19.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 6)) (4.19.2)
Requirement already satisfied: gradio_client==0.10.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 7)) (0.10.1)
Requirement already satisfied: peft==0.9.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 8)) (0.9.0)
Requirement already satisfied: httpx==0.24.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 9)) (0.24.1)
Requirement already satisfied: einops==0.6.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 10)) (0.6.1)
Requirement already satisfied: einops-exts==0.0.4 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 11)) (0.0.4)
Requirement already satisfied: timm==0.9.16 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 12)) (0.9.16)
Requirement already satisfied: pydantic==2.6.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 13)) (2.6.1)
Requirement already satisfied: pillow==10.2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 14)) (10.2.0)
Requirement already satisfied: scikit-learn==1.2.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from -r requirements.txt (line 15)) (1.2.2)
Collecting easygui (from -r requirements.txt (line 16))
  Downloading easygui-0.98.3-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting open_clip_torch (from -r requirements.txt (line 17))
  Downloading open_clip_torch-2.24.0-py3-none-any.whl.metadata (30 kB)
Collecting modelscope (from -r requirements.txt (line 18))
  Downloading modelscope-1.13.1-py3-none-any.whl.metadata (33 kB)
Collecting tiktoken==0.6.0 (from -r requirements.txt (line 19))
  Downloading tiktoken-0.6.0-cp310-cp310-win_amd64.whl.metadata (6.8 kB)
Collecting optimum==1.17.1 (from -r requirements.txt (line 20))
  Downloading optimum-1.17.1-py3-none-any.whl.metadata (18 kB)
Requirement already satisfied: filelock in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (3.9.0)
Requirement already satisfied: numpy>=1.17 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (1.26.3)
Requirement already satisfied: packaging>=20.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (24.0)
Requirement already satisfied: pyyaml>=5.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (6.0.1)
Requirement already satisfied: regex!=2019.12.17 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (2023.12.25)
Requirement already satisfied: requests in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (2.28.1)
Requirement already satisfied: safetensors>=0.4.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (0.4.2)
Requirement already satisfied: tqdm>=4.27 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (4.66.2)
Requirement already satisfied: fsspec>=2023.5.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from huggingface-hub==0.21.3->-r requirements.txt (line 4)) (2024.3.1)
Requirement already satisfied: typing-extensions>=3.7.4.3 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from huggingface-hub==0.21.3->-r requirements.txt (line 4)) (4.8.0)
Collecting pyarrow>=8.0.0 (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading pyarrow-15.0.2-cp310-cp310-win_amd64.whl.metadata (3.1 kB)
Collecting pyarrow-hotfix (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading pyarrow_hotfix-0.6-py3-none-any.whl.metadata (3.6 kB)
Collecting dill<0.3.8,>=0.3.0 (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading dill-0.3.7-py3-none-any.whl.metadata (9.9 kB)
Requirement already satisfied: pandas in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from datasets==2.14.7->-r requirements.txt (line 5)) (2.2.1)
Collecting xxhash (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading xxhash-3.4.1-cp310-cp310-win_amd64.whl.metadata (12 kB)
Collecting multiprocess (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading multiprocess-0.70.16-py310-none-any.whl.metadata (7.2 kB)
Collecting fsspec>=2023.5.0 (from huggingface-hub==0.21.3->-r requirements.txt (line 4))
  Downloading fsspec-2023.10.0-py3-none-any.whl.metadata (6.8 kB)
Collecting aiohttp (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading aiohttp-3.9.3-cp310-cp310-win_amd64.whl.metadata (7.6 kB)
Requirement already satisfied: aiofiles<24.0,>=22.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (23.2.1)
Requirement already satisfied: altair<6.0,>=4.2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (5.2.0)
Requirement already satisfied: fastapi in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.110.0)
Requirement already satisfied: ffmpy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.3.2)
Requirement already satisfied: importlib-resources<7.0,>=1.3 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (6.3.1)
Requirement already satisfied: jinja2<4.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (3.1.2)
Requirement already satisfied: markupsafe~=2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (2.1.3)
Requirement already satisfied: matplotlib~=3.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (3.8.3)
Requirement already satisfied: orjson~=3.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (3.9.15)
Requirement already satisfied: pydub in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.25.1)
Requirement already satisfied: python-multipart>=0.0.9 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.0.9)
Requirement already satisfied: ruff>=0.2.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.3.3)
Requirement already satisfied: semantic-version~=2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (2.10.0)
Requirement already satisfied: tomlkit==0.12.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.12.0)
Requirement already satisfied: typer<1.0,>=0.9 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (0.9.0)
Requirement already satisfied: uvicorn>=0.14.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.28.0)
Requirement already satisfied: websockets<12.0,>=10.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from gradio_client==0.10.1->-r requirements.txt (line 7)) (11.0.3)
Requirement already satisfied: psutil in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from peft==0.9.0->-r requirements.txt (line 8)) (5.9.8)
Requirement already satisfied: torch>=1.13.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from peft==0.9.0->-r requirements.txt (line 8)) (2.2.0+cu118)
Requirement already satisfied: accelerate>=0.21.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from peft==0.9.0->-r requirements.txt (line 8)) (0.27.2)
Requirement already satisfied: certifi in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->-r requirements.txt (line 9)) (2022.12.7)
Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->-r requirements.txt (line 9)) (0.17.3)
Requirement already satisfied: idna in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->-r requirements.txt (line 9)) (3.4)
Requirement already satisfied: sniffio in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from httpx==0.24.1->-r requirements.txt (line 9)) (1.3.1)
Requirement already satisfied: torchvision in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from timm==0.9.16->-r requirements.txt (line 12)) (0.17.0+cu118)
Requirement already satisfied: annotated-types>=0.4.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from pydantic==2.6.1->-r requirements.txt (line 13)) (0.6.0)
Requirement already satisfied: pydantic-core==2.16.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from pydantic==2.6.1->-r requirements.txt (line 13)) (2.16.2)
Requirement already satisfied: scipy>=1.3.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from scikit-learn==1.2.2->-r requirements.txt (line 15)) (1.12.0)
Requirement already satisfied: joblib>=1.1.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from scikit-learn==1.2.2->-r requirements.txt (line 15)) (1.3.2)
Requirement already satisfied: threadpoolctl>=2.0.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from scikit-learn==1.2.2->-r requirements.txt (line 15)) (3.3.0)
Collecting coloredlogs (from optimum==1.17.1->-r requirements.txt (line 20))
  Downloading coloredlogs-15.0.1-py2.py3-none-any.whl.metadata (12 kB)
Requirement already satisfied: sympy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from optimum==1.17.1->-r requirements.txt (line 20)) (1.12)
Collecting ftfy (from open_clip_torch->-r requirements.txt (line 17))
  Downloading ftfy-6.2.0-py3-none-any.whl.metadata (7.3 kB)
Requirement already satisfied: sentencepiece in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from open_clip_torch->-r requirements.txt (line 17)) (0.1.99)
Collecting protobuf (from open_clip_torch->-r requirements.txt (line 17))
  Downloading protobuf-5.26.0-cp310-abi3-win_amd64.whl.metadata (592 bytes)
Collecting addict (from modelscope->-r requirements.txt (line 18))
  Downloading addict-2.4.0-py3-none-any.whl.metadata (1.0 kB)
Requirement already satisfied: attrs in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (23.2.0)
Collecting gast>=0.2.2 (from modelscope->-r requirements.txt (line 18))
  Downloading gast-0.5.4-py3-none-any.whl.metadata (1.3 kB)
Collecting oss2 (from modelscope->-r requirements.txt (line 18))
  Downloading oss2-2.18.4.tar.gz (278 kB)
     ---------------------------------------- 278.1/278.1 kB ? eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: python-dateutil>=2.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (2.9.0.post0)
Requirement already satisfied: setuptools in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (65.5.0)
Collecting simplejson>=3.3.0 (from modelscope->-r requirements.txt (line 18))
  Downloading simplejson-3.19.2-cp310-cp310-win_amd64.whl.metadata (3.2 kB)
Collecting sortedcontainers>=1.5.9 (from modelscope->-r requirements.txt (line 18))
  Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: urllib3>=1.26 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (1.26.13)
Collecting yapf (from modelscope->-r requirements.txt (line 18))
  Downloading yapf-0.40.2-py3-none-any.whl.metadata (45 kB)
     ---------------------------------------- 45.4/45.4 kB ? eta 0:00:00
Requirement already satisfied: jsonschema>=3.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (4.21.1)
Requirement already satisfied: toolz in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.12.1)
Collecting aiosignal>=1.1.2 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5))
  Downloading aiosignal-1.3.1-py3-none-any.whl.metadata (4.0 kB)
Collecting frozenlist>=1.1.1 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5))
  Downloading frozenlist-1.4.1-cp310-cp310-win_amd64.whl.metadata (12 kB)
Collecting multidict<7.0,>=4.5 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5))
  Downloading multidict-6.0.5-cp310-cp310-win_amd64.whl.metadata (4.3 kB)
Collecting yarl<2.0,>=1.0 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5))
  Downloading yarl-1.9.4-cp310-cp310-win_amd64.whl.metadata (32 kB)
Collecting async-timeout<5.0,>=4.0 (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5))
  Downloading async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
Requirement already satisfied: h11<0.15,>=0.13 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from httpcore<0.18.0,>=0.15.0->httpx==0.24.1->-r requirements.txt (line 9)) (0.14.0)
Requirement already satisfied: anyio<5.0,>=3.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from httpcore<0.18.0,>=0.15.0->httpx==0.24.1->-r requirements.txt (line 9)) (4.3.0)
Requirement already satisfied: contourpy>=1.0.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (1.2.0)
Requirement already satisfied: cycler>=0.10 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (4.50.0)
Requirement already satisfied: kiwisolver>=1.3.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (1.4.5)
Requirement already satisfied: pyparsing>=2.3.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (3.1.2)
Requirement already satisfied: pytz>=2020.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from pandas->datasets==2.14.7->-r requirements.txt (line 5)) (2024.1)
Requirement already satisfied: tzdata>=2022.7 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from pandas->datasets==2.14.7->-r requirements.txt (line 5)) (2024.1)
Requirement already satisfied: six>=1.5 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from python-dateutil>=2.1->modelscope->-r requirements.txt (line 18)) (1.16.0)
Requirement already satisfied: charset-normalizer<3,>=2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from requests->transformers==4.37.2->-r requirements.txt (line 1)) (2.1.1)
Requirement already satisfied: networkx in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->peft==0.9.0->-r requirements.txt (line 8)) (3.2.1)
Requirement already satisfied: colorama in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from tqdm>=4.27->transformers==4.37.2->-r requirements.txt (line 1)) (0.4.6)
Requirement already satisfied: click<9.0.0,>=7.1.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from typer<1.0,>=0.9->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (8.1.7)
Requirement already satisfied: shellingham<2.0.0,>=1.3.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (1.5.4)
Requirement already satisfied: rich<14.0.0,>=10.11.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (13.7.1)
Collecting humanfriendly>=9.1 (from coloredlogs->optimum==1.17.1->-r requirements.txt (line 20))
  Downloading humanfriendly-10.0-py2.py3-none-any.whl.metadata (9.2 kB)
Requirement already satisfied: starlette<0.37.0,>=0.36.3 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from fastapi->gradio==4.19.2->-r requirements.txt (line 6)) (0.36.3)
Collecting wcwidth<0.3.0,>=0.2.12 (from ftfy->open_clip_torch->-r requirements.txt (line 17))
  Downloading wcwidth-0.2.13-py2.py3-none-any.whl.metadata (14 kB)
INFO: pip is looking at multiple versions of multiprocess to determine which version is compatible with other requirements. This could take a while.
Collecting multiprocess (from datasets==2.14.7->-r requirements.txt (line 5))
  Downloading multiprocess-0.70.15-py310-none-any.whl.metadata (7.2 kB)
Collecting crcmod>=1.7 (from oss2->modelscope->-r requirements.txt (line 18))
  Downloading crcmod-1.7.tar.gz (89 kB)
     ---------------------------------------- 89.7/89.7 kB ? eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pycryptodome>=3.4.7 (from oss2->modelscope->-r requirements.txt (line 18))
  Downloading pycryptodome-3.20.0-cp35-abi3-win_amd64.whl.metadata (3.4 kB)
Collecting aliyun-python-sdk-kms>=2.4.1 (from oss2->modelscope->-r requirements.txt (line 18))
  Downloading aliyun_python_sdk_kms-2.16.2-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting aliyun-python-sdk-core>=2.13.12 (from oss2->modelscope->-r requirements.txt (line 18))
  Downloading aliyun-python-sdk-core-2.15.0.tar.gz (443 kB)
     ---------------------------------------- 443.1/443.1 kB 28.9 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: mpmath>=0.19 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from sympy->optimum==1.17.1->-r requirements.txt (line 20)) (1.3.0)
Collecting importlib-metadata>=6.6.0 (from yapf->modelscope->-r requirements.txt (line 18))
  Downloading importlib_metadata-7.0.2-py3-none-any.whl.metadata (4.6 kB)
Collecting platformdirs>=3.5.1 (from yapf->modelscope->-r requirements.txt (line 18))
  Downloading platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB)
Collecting tomli>=2.0.1 (from yapf->modelscope->-r requirements.txt (line 18))
  Downloading tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB)
Collecting jmespath<1.0.0,>=0.9.3 (from aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18))
  Downloading jmespath-0.10.0-py2.py3-none-any.whl.metadata (8.0 kB)
Collecting cryptography>=2.6.0 (from aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18))
  Downloading cryptography-42.0.5-cp39-abi3-win_amd64.whl.metadata (5.4 kB)
Requirement already satisfied: exceptiongroup>=1.0.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from anyio<5.0,>=3.0->httpcore<0.18.0,>=0.15.0->httpx==0.24.1->-r requirements.txt (line 9)) (1.2.0)
Collecting pyreadline3 (from humanfriendly>=9.1->coloredlogs->optimum==1.17.1->-r requirements.txt (line 20))
  Downloading pyreadline3-3.4.1-py3-none-any.whl.metadata (2.0 kB)
Collecting zipp>=0.5 (from importlib-metadata>=6.6.0->yapf->modelscope->-r requirements.txt (line 18))
  Downloading zipp-3.18.1-py3-none-any.whl.metadata (3.5 kB)
Requirement already satisfied: jsonschema-specifications>=2023.03.6 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (2023.12.1)
Requirement already satisfied: referencing>=0.28.4 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.34.0)
Requirement already satisfied: rpds-py>=0.7.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.18.0)
Requirement already satisfied: markdown-it-py>=2.2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from rich<14.0.0,>=10.11.0->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from rich<14.0.0,>=10.11.0->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (2.17.2)
Collecting cffi>=1.12 (from cryptography>=2.6.0->aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18))
  Downloading cffi-1.16.0-cp310-cp310-win_amd64.whl.metadata (1.5 kB)
Requirement already satisfied: mdurl~=0.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from markdown-it-py>=2.2.0->rich<14.0.0,>=10.11.0->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (0.1.2)
Collecting pycparser (from cffi>=1.12->cryptography>=2.6.0->aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18))
  Downloading pycparser-2.21-py2.py3-none-any.whl.metadata (1.1 kB)
Downloading huggingface_hub-0.21.3-py3-none-any.whl (346 kB)
   ---------------------------------------- 346.2/346.2 kB ? eta 0:00:00
Downloading datasets-2.14.7-py3-none-any.whl (520 kB)
   ---------------------------------------- 520.4/520.4 kB ? eta 0:00:00
Downloading tiktoken-0.6.0-cp310-cp310-win_amd64.whl (798 kB)
   ---------------------------------------- 798.7/798.7 kB 52.6 MB/s eta 0:00:00
Downloading optimum-1.17.1-py3-none-any.whl (407 kB)
   ---------------------------------------- 407.1/407.1 kB 24.8 MB/s eta 0:00:00
Downloading easygui-0.98.3-py2.py3-none-any.whl (92 kB)
   ---------------------------------------- 92.7/92.7 kB ? eta 0:00:00
Downloading open_clip_torch-2.24.0-py3-none-any.whl (1.5 MB)
   ---------------------------------------- 1.5/1.5 MB 48.0 MB/s eta 0:00:00
Downloading modelscope-1.13.1-py3-none-any.whl (5.6 MB)
   ---------------------------------------- 5.6/5.6 MB 45.1 MB/s eta 0:00:00
Downloading dill-0.3.7-py3-none-any.whl (115 kB)
   ---------------------------------------- 115.3/115.3 kB ? eta 0:00:00
Downloading fsspec-2023.10.0-py3-none-any.whl (166 kB)
   ---------------------------------------- 166.4/166.4 kB ? eta 0:00:00
Downloading aiohttp-3.9.3-cp310-cp310-win_amd64.whl (365 kB)
   ---------------------------------------- 365.2/365.2 kB ? eta 0:00:00
Downloading gast-0.5.4-py3-none-any.whl (19 kB)
Downloading pyarrow-15.0.2-cp310-cp310-win_amd64.whl (24.8 MB)
   ---------------------------------------- 24.8/24.8 MB 38.4 MB/s eta 0:00:00
Downloading simplejson-3.19.2-cp310-cp310-win_amd64.whl (75 kB)
   ---------------------------------------- 75.5/75.5 kB ? eta 0:00:00
Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Downloading addict-2.4.0-py3-none-any.whl (3.8 kB)
Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
   ---------------------------------------- 46.0/46.0 kB ? eta 0:00:00
Downloading ftfy-6.2.0-py3-none-any.whl (54 kB)
   ---------------------------------------- 54.4/54.4 kB ? eta 0:00:00
Downloading multiprocess-0.70.15-py310-none-any.whl (134 kB)
   ---------------------------------------- 134.8/134.8 kB 7.8 MB/s eta 0:00:00
Downloading protobuf-5.26.0-cp310-abi3-win_amd64.whl (420 kB)
   ---------------------------------------- 420.9/420.9 kB ? eta 0:00:00
Downloading pyarrow_hotfix-0.6-py3-none-any.whl (7.9 kB)
Downloading xxhash-3.4.1-cp310-cp310-win_amd64.whl (29 kB)
Downloading yapf-0.40.2-py3-none-any.whl (254 kB)
   ---------------------------------------- 254.7/254.7 kB 15.3 MB/s eta 0:00:00
Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Downloading aliyun_python_sdk_kms-2.16.2-py2.py3-none-any.whl (94 kB)
   ---------------------------------------- 94.0/94.0 kB ? eta 0:00:00
Downloading async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Downloading frozenlist-1.4.1-cp310-cp310-win_amd64.whl (50 kB)
   ---------------------------------------- 50.4/50.4 kB ? eta 0:00:00
Downloading humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
   ---------------------------------------- 86.8/86.8 kB ? eta 0:00:00
Downloading importlib_metadata-7.0.2-py3-none-any.whl (24 kB)
Downloading multidict-6.0.5-cp310-cp310-win_amd64.whl (28 kB)
Downloading platformdirs-4.2.0-py3-none-any.whl (17 kB)
Downloading pycryptodome-3.20.0-cp35-abi3-win_amd64.whl (1.8 MB)
   ---------------------------------------- 1.8/1.8 MB 56.4 MB/s eta 0:00:00
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Downloading wcwidth-0.2.13-py2.py3-none-any.whl (34 kB)
Downloading yarl-1.9.4-cp310-cp310-win_amd64.whl (76 kB)
   ---------------------------------------- 76.4/76.4 kB ? eta 0:00:00
Downloading cryptography-42.0.5-cp39-abi3-win_amd64.whl (2.9 MB)
   ---------------------------------------- 2.9/2.9 MB 45.7 MB/s eta 0:00:00
Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Downloading zipp-3.18.1-py3-none-any.whl (8.2 kB)
Downloading pyreadline3-3.4.1-py3-none-any.whl (95 kB)
   ---------------------------------------- 95.2/95.2 kB ? eta 0:00:00
Downloading cffi-1.16.0-cp310-cp310-win_amd64.whl (181 kB)
   ---------------------------------------- 181.6/181.6 kB ? eta 0:00:00
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
   ---------------------------------------- 118.7/118.7 kB ? eta 0:00:00
Building wheels for collected packages: transformers_stream_generator, oss2, aliyun-python-sdk-core, crcmod
  Building wheel for transformers_stream_generator (pyproject.toml) ... done
  Created wheel for transformers_stream_generator: filename=transformers_stream_generator-0.0.4-py3-none-any.whl size=12340 sha256=28b6f8965ff4e57d02df2474a61384dfc9e310c37fc01e6e57a188f01cc24324
  Stored in directory: C:\Users\pelol\AppData\Local\Temp\pip-ephem-wheel-cache-2hj2oqu8\wheels\47\1d\3c\92d88493ed40c0d9be60a391eb76c9a56e9f9b7542cb789401
  Building wheel for oss2 (pyproject.toml) ... done
  Created wheel for oss2: filename=oss2-2.18.4-py3-none-any.whl size=115998 sha256=9fe294e550a3637b89bedcd292f3a790f91b390bc7f68a565efdbae79d77b991
  Stored in directory: C:\Users\pelol\AppData\Local\Temp\pip-ephem-wheel-cache-2hj2oqu8\wheels\9e\34\68\f21dc0320c699eb02ab90f2f7965d6f60ee793f03ef5e23212
  Building wheel for aliyun-python-sdk-core (pyproject.toml) ... done
  Created wheel for aliyun-python-sdk-core: filename=aliyun_python_sdk_core-2.15.0-py3-none-any.whl size=535323 sha256=8ab4519e3c3b44c3501102a985839826efc6b0b516c6f9bfcfd4845d780332a8
  Stored in directory: C:\Users\pelol\AppData\Local\Temp\pip-ephem-wheel-cache-2hj2oqu8\wheels\b7\28\7c\a888bb3c60c865d014c7ef5017c83fdbc1cb0f601b79c7794a
  Building wheel for crcmod (pyproject.toml) ... done
  Created wheel for crcmod: filename=crcmod-1.7-cp310-cp310-win_amd64.whl size=25153 sha256=27f7303973821fcb2025e52d76e1b0a893e85c2abe6e6317e65adbeee1d8c20e
  Stored in directory: C:\Users\pelol\AppData\Local\Temp\pip-ephem-wheel-cache-2hj2oqu8\wheels\85\4c\07\72215c529bd59d67e3dac29711d7aba1b692f543c808ba9e86
Successfully built transformers_stream_generator oss2 aliyun-python-sdk-core crcmod
Installing collected packages: wcwidth, sortedcontainers, pyreadline3, easygui, crcmod, addict, zipp, xxhash, tomli, simplejson, pycryptodome, pycparser, pyarrow-hotfix, pyarrow, protobuf, platformdirs, multidict, jmespath, humanfriendly, gast, ftfy, fsspec, frozenlist, dill, async-timeout, yarl, tiktoken, multiprocess, importlib-metadata, huggingface-hub, coloredlogs, cffi, aiosignal, yapf, cryptography, aiohttp, aliyun-python-sdk-core, transformers_stream_generator, open_clip_torch, datasets, aliyun-python-sdk-kms, oss2, optimum, modelscope
  Attempting uninstall: fsspec
    Found existing installation: fsspec 2024.3.1
    Uninstalling fsspec-2024.3.1:
      Successfully uninstalled fsspec-2024.3.1
  Attempting uninstall: huggingface-hub
    Found existing installation: huggingface-hub 0.21.4
    Uninstalling huggingface-hub-0.21.4:
      Successfully uninstalled huggingface-hub-0.21.4
Successfully installed addict-2.4.0 aiohttp-3.9.3 aiosignal-1.3.1 aliyun-python-sdk-core-2.15.0 aliyun-python-sdk-kms-2.16.2 async-timeout-4.0.3 cffi-1.16.0 coloredlogs-15.0.1 crcmod-1.7 cryptography-42.0.5 datasets-2.14.7 dill-0.3.7 easygui-0.98.3 frozenlist-1.4.1 fsspec-2023.10.0 ftfy-6.2.0 gast-0.5.4 huggingface-hub-0.21.3 humanfriendly-10.0 importlib-metadata-7.0.2 jmespath-0.10.0 modelscope-1.13.1 multidict-6.0.5 multiprocess-0.70.15 open_clip_torch-2.24.0 optimum-1.17.1 oss2-2.18.4 platformdirs-4.2.0 protobuf-5.26.0 pyarrow-15.0.2 pyarrow-hotfix-0.6 pycparser-2.21 pycryptodome-3.20.0 pyreadline3-3.4.1 simplejson-3.19.2 sortedcontainers-2.4.0 tiktoken-0.6.0 tomli-2.0.1 transformers_stream_generator-0.0.4 wcwidth-0.2.13 xxhash-3.4.1 yapf-0.40.2 yarl-1.9.4 zipp-3.18.1
Found existing installation: bitsandbytes 0.43.0
Uninstalling bitsandbytes-0.43.0:
  Successfully uninstalled bitsandbytes-0.43.0
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting bitsandbytes==0.43.0
  Downloading bitsandbytes-0.43.0-py3-none-win_amd64.whl.metadata (1.9 kB)
Requirement already satisfied: torch in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from bitsandbytes==0.43.0) (2.2.0+cu118)
Requirement already satisfied: numpy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from bitsandbytes==0.43.0) (1.26.3)
Requirement already satisfied: filelock in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (3.9.0)
Requirement already satisfied: typing-extensions>=4.8.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (4.8.0)
Requirement already satisfied: sympy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (1.12)
Requirement already satisfied: networkx in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (3.2.1)
Requirement already satisfied: jinja2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (3.1.2)
Requirement already satisfied: fsspec in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch->bitsandbytes==0.43.0) (2023.10.0)
Requirement already satisfied: MarkupSafe>=2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from jinja2->torch->bitsandbytes==0.43.0) (2.1.3)
Requirement already satisfied: mpmath>=0.19 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from sympy->torch->bitsandbytes==0.43.0) (1.3.0)
Downloading bitsandbytes-0.43.0-py3-none-win_amd64.whl (101.6 MB)
   ---------------------------------------- 101.6/101.6 MB 38.4 MB/s eta 0:00:00
Installing collected packages: bitsandbytes
Successfully installed bitsandbytes-0.43.0
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting triton==2.1.0
  Downloading https://huggingface.co/elismasilva/wheels/resolve/main/triton-2.1.0-cp310-cp310-win_amd64.whl (314.1 MB)
     ---------------------------------------- 314.1/314.1 MB 32.7 MB/s eta 0:00:00
Requirement already satisfied: filelock in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from triton==2.1.0) (3.9.0)
Installing collected packages: triton
Successfully installed triton-2.1.0
Looking in indexes: https://download.pytorch.org/whl/cu118, https://pypi.ngc.nvidia.com
Collecting xformers==0.0.24
  Downloading https://download.pytorch.org/whl/cu118/xformers-0.0.24%2Bcu118-cp310-cp310-win_amd64.whl (102.1 MB)
     ---------------------------------------- 102.1/102.1 MB 36.3 MB/s eta 0:00:00
Requirement already satisfied: numpy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from xformers==0.0.24) (1.26.3)
Requirement already satisfied: torch==2.2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from xformers==0.0.24) (2.2.0+cu118)
Requirement already satisfied: filelock in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (3.9.0)
Requirement already satisfied: typing-extensions>=4.8.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (4.8.0)
Requirement already satisfied: sympy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (1.12)
Requirement already satisfied: networkx in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (3.2.1)
Requirement already satisfied: jinja2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (3.1.2)
Requirement already satisfied: fsspec in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (2023.10.0)
Requirement already satisfied: MarkupSafe>=2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from jinja2->torch==2.2.0->xformers==0.0.24) (2.1.3)
Requirement already satisfied: mpmath>=0.19 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from sympy->torch==2.2.0->xformers==0.0.24) (1.3.0)
Installing collected packages: xformers
Successfully installed xformers-0.0.24+cu118
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com, https://huggingface.github.io/autogptq-index/whl/cu118/
Collecting auto-gptq==0.7.1
  Downloading https://huggingface.github.io/autogptq-index/whl/cu118/auto-gptq/auto_gptq-0.7.1%2Bcu118-cp310-cp310-win_amd64.whl (4.7 MB)
     ---------------------------------------- 4.7/4.7 MB 49.4 MB/s eta 0:00:00
Requirement already satisfied: accelerate>=0.26.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (0.27.2)
Requirement already satisfied: datasets in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (2.14.7)
Requirement already satisfied: sentencepiece in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (0.1.99)
Requirement already satisfied: numpy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (1.26.3)
Collecting rouge (from auto-gptq==0.7.1)
  Downloading rouge-1.0.1-py3-none-any.whl.metadata (4.1 kB)
Collecting gekko (from auto-gptq==0.7.1)
  Downloading gekko-1.0.7-py3-none-any.whl.metadata (3.0 kB)
Requirement already satisfied: torch>=1.13.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (2.2.0+cu118)
Requirement already satisfied: safetensors in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (0.4.2)
Requirement already satisfied: transformers>=4.31.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (4.37.2)
Requirement already satisfied: peft>=0.5.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (0.9.0)
Requirement already satisfied: tqdm in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from auto-gptq==0.7.1) (4.66.2)
Requirement already satisfied: packaging>=20.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from accelerate>=0.26.0->auto-gptq==0.7.1) (24.0)
Requirement already satisfied: psutil in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from accelerate>=0.26.0->auto-gptq==0.7.1) (5.9.8)
Requirement already satisfied: pyyaml in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from accelerate>=0.26.0->auto-gptq==0.7.1) (6.0.1)
Requirement already satisfied: huggingface-hub in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from accelerate>=0.26.0->auto-gptq==0.7.1) (0.21.3)
Requirement already satisfied: filelock in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (3.9.0)
Requirement already satisfied: typing-extensions>=4.8.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (4.8.0)
Requirement already satisfied: sympy in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (1.12)
Requirement already satisfied: networkx in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (3.2.1)
Requirement already satisfied: jinja2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (3.1.2)
Requirement already satisfied: fsspec in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (2023.10.0)
Requirement already satisfied: regex!=2019.12.17 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers>=4.31.0->auto-gptq==0.7.1) (2023.12.25)
Requirement already satisfied: requests in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers>=4.31.0->auto-gptq==0.7.1) (2.28.1)
Requirement already satisfied: tokenizers<0.19,>=0.14 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from transformers>=4.31.0->auto-gptq==0.7.1) (0.15.0)
Requirement already satisfied: colorama in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from tqdm->auto-gptq==0.7.1) (0.4.6)
Requirement already satisfied: pyarrow>=8.0.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (15.0.2)
Requirement already satisfied: pyarrow-hotfix in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (0.6)
Requirement already satisfied: dill<0.3.8,>=0.3.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (0.3.7)
Requirement already satisfied: pandas in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (2.2.1)
Requirement already satisfied: xxhash in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (3.4.1)
Requirement already satisfied: multiprocess in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (0.70.15)
Requirement already satisfied: aiohttp in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from datasets->auto-gptq==0.7.1) (3.9.3)
Requirement already satisfied: six in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from rouge->auto-gptq==0.7.1) (1.16.0)
Requirement already satisfied: aiosignal>=1.1.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (1.3.1)
Requirement already satisfied: attrs>=17.3.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (23.2.0)
Requirement already satisfied: frozenlist>=1.1.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (1.4.1)
Requirement already satisfied: multidict<7.0,>=4.5 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (6.0.5)
Requirement already satisfied: yarl<2.0,>=1.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (1.9.4)
Requirement already satisfied: async-timeout<5.0,>=4.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (4.0.3)
Requirement already satisfied: charset-normalizer<3,>=2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from requests->transformers>=4.31.0->auto-gptq==0.7.1) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from requests->transformers>=4.31.0->auto-gptq==0.7.1) (3.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from requests->transformers>=4.31.0->auto-gptq==0.7.1) (1.26.13)
Requirement already satisfied: certifi>=2017.4.17 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from requests->transformers>=4.31.0->auto-gptq==0.7.1) (2022.12.7)
Requirement already satisfied: MarkupSafe>=2.0 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from jinja2->torch>=1.13.0->auto-gptq==0.7.1) (2.1.3)
Requirement already satisfied: python-dateutil>=2.8.2 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from pandas->datasets->auto-gptq==0.7.1) (2.9.0.post0)
Requirement already satisfied: pytz>=2020.1 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from pandas->datasets->auto-gptq==0.7.1) (2024.1)
Requirement already satisfied: tzdata>=2022.7 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from pandas->datasets->auto-gptq==0.7.1) (2024.1)
Requirement already satisfied: mpmath>=0.19 in f:\projetos\teste\image-interrogator\venv\lib\site-packages (from sympy->torch>=1.13.0->auto-gptq==0.7.1) (1.3.0)
Downloading gekko-1.0.7-py3-none-any.whl (13.1 MB)
   ---------------------------------------- 13.1/13.1 MB 36.2 MB/s eta 0:00:00
Downloading rouge-1.0.1-py3-none-any.whl (13 kB)
Installing collected packages: rouge, gekko, auto-gptq
Successfully installed auto-gptq-0.7.1+cu118 gekko-1.0.7 rouge-1.0.1
Patching PIL...
        1 arquivo(s) copiado(s).
Patching Gradio...
        1 arquivo(s) copiado(s).

All done!. Launch 'start.bat'.
Pressione qualquer tecla para continuar. . .

And after i tested Llava

Precision Type: FP16
Load Mode: 4bit
Device: auto
Optimize for Low VRAM: False
Include image features in the prompt: False
Don't save dataset images: False
Generate individual caption file: True
Generate dataset: False
Dataset Name: Default
Caption Model: llava-v1.5-7b
Max outputs tokens: 2048
Temperature: 0.2
Top p: 0.7
Question prompt: Provide caption for the image in one sentence. Be detailed but precise.
----------------------------------------------------------------------------------------------------
Loading caption model llava-v1.5-7b...
You are using a model of type llava to instantiate a model of type llava_llama. This is not supported for all configurations of models and can yield errors.
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████| 2/2 [00:09<00:00,  4.52s/it]
Generating caption for images... Batch: 1 | Total Images: 1
F:\Projetos\teste\image-interrogator\venv\lib\site-packages\transformers\models\llama\modeling_llama.py:728: UserWarning: 1Torch was not compiled with flash attention. (Triggered internally at ..\aten\src\ATen\native\transformers\cuda\sdp_utils.cpp:263.)
  attn_output = torch.nn.functional.scaled_dot_product_attention(
Saving file...: F:\Projetos\teste\image-interrogator\outputs\images\2024-03-18\Default\ohwx (6).jpg
Generating individual file caption...: F:\Projetos\teste\image-interrogator\outputs\images\2024-03-18\Default\ohwx (6).txt
Saving dataset metadata...
Image process completed!

Thanks a lot, here the log of my clean installation :

Microsoft Windows [Version 10.0.22631.3296] (c) Microsoft Corporation. All rights reserved.

C:\Users\Admin\Documents\Stable diffusion>git clone https://github.com/DEVAIEXP/image-interrogator.git Cloning into 'image-interrogator'... remote: Enumerating objects: 161, done. remote: Counting objects: 100% (161/161), done. remote: Compressing objects: 100% (102/102), done. remote: Total 161 (delta 66), reused 119 (delta 46), pack-reused 0 Receiving objects: 88% (142/161), 692.00 KiB | 133.00 KiB/s Receiving objects: 100% (161/161), 862.24 KiB | 153.00 KiB/s, done. Resolving deltas: 100% (66/66), done.

C:\Users\Admin\Documents\Stable diffusion>cd image-interrogator

C:\Users\Admin\Documents\Stable diffusion\image-interrogator>install_windows.bat t Creating python venv dir C:\Users\Admin\Documents\Stable diffusion\image-interrogator\venv in using python "C:\Users\Admin\AppData\Local\Programs\Python\Python310\python.exe" Activating python venv venv "C:\Users\Admin\Documents\Stable diffusion\image-interrogator\venv\Scripts\Python.exe" 'C:\Users\Admin\Documents\Stable' is not recognized as an internal or external command, operable program or batch file. Cloning LLaVA repository... Cloning into 'LLaVA'... remote: Enumerating objects: 2250, done. remote: Counting objects: 100% (595/595), done. remote: Compressing objects: 100% (109/109), done. remote: Total 2250 (delta 527), reused 486 (delta 486), pack-reused 1655 Receiving objects: 100% (2250/2250), 13.63 MiB | 302.00 KiB/s, done.

Resolving deltas: 100% (1434/1434), done. Patching LLaVA... 1 file(s) copied. 1 file(s) copied. Installing LLaVA. This could take a few minutes... WARNING: Ignoring invalid distribution -rotobuf (c:\users\admin\appdata\local\programs\python\python310\lib\site-packages) Looking in indexes: https://download.pytorch.org/whl/cu118 Requirement already satisfied: torch==2.2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (2.2.0+cu118) Requirement already satisfied: torchvision in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (0.17.0+cu118) Collecting torchvision Using cached https://download.pytorch.org/whl/cu118/torchvision-0.17.1%2Bcu118-cp310-cp310-win_amd64.whl (4.9 MB) Requirement already satisfied: torchaudio in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (2.2.0+cu118) Collecting torchaudio Using cached https://download.pytorch.org/whl/cu118/torchaudio-2.2.1%2Bcu118-cp310-cp310-win_amd64.whl (4.0 MB) Requirement already satisfied: filelock in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch==2.2.0) (3.9.0) Requirement already satisfied: typing-extensions>=4.8.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch==2.2.0) (4.10.0) Requirement already satisfied: sympy in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch==2.2.0) (1.11.1) Requirement already satisfied: networkx in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch==2.2.0) (3.0) Requirement already satisfied: jinja2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch==2.2.0) (3.1.2) Requirement already satisfied: fsspec in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch==2.2.0) (2023.6.0) Requirement already satisfied: numpy in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torchvision) (1.26.1) INFO: pip is looking at multiple versions of torchvision to determine which version is compatible with other requirements. This could take a while. Requirement already satisfied: requests in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torchvision) (2.31.0) Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torchvision) (10.2.0) INFO: pip is looking at multiple versions of torchaudio to determine which version is compatible with other requirements. This could take a while. Requirement already satisfied: MarkupSafe>=2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from jinja2->torch==2.2.0) (2.1.2) Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from requests->torchvision) (3.1.0) Requirement already satisfied: idna<4,>=2.5 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from requests->torchvision) (3.4) Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from requests->torchvision) (1.26.16) Requirement already satisfied: certifi>=2017.4.17 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from requests->torchvision) (2023.11.17) Requirement already satisfied: mpmath>=0.19 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from sympy->torch==2.2.0) (1.2.1) WARNING: Ignoring invalid distribution -rotobuf (c:\users\admin\appdata\local\programs\python\python310\lib\site-packages) WARNING: Ignoring invalid distribution -rotobuf (c:\users\admin\appdata\local\programs\python\python310\lib\site-packages) Obtaining file:///C:/Users/Admin/Documents/Stable%20diffusion/image-interrogator/repositories/LLaVA Installing build dependencies ... done Checking if build backend supports build_editable ... done Getting requirements to build editable ... done Installing backend dependencies ... done Preparing editable metadata (pyproject.toml) ... done Requirement already satisfied: torch==2.2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (2.2.0+cu118) Requirement already satisfied: torchvision==0.17.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (0.17.0+cu118) Requirement already satisfied: transformers==4.37.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (4.37.2) Requirement already satisfied: tokenizers==0.15.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (0.15.0) Requirement already satisfied: sentencepiece==0.1.99 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (0.1.99) Requirement already satisfied: shortuuid in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (1.0.13) Requirement already satisfied: accelerate==0.27.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (0.27.2) Requirement already satisfied: peft==0.9.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (0.9.0) Requirement already satisfied: bitsandbytes>=0.41.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (0.43.0) Requirement already satisfied: pydantic==2.6.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (2.6.1) Requirement already satisfied: markdown2[all] in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (2.4.13) Requirement already satisfied: numpy in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (1.26.1) Requirement already satisfied: scikit-learn==1.2.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (1.2.2) Requirement already satisfied: gradio==4.19.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (4.19.2) Requirement already satisfied: gradio-client==0.10.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (0.10.1) Requirement already satisfied: requests in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (2.31.0) Requirement already satisfied: httpx==0.24.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (0.24.1) Requirement already satisfied: uvicorn in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (0.23.2) Requirement already satisfied: fastapi in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (0.103.1) Requirement already satisfied: einops==0.6.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (0.6.1) Requirement already satisfied: einops-exts==0.0.4 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (0.0.4) Requirement already satisfied: timm==0.9.16 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from llava==1.2.0) (0.9.16) Requirement already satisfied: packaging>=20.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from accelerate==0.27.2->llava==1.2.0) (23.1) Requirement already satisfied: psutil in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from accelerate==0.27.2->llava==1.2.0) (5.9.6) Requirement already satisfied: pyyaml in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from accelerate==0.27.2->llava==1.2.0) (6.0.1) Requirement already satisfied: huggingface-hub in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from accelerate==0.27.2->llava==1.2.0) (0.21.3) Requirement already satisfied: safetensors>=0.3.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from accelerate==0.27.2->llava==1.2.0) (0.4.2) Requirement already satisfied: aiofiles<24.0,>=22.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (23.2.1) Requirement already satisfied: altair<6.0,>=4.2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (4.2.2) Requirement already satisfied: ffmpy in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (0.3.1) Requirement already satisfied: importlib-resources<7.0,>=1.3 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (6.0.1) Requirement already satisfied: jinja2<4.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (3.1.2) Requirement already satisfied: markupsafe~=2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (2.1.2) Requirement already satisfied: matplotlib~=3.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (3.7.2) Requirement already satisfied: orjson~=3.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (3.9.7) Requirement already satisfied: pandas<3.0,>=1.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (2.1.0) Requirement already satisfied: pillow<11.0,>=8.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (10.2.0) Requirement already satisfied: pydub in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (0.25.1) Requirement already satisfied: python-multipart>=0.0.9 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (0.0.9) Requirement already satisfied: ruff>=0.2.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (0.3.3) Requirement already satisfied: semantic-version~=2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (2.10.0) Requirement already satisfied: tomlkit==0.12.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (0.12.0) Requirement already satisfied: typer<1.0,>=0.9 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from typer[all]<1.0,>=0.9->gradio==4.19.2->llava==1.2.0) (0.9.0) Requirement already satisfied: typing-extensions~=4.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->llava==1.2.0) (4.10.0) Requirement already satisfied: fsspec in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio-client==0.10.1->llava==1.2.0) (2023.6.0) Requirement already satisfied: websockets<12.0,>=10.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio-client==0.10.1->llava==1.2.0) (11.0.3) Requirement already satisfied: certifi in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from httpx==0.24.1->llava==1.2.0) (2023.11.17) Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from httpx==0.24.1->llava==1.2.0) (0.17.3) Requirement already satisfied: idna in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from httpx==0.24.1->llava==1.2.0) (3.4) Requirement already satisfied: sniffio in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from httpx==0.24.1->llava==1.2.0) (1.3.0) Requirement already satisfied: tqdm in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from peft==0.9.0->llava==1.2.0) (4.66.1) Requirement already satisfied: annotated-types>=0.4.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from pydantic==2.6.1->llava==1.2.0) (0.5.0) Requirement already satisfied: pydantic-core==2.16.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from pydantic==2.6.1->llava==1.2.0) (2.16.2) Requirement already satisfied: scipy>=1.3.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from scikit-learn==1.2.2->llava==1.2.0) (1.11.2) Requirement already satisfied: joblib>=1.1.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from scikit-learn==1.2.2->llava==1.2.0) (1.3.2) Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from scikit-learn==1.2.2->llava==1.2.0) (3.2.0) Requirement already satisfied: filelock in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch==2.2.0->llava==1.2.0) (3.9.0) Requirement already satisfied: sympy in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch==2.2.0->llava==1.2.0) (1.11.1) Requirement already satisfied: networkx in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch==2.2.0->llava==1.2.0) (3.0) Requirement already satisfied: regex!=2019.12.17 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from transformers==4.37.2->llava==1.2.0) (2023.6.3) Requirement already satisfied: click>=7.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from uvicorn->llava==1.2.0) (8.1.6) Requirement already satisfied: h11>=0.8 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from uvicorn->llava==1.2.0) (0.14.0) Requirement already satisfied: anyio<4.0.0,>=3.7.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from fastapi->llava==1.2.0) (3.7.1) Requirement already satisfied: starlette<0.28.0,>=0.27.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from fastapi->llava==1.2.0) (0.27.0) Requirement already satisfied: pygments>=2.7.3 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from markdown2[all]->llava==1.2.0) (2.16.1) Requirement already satisfied: wavedrom in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from markdown2[all]->llava==1.2.0) (2.0.3.post3) Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from requests->llava==1.2.0) (3.1.0) Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from requests->llava==1.2.0) (1.26.16) Requirement already satisfied: entrypoints in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from altair<6.0,>=4.2.0->gradio==4.19.2->llava==1.2.0) (0.4) Requirement already satisfied: jsonschema>=3.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from altair<6.0,>=4.2.0->gradio==4.19.2->llava==1.2.0) (4.19.0) Requirement already satisfied: toolz in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from altair<6.0,>=4.2.0->gradio==4.19.2->llava==1.2.0) (0.12.0) Requirement already satisfied: exceptiongroup in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from anyio<4.0.0,>=3.7.1->fastapi->llava==1.2.0) (1.1.3) Requirement already satisfied: colorama in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from click>=7.0->uvicorn->llava==1.2.0) (0.4.6) Requirement already satisfied: contourpy>=1.0.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->llava==1.2.0) (1.1.0) Requirement already satisfied: cycler>=0.10 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->llava==1.2.0) (0.11.0) Requirement already satisfied: fonttools>=4.22.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->llava==1.2.0) (4.42.1) Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->llava==1.2.0) (1.4.5) Requirement already satisfied: pyparsing<3.1,>=2.3.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->llava==1.2.0) (3.0.9) Requirement already satisfied: python-dateutil>=2.7 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->llava==1.2.0) (2.8.2) Requirement already satisfied: pytz>=2020.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from pandas<3.0,>=1.0->gradio==4.19.2->llava==1.2.0) (2023.3.post1) Requirement already satisfied: tzdata>=2022.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from pandas<3.0,>=1.0->gradio==4.19.2->llava==1.2.0) (2023.3) Requirement already satisfied: shellingham<2.0.0,>=1.3.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from typer[all]<1.0,>=0.9->gradio==4.19.2->llava==1.2.0) (1.5.4) Requirement already satisfied: rich<14.0.0,>=10.11.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from typer[all]<1.0,>=0.9->gradio==4.19.2->llava==1.2.0) (13.4.1) Requirement already satisfied: mpmath>=0.19 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from sympy->torch==2.2.0->llava==1.2.0) (1.2.1) Requirement already satisfied: svgwrite in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from wavedrom->markdown2[all]->llava==1.2.0) (1.4.3) Requirement already satisfied: six in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from wavedrom->markdown2[all]->llava==1.2.0) (1.16.0) Requirement already satisfied: attrs>=22.2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->llava==1.2.0) (23.1.0) Requirement already satisfied: jsonschema-specifications>=2023.03.6 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->llava==1.2.0) (2023.7.1) Requirement already satisfied: referencing>=0.28.4 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->llava==1.2.0) (0.30.2) Requirement already satisfied: rpds-py>=0.7.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->llava==1.2.0) (0.10.2) Requirement already satisfied: markdown-it-py<3.0.0,>=2.2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from rich<14.0.0,>=10.11.0->typer[all]<1.0,>=0.9->gradio==4.19.2->llava==1.2.0) (2.2.0) Requirement already satisfied: mdurl~=0.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from markdown-it-py<3.0.0,>=2.2.0->rich<14.0.0,>=10.11.0->typer[all]<1.0,>=0.9->gradio==4.19.2->llava==1.2.0) (0.1.2) Building wheels for collected packages: llava Building editable for llava (pyproject.toml) ... done Created wheel for llava: filename=llava-1.2.0-0.editable-py3-none-any.whl size=16796 sha256=31b525427df29bd21f1deb033f004b74986afef10c5da24f8dbf89c7c5a4a5a3 Stored in directory: C:\Users\Admin\AppData\Local\Temp\pip-ephem-wheel-cache-etck7_b3\wheels\4a\34\27\6c0deb69c0a47d90287fadb2bf202b1c6329ea64831aaf9d25 Successfully built llava WARNING: Ignoring invalid distribution -rotobuf (c:\users\admin\appdata\local\programs\python\python310\lib\site-packages) Installing collected packages: llava Attempting uninstall: llava Found existing installation: llava 1.2.0 Uninstalling llava-1.2.0: Successfully uninstalled llava-1.2.0 Successfully installed llava-1.2.0 Installing other requirements. This could take a few minutes... WARNING: Ignoring invalid distribution -rotobuf (c:\users\admin\appdata\local\programs\python\python310\lib\site-packages) Requirement already satisfied: pip in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (24.0) WARNING: Ignoring invalid distribution -rotobuf (c:\users\admin\appdata\local\programs\python\python310\lib\site-packages) WARNING: Ignoring invalid distribution -rotobuf (c:\users\admin\appdata\local\programs\python\python310\lib\site-packages) Requirement already satisfied: transformers==4.37.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 1)) (4.37.2) Requirement already satisfied: transformers_stream_generator==0.0.4 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 2)) (0.0.4) Requirement already satisfied: tokenizers==0.15.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 3)) (0.15.0) Requirement already satisfied: huggingface-hub==0.21.3 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 4)) (0.21.3) Requirement already satisfied: datasets==2.14.7 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 5)) (2.14.7) Requirement already satisfied: gradio==4.19.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 6)) (4.19.2) Requirement already satisfied: gradio_client==0.10.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 7)) (0.10.1) Requirement already satisfied: peft==0.9.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 8)) (0.9.0) Requirement already satisfied: httpx==0.24.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 9)) (0.24.1) Requirement already satisfied: einops==0.6.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 10)) (0.6.1) Requirement already satisfied: einops-exts==0.0.4 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 11)) (0.0.4) Requirement already satisfied: timm==0.9.16 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 12)) (0.9.16) Requirement already satisfied: pydantic==2.6.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 13)) (2.6.1) Requirement already satisfied: pillow==10.2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 14)) (10.2.0) Requirement already satisfied: scikit-learn==1.2.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 15)) (1.2.2) Requirement already satisfied: easygui in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 16)) (0.98.3) Requirement already satisfied: open_clip_torch in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 17)) (2.20.0) Requirement already satisfied: modelscope in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 18)) (1.13.1) Requirement already satisfied: tiktoken==0.6.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 19)) (0.6.0) Requirement already satisfied: optimum==1.17.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from -r requirements.txt (line 20)) (1.17.1) Requirement already satisfied: filelock in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (3.9.0) Requirement already satisfied: numpy>=1.17 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (1.26.1) Requirement already satisfied: packaging>=20.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (23.1) Requirement already satisfied: pyyaml>=5.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (6.0.1) Requirement already satisfied: regex!=2019.12.17 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (2023.6.3) Requirement already satisfied: requests in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (2.31.0) Requirement already satisfied: safetensors>=0.4.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (0.4.2) Requirement already satisfied: tqdm>=4.27 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from transformers==4.37.2->-r requirements.txt (line 1)) (4.66.1) Requirement already satisfied: fsspec>=2023.5.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from huggingface-hub==0.21.3->-r requirements.txt (line 4)) (2023.6.0) Requirement already satisfied: typing-extensions>=3.7.4.3 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from huggingface-hub==0.21.3->-r requirements.txt (line 4)) (4.10.0) Requirement already satisfied: pyarrow>=8.0.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from datasets==2.14.7->-r requirements.txt (line 5)) (15.0.1) Requirement already satisfied: pyarrow-hotfix in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from datasets==2.14.7->-r requirements.txt (line 5)) (0.6) Requirement already satisfied: dill<0.3.8,>=0.3.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from datasets==2.14.7->-r requirements.txt (line 5)) (0.3.7) Requirement already satisfied: pandas in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from datasets==2.14.7->-r requirements.txt (line 5)) (2.1.0) Requirement already satisfied: xxhash in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from datasets==2.14.7->-r requirements.txt (line 5)) (3.4.1) Requirement already satisfied: multiprocess in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from datasets==2.14.7->-r requirements.txt (line 5)) (0.70.15) Requirement already satisfied: aiohttp in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from datasets==2.14.7->-r requirements.txt (line 5)) (3.8.5) Requirement already satisfied: aiofiles<24.0,>=22.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (23.2.1) Requirement already satisfied: altair<6.0,>=4.2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (4.2.2) Requirement already satisfied: fastapi in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.103.1) Requirement already satisfied: ffmpy in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.3.1) Requirement already satisfied: importlib-resources<7.0,>=1.3 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (6.0.1) Requirement already satisfied: jinja2<4.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (3.1.2) Requirement already satisfied: markupsafe~=2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (2.1.2) Requirement already satisfied: matplotlib~=3.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (3.7.2) Requirement already satisfied: orjson~=3.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (3.9.7) Requirement already satisfied: pydub in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.25.1) Requirement already satisfied: python-multipart>=0.0.9 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.0.9) Requirement already satisfied: ruff>=0.2.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.3.3) Requirement already satisfied: semantic-version~=2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (2.10.0) Requirement already satisfied: tomlkit==0.12.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.12.0) Requirement already satisfied: typer<1.0,>=0.9 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (0.9.0) Requirement already satisfied: uvicorn>=0.14.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio==4.19.2->-r requirements.txt (line 6)) (0.23.2) Requirement already satisfied: websockets<12.0,>=10.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from gradio_client==0.10.1->-r requirements.txt (line 7)) (11.0.3) Requirement already satisfied: psutil in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from peft==0.9.0->-r requirements.txt (line 8)) (5.9.6) Requirement already satisfied: torch>=1.13.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from peft==0.9.0->-r requirements.txt (line 8)) (2.2.0+cu118) Requirement already satisfied: accelerate>=0.21.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from peft==0.9.0->-r requirements.txt (line 8)) (0.27.2) Requirement already satisfied: certifi in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from httpx==0.24.1->-r requirements.txt (line 9)) (2023.11.17) Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from httpx==0.24.1->-r requirements.txt (line 9)) (0.17.3) Requirement already satisfied: idna in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from httpx==0.24.1->-r requirements.txt (line 9)) (3.4) Requirement already satisfied: sniffio in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from httpx==0.24.1->-r requirements.txt (line 9)) (1.3.0) Requirement already satisfied: torchvision in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from timm==0.9.16->-r requirements.txt (line 12)) (0.17.0+cu118) Requirement already satisfied: annotated-types>=0.4.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from pydantic==2.6.1->-r requirements.txt (line 13)) (0.5.0) Requirement already satisfied: pydantic-core==2.16.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from pydantic==2.6.1->-r requirements.txt (line 13)) (2.16.2) Requirement already satisfied: scipy>=1.3.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from scikit-learn==1.2.2->-r requirements.txt (line 15)) (1.11.2) Requirement already satisfied: joblib>=1.1.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from scikit-learn==1.2.2->-r requirements.txt (line 15)) (1.3.2) Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from scikit-learn==1.2.2->-r requirements.txt (line 15)) (3.2.0) Requirement already satisfied: coloredlogs in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from optimum==1.17.1->-r requirements.txt (line 20)) (15.0.1) Requirement already satisfied: sympy in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from optimum==1.17.1->-r requirements.txt (line 20)) (1.11.1) Requirement already satisfied: ftfy in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from open_clip_torch->-r requirements.txt (line 17)) (6.1.1) Requirement already satisfied: sentencepiece in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from open_clip_torch->-r requirements.txt (line 17)) (0.1.99) Requirement already satisfied: protobuf<4 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from open_clip_torch->-r requirements.txt (line 17)) (3.20.3) Requirement already satisfied: addict in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (2.4.0) Requirement already satisfied: attrs in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (23.1.0) Requirement already satisfied: gast>=0.2.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (0.4.0) Requirement already satisfied: oss2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (2.18.4) Requirement already satisfied: python-dateutil>=2.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (2.8.2) Requirement already satisfied: setuptools in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (63.2.0) Requirement already satisfied: simplejson>=3.3.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (3.19.2) Requirement already satisfied: sortedcontainers>=1.5.9 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (2.4.0) Requirement already satisfied: urllib3>=1.26 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (1.26.16) Requirement already satisfied: yapf in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from modelscope->-r requirements.txt (line 18)) (0.40.1) Requirement already satisfied: entrypoints in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.4) Requirement already satisfied: jsonschema>=3.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (4.19.0) Requirement already satisfied: toolz in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.12.0) Requirement already satisfied: charset-normalizer<4.0,>=2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5)) (3.1.0) Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5)) (6.0.4) Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5)) (4.0.3) Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5)) (1.9.2) Requirement already satisfied: frozenlist>=1.1.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5)) (1.4.0) Requirement already satisfied: aiosignal>=1.1.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->datasets==2.14.7->-r requirements.txt (line 5)) (1.3.1) Requirement already satisfied: h11<0.15,>=0.13 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from httpcore<0.18.0,>=0.15.0->httpx==0.24.1->-r requirements.txt (line 9)) (0.14.0) Requirement already satisfied: anyio<5.0,>=3.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from httpcore<0.18.0,>=0.15.0->httpx==0.24.1->-r requirements.txt (line 9)) (3.7.1) Requirement already satisfied: contourpy>=1.0.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (1.1.0) Requirement already satisfied: cycler>=0.10 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.11.0) Requirement already satisfied: fonttools>=4.22.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (4.42.1) Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (1.4.5) Requirement already satisfied: pyparsing<3.1,>=2.3.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from matplotlib~=3.0->gradio==4.19.2->-r requirements.txt (line 6)) (3.0.9) Requirement already satisfied: pytz>=2020.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from pandas->datasets==2.14.7->-r requirements.txt (line 5)) (2023.3.post1) Requirement already satisfied: tzdata>=2022.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from pandas->datasets==2.14.7->-r requirements.txt (line 5)) (2023.3) Requirement already satisfied: six>=1.5 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from python-dateutil>=2.1->modelscope->-r requirements.txt (line 18)) (1.16.0) Requirement already satisfied: networkx in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch>=1.13.0->peft==0.9.0->-r requirements.txt (line 8)) (3.0) Requirement already satisfied: colorama in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from tqdm>=4.27->transformers==4.37.2->-r requirements.txt (line 1)) (0.4.6) Requirement already satisfied: click<9.0.0,>=7.1.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from typer<1.0,>=0.9->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (8.1.6) Requirement already satisfied: shellingham<2.0.0,>=1.3.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (1.5.4) Requirement already satisfied: rich<14.0.0,>=10.11.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (13.4.1) Requirement already satisfied: humanfriendly>=9.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from coloredlogs->optimum==1.17.1->-r requirements.txt (line 20)) (10.0) Requirement already satisfied: starlette<0.28.0,>=0.27.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from fastapi->gradio==4.19.2->-r requirements.txt (line 6)) (0.27.0) Requirement already satisfied: wcwidth>=0.2.5 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from ftfy->open_clip_torch->-r requirements.txt (line 17)) (0.2.6) Requirement already satisfied: crcmod>=1.7 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from oss2->modelscope->-r requirements.txt (line 18)) (1.7) Requirement already satisfied: pycryptodome>=3.4.7 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from oss2->modelscope->-r requirements.txt (line 18)) (3.20.0) Requirement already satisfied: aliyun-python-sdk-kms>=2.4.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from oss2->modelscope->-r requirements.txt (line 18)) (2.16.2) Requirement already satisfied: aliyun-python-sdk-core>=2.13.12 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from oss2->modelscope->-r requirements.txt (line 18)) (2.15.0) Requirement already satisfied: mpmath>=0.19 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from sympy->optimum==1.17.1->-r requirements.txt (line 20)) (1.2.1) Requirement already satisfied: importlib-metadata>=6.6.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from yapf->modelscope->-r requirements.txt (line 18)) (6.8.0) Requirement already satisfied: platformdirs>=3.5.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from yapf->modelscope->-r requirements.txt (line 18)) (3.10.0) Requirement already satisfied: tomli>=2.0.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from yapf->modelscope->-r requirements.txt (line 18)) (2.0.1) Requirement already satisfied: jmespath<1.0.0,>=0.9.3 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18)) (0.10.0) Requirement already satisfied: cryptography>=2.6.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18)) (42.0.5) Requirement already satisfied: exceptiongroup in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from anyio<5.0,>=3.0->httpcore<0.18.0,>=0.15.0->httpx==0.24.1->-r requirements.txt (line 9)) (1.1.3) Requirement already satisfied: pyreadline3 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from humanfriendly>=9.1->coloredlogs->optimum==1.17.1->-r requirements.txt (line 20)) (3.4.1) Requirement already satisfied: zipp>=0.5 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from importlib-metadata>=6.6.0->yapf->modelscope->-r requirements.txt (line 18)) (3.16.2) Requirement already satisfied: jsonschema-specifications>=2023.03.6 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (2023.7.1) Requirement already satisfied: referencing>=0.28.4 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.30.2) Requirement already satisfied: rpds-py>=0.7.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio==4.19.2->-r requirements.txt (line 6)) (0.10.2) Requirement already satisfied: markdown-it-py<3.0.0,>=2.2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from rich<14.0.0,>=10.11.0->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (2.2.0) Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from rich<14.0.0,>=10.11.0->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (2.16.1) Requirement already satisfied: cffi>=1.12 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from cryptography>=2.6.0->aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18)) (1.16.0) Requirement already satisfied: mdurl~=0.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from markdown-it-py<3.0.0,>=2.2.0->rich<14.0.0,>=10.11.0->typer[all]<1.0,>=0.9->gradio==4.19.2->-r requirements.txt (line 6)) (0.1.2) Requirement already satisfied: pycparser in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from cffi>=1.12->cryptography>=2.6.0->aliyun-python-sdk-core>=2.13.12->oss2->modelscope->-r requirements.txt (line 18)) (2.21) WARNING: Ignoring invalid distribution -rotobuf (c:\users\admin\appdata\local\programs\python\python310\lib\site-packages) Found existing installation: bitsandbytes 0.43.0 Uninstalling bitsandbytes-0.43.0: Successfully uninstalled bitsandbytes-0.43.0 WARNING: Ignoring invalid distribution -rotobuf (c:\users\admin\appdata\local\programs\python\python310\lib\site-packages) Collecting bitsandbytes==0.43.0 Using cached bitsandbytes-0.43.0-py3-none-win_amd64.whl.metadata (1.9 kB) Requirement already satisfied: torch in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from bitsandbytes==0.43.0) (2.2.0+cu118) Requirement already satisfied: numpy in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from bitsandbytes==0.43.0) (1.26.1) Requirement already satisfied: filelock in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch->bitsandbytes==0.43.0) (3.9.0) Requirement already satisfied: typing-extensions>=4.8.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch->bitsandbytes==0.43.0) (4.10.0) Requirement already satisfied: sympy in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch->bitsandbytes==0.43.0) (1.11.1) Requirement already satisfied: networkx in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch->bitsandbytes==0.43.0) (3.0) Requirement already satisfied: jinja2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch->bitsandbytes==0.43.0) (3.1.2) Requirement already satisfied: fsspec in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch->bitsandbytes==0.43.0) (2023.6.0) Requirement already satisfied: MarkupSafe>=2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from jinja2->torch->bitsandbytes==0.43.0) (2.1.2) Requirement already satisfied: mpmath>=0.19 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from sympy->torch->bitsandbytes==0.43.0) (1.2.1) Using cached bitsandbytes-0.43.0-py3-none-win_amd64.whl (101.6 MB) WARNING: Ignoring invalid distribution -rotobuf (c:\users\admin\appdata\local\programs\python\python310\lib\site-packages) Installing collected packages: bitsandbytes Successfully installed bitsandbytes-0.43.0 WARNING: Ignoring invalid distribution -rotobuf (c:\users\admin\appdata\local\programs\python\python310\lib\site-packages) Collecting triton==2.1.0 Downloading https://huggingface.co/elismasilva/wheels/resolve/main/triton-2.1.0-cp310-cp310-win_amd64.whl (314.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 314.1/314.1 MB 1.0 MB/s eta 0:00:00 Requirement already satisfied: filelock in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from triton==2.1.0) (3.9.0) WARNING: Ignoring invalid distribution -rotobuf (c:\users\admin\appdata\local\programs\python\python310\lib\site-packages) WARNING: Ignoring invalid distribution -rotobuf (c:\users\admin\appdata\local\programs\python\python310\lib\site-packages) Looking in indexes: https://download.pytorch.org/whl/cu118 Requirement already satisfied: xformers==0.0.24 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (0.0.24+cu118) Requirement already satisfied: numpy in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from xformers==0.0.24) (1.26.1) Requirement already satisfied: torch==2.2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from xformers==0.0.24) (2.2.0+cu118) Requirement already satisfied: filelock in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (3.9.0) Requirement already satisfied: typing-extensions>=4.8.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (4.10.0) Requirement already satisfied: sympy in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (1.11.1) Requirement already satisfied: networkx in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (3.0) Requirement already satisfied: jinja2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (3.1.2) Requirement already satisfied: fsspec in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch==2.2.0->xformers==0.0.24) (2023.6.0) Requirement already satisfied: MarkupSafe>=2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from jinja2->torch==2.2.0->xformers==0.0.24) (2.1.2) Requirement already satisfied: mpmath>=0.19 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from sympy->torch==2.2.0->xformers==0.0.24) (1.2.1) WARNING: Ignoring invalid distribution -rotobuf (c:\users\admin\appdata\local\programs\python\python310\lib\site-packages) WARNING: Ignoring invalid distribution -rotobuf (c:\users\admin\appdata\local\programs\python\python310\lib\site-packages) Looking in indexes: https://pypi.org/simple, https://huggingface.github.io/autogptq-index/whl/cu118/ Requirement already satisfied: auto-gptq==0.7.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (0.7.1+cu118) Requirement already satisfied: accelerate>=0.26.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from auto-gptq==0.7.1) (0.27.2) Requirement already satisfied: datasets in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from auto-gptq==0.7.1) (2.14.7) Requirement already satisfied: sentencepiece in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from auto-gptq==0.7.1) (0.1.99) Requirement already satisfied: numpy in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from auto-gptq==0.7.1) (1.26.1) Requirement already satisfied: rouge in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from auto-gptq==0.7.1) (1.0.1) Requirement already satisfied: gekko in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from auto-gptq==0.7.1) (1.0.7) Requirement already satisfied: torch>=1.13.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from auto-gptq==0.7.1) (2.2.0+cu118) Requirement already satisfied: safetensors in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from auto-gptq==0.7.1) (0.4.2) Requirement already satisfied: transformers>=4.31.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from auto-gptq==0.7.1) (4.37.2) Requirement already satisfied: peft>=0.5.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from auto-gptq==0.7.1) (0.9.0) Requirement already satisfied: tqdm in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from auto-gptq==0.7.1) (4.66.1) Requirement already satisfied: packaging>=20.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from accelerate>=0.26.0->auto-gptq==0.7.1) (23.1) Requirement already satisfied: psutil in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from accelerate>=0.26.0->auto-gptq==0.7.1) (5.9.6) Requirement already satisfied: pyyaml in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from accelerate>=0.26.0->auto-gptq==0.7.1) (6.0.1) Requirement already satisfied: huggingface-hub in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from accelerate>=0.26.0->auto-gptq==0.7.1) (0.21.3) Requirement already satisfied: filelock in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (3.9.0) Requirement already satisfied: typing-extensions>=4.8.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (4.10.0) Requirement already satisfied: sympy in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (1.11.1) Requirement already satisfied: networkx in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (3.0) Requirement already satisfied: jinja2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (3.1.2) Requirement already satisfied: fsspec in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from torch>=1.13.0->auto-gptq==0.7.1) (2023.6.0) Requirement already satisfied: regex!=2019.12.17 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from transformers>=4.31.0->auto-gptq==0.7.1) (2023.6.3) Requirement already satisfied: requests in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from transformers>=4.31.0->auto-gptq==0.7.1) (2.31.0) Requirement already satisfied: tokenizers<0.19,>=0.14 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from transformers>=4.31.0->auto-gptq==0.7.1) (0.15.0) Requirement already satisfied: colorama in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from tqdm->auto-gptq==0.7.1) (0.4.6) Requirement already satisfied: pyarrow>=8.0.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from datasets->auto-gptq==0.7.1) (15.0.1) Requirement already satisfied: pyarrow-hotfix in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from datasets->auto-gptq==0.7.1) (0.6) Requirement already satisfied: dill<0.3.8,>=0.3.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from datasets->auto-gptq==0.7.1) (0.3.7) Requirement already satisfied: pandas in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from datasets->auto-gptq==0.7.1) (2.1.0) Requirement already satisfied: xxhash in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from datasets->auto-gptq==0.7.1) (3.4.1) Requirement already satisfied: multiprocess in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from datasets->auto-gptq==0.7.1) (0.70.15) Requirement already satisfied: aiohttp in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from datasets->auto-gptq==0.7.1) (3.8.5) Requirement already satisfied: six in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from rouge->auto-gptq==0.7.1) (1.16.0) Requirement already satisfied: attrs>=17.3.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (23.1.0) Requirement already satisfied: charset-normalizer<4.0,>=2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (3.1.0) Requirement already satisfied: multidict<7.0,>=4.5 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (6.0.4) Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (4.0.3) Requirement already satisfied: yarl<2.0,>=1.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (1.9.2) Requirement already satisfied: frozenlist>=1.1.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (1.4.0) Requirement already satisfied: aiosignal>=1.1.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from aiohttp->datasets->auto-gptq==0.7.1) (1.3.1) Requirement already satisfied: idna<4,>=2.5 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from requests->transformers>=4.31.0->auto-gptq==0.7.1) (3.4) Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from requests->transformers>=4.31.0->auto-gptq==0.7.1) (1.26.16) Requirement already satisfied: certifi>=2017.4.17 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from requests->transformers>=4.31.0->auto-gptq==0.7.1) (2023.11.17) Requirement already satisfied: MarkupSafe>=2.0 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from jinja2->torch>=1.13.0->auto-gptq==0.7.1) (2.1.2) Requirement already satisfied: python-dateutil>=2.8.2 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from pandas->datasets->auto-gptq==0.7.1) (2.8.2) Requirement already satisfied: pytz>=2020.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from pandas->datasets->auto-gptq==0.7.1) (2023.3.post1) Requirement already satisfied: tzdata>=2022.1 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from pandas->datasets->auto-gptq==0.7.1) (2023.3) Requirement already satisfied: mpmath>=0.19 in c:\users\admin\appdata\local\programs\python\python310\lib\site-packages (from sympy->torch>=1.13.0->auto-gptq==0.7.1) (1.2.1) WARNING: Ignoring invalid distribution -rotobuf (c:\users\admin\appdata\local\programs\python\python310\lib\site-packages) Patching PIL... The system cannot find the path specified. 0 file(s) copied. Patching Gradio... The system cannot find the path specified. 0 file(s) copied.

All done!. Launch 'start.bat'. Press any key to continue . . .

elismasilva commented 6 months ago

From what I could see it seems that python is unable to recognize the path where the program folder is because your path has 'space' in the name try renaming your 'Stable diffusion' folder to 'Stable-diffusion', this is preventing it To access venv correctly, delete the image-interrogator directory and repeat the installation again by cloning and running install_windows.bat

BenDes21 commented 6 months ago

From what I could see it seems that python is unable to recognize the path where the program folder is because your path has 'space' in the name try renaming your 'Stable diffusion' folder to 'Stable-diffusion', this is preventing it To access venv correctly, delete the image-interrogator directory and repeat the installation again by cloning and running install_windows.bat

Thanks !!! it's working, I tested moondream 2 and it's work.

Im now trying cogvlm 4 bit ( it's supposed to use 10.8gb Vram and 11gb / 12 gb are available on my setup 0 but I get :

value_states = torch.cat([past_key_value[1], value_states], dim=2) torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 12.00 MiB. GPU 0 has a total capacity of 11.99 GiB of which 0 bytes is free. Of the allocated memory 11.02 GiB is allocated by PyTorch, and 164.12 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables) Running with this settings...

Do you if they're is a setting to tweak for avoid this issue ? Thanks

elismasilva commented 6 months ago

if used clip model at same time its will use more vram at first run, then you can load clip with other low model and after it is downloaded you can try the same clip with cogvlm. Now, if you are using only caption model alone then you can try sugestion in log edit start.bat on notepad, at second line 'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:True with comma separated at end of line in sequence the others param there, save .bat and try again. If it not solves check on taskmanager how much you video card memory as using on idle model it not be more than 0,8gb you need close all program process that use gpu before, i have only 8gb video card and it runs normally because i have 32gb gpu shared memory from mother board too. Disabla hardware acceleration from chrome and edge in advanced optiona because its runs on background, Spotify, outllok this is others program that use gpu too much. Let me know..

BenDes21 commented 6 months ago

'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:Tru

Thanks a lot! 'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:True working for me !

Perfect, do you know if its possible to generate the caption directly into the images folder ( instead of in the ouput folder )

Thanks again

elismasilva commented 6 months ago

'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:True

Thanks a lot! 'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:True working for me !

Perfect, do you know if its possible to generate the caption directly into the images folder ( instead of in the ouput folder )

Thanks again

For batching mode i think its possible in a new version, but for single image gradio dont provide for me original patch because it copy images to temp user folder. Open a feature request in Issues for i dont forget it

BenDes21 commented 6 months ago

'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:Tru

Thanks a lot! 'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:True working for me ! Perfect, do you know if its possible to generate the caption directly into the images folder ( instead of in the ouput folder ) Thanks again

For batching mode i think its possible in a new version, but for single image gradio dont provide for me original patch because it copy images to temp user folder. Open a feature request in Issues for i dont forget it

Thanks will do it :), one last thing, I got " Image size (135277032 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack. " when I tried to batch process a folder, I guess images are too big so I modified the variable MAX_IMAGE_PIXELS to None but now Im getting :

_File "C:\Users\Admin\Documents\image-interrogator\image-interrogator.py", line 496, in batch_process image = Image.open(img_path).convert('RGB') File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\Image.py", line 924, in convert self.load() File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\ImageFile.py", line 238, in load self.load_prepare() File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\ImageFile.py", line 317, in loadprepare self.im = Image.core.new(self.mode, self.size)

Do you know how to fix this issue ? Thanks :)

elismasilva commented 6 months ago

'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:Tru

Thanks a lot! 'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:True working for me ! Perfect, do you know if its possible to generate the caption directly into the images folder ( instead of in the ouput folder ) Thanks again

For batching mode i think its possible in a new version, but for single image gradio dont provide for me original patch because it copy images to temp user folder. Open a feature request in Issues for i dont forget it

Thanks will do it :), one last thing, I got " Image size (135277032 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack. " when I tried to batch process a folder, I guess images are too big so I modified the variable MAX_IMAGE_PIXELS to None but now Im getting :

_File "C:\Users\Admin\Documents\image-interrogator\image-interrogator.py", line 496, in batch_process image = Image.open(img_path).convert('RGB') File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\Image.py", line 924, in convert self.load() File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\ImageFile.py", line 238, in load self.load_prepare() File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\ImageFile.py", line 317, in loadprepare self.im = Image.core.new(self.mode, self.size)

Do you know how to fix this issue ? Thanks :)

good question, I haven't tested with such large images, in fact I don't know if the models are suitable for large images, I think each one may also have a limitation, but this limitation is the image component of the gradio, I will need to investigate.

BenDes21 commented 6 months ago

'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:Tru

Thanks a lot! 'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:True working for me ! Perfect, do you know if its possible to generate the caption directly into the images folder ( instead of in the ouput folder ) Thanks again

For batching mode i think its possible in a new version, but for single image gradio dont provide for me original patch because it copy images to temp user folder. Open a feature request in Issues for i dont forget it

Thanks will do it :), one last thing, I got " Image size (135277032 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack. " when I tried to batch process a folder, I guess images are too big so I modified the variable MAX_IMAGE_PIXELS to None but now Im getting : _File "C:\Users\Admin\Documents\image-interrogator\image-interrogator.py", line 496, in batch_process image = Image.open(img_path).convert('RGB') File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\Image.py", line 924, in convert self.load() File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\ImageFile.py", line 238, in load self.load_prepare() File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\ImageFile.py", line 317, in loadprepare self.im = Image.core.new(self.mode, self.size) Do you know how to fix this issue ? Thanks :)

good question, I haven't tested with such large images, in fact I don't know if the models are suitable for large images, I think each one may also have a limitation, but this limitation is the image component of the gradio, I will need to investigate.

Ok I just did a test with only one image ( big size / resolution ) and its worked so the problem is that the script not handle big batch processing ( my folder contain 5000 images ), if you have any solution for that let me know :P ( I cannot split the folder in different part because I have 11 more folders with the same amount of images )

elismasilva commented 6 months ago

'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:Tru

Thanks a lot! 'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:True working for me ! Perfect, do you know if its possible to generate the caption directly into the images folder ( instead of in the ouput folder ) Thanks again

For batching mode i think its possible in a new version, but for single image gradio dont provide for me original patch because it copy images to temp user folder. Open a feature request in Issues for i dont forget it

Thanks will do it :), one last thing, I got " Image size (135277032 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack. " when I tried to batch process a folder, I guess images are too big so I modified the variable MAX_IMAGE_PIXELS to None but now Im getting : _File "C:\Users\Admin\Documents\image-interrogator\image-interrogator.py", line 496, in batch_process image = Image.open(img_path).convert('RGB') File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\Image.py", line 924, in convert self.load() File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\ImageFile.py", line 238, in load self.load_prepare() File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\ImageFile.py", line 317, in loadprepare self.im = Image.core.new(self.mode, self.size) Do you know how to fix this issue ? Thanks :)

good question, I haven't tested with such large images, in fact I don't know if the models are suitable for large images, I think each one may also have a limitation, but this limitation is the image component of the gradio, I will need to investigate.

Ok I just did a test with only one image ( big size / resolution ) and its worked so the problem is that the script not handle big batch processing ( my folder contain 5000 images ), if you have any solution for that let me know :P ( I cannot split the folder in different part because I have 11 more folders with the same amount of images )

its is very strange because script handle batch in 8 images per once. Now if you use big images i think the vram consuption will be high, maybe is better make a resize image before to 1024x1024 e.g and generate captions. If it is usefull can be anoyher feature to automatically resize before caption.

elismasilva commented 6 months ago

'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:Tru

Thanks a lot! 'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:True working for me ! Perfect, do you know if its possible to generate the caption directly into the images folder ( instead of in the ouput folder ) Thanks again

For batching mode i think its possible in a new version, but for single image gradio dont provide for me original patch because it copy images to temp user folder. Open a feature request in Issues for i dont forget it

Thanks will do it :), one last thing, I got " Image size (135277032 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack. " when I tried to batch process a folder, I guess images are too big so I modified the variable MAX_IMAGE_PIXELS to None but now Im getting : _File "C:\Users\Admin\Documents\image-interrogator\image-interrogator.py", line 496, in batch_process image = Image.open(img_path).convert('RGB') File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\Image.py", line 924, in convert self.load() File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\ImageFile.py", line 238, in load self.load_prepare() File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\ImageFile.py", line 317, in loadprepare self.im = Image.core.new(self.mode, self.size) Do you know how to fix this issue ? Thanks :)

good question, I haven't tested with such large images, in fact I don't know if the models are suitable for large images, I think each one may also have a limitation, but this limitation is the image component of the gradio, I will need to investigate.

Ok I just did a test with only one image ( big size / resolution ) and its worked so the problem is that the script not handle big batch processing ( my folder contain 5000 images ), if you have any solution for that let me know :P ( I cannot split the folder in different part because I have 11 more folders with the same amount of images )

tell me what models you are testing for i reproduce on my side with tests

BenDes21 commented 6 months ago

'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:Tru

Thanks a lot! 'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:True working for me ! Perfect, do you know if its possible to generate the caption directly into the images folder ( instead of in the ouput folder ) Thanks again

For batching mode i think its possible in a new version, but for single image gradio dont provide for me original patch because it copy images to temp user folder. Open a feature request in Issues for i dont forget it

Thanks will do it :), one last thing, I got " Image size (135277032 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack. " when I tried to batch process a folder, I guess images are too big so I modified the variable MAX_IMAGE_PIXELS to None but now Im getting : _File "C:\Users\Admin\Documents\image-interrogator\image-interrogator.py", line 496, in batch_process image = Image.open(img_path).convert('RGB') File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\Image.py", line 924, in convert self.load() File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\ImageFile.py", line 238, in load self.load_prepare() File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\ImageFile.py", line 317, in loadprepare self.im = Image.core.new(self.mode, self.size) Do you know how to fix this issue ? Thanks :)

good question, I haven't tested with such large images, in fact I don't know if the models are suitable for large images, I think each one may also have a limitation, but this limitation is the image component of the gradio, I will need to investigate.

Ok I just did a test with only one image ( big size / resolution ) and its worked so the problem is that the script not handle big batch processing ( my folder contain 5000 images ), if you have any solution for that let me know :P ( I cannot split the folder in different part because I have 11 more folders with the same amount of images )

tell me what models you are testing for i reproduce on my side with tests

cogagent-vqa-hf 4 bits with single image ( resolution 6000x6000+ ) working but on a folder of 5000 images I got the errors showed

elismasilva commented 6 months ago

'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:Tru

Thanks a lot! 'PYTORCH_CUDA_ALLOC_CONF=' include ,expandable_segments:True working for me ! Perfect, do you know if its possible to generate the caption directly into the images folder ( instead of in the ouput folder ) Thanks again

For batching mode i think its possible in a new version, but for single image gradio dont provide for me original patch because it copy images to temp user folder. Open a feature request in Issues for i dont forget it

Thanks will do it :), one last thing, I got " Image size (135277032 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack. " when I tried to batch process a folder, I guess images are too big so I modified the variable MAX_IMAGE_PIXELS to None but now Im getting : _File "C:\Users\Admin\Documents\image-interrogator\image-interrogator.py", line 496, in batch_process image = Image.open(img_path).convert('RGB') File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\Image.py", line 924, in convert self.load() File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\ImageFile.py", line 238, in load self.load_prepare() File "C:\Users\Admin\Documents\image-interrogator\venv\lib\site-packages\PIL\ImageFile.py", line 317, in loadprepare self.im = Image.core.new(self.mode, self.size) Do you know how to fix this issue ? Thanks :)

good question, I haven't tested with such large images, in fact I don't know if the models are suitable for large images, I think each one may also have a limitation, but this limitation is the image component of the gradio, I will need to investigate.

Ok I just did a test with only one image ( big size / resolution ) and its worked so the problem is that the script not handle big batch processing ( my folder contain 5000 images ), if you have any solution for that let me know :P ( I cannot split the folder in different part because I have 11 more folders with the same amount of images )

tell me what models you are testing for i reproduce on my side with tests

cogagent-vqa-hf 4 bits with single image ( resolution 6000x6000+ ) working but on a folder of 5000 images I got the errors showed

I dont have images with this resolution, but i have 4k images about 5000x5000 and i got memory error because it uses 64gb+ more to load in memory before do batching caption.

I think I will have to make some adjustments like:

elismasilva commented 6 months ago

I don't have time right now to make these adjustments, but I will as soon as possible. What you can try now to get around this situation is to create folders with fewer images around 500 or 1k to test. If you have a problem with resolution, then resize the images to a smaller size before creating the caption, keeping the same name after you capture the txt files and place them in the image's original folder

BenDes21 commented 6 months ago

I don't have time right now to make these adjustments, but I will as soon as possible. What you can try now to get around this situation is to create folders with fewer images around 500 or 1k to test. If you have a problem with resolution, then resize the images to a smaller size before creating the caption, keeping the same name after you capture the txt files and place them in the image's original folder

thanks, your first point ( Do not load them all into memory beforehand, but only load them at the time of the batch when it is running every 8, this will save memory. ) is the main issue, captioning a single ultra HD image work correctly. I tried to lower from 5000 images to 1000 but the problem still appear. Im gonna use taggui for the captionning, let us know for the fix :) Thanks

elismasilva commented 6 months ago

I don't have time right now to make these adjustments, but I will as soon as possible. What you can try now to get around this situation is to create folders with fewer images around 500 or 1k to test. If you have a problem with resolution, then resize the images to a smaller size before creating the caption, keeping the same name after you capture the txt files and place them in the image's original folder

thanks, your first point ( Do not load them all into memory beforehand, but only load them at the time of the batch when it is running every 8, this will save memory. ) is the main issue, captioning a single ultra HD image work correctly. I tried to lower from 5000 images to 1000 but the problem still appear. Im gonna use taggui for the captionning, let us know for the fix :) Thanks

ive tested Cogvlm for 8 images and it is very slow to return caption, i resized to 512x512 and nothing changed in speedy then i think image change dont matter. Then i tested it on taggui and Cogvlm run slow there too.

elismasilva commented 6 months ago

I don't have time right now to make these adjustments, but I will as soon as possible. What you can try now to get around this situation is to create folders with fewer images around 500 or 1k to test. If you have a problem with resolution, then resize the images to a smaller size before creating the caption, keeping the same name after you capture the txt files and place them in the image's original folder

thanks, your first point ( Do not load them all into memory beforehand, but only load them at the time of the batch when it is running every 8, this will save memory. ) is the main issue, captioning a single ultra HD image work correctly. I tried to lower from 5000 images to 1000 but the problem still appear. Im gonna use taggui for the captionning, let us know for the fix :) Thanks

i have made fixes to reduce load batching now, and added option to save caption in original path. In any case, CogVLM on a video card with less than 12GB should run very slowly if you start using shared memory.

Do git checkout dev in your image-interrogator folder, maybe you will need do git stash before git checkout.

On interface you will find option "Generate caption in the original path instead of the output folder" its works only for batch mode, in single file its on output folder. Let me know ...

BenDes21 commented 6 months ago

I don't have time right now to make these adjustments, but I will as soon as possible. What you can try now to get around this situation is to create folders with fewer images around 500 or 1k to test. If you have a problem with resolution, then resize the images to a smaller size before creating the caption, keeping the same name after you capture the txt files and place them in the image's original folder

thanks, your first point ( Do not load them all into memory beforehand, but only load them at the time of the batch when it is running every 8, this will save memory. ) is the main issue, captioning a single ultra HD image work correctly. I tried to lower from 5000 images to 1000 but the problem still appear. Im gonna use taggui for the captionning, let us know for the fix :) Thanks

i have made fixes to reduce load batching now, and added option to save caption in original path. In any case, CogVLM on a video card with less than 12GB should run very slowly if you start using shared memory.

Do git checkout dev in your image-interrogator folder, maybe you will need do git stash before git checkout.

On interface you will find option "Generate caption in the original path instead of the output folder" its works only for batch mode, in single file its on output folder. Let me know ...

Thanks a lot, gonna try today and will let you know. Thanks again for you time

BenDes21 commented 6 months ago

I don't have time right now to make these adjustments, but I will as soon as possible. What you can try now to get around this situation is to create folders with fewer images around 500 or 1k to test. If you have a problem with resolution, then resize the images to a smaller size before creating the caption, keeping the same name after you capture the txt files and place them in the image's original folder

thanks, your first point ( Do not load them all into memory beforehand, but only load them at the time of the batch when it is running every 8, this will save memory. ) is the main issue, captioning a single ultra HD image work correctly. I tried to lower from 5000 images to 1000 but the problem still appear. Im gonna use taggui for the captionning, let us know for the fix :) Thanks

i have made fixes to reduce load batching now, and added option to save caption in original path. In any case, CogVLM on a video card with less than 12GB should run very slowly if you start using shared memory.

Do git checkout dev in your image-interrogator folder, maybe you will need do git stash before git checkout.

On interface you will find option "Generate caption in the original path instead of the output folder" its works only for batch mode, in single file its on output folder. Let me know ...

Hi, it's seems to work now thanks you ! Also the new feature is very useful

elismasilva commented 6 months ago

I don't have time right now to make these adjustments, but I will as soon as possible. What you can try now to get around this situation is to create folders with fewer images around 500 or 1k to test. If you have a problem with resolution, then resize the images to a smaller size before creating the caption, keeping the same name after you capture the txt files and place them in the image's original folder

thanks, your first point ( Do not load them all into memory beforehand, but only load them at the time of the batch when it is running every 8, this will save memory. ) is the main issue, captioning a single ultra HD image work correctly. I tried to lower from 5000 images to 1000 but the problem still appear. Im gonna use taggui for the captionning, let us know for the fix :) Thanks

i have made fixes to reduce load batching now, and added option to save caption in original path. In any case, CogVLM on a video card with less than 12GB should run very slowly if you start using shared memory. Do git checkout dev in your image-interrogator folder, maybe you will need do git stash before git checkout. On interface you will find option "Generate caption in the original path instead of the output folder" its works only for batch mode, in single file its on output folder. Let me know ...

Hi, it's seems to work now thanks you ! Also the new feature is very useful

Ok for now stay in the dev branch of the repository, when I release the new version with these changes you go back to the master branch with git checkout master. I will close this topic if you have any problem, you open a new one, thanks!