Skip to content

[bug]: Cannot install h94/IP-Adapter-FaceID #7488

@CGamesPlay

Description

@CGamesPlay

Is there an existing issue for this problem?

  • I have searched the existing issues

Operating system

macOS

GPU vendor

Apple Silicon (MPS)

GPU model

Mac M1

GPU VRAM

32GB

Version number

5.5.0

Browser

Chrome all

Python dependencies

{
  "accelerate": "1.0.1",
  "compel": "2.0.2",
  "cuda": null,
  "diffusers": "0.31.0",
  "numpy": "1.26.4",
  "opencv": "4.9.0.80",
  "onnx": "1.16.1",
  "pillow": "11.0.0",
  "python": "3.11.10",
  "torch": "2.4.1",
  "torchvision": "0.19.1",
  "transformers": "4.46.3",
  "xformers": null
}

What happened

Using the model manager, install any of these models:

  • h94/IP-Adapter-FaceID -> ip-adapter-faceid-plusv2_sdxl.bin

The download progresses, and then becomes "FAILED" after it finishes. The console contains:

[2024-12-23 08:28:10,295]::[ModelInstallService]::INFO --> Model download complete: https://huggingface.co/h94/IP-Adapter-FaceID/resolve/main/ip-adapter-faceid-plusv2_sdxl.bin
[2024-12-23 08:28:10,295]::[ModelInstallService]::INFO --> Model install started: https://huggingface.co/h94/IP-Adapter-FaceID/resolve/main/ip-adapter-faceid-plusv2_sdxl.bin
/lib/python3.11/site-packages/invokeai/backend/model_manager/util/model_util.py:63: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
  checkpoint = torch.load(path, map_location=torch.device("meta"))
[2024-12-23 08:28:10,625]::[ModelInstallService]::ERROR --> Model install error: https://huggingface.co/h94/IP-Adapter-FaceID/resolve/main/ip-adapter-faceid-plusv2_sdxl.bin
RecursionError: maximum recursion depth exceeded in comparison

What you expected to happen

The model should be installed normally and usable as a ControlNet and/or IPAdapter.

How to reproduce the problem

No response

Additional context

No response

Discord username

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions