mirror of
https://github.com/vladmandic/automatic
synced 2026-09-04 12:00:46 +02:00
Enable dyn atten by default for ROCm
This commit is contained in:
+3
-1
@@ -379,7 +379,9 @@ def get_default_modes():
|
||||
default_cross_attention = "Scaled-Dot-Product"
|
||||
|
||||
if devices.backend == "zluda":
|
||||
default_sdp_options = ['Math attention', 'Flash attention', 'Dynamic attention']
|
||||
default_sdp_options = ['Flash attention', 'Math attention', 'Dynamic attention']
|
||||
elif devices.backend == "rocm":
|
||||
default_sdp_options = ['Flash attention', 'Memory attention', 'Math attention', 'Dynamic attention']
|
||||
else:
|
||||
default_sdp_options = ['Flash attention', 'Memory attention', 'Math attention']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user