mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
rocm skip if flash-attn is installed
This commit is contained in:
+2
-1
@@ -563,7 +563,8 @@ def install_rocm_zluda():
|
||||
|
||||
if device is not None:
|
||||
if 'Flash attention' in opts.get('sdp_options'):
|
||||
install(rocm.get_flash_attention_command(device))
|
||||
if not installed('flash-attn'):
|
||||
install(rocm.get_flash_attention_command(device), reinstall=True)
|
||||
elif not args.experimental:
|
||||
uninstall('flash-attn')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user