You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue exists on a clean installation of Fooocus
The issue exists in the current version of Fooocus
The issue has not been reported before recently
The issue has been reported before but has not been fixed yet
What happened?
I encountered an issue while trying to download control models in Fooocus. The download fails with the following error:
[Fooocus] Downloading control models ...
Downloading: "https://huggingface.co/lllyasviel/misc/resolve/main/fooocus_ip_negative.safetensors" to /Users/ashishsingh/Fooocus/models/controlnet/fooocus_ip_negative.safetensors
Traceback (most recent call last):
File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/urllib/request.py", line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
...
urllib.error.URLError: <urlopen error [Errno 8] nodename nor servname provided, or not known>
Total time: 30.96 seconds
Steps to Reproduce:
Run Fooocus in a Miniconda environment.
Attempt to download control models.
Observe the error during the download process.
Expected Behavior:
The model files should be downloaded successfully from Hugging Face.
Actual Behavior:
The download fails with a URLError (Errno 8: nodename nor servname provided, or not known).
System Information:
OS: macOS
Python Version: 3.10 (Miniconda environment)
Fooocus Version: [Specify version]
Installed Dependencies: [Provide pip freeze output if necessary]
Additional Context:
Internet connection is stable and working for other services.
Tried restarting Fooocus and Miniconda but the issue persists.
The Hugging Face link appears to be accessible in the browser.
Would appreciate any guidance on resolving this issue. Thanks!
Steps to reproduce the problem
install all requirement in the Mac OS
when running the python entry_with_update.py --preset realistic get the error
What should have happened?
some hugging face link broken
What browsers do you use to access Fooocus?
Apple Safari
Where are you running Fooocus?
Locally
What operating system are you using?
Mac m1
Console logs
ashishsingh@Ashishs-MacBook-Pro Fooocus % python entry_with_update.py --preset realistic
Already up-to-date
Update succeeded.
[System ARGV] ['entry_with_update.py', '--preset', 'realistic']
Python 3.10.16 (main, Dec 11 2024, 10:22:29) [Clang 14.0.6 ]
Fooocus version: 2.5.5
Loaded preset: /Users/ashishsingh/Fooocus/presets/realistic.json
[Cleanup] Attempting to delete content of temp dir /var/folders/rw/0t0_lbh924xc680zvxxnzps00000gn/T/fooocus
[Cleanup] Cleanup successful
Total VRAM 16384 MB, total RAM 16384 MB
Set vram state to: SHARED
Always offload VRAM
Device: mps
VAE dtype: torch.float32
OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
Using sub quadratic optimization for cross attention, if you have memory or speed issues try using: --attention-split
Refiner unloaded.
Running on local URL: http://127.0.0.1:7865
To create a public link, set`share=True`in`launch()`.model_type EPSUNet ADM Dimension 2816IMPORTANT: You are using gradio version 3.41.2, however version 4.44.1 is available, please upgrade.--------Using split attention in VAEWorking with z of shape (1, 4, 32, 32) = 4096 dimensions.Using split attention in VAEextra {'cond_stage_model.clip_l.text_projection', 'cond_stage_model.clip_l.logit_scale'}left over keys: dict_keys(['cond_stage_model.clip_l.transformer.text_model.embeddings.position_ids'])Base model loaded: /Users/ashishsingh/Fooocus/models/checkpoints/realisticStockPhoto_v20.safetensorsVAE loaded: NoneRequest to load LoRAs [('SDXL_FILM_PHOTOGRAPHY_STYLE_V1.safetensors', 0.25)] for model [/Users/ashishsingh/Fooocus/models/checkpoints/realisticStockPhoto_v20.safetensors].Loaded LoRA [/Users/ashishsingh/Fooocus/models/loras/SDXL_FILM_PHOTOGRAPHY_STYLE_V1.safetensors] for UNet [/Users/ashishsingh/Fooocus/models/checkpoints/realisticStockPhoto_v20.safetensors] with 722 keys at weight 0.25.Loaded LoRA [/Users/ashishsingh/Fooocus/models/loras/SDXL_FILM_PHOTOGRAPHY_STYLE_V1.safetensors] for CLIP [/Users/ashishsingh/Fooocus/models/checkpoints/realisticStockPhoto_v20.safetensors] with 264 keys at weight 0.25.Fooocus V2 Expansion: Vocab with 642 words.Fooocus Expansion engine loaded for cpu, use_fp16 = False.Requested to load SDXLClipModelRequested to load GPT2LMHeadModelLoading 2 new models[Fooocus Model Management] Moving model(s) has taken 1.85 secondsStarted worker with PID 16666App started successful. Use the app with http://127.0.0.1:7865/ or 127.0.0.1:7865[Parameters] Adaptive CFG = 7[Parameters] CLIP Skip = 2[Parameters] Sharpness = 2[Parameters] ControlNet Softness = 0.25[Parameters] ADM Scale = 1.5 : 0.8 : 0.3[Parameters] Seed = 6863301028042478842[Parameters] CFG = 3[Fooocus] Downloading control models ...Downloading: "https://huggingface.co/lllyasviel/misc/resolve/main/fooocus_ip_negative.safetensors" to /Users/ashishsingh/Fooocus/models/controlnet/fooocus_ip_negative.safetensorsTraceback (most recent call last): File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/urllib/request.py", line 1348, in do_openh.request(req.get_method(), req.selector, req.data, headers, File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/http/client.py", line 1283, in request self._send_request(method, url, body, headers, encode_chunked) File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/http/client.py", line 1329, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/http/client.py", line 1278, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/http/client.py", line 1038, in _send_output self.send(msg) File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/http/client.py", line 976, in sendself.connect() File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/http/client.py", line 1448, in connectsuper().connect() File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/http/client.py", line 942, in connect self.sock = self._create_connection( File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/socket.py", line 836, in create_connectionforresin getaddrinfo(host, port, 0, SOCK_STREAM): File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/socket.py", line 967, in getaddrinfoforresin _socket.getaddrinfo(host, port, family, type, proto, flags):socket.gaierror: [Errno 8] nodename nor servname provided, or not knownDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "/Users/ashishsingh/Fooocus/modules/async_worker.py", line 1471, in worker handler(task) File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_contextreturn func(*args, **kwargs) File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_contextreturn func(*args, **kwargs) File "/Users/ashishsingh/Fooocus/modules/async_worker.py", line 1140, in handler base_model_additional_loras, clip_vision_path, controlnet_canny_path, controlnet_cpds_path, inpaint_head_model_path, inpaint_image, inpaint_mask, ip_adapter_face_path, ip_adapter_path, ip_negative_path, skip_prompt_processing, use_synthetic_refiner = apply_image_input( File "/Users/ashishsingh/Fooocus/modules/async_worker.py", line 927, in apply_image_input clip_vision_path, ip_negative_path, ip_adapter_face_path = modules.config.downloading_ip_adapters( File "/Users/ashishsingh/Fooocus/modules/config.py", line 918, in downloading_ip_adapters load_file_from_url( File "/Users/ashishsingh/Fooocus/modules/model_loader.py", line 27, in load_file_from_url download_url_to_file(url, cached_file, progress=progress) File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/site-packages/torch/hub.py", line 708, in download_url_to_file u = urlopen(req) File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/urllib/request.py", line 216, in urlopenreturn opener.open(url, data, timeout) File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/urllib/request.py", line 525, in open response = meth(req, response) File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/urllib/request.py", line 634, in http_response response = self.parent.error( File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/urllib/request.py", line 557, in error result = self._call_chain(*args) File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/urllib/request.py", line 496, in _call_chain result = func(*args) File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/urllib/request.py", line 749, in http_error_302return self.parent.open(new, timeout=req.timeout) File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/urllib/request.py", line 519, in open response = self._open(req, data) File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/urllib/request.py", line 536, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/urllib/request.py", line 496, in _call_chain result = func(*args) File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/urllib/request.py", line 1391, in https_openreturn self.do_open(http.client.HTTPSConnection, req, File "/Users/ashishsingh/miniconda3/envs/fooocus/lib/python3.10/urllib/request.py", line 1351, in do_open raise URLError(err)urllib.error.URLError: <urlopen error [Errno 8] nodename nor servname provided, or not known>Total time: 30.96 seconds
Additional information
No response
The text was updated successfully, but these errors were encountered:
Checklist
What happened?
I encountered an issue while trying to download control models in Fooocus. The download fails with the following error:
Steps to Reproduce:
Expected Behavior:
The model files should be downloaded successfully from Hugging Face.
Actual Behavior:
The download fails with a URLError (
Errno 8: nodename nor servname provided, or not known
).System Information:
pip freeze
output if necessary]Additional Context:
Would appreciate any guidance on resolving this issue. Thanks!
Steps to reproduce the problem
python entry_with_update.py --preset realistic
get the errorWhat should have happened?
some hugging face link broken
What browsers do you use to access Fooocus?
Apple Safari
Where are you running Fooocus?
Locally
What operating system are you using?
Mac m1
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: