Skip to content

Commit 2943093

Browse files
Enable async offload by default for AMD. (comfyanonymous#11534)
1 parent 36deef2 commit 2943093

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

comfy/model_management.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,8 +1019,8 @@ def force_channels_last():
10191019
if args.async_offload is not None:
10201020
NUM_STREAMS = args.async_offload
10211021
else:
1022-
# Enable by default on Nvidia
1023-
if is_nvidia():
1022+
# Enable by default on Nvidia and AMD
1023+
if is_nvidia() or is_amd():
10241024
NUM_STREAMS = 2
10251025

10261026
if args.disable_async_offload:

0 commit comments

Comments
 (0)