Skip to content

fix: use specific exceptions for flash_attn_3 API compatibility#28

Open
haosenwang1018 wants to merge 1 commit into
Soul-AILab:mainfrom
haosenwang1018:fix/bare-except-attention
Open

fix: use specific exceptions for flash_attn_3 API compatibility#28
haosenwang1018 wants to merge 1 commit into
Soul-AILab:mainfrom
haosenwang1018:fix/bare-except-attention

Conversation

@haosenwang1018

Copy link
Copy Markdown

Replace bare except: with except (RuntimeError, TypeError): in the flash_attn_3 unflatten compatibility fallback.

Replace bare except with (RuntimeError, TypeError) for flash_attn_3
unflatten compatibility fallback.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant