lllyasviel / lllyasviel/FramePack

Not possible to start with Firewall

Open
#545 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
17.3k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

After Download everything it is not possible, to start FP Studio offline.
Activate firewall, get errors. Please help! A Local AI should not to connections forcement, if not needet!!

To create a public link, set `share=True` in `launch()`.
Adding job e815c6a4-f137-4a62-9cfd-077a36837302 to queue, current job is None
Added job e815c6a4-f137-4a62-9cfd-077a36837302 to queue
Starting job e815c6a4-f137-4a62-9cfd-077a36837302, current job was None
[Worker start] Transformer is None, cannot verify LoRA state
Unloaded DynamicSwap_LlamaModel as complete.
Unloaded CLIPTextModel as complete.
Unloaded SiglipVisionModel as complete.
Unloaded AutoencoderKLHunyuanVideo as complete.
Worker starting for model type: Original
Loading Original Transformer...
Traceback (most recent call last):
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\urllib3\connection.py", line 198, in _new_conn
sock = connection.create_connection(
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\urllib3\util\connection.py", line 85, in create_connection
raise err
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\urllib3\util\connection.py", line 73, in create_connection
sock.connect(sa)
PermissionError: [WinError 10013] Der Zugriff auf einen Socket war aufgrund der Zugriffsrechte des Sockets unzulässig

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
response = self._make_request(
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\urllib3\connectionpool.py", line 488, in _make_request
raise new_e
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\urllib3\connectionpool.py", line 464, in _make_request
self._validate_conn(conn)
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\urllib3\connectionpool.py", line 1093, in _validate_conn
conn.connect()
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\urllib3\connection.py", line 704, in connect
self.sock = sock = self._new_conn()
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\urllib3\connection.py", line 213, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [WinError 10013] Der Zugr
iff auf einen Socket war aufgrund der Zugriffsrechte des Sockets unzulässig

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\requests\adapters.py", line 486, in send
resp = conn.urlopen(
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\urllib3\connectionpool.py", line 841, in urlopen
retries = retries.increment(
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\urllib3\util\retry.py", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/lllyasviel/FramePackI2V_HY (Caused by
NewConnectionError(': Failed to establish a new connection: [WinError 10013] Der Zugriff auf einen Socke
t war aufgrund der Zugriffsrechte des Sockets unzulässig'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\pinokio\api\FP-Studio.git\app\studio.py", line 339, in worker
transformer_original = HunyuanVideoTransformer3DModelPacked.from_pretrained('lllyasviel/FramePackI2V_HY', torch_dtype=torch.bfloat16).cpu()
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\diffusers\models\modeling_utils.py", line 1109, in from_pretrained
resolved_model_file, sharded_metadata = _get_checkpoint_shard_files(
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\diffusers\utils\hub_utils.py", line 407, in _get_checkpoint_shard_files
model_files_info = model_info(pretrained_model_name_or_path, revision=revision, token=token)
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\huggingface_hub\utils\_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\huggingface_hub\hf_api.py", line 2600, in model_info
r = get_session().get(path, headers=headers, timeout=timeout, params=params)
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\requests\sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\requests\sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\requests\sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\huggingface_hub\utils\_http.py", line 96, in send
return super().send(request, *args, **kwargs)
File "C:\pinokio\api\FP-Studio.git\app\env\lib\site-packages\requests\adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /api/models/lllyasviel/FramePac
kI2V_HY (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10013] Der Zugr
iff auf einen Socket war aufgrund der Zugriffsrechte des Sockets unzulässig'))"), '(Request ID: 3b80b7e8-f324-4fbe-881e-552df0dbc111)')
Unloaded DynamicSwap_LlamaModel as complete.
Unloaded CLIPTextModel as complete.
Unloaded SiglipVisionModel as complete.
Unloaded AutoencoderKLHunyuanVideo as complete.
Error in listener thread: 'NoneType' object has no attribute 'to'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at studio.py line 339, where the FramePackI2V_HY model is loaded through diffusers and contacts huggingface.co. Reproduce with the firewall enabled and determine whether the locally downloaded model can start without that request; done means offline startup no longer fails with the shown connection and NoneType errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
huggingface, python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.