Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lawrence-cj
Copy link
Collaborator

  1. replace import * with specific package;
  2. add import check for xformers and triton;
  3. support F.scaled_dot_product_attention when xformers is not available;

lawrence-cj and others added 4 commits November 24, 2024 18:16
2. changing all import * to specific package import

Signed-off-by: lawrence-cj <[email protected]>
2. fix bugs
3. add `triton` and `xformers` checking into import_utils.py
Signed-off-by: lawrence-cj <[email protected]>
@lawrence-cj lawrence-cj force-pushed the relative_import_xformer_triton_depend_fix branch from 90d3727 to e55cbc7 Compare November 24, 2024 11:24
@lawrence-cj lawrence-cj merged commit fa267d5 into main Nov 24, 2024
@lawrence-cj lawrence-cj mentioned this pull request Nov 24, 2024
@lawrence-cj lawrence-cj deleted the relative_import_xformer_triton_depend_fix branch November 25, 2024 15:47
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.

3 participants