mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
update attention handlers and settings
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -18,15 +18,6 @@ def rename(src:str, dst:str):
|
||||
|
||||
def install_requirements(attention:str='SDPA'):
|
||||
install('av')
|
||||
if attention == 'Xformers':
|
||||
log.debug('FramePack install: xformers')
|
||||
install('xformers')
|
||||
elif attention == 'FlashAttention':
|
||||
log.debug('FramePack install: flash-attn')
|
||||
install('flash-attn')
|
||||
elif attention == 'SageAttention':
|
||||
log.debug('FramePack install: sageattention')
|
||||
install('sageattention')
|
||||
|
||||
|
||||
def git_clone(git_repo:str, git_dir:str, tmp_dir:str):
|
||||
|
||||
Reference in New Issue
Block a user