mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
chore: always use cpu as default device
this is overridden anyways
This commit is contained in:
@@ -16,7 +16,7 @@ class GroundingDinoModel(Model):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.config_file = 'extras/GroundingDINO/config/GroundingDINO_SwinT_OGC.py'
|
self.config_file = 'extras/GroundingDINO/config/GroundingDINO_SwinT_OGC.py'
|
||||||
self.model = None
|
self.model = None
|
||||||
self.load_device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
self.load_device = torch.device('cpu')
|
||||||
self.offload_device = torch.device('cpu')
|
self.offload_device = torch.device('cpu')
|
||||||
|
|
||||||
def predict_with_caption(
|
def predict_with_caption(
|
||||||
|
|||||||
Reference in New Issue
Block a user