Skip to content

Commit 426cde3

Browse files
Remove useless function (#10472)
1 parent dd5af0c commit 426cde3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

comfy/model_management.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -998,12 +998,6 @@ def device_supports_non_blocking(device):
998998
return False
999999
return True
10001000

1001-
def device_should_use_non_blocking(device):
1002-
if not device_supports_non_blocking(device):
1003-
return False
1004-
return False
1005-
# return True #TODO: figure out why this causes memory issues on Nvidia and possibly others
1006-
10071001
def force_channels_last():
10081002
if args.force_channels_last:
10091003
return True

0 commit comments

Comments
 (0)