aboutsummaryrefslogtreecommitdiff
path: root/modules/devices.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-06-27 11:25:55 +0300
committerGitHub <noreply@github.com>2023-06-27 11:25:55 +0300
commit1bf01b73f478fd98d670fc3e44ffd7c71e531b0a (patch)
tree548b90c6a385897407209bd0b0bf0d4c7d54303d /modules/devices.py
parentd06af4e517865277d0521642c2c5513af9afd76f (diff)
parentba70a220e3176153ba2a559acb9e5aa692dce7ca (diff)
Merge pull request #11046 from akx/ded-code
Remove a bunch of unused/vestigial code
Diffstat (limited to 'modules/devices.py')
-rw-r--r--modules/devices.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/devices.py b/modules/devices.py
index 1ed6ffdc..620ed1a6 100644
--- a/modules/devices.py
+++ b/modules/devices.py
@@ -15,13 +15,6 @@ def has_mps() -> bool:
else:
return mac_specific.has_mps
-def extract_device_id(args, name):
- for x in range(len(args)):
- if name in args[x]:
- return args[x + 1]
-
- return None
-
def get_cuda_device_string():
from modules import shared