mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 02:30:30 -08:00
Remove a bunch of unused/vestigial code
As found by Vulture and some eyes
This commit is contained in:
parent
0895c2369c
commit
ba70a220e3
7 changed files with 0 additions and 89 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue