2022-09-03 09:08:45 +00:00
|
|
|
import torch
|
2023-08-22 15:49:08 +00:00
|
|
|
from modules import devices, shared
|
2022-09-03 09:08:45 +00:00
|
|
|
|
|
|
|
module_in_gpu = None
|
|
|
|
cpu = torch.device("cpu")
|
|
|
|
|
2022-09-12 08:55:27 +00:00
|
|
|
|
|
|
|
def send_everything_to_cpu():
|
2024-01-24 18:53:42 +00:00
|
|
|
return
|
2022-09-12 08:55:27 +00:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
2022-09-03 09:08:45 +00:00
|
|
|
def setup_for_low_vram(sd_model, use_medvram):
|
2024-01-24 18:53:42 +00:00
|
|
|
return
|
2023-06-04 10:07:22 +00:00
|
|
|
|
|
|
|
|
|
|
|
def is_enabled(sd_model):
|
2024-01-24 18:53:42 +00:00
|
|
|
return False
|