diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-06-27 08:25:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 08:25:55 +0000 |
commit | 1bf01b73f478fd98d670fc3e44ffd7c71e531b0a (patch) | |
tree | 548b90c6a385897407209bd0b0bf0d4c7d54303d /modules/devices.py | |
parent | d06af4e517865277d0521642c2c5513af9afd76f (diff) | |
parent | ba70a220e3176153ba2a559acb9e5aa692dce7ca (diff) | |
download | stable-diffusion-webui-gfx803-1bf01b73f478fd98d670fc3e44ffd7c71e531b0a.tar.gz stable-diffusion-webui-gfx803-1bf01b73f478fd98d670fc3e44ffd7c71e531b0a.tar.bz2 stable-diffusion-webui-gfx803-1bf01b73f478fd98d670fc3e44ffd7c71e531b0a.zip |
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.py | 7 |
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 |