jupyterjazz commited on
Commit
c232c27
1 Parent(s): 11ba200

chore: source

Browse files

Signed-off-by: jupyterjazz <saba.sturua@jina.ai>

Files changed (2) hide show
  1. mha.py +1 -0
  2. rotary.py +1 -0
mha.py CHANGED
@@ -1,4 +1,5 @@
1
  # Copyright (c) 2023, Tri Dao.
 
2
 
3
  import math
4
  from functools import partial
 
1
  # Copyright (c) 2023, Tri Dao.
2
+ # Adapted from https://github.com/Dao-AILab/flash-attention/pull/556
3
 
4
  import math
5
  from functools import partial
rotary.py CHANGED
@@ -1,3 +1,4 @@
 
1
  # Copyright (c) 2023, Tri Dao.
2
 
3
  import math
 
1
+ # Adapted from https://github.com/Dao-AILab/flash-attention/pull/556
2
  # Copyright (c) 2023, Tri Dao.
3
 
4
  import math