Remove useless function (#10472)

This commit is contained in:
comfyanonymous 2025-10-24 16:56:51 -07:00 committed by GitHub
parent dd5af0c587
commit 426cde37f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -998,12 +998,6 @@ def device_supports_non_blocking(device):
return False
return True
def device_should_use_non_blocking(device):
if not device_supports_non_blocking(device):
return False
return False
# return True #TODO: figure out why this causes memory issues on Nvidia and possibly others
def force_channels_last():
if args.force_channels_last:
return True