Skip to content

Commit

Permalink
Merge pull request #78 from Haidra-Org/regen
Browse files Browse the repository at this point in the history
fix: better signal to comfyui lowvram mode is desired
  • Loading branch information
tazlin authored Oct 4, 2023
2 parents 2f8369b + 68281bb commit 15e326e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions hordelib/comfy_horde.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def always_cpu(parameters, dtype):

comfy.model_management.unet_inital_load_device = always_cpu
comfy.model_management.DISABLE_SMART_MEMORY = True
comfy.model_management.lowvram_available = True

total_vram = get_torch_total_vram_mb()
total_ram = psutil.virtual_memory().total / (1024 * 1024)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ torchsde
einops
open-clip-torch
transformers>=4.25.1
safetensors
safetensors>=0.3.0
pytorch_lightning
pynvml
aiohttp
Expand Down

0 comments on commit 15e326e

Please sign in to comment.