[PR #606] [MERGED] Fix the bug of "Unload models" #1425

Closed
opened 2026-10-27 21:31:13 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/ComfyUI-Manager/pull/606
Author: @ty0x2333
Created: 4/24/2024
Status: ✅ Merged
Merged: 4/24/2024
Merged by: @ltdrdata

Base: main ← Head: fix_unload_models


📝 Commits (1)

  • 765f71d Fix the bug of "Unload Models"

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 js/common.js (+1 -1)

📄 Description

The /free API of comfyanonymous/ComfyUI has changed. Commit: github.com/comfyanonymous/ComfyUI@6d281b4ff4

Now, the /free API requires unload_models and free_memory parameters, and the default value is False.

https://github.com/comfyanonymous/ComfyUI/blob/master/server.py#L509

Currently the "Unload Models" button no longer works. It looks like this bug has been around for a long time.

2024-04-24 08 44 36

This PR updates the /free API call and fixes this BUG.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/ComfyUI-Manager/pull/606 **Author:** [@ty0x2333](https://github.com/ty0x2333) **Created:** 4/24/2024 **Status:** ✅ Merged **Merged:** 4/24/2024 **Merged by:** [@ltdrdata](https://github.com/ltdrdata) **Base:** `main` ← **Head:** `fix_unload_models` --- ### 📝 Commits (1) - [`765f71d`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/765f71ddc70bddcc0404c6c95e1a79977893556d) Fix the bug of "Unload Models" ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `js/common.js` (+1 -1) </details> ### 📄 Description The `/free` API of comfyanonymous/ComfyUI has changed. Commit: https://github.com/comfyanonymous/ComfyUI/commit/6d281b4ff4ad3918a4f3b4ca4a8b547a2ba3bf80 Now, the `/free` API requires `unload_models` and `free_memory` parameters, and the default value is False. https://github.com/comfyanonymous/ComfyUI/blob/master/server.py#L509 Currently the "Unload Models" button no longer works. It looks like this bug has been around for a long time. <img width="377" alt="2024-04-24 08 44 36" src="https://github.com/ltdrdata/ComfyUI-Manager/assets/7489176/fd0fbd09-b016-43dc-b2ad-438ac0dbdcef"> This PR updates the `/free` API call and fixes this BUG. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-27 21:31:13 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#1425
No description provided.