Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inference error when loading model with Config file #499

Closed
Heather95 opened this issue Mar 4, 2024 · 2 comments
Closed

Inference error when loading model with Config file #499

Heather95 opened this issue Mar 4, 2024 · 2 comments
Labels
stale Stale issue or inactive for long period of time

Comments

@Heather95
Copy link

Inference cannot load model with Config .yaml file. It is SDXL-based. Note that both model and config have the exact same filenames (I verified this after receiving the error).

Comfy Node error

{
  "prompt_id": "65336769-b940-414d-97b2-eb2370b25a76",
  "node_id": "CheckpointLoader_Base",
  "node_type": "CheckpointLoader",
  "executed": [],
  "exception_message": "\u0027cond_stage_config\u0027",
  "exception_type": "KeyError",
  "traceback": [
    "  File \u0022C:\\Users\\heath\\AppData\\Roaming\\StabilityMatrix\\Packages\\ComfyUI\\execution.py\u0022, line 152, in recursive_execute\n    output_data, output_ui = get_output_data(obj, input_data_all)\n",
    "  File \u0022C:\\Users\\heath\\AppData\\Roaming\\StabilityMatrix\\Packages\\ComfyUI\\execution.py\u0022, line 82, in get_output_data\n    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)\n",
    "  File \u0022C:\\Users\\heath\\AppData\\Roaming\\StabilityMatrix\\Packages\\ComfyUI\\execution.py\u0022, line 75, in map_node_over_list\n    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))\n",
    "  File \u0022C:\\Users\\heath\\AppData\\Roaming\\StabilityMatrix\\Packages\\ComfyUI\\nodes.py\u0022, line 526, in load_checkpoint\n    return comfy.sd.load_checkpoint(config_path, ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths(\u0022embeddings\u0022))\n",
    "  File \u0022C:\\Users\\heath\\AppData\\Roaming\\StabilityMatrix\\Packages\\ComfyUI\\comfy\\sd.py\u0022, line 415, in load_checkpoint\n    clip_config = model_config_params[\u0027cond_stage_config\u0027]\n"
  ],
  "current_inputs": {
    "config_name": [
      "animeConfettiComrade_v2_4fb9.yaml"
    ],
    "ckpt_name": [
      "animeConfettiComrade_v2.safetensors"
    ]
  },
  "current_outputs": {}
}
allwavemedia pushed a commit to allwavemedia/StabilityMatrix that referenced this issue Mar 13, 2024
Fix SettingsManager multithread locks
Copy link

github-actions bot commented Jul 7, 2024

This issue is stale because it has been open 30 days with no activity. Remove the stale label or comment, else this will be closed in 5 days.

@github-actions github-actions bot added the stale Stale issue or inactive for long period of time label Jul 7, 2024
Copy link

This issue was closed because it has been stale for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issue or inactive for long period of time
Projects
None yet
Development

No branches or pull requests

1 participant