epic-miner / epic-miner-Fooocus-Sagemaker-Studio-Lab

https://youtu.be/rO9Jp88YFE0?si=KRvc-BKfnXL4FT1M
MIT License
5 stars 8 forks source link

Traceback (most recent call last) In Fooocus-Sagemaker-Studio-Lab #2

Open techsurajstatus287 opened 3 months ago

techsurajstatus287 commented 3 months ago

(studiolab) studio-lab-user@default:~/epic-miner-Fooocus-Sagemaker-Studio-Lab$ sh start.sh Already up to date. Channels:

Downloading and Extracting Packages:

Preparing transaction: done Verifying transaction: done Executing transaction: done #

To activate this environment, use

#

$ conda activate fooocus

#

To deactivate an active environment, use

#

$ conda deactivate

/home/studio-lab-user/epic-miner-Fooocus-Sagemaker-Studio-Lab/Fooocus Dockerfile config_modification_tutorial.txt experiments_face.py ldm_patched requirements_versions.txt Fooocus css experiments_interrogate.py models sdxl_styles LICENSE docker-compose.yml extras modules shared.py pycache docker.md fooocus_colab.ipynb notification-example.ogg troubleshoot.md args_manager.py entry_with_update.py fooocus_version.py outputs update_log.md auth-example.json entrypoint.sh javascript presets webui.py build_launcher.py environment.yaml language readme.md wildcards config.txt experiments_expansion.py launch.py requirements_docker.txt Collecting torchsde==0.2.5 Using cached torchsde-0.2.5-py3-none-any.whl (59 kB) Collecting einops==0.4.1 Using cached einops-0.4.1-py3-none-any.whl (28 kB) Collecting transformers==4.30.2 Using cached transformers-4.30.2-py3-none-any.whl (7.2 MB) Collecting safetensors==0.3.1 Downloading safetensors-0.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 14.3 MB/s eta 0:00:00 Collecting accelerate==0.21.0 Using cached accelerate-0.21.0-py3-none-any.whl (244 kB) Collecting pyyaml==6.0 Downloading PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (682 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 682.2/682.2 kB 47.4 MB/s eta 0:00:00 Collecting Pillow==9.2.0 Using cached Pillow-9.2.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.2 MB) Collecting scipy==1.9.3 Downloading scipy-1.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 33.7/33.7 MB 24.7 MB/s eta 0:00:00 Collecting tqdm==4.64.1 Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB) Collecting psutil==5.9.5 Using cached psutil-5.9.5-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (282 kB) Collecting pytorch_lightning==1.9.4 Using cached pytorch_lightning-1.9.4-py3-none-any.whl (827 kB) Collecting omegaconf==2.2.3 Using cached omegaconf-2.2.3-py3-none-any.whl (79 kB) Collecting gradio==3.41.2 Using cached gradio-3.41.2-py3-none-any.whl (20.1 MB) Collecting pygit2==1.12.2 Downloading pygit2-1.12.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 108.1 MB/s eta 0:00:00 Collecting opencv-contrib-python==4.8.0.74 Using cached opencv_contrib_python-4.8.0.74-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (67.8 MB) Collecting httpx==0.24.1 Using cached httpx-0.24.1-py3-none-any.whl (75 kB) Collecting onnxruntime==1.16.3 Downloading onnxruntime-1.16.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.4/6.4 MB 101.9 MB/s eta 0:00:00 Collecting timm==0.9.2 Using cached timm-0.9.2-py3-none-any.whl (2.2 MB) Collecting boltons>=20.2.1 Using cached boltons-23.1.1-py2.py3-none-any.whl (195 kB) Collecting torch>=1.6.0 Downloading torch-2.2.2-cp310-cp310-manylinux1_x86_64.whl (755.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 755.5/755.5 MB 1.6 MB/s eta 0:00:00 Collecting trampoline>=0.1.2 Using cached trampoline-0.1.2-py3-none-any.whl (5.2 kB) Collecting numpy>=1.19. Downloading numpy-2.0.0b1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.3/19.3 MB 80.0 MB/s eta 0:00:00 Collecting requests Downloading requests-2.31.0-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 19.6 MB/s eta 0:00:00 Collecting huggingface-hub<1.0,>=0.14.1 Using cached huggingface_hub-0.22.2-py3-none-any.whl (388 kB) Collecting filelock Using cached filelock-3.13.3-py3-none-any.whl (11 kB) Collecting tokenizers!=0.11.3,<0.14,>=0.11.1 Downloading tokenizers-0.13.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/7.8 MB 114.0 MB/s eta 0:00:00 Collecting numpy>=1.19. Downloading numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 79.4 MB/s eta 0:00:00 Collecting regex!=2019.12.17 Downloading regex-2023.12.25-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (773 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 774.0/774.0 kB 85.3 MB/s eta 0:00:00 Requirement already satisfied: packaging>=20.0 in /tmp/fooocus/lib/python3.10/site-packages (from transformers==4.30.2->-r requirements_versions.txt (line 3)) (23.2) Collecting numpy>=1.19. Using cached numpy-1.25.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB) Collecting lightning-utilities>=0.6.0.post0 Using cached lightning_utilities-0.11.2-py3-none-any.whl (26 kB) Collecting torchmetrics>=0.7.0 Using cached torchmetrics-1.3.2-py3-none-any.whl (841 kB) Collecting typing-extensions>=4.0.0 Using cached typing_extensions-4.10.0-py3-none-any.whl (33 kB) Collecting fsspec[http]>2021.06.0 Using cached fsspec-2024.3.1-py3-none-any.whl (171 kB) Collecting antlr4-python3-runtime==4.9. Using cached antlr4-python3-runtime-4.9.3.tar.gz (117 kB) Preparing metadata (setup.py) ... done Collecting matplotlib~=3.0 Downloading matplotlib-3.8.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.6/11.6 MB 97.3 MB/s eta 0:00:00 Collecting aiofiles<24.0,>=22.0 Using cached aiofiles-23.2.1-py3-none-any.whl (15 kB) Collecting fastapi Using cached fastapi-0.110.0-py3-none-any.whl (92 kB) Collecting altair<6.0,>=4.2.0 Using cached altair-5.2.0-py3-none-any.whl (996 kB) Collecting websockets<12.0,>=10.0 Downloading websockets-11.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (129 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 129.9/129.9 kB 32.6 MB/s eta 0:00:00 Collecting python-multipart Using cached python_multipart-0.0.9-py3-none-any.whl (22 kB) Collecting pandas<3.0,>=1.0 Downloading pandas-2.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.0/13.0 MB 104.9 MB/s eta 0:00:00 Collecting semantic-version~=2.0 Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Collecting pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0,>=1.7.4 Using cached pydantic-2.6.4-py3-none-any.whl (394 kB) Collecting jinja2<4.0 Downloading Jinja2-3.1.3-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.2/133.2 kB 33.1 MB/s eta 0:00:00 Collecting gradio-client==0.5.0 Using cached gradio_client-0.5.0-py3-none-any.whl (298 kB) Collecting importlib-resources<7.0,>=1.3 Downloading importlib_resources-6.4.0-py3-none-any.whl (38 kB) Collecting pydub Using cached pydub-0.25.1-py2.py3-none-any.whl (32 kB) Collecting markupsafe~=2.0 Downloading MarkupSafe-2.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting uvicorn>=0.14.0 Using cached uvicorn-0.29.0-py3-none-any.whl (60 kB) Collecting orjson~=3.0 Downloading orjson-3.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (144 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 144.8/144.8 kB 38.3 MB/s eta 0:00:00 Collecting ffmpy Using cached ffmpy-0.3.2.tar.gz (5.5 kB) Preparing metadata (setup.py) ... done Collecting cffi>=1.9.1 Downloading cffi-1.16.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (443 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 443.9/443.9 kB 62.6 MB/s eta 0:00:00 Collecting sniffio Downloading sniffio-1.3.1-py3-none-any.whl (10 kB) Collecting certifi Downloading certifi-2024.2.2-py3-none-any.whl (163 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.8/163.8 kB 39.7 MB/s eta 0:00:00 Collecting httpcore<0.18.0,>=0.15.0 Using cached httpcore-0.17.3-py3-none-any.whl (74 kB) Collecting idna Downloading idna-3.6-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 17.6 MB/s eta 0:00:00 Collecting sympy Using cached sympy-1.12-py3-none-any.whl (5.7 MB) Collecting coloredlogs Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB) Collecting protobuf Using cached protobuf-5.26.1-cp37-abi3-manylinux2014_x86_64.whl (302 kB) Collecting flatbuffers Using cached flatbuffers-24.3.25-py2.py3-none-any.whl (26 kB) Collecting torchvision Downloading torchvision-0.17.2-cp310-cp310-manylinux1_x86_64.whl (6.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.9/6.9 MB 116.8 MB/s eta 0:00:00 Collecting jsonschema>=3.0 Downloading jsonschema-4.21.1-py3-none-any.whl (85 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.5/85.5 kB 22.9 MB/s eta 0:00:00 Collecting toolz Using cached toolz-0.12.1-py3-none-any.whl (56 kB) Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 29.6 MB/s eta 0:00:00 Collecting aiohttp!=4.0.0a0,!=4.0.0a1 Downloading aiohttp-3.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 91.9 MB/s eta 0:00:00 Collecting anyio<5.0,>=3.0 Downloading anyio-4.3.0-py3-none-any.whl (85 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.6/85.6 kB 19.6 MB/s eta 0:00:00 Collecting h11<0.15,>=0.13 Using cached h11-0.14.0-py3-none-any.whl (58 kB) Requirement already satisfied: setuptools in /tmp/fooocus/lib/python3.10/site-packages (from lightning-utilities>=0.6.0.post0->pytorch_lightning==1.9.4->-r requirements_versions.txt (line 11)) (68.2.2) Collecting contourpy>=1.0.1 Downloading contourpy-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (310 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 310.7/310.7 kB 52.9 MB/s eta 0:00:00 Collecting fonttools>=4.22.0 Downloading fonttools-4.50.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.6/4.6 MB 123.3 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 42.8 MB/s eta 0:00:00 Collecting kiwisolver>=1.3.1 Downloading kiwisolver-1.4.5-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 109.2 MB/s eta 0:00:00 Collecting cycler>=0.10 Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB) Collecting pyparsing>=2.3.1 Using cached pyparsing-3.1.2-py3-none-any.whl (103 kB) Collecting tzdata>=2022.7 Using cached tzdata-2024.1-py2.py3-none-any.whl (345 kB) Collecting pytz>=2020.1 Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 505.5/505.5 kB 69.8 MB/s eta 0:00:00 Collecting annotated-types>=0.4.0 Using cached annotated_types-0.6.0-py3-none-any.whl (12 kB) Collecting pydantic-core==2.16.3 Downloading pydantic_core-2.16.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 119.6 MB/s eta 0:00:00 Collecting charset-normalizer<4,>=2 Downloading charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.1/142.1 kB 35.2 MB/s eta 0:00:00 Collecting urllib3<3,>=1.21.1 Downloading urllib3-2.2.1-py3-none-any.whl (121 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.1/121.1 kB 30.6 MB/s eta 0:00:00 Collecting nvidia-cuda-nvrtc-cu12==12.1.105 Using cached nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (23.7 MB) Collecting nvidia-cusparse-cu12==12.1.0.106 Using cached nvidia_cusparse_cu12-12.1.0.106-py3-none-manylinux1_x86_64.whl (196.0 MB) Collecting networkx Using cached networkx-3.2.1-py3-none-any.whl (1.6 MB) Collecting nvidia-cufft-cu12==11.0.2.54 Using cached nvidia_cufft_cu12-11.0.2.54-py3-none-manylinux1_x86_64.whl (121.6 MB) Collecting nvidia-nvtx-cu12==12.1.105 Using cached nvidia_nvtx_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (99 kB) Collecting nvidia-cuda-runtime-cu12==12.1.105 Using cached nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (823 kB) Collecting nvidia-cudnn-cu12==8.9.2.26 Using cached nvidia_cudnn_cu12-8.9.2.26-py3-none-manylinux1_x86_64.whl (731.7 MB) Collecting nvidia-curand-cu12==10.3.2.106 Using cached nvidia_curand_cu12-10.3.2.106-py3-none-manylinux1_x86_64.whl (56.5 MB) Collecting nvidia-nccl-cu12==2.19.3 Using cached nvidia_nccl_cu12-2.19.3-py3-none-manylinux1_x86_64.whl (166.0 MB) Collecting triton==2.2.0 Downloading triton-2.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (167.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 167.9/167.9 MB 13.6 MB/s eta 0:00:00 Collecting nvidia-cuda-cupti-cu12==12.1.105 Using cached nvidia_cuda_cupti_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (14.1 MB) Collecting nvidia-cublas-cu12==12.1.3.1 Using cached nvidia_cublas_cu12-12.1.3.1-py3-none-manylinux1_x86_64.whl (410.6 MB) Collecting nvidia-cusolver-cu12==11.4.5.107 Using cached nvidia_cusolver_cu12-11.4.5.107-py3-none-manylinux1_x86_64.whl (124.2 MB) Collecting nvidia-nvjitlink-cu12 Using cached nvidia_nvjitlink_cu12-12.4.99-py3-none-manylinux2014_x86_64.whl (21.1 MB) Collecting click>=7.0 Using cached click-8.1.7-py3-none-any.whl (97 kB) Collecting humanfriendly>=9.1 Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB) Collecting starlette<0.37.0,>=0.36.3 Using cached starlette-0.36.3-py3-none-any.whl (71 kB) Collecting mpmath>=0.19 Using cached mpmath-1.3.0-py3-none-any.whl (536 kB) Collecting frozenlist>=1.1.1 Downloading frozenlist-1.4.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (239 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 239.5/239.5 kB 48.7 MB/s eta 0:00:00 Collecting yarl<2.0,>=1.0 Downloading yarl-1.9.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (301 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 301.6/301.6 kB 53.2 MB/s eta 0:00:00 Collecting attrs>=17.3.0 Downloading attrs-23.2.0-py3-none-any.whl (60 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.8/60.8 kB 14.4 MB/s eta 0:00:00 Collecting async-timeout<5.0,>=4.0 Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB) Collecting aiosignal>=1.1.2 Using cached aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Collecting multidict<7.0,>=4.5 Downloading multidict-6.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (124 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.3/124.3 kB 27.8 MB/s eta 0:00:00 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-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 93.5 MB/s eta 0:00:00 Collecting jsonschema-specifications>=2023.03.6 Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB) Collecting referencing>=0.28.4 Downloading referencing-0.34.0-py3-none-any.whl (26 kB) Collecting six>=1.5 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Building wheels for collected packages: antlr4-python3-runtime, ffmpy Building wheel for antlr4-python3-runtime (setup.py) ... done Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144554 sha256=e7b4f83f4f99ce0be5f1eb1366efde95d42b62afda8398707d010fd95e8c3293 Stored in directory: /home/studio-lab-user/.cache/pip/wheels/12/93/dd/1f6a127edc45659556564c5730f6d4e300888f4bca2d4c5a88 Building wheel for ffmpy (setup.py) ... done Created wheel for ffmpy: filename=ffmpy-0.3.2-py3-none-any.whl size=5582 sha256=85d8bddf6dab62a94a7eba63edaa7035cd969f4080912bc3ba2ad3f85180bff3 Stored in directory: /home/studio-lab-user/.cache/pip/wheels/bd/65/9a/671fc6dcde07d4418df0c592f8df512b26d7a0029c2a23dd81 Successfully built antlr4-python3-runtime ffmpy Installing collected packages: trampoline, tokenizers, safetensors, pytz, pydub, mpmath, flatbuffers, ffmpy, einops, boltons, antlr4-python3-runtime, websockets, urllib3, tzdata, typing-extensions, tqdm, toolz, sympy, sniffio, six, semantic-version, rpds-py, regex, pyyaml, python-multipart, pyparsing, pycparser, psutil, protobuf, Pillow, orjson, nvidia-nvtx-cu12, nvidia-nvjitlink-cu12, nvidia-nccl-cu12, nvidia-curand-cu12, nvidia-cufft-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, numpy, networkx, multidict, markupsafe, kiwisolver, importlib-resources, idna, humanfriendly, h11, fsspec, frozenlist, fonttools, filelock, exceptiongroup, cycler, click, charset-normalizer, certifi, attrs, async-timeout, annotated-types, aiofiles, yarl, uvicorn, triton, scipy, requests, referencing, python-dateutil, pydantic-core, opencv-contrib-python, omegaconf, nvidia-cusparse-cu12, nvidia-cudnn-cu12, lightning-utilities, jinja2, contourpy, coloredlogs, cffi, anyio, aiosignal, starlette, pygit2, pydantic, pandas, onnxruntime, nvidia-cusolver-cu12, matplotlib, jsonschema-specifications, huggingface-hub, httpcore, aiohttp, transformers, torch, jsonschema, httpx, fastapi, torchvision, torchsde, torchmetrics, gradio-client, altair, accelerate, timm, pytorch_lightning, gradio Successfully installed Pillow-9.2.0 accelerate-0.21.0 aiofiles-23.2.1 aiohttp-3.9.3 aiosignal-1.3.1 altair-5.2.0 annotated-types-0.6.0 antlr4-python3-runtime-4.9.3 anyio-4.3.0 async-timeout-4.0.3 attrs-23.2.0 boltons-23.1.1 certifi-2024.2.2 cffi-1.16.0 charset-normalizer-3.3.2 click-8.1.7 coloredlogs-15.0.1 contourpy-1.2.0 cycler-0.12.1 einops-0.4.1 exceptiongroup-1.2.0 fastapi-0.110.0 ffmpy-0.3.2 filelock-3.13.3 flatbuffers-24.3.25 fonttools-4.50.0 frozenlist-1.4.1 fsspec-2024.3.1 gradio-3.41.2 gradio-client-0.5.0 h11-0.14.0 httpcore-0.17.3 httpx-0.24.1 huggingface-hub-0.22.2 humanfriendly-10.0 idna-3.6 importlib-resources-6.4.0 jinja2-3.1.3 jsonschema-4.21.1 jsonschema-specifications-2023.12.1 kiwisolver-1.4.5 lightning-utilities-0.11.2 markupsafe-2.1.5 matplotlib-3.8.3 mpmath-1.3.0 multidict-6.0.5 networkx-3.2.1 numpy-1.25.2 nvidia-cublas-cu12-12.1.3.1 nvidia-cuda-cupti-cu12-12.1.105 nvidia-cuda-nvrtc-cu12-12.1.105 nvidia-cuda-runtime-cu12-12.1.105 nvidia-cudnn-cu12-8.9.2.26 nvidia-cufft-cu12-11.0.2.54 nvidia-curand-cu12-10.3.2.106 nvidia-cusolver-cu12-11.4.5.107 nvidia-cusparse-cu12-12.1.0.106 nvidia-nccl-cu12-2.19.3 nvidia-nvjitlink-cu12-12.4.99 nvidia-nvtx-cu12-12.1.105 omegaconf-2.2.3 onnxruntime-1.16.3 opencv-contrib-python-4.8.0.74 orjson-3.10.0 pandas-2.2.1 protobuf-5.26.1 psutil-5.9.5 pycparser-2.21 pydantic-2.6.4 pydantic-core-2.16.3 pydub-0.25.1 pygit2-1.12.2 pyparsing-3.1.2 python-dateutil-2.9.0.post0 python-multipart-0.0.9 pytorch_lightning-1.9.4 pytz-2024.1 pyyaml-6.0 referencing-0.34.0 regex-2023.12.25 requests-2.31.0 rpds-py-0.18.0 safetensors-0.3.1 scipy-1.9.3 semantic-version-2.10.0 six-1.16.0 sniffio-1.3.1 starlette-0.36.3 sympy-1.12 timm-0.9.2 tokenizers-0.13.3 toolz-0.12.1 torch-2.2.2 torchmetrics-1.3.2 torchsde-0.2.5 torchvision-0.17.2 tqdm-4.64.1 trampoline-0.1.2 transformers-4.30.2 triton-2.2.0 typing-extensions-4.10.0 tzdata-2024.1 urllib3-2.2.1 uvicorn-0.29.0 websockets-11.0.3 yarl-1.9.4 Looking in indexes: https://download.pytorch.org/whl/cu117 Collecting torch Downloading https://download.pytorch.org/whl/cu117/torch-2.0.1%2Bcu117-cp310-cp310-linux_x86_64.whl (1843.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 GB 617.1 kB/s eta 0:00:00 Collecting torchvision Downloading https://download.pytorch.org/whl/cu117/torchvision-0.15.2%2Bcu117-cp310-cp310-linux_x86_64.whl (6.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 115.0 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 36.7 MB/s eta 0:00:00 Collecting triton==2.0.0 Downloading https://download.pytorch.org/whl/triton-2.0.0-1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (63.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.3/63.3 MB 29.9 MB/s eta 0:00:00 Collecting filelock Downloading https://download.pytorch.org/whl/filelock-3.9.0-py3-none-any.whl (9.7 kB) Collecting typing-extensions Downloading https://download.pytorch.org/whl/typing_extensions-4.8.0-py3-none-any.whl (31 kB) Collecting sympy Downloading https://download.pytorch.org/whl/sympy-1.12-py3-none-any.whl (5.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.7/5.7 MB 90.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 110.6 MB/s eta 0:00:00 Collecting cmake Downloading https://download.pytorch.org/whl/cmake-3.25.0-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.7/23.7 MB 63.0 MB/s eta 0:00:00 Collecting lit Downloading https://download.pytorch.org/whl/lit-15.0.7.tar.gz (132 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.3/132.3 kB 33.9 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting pillow!=8.3.*,>=5.3.0 Downloading https://download.pytorch.org/whl/pillow-10.2.0-cp310-cp310-manylinux_2_28_x86_64.whl (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 110.1 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 18.2 MB/s eta 0:00:00 Collecting numpy Downloading https://download.pytorch.org/whl/numpy-1.26.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 76.2 MB/s eta 0:00:00 Collecting MarkupSafe>=2.0 Downloading https://download.pytorch.org/whl/MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 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 39.7 MB/s 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 idna<4,>=2.5 Downloading https://download.pytorch.org/whl/idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 17.3 MB/s 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 29.5 MB/s 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 82.8 MB/s eta 0:00:00 Building wheels for collected packages: lit Building wheel for lit (setup.py) ... done Created wheel for lit: filename=lit-15.0.7-py3-none-any.whl size=89989 sha256=331b85bc32b3ab30e8236e4b256edc3a882ffcabd64a5ae24314d357c7c64459 Stored in directory: /home/studio-lab-user/.cache/pip/wheels/27/2c/b6/3ed2983b1b44fe0dea1bb35234b09f2c22fb8ebb308679c922 Successfully built lit Installing collected packages: mpmath, lit, cmake, urllib3, typing-extensions, sympy, pillow, numpy, networkx, MarkupSafe, idna, filelock, charset-normalizer, certifi, requests, jinja2, triton, torch, torchvision Attempting uninstall: mpmath Found existing installation: mpmath 1.3.0 Uninstalling mpmath-1.3.0: Successfully uninstalled mpmath-1.3.0 Attempting uninstall: urllib3 Found existing installation: urllib3 2.2.1 Uninstalling urllib3-2.2.1: Successfully uninstalled urllib3-2.2.1 Attempting uninstall: typing-extensions Found existing installation: typing_extensions 4.10.0 Uninstalling typing_extensions-4.10.0: Successfully uninstalled typing_extensions-4.10.0 Attempting uninstall: sympy Found existing installation: sympy 1.12 Uninstalling sympy-1.12: Successfully uninstalled sympy-1.12 Attempting uninstall: pillow Found existing installation: Pillow 9.2.0 Uninstalling Pillow-9.2.0: Successfully uninstalled Pillow-9.2.0 Attempting uninstall: numpy Found existing installation: numpy 1.25.2 Uninstalling numpy-1.25.2: Successfully uninstalled numpy-1.25.2 Attempting uninstall: networkx Found existing installation: networkx 3.2.1 Uninstalling networkx-3.2.1: Successfully uninstalled networkx-3.2.1 Attempting uninstall: MarkupSafe Found existing installation: MarkupSafe 2.1.5 Uninstalling MarkupSafe-2.1.5: Successfully uninstalled MarkupSafe-2.1.5 Attempting uninstall: idna Found existing installation: idna 3.6 Uninstalling idna-3.6: Successfully uninstalled idna-3.6 Attempting uninstall: filelock Found existing installation: filelock 3.13.3 Uninstalling filelock-3.13.3: Successfully uninstalled filelock-3.13.3 Attempting uninstall: charset-normalizer Found existing installation: charset-normalizer 3.3.2 Uninstalling charset-normalizer-3.3.2: Successfully uninstalled charset-normalizer-3.3.2 Attempting uninstall: certifi Found existing installation: certifi 2024.2.2 Uninstalling certifi-2024.2.2: Successfully uninstalled certifi-2024.2.2 Attempting uninstall: requests Found existing installation: requests 2.31.0 Uninstalling requests-2.31.0: Successfully uninstalled requests-2.31.0 Attempting uninstall: jinja2 Found existing installation: Jinja2 3.1.3 Uninstalling Jinja2-3.1.3: Successfully uninstalled Jinja2-3.1.3 Attempting uninstall: triton Found existing installation: triton 2.2.0 Uninstalling triton-2.2.0: Successfully uninstalled triton-2.2.0 Attempting uninstall: torch Found existing installation: torch 2.2.2 Uninstalling torch-2.2.2: Successfully uninstalled torch-2.2.2 Attempting uninstall: torchvision Found existing installation: torchvision 0.17.2 Uninstalling torchvision-0.17.2: Successfully uninstalled torchvision-0.17.2 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. scipy 1.9.3 requires numpy<1.26.0,>=1.18.5, but you have numpy 1.26.3 which is incompatible. Successfully installed MarkupSafe-2.1.3 certifi-2022.12.7 charset-normalizer-2.1.1 cmake-3.25.0 filelock-3.9.0 idna-3.4 jinja2-3.1.2 lit-15.0.7 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.0.1+cu117 torchvision-0.15.2+cu117 triton-2.0.0 typing-extensions-4.8.0 urllib3-1.26.13 Collecting pyngrok Downloading pyngrok-7.1.6-py3-none-any.whl (22 kB) Requirement already satisfied: PyYAML>=5.1 in /tmp/fooocus/lib/python3.10/site-packages (from pyngrok) (6.0) Installing collected packages: pyngrok Successfully installed pyngrok-7.1.6 Channels:

Package Plan

environment location: /home/studio-lab-user/.conda/envs/fooocus

added / updated specs:

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
glib-2.80.0                |       hf2295e7_1         492 KB  conda-forge
glib-tools-2.80.0          |       hde27a5a_1         110 KB  conda-forge
libglib-2.80.0             |       hf2295e7_1         2.8 MB  conda-forge
pcre2-10.43                |       hcad00b1_0         929 KB  conda-forge
zlib-1.2.13                |       hd590300_5          91 KB  conda-forge
------------------------------------------------------------
                                       Total:         4.3 MB

The following NEW packages will be INSTALLED:

glib conda-forge/linux-64::glib-2.80.0-hf2295e7_1 glib-tools conda-forge/linux-64::glib-tools-2.80.0-hde27a5a_1 libglib conda-forge/linux-64::libglib-2.80.0-hf2295e7_1 libiconv conda-forge/linux-64::libiconv-1.17-hd590300_2 libzlib conda-forge/linux-64::libzlib-1.2.13-hd590300_5 pcre2 conda-forge/linux-64::pcre2-10.43-hcad00b1_0

The following packages will be UPDATED:

libgcc-ng pkgs/main::libgcc-ng-11.2.0-h1234567_1 --> conda-forge::libgcc-ng-13.2.0-h807b86a_5 libgomp pkgs/main::libgomp-11.2.0-h1234567_1 --> conda-forge::libgomp-13.2.0-h807b86a_5 openssl pkgs/main::openssl-3.0.13-h7f8727e_0 --> conda-forge::openssl-3.2.1-hd590300_1 zlib pkgs/main::zlib-1.2.13-h5eee18b_0 --> conda-forge::zlib-1.2.13-hd590300_5

The following packages will be SUPERSEDED by a higher-priority channel:

_libgcc_mutex pkgs/main::_libgcc_mutex-0.1-main --> conda-forge::_libgcc_mutex-0.1-conda_forge _openmp_mutex pkgs/main::_openmp_mutex-5.1-1_gnu --> conda-forge::_openmp_mutex-4.5-2_gnu

Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Updating config.txt to use checkpoints-real-folder
Port 7865 is free. Token: 2e5M4zekRe4xMHlLKRbJAVpbwKe_6Z2pro8mh9TLzg98K4F4z Domain: troll-saved-mentally.ngrok-free.app https://troll-saved-mentally.ngrok-free.app
Press Ctrl+C to exit Already up-to-date Update succeeded. [System ARGV] ['Fooocus/entry_with_update.py', '--always-high-vram'] Python 3.10.14 (main, Mar 21 2024, 16:24:04) [GCC 11.2.0] Fooocus version: 2.3.1 Version mismatch for Pillow: Installed version 10.2.0 does not meet requirement Pillow==9.2.0 Installing requirements [Cleanup] Attempting to delete content of temp dir /tmp/fooocus [Cleanup] Cleanup successful Downloading: "https://huggingface.co/lllyasviel/misc/resolve/main/xlvaeapp.pth" to /home/studio-lab-user/epic-miner-Fooocus-Sagemaker-Studio-Lab/Fooocus/models/vae_approx/xlvaeapp.pth

Traceback (most recent call last): File "/home/studio-lab-user/epic-miner-Fooocus-Sagemaker-Studio-Lab/Fooocus/entry_with_update.py", line 46, in from launch import * File "/home/studio-lab-user/epic-miner-Fooocus-Sagemaker-Studio-Lab/Fooocus/launch.py", line 132, in config.default_base_model_name, config.checkpoint_downloads = download_models( File "/home/studio-lab-user/epic-miner-Fooocus-Sagemaker-Studio-Lab/Fooocus/launch.py", line 98, in download_models load_file_from_url(url=url, model_dir=config.path_vae_approx, file_name=file_name) File "/home/studio-lab-user/epic-miner-Fooocus-Sagemaker-Studio-Lab/Fooocus/modules/model_loader.py", line 24, in load_file_from_url from torch.hub import download_url_to_file ModuleNotFoundError: No module named 'torch' t=2024-03-30T10:23:11+0000 lvl=warn msg="failed to open private leg" id=e9eb84a77af0 privaddr=localhost:7865 err="dial tcp 127.0.0.1:7865: connect: connection refused" t=2024-03-30T10:23:12+0000 lvl=warn msg="failed to open private leg" id=6d046ec1362b privaddr=localhost:7865 err="dial tcp 127.0.0.1:7865: connect: connection refused"