mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
Rename ROCm Flash atten hijack to CK Flash atten and enable AOTriton memory and flash atten by default
This commit is contained in:
+1
-1
@@ -202,7 +202,7 @@ else:
|
||||
return version == version_torch and bool(int(os.environ.get("TORCH_BLAS_PREFER_HIPBLASLT", "1")))
|
||||
|
||||
def get_flash_attention_command(agent: Agent):
|
||||
if os.environ.get("FLASH_ATTENTION_USE_TRITON_ROCM", "FALSE") == "TRUE":
|
||||
if os.environ.get("FLASH_ATTENTION_USE_TRITON_ROCM", "false").lower() == "true":
|
||||
return "pytest git+https://github.com/ROCm/flash-attention@micmelesse/upstream_pr"
|
||||
default = "git+https://github.com/ROCm/flash-attention"
|
||||
if agent.gfx_version >= 0x1100:
|
||||
|
||||
Reference in New Issue
Block a user