hipinis's picture
Upload 735 files
96d97a7 verified
|
Raw
History Blame Contribute Delete
3.36 kB
��# Comfyui-Memory_Cleanup
Comfyui-Memory_Cleanup /fN*N(u�N ComfyUI �vꁚ[IN���p ��c�O�QX[nt�R���NOS ComfyUI �vЏL�'`��0
## �R���N�~
![O(u:y�O1](1.png)
![O(u:y�O2](2.png)
### ;N���R��
,g�c�N�c�O$N*N;N�����p�
#### 1. <؈�VRAM-Cleanup (GPU>fX[nt)
�S�N.^�Rʑ>e GPU >fX[ �;N���R���
- xS}�!j�W (offload_model)
- nt>fX[X[ (offload_cache)
#### 2. <؈�RAM-Cleanup (�|�~�QX[nt)
�S�N.^�Rʑ>e�|�~�QX[ �/ec Windows �T Linux �|�~�
- nt�e�NX[ (clean_file_cache)
- ntۏ z�QX[ (clean_processes)
- nt*gO(u�v DLL (clean_dlls)
- /ecY!k͑Ջ (retry_times)
## �[ň�e�l
1. \dk�N�^KQ��b N}�0R�`�v ComfyUI ꁚ[IN���p�vU_�
```
git clone https://github.com/LAOGOU-666/Comfyui-Memory_Cleanup.git
```
b�v�c N}� ZIP ㉋S0R `custom_nodes` �vU_
2. �[ň�OV��
```
pip install -r requirements.txt
```
3. ͑/T ComfyUI
## O(u�e�l
1. (W���pOmȉhV-Nd"} "Memory Management" R{|
2. \ <؈�VRAM-Cleanup b <؈�RAM-Cleanup �m�R0R�`�v�]\OAm-N
3. ޏ�c0R�]\OAm�v�S_MOn ��8^>e(Wub�[bT
## �Spe�f
### VRAM-Cleanup
- anything: �S�Nޏ�c�NUO��eQ
- offload_model: /f&TxS}�!j�W
- offload_cache: /f&Tnt>fX[X[
### RAM-Cleanup
- anything: �S�Nޏ�c�NUO��eQ
- clean_file_cache: /f&Tnt�e�NX[
- clean_processes: /f&Tntۏ z�QX[
- clean_dlls: /f&Tnt*gO(uDLL
- retry_times: ͑Ջ!kpe (1-10)
## �la�Ny�
- �QX[nt�S��O�[�'`���f�e NM� �FO�S�N2�bk��e��ЏL��e�v�QX[�lo
- �^��(W͑�����p�[b�]\OTO(udk���p
# �Y�g�`�S�v�N,gy��v � N�Y��\O��Uog�TaU ��`�v/ec/fbg'Y�v�R�R
<div style="display: flex; justify-content: left; gap: 20px;">
<img src="https://raw.githubusercontent.com/LAOGOU-666/Comfyui-Transform/9ac1266765b53fb1d666f9c8a1d61212f2603a92/assets/alipay.jpg" width="300" alt="/e�N�[6e>kx">
<img src="https://raw.githubusercontent.com/LAOGOU-666/Comfyui-Transform/9ac1266765b53fb1d666f9c8a1d61212f2603a92/assets/wechat.jpg" width="300" alt="�_�O6e>kx">
</div>
# FU�RT\O
�Y�g�` g�[6R�]\OAm/���p�v�Bl �b��`��f[`N�c�N6R\O�v�vsQ�� z ���T��|b
wechat:wenrulaogou2033