my-sd/modules/lowvram.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
348 B
Python
Raw Normal View History

import torch
from modules import devices, shared
module_in_gpu = None
cpu = torch.device("cpu")
def send_everything_to_cpu():
2024-01-24 18:53:42 +00:00
return
2023-08-22 15:49:08 +00:00
def is_needed(sd_model):
2024-01-24 18:53:42 +00:00
return False
2023-08-22 15:49:08 +00:00
def apply(sd_model):
2024-01-24 18:53:42 +00:00
return
2023-08-22 15:49:08 +00:00
def setup_for_low_vram(sd_model, use_medvram):
2024-01-24 18:53:42 +00:00
return
def is_enabled(sd_model):
2024-01-24 18:53:42 +00:00
return False