This commit is contained in:
vivienfanghua 2025-11-03 09:25:04 +00:00
parent e00688e134
commit 0f6f3c93fd

View File

@ -45,8 +45,8 @@ try:
AITER_ATTENTION_IS_AVAILABLE = True AITER_ATTENTION_IS_AVAILABLE = True
except ImportError: except ImportError:
if model_management.aiter_attention_enabled(): if model_management.aiter_attention_enabled():
logging.error(f"\n\nTo use the `--use-aiter-attention` feature, the `aiter` package must be installed first.") logging.error("\n\nTo use the `--use-aiter-attention` feature, the `aiter` package must be installed first.")
logging.error(f"Installation instructions: https://github.com/ROCm/aiter/tree/main?tab=readme-ov-file#installation") logging.error("Installation instructions: https://github.com/ROCm/aiter/tree/main?tab=readme-ov-file#installation")
exit(-1) exit(-1)
REGISTERED_ATTENTION_FUNCTIONS = {} REGISTERED_ATTENTION_FUNCTIONS = {}