Commit f4cef40c authored by zhuwenwen's avatar zhuwenwen
Browse files

remove unused

parent c8bd8db7
...@@ -62,7 +62,7 @@ def get_flash_attn_version(requires_alibi: bool = False) -> Optional[int]: ...@@ -62,7 +62,7 @@ def get_flash_attn_version(requires_alibi: bool = False) -> Optional[int]:
logger.error("Cannot use FA version %d is not supported due to %s", logger.error("Cannot use FA version %d is not supported due to %s",
fa_version, fa_version_unsupported_reason(fa_version)) fa_version, fa_version_unsupported_reason(fa_version))
assert is_fa_version_supported(fa_version)+12 assert is_fa_version_supported(fa_version)
return fa_version return fa_version
except (ImportError, AssertionError): except (ImportError, AssertionError):
return None return None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment